@import url("variables.css");

.ui-datepicker {
  margin-bottom: 30px;
}

.ui-datepicker table {
  border-collapse: collapse;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
  border: 0 none;
  color: #000;
  background: white;
  text-align: center;
}

.ui-datepicker table td {
  border: 0 none;
  height: 15%;
  height: 30px;
  width: 30px;
  line-height: 30px;
  vertical-align: center;
  text-align: center;
  font-size: 1rem;
  transition: 0.8s;
  cursor: pointer;
  border: solid 1px var(--primary-bg-color);
}

.ui-datepicker table td.past {
  background-color: var(--active-color);
  color: #000;
}

.ui-datepicker table td:hover .ui-state-default {
  background-color: var(--primary-bg-color);
  color: #fff;
}

.ui-datepicker table thead td {
  background-color: var(--primary-bg-color);
  color: #fff;
  font-weight: bold;
}

.ui-datepicker select {
  width: 100%;
  margin-bottom: 10px;
}

.ui-widget.ui-widget-content {
  width:100%;
  border: 0 none;
}

.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
  background-color: var(--primary-bg-color);
  border: 0 none;
  background: var(--active-color);
  color: var(--primary-bg-color);
}

.ui-datepicker th {
  background: var(--primary-bg-color);
  color: #fff;
  height: 50px;
  font-size: 1.2rem;
}

.ui-datepicker .ui-datepicker-title {
  background: white;
  color: var(--primary-bg-color);
}

#ui-datepicker-div,
.ui-datepicker table {
  width: 100%;
}

.ui-datepicker .ui-datepicker-title {
  font-size: 1.1rem;
  margin:0;
}
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next{
  display:flex;
  justify-content: center;
  align-items: center;
  height:100%;
  top:0;
}
.ui-widget-header .ui-icon {
  background-image: url(../assets/images/new/vacancy_arrow.svg);
  background-position: 0 0;
  background-size: 14px;
  transform: rotate(90deg);
  cursor: pointer;
}
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span{
  position:relative;
  top:unset;
  left:unset;
  right:unset;
  margin:0;
}
.ui-widget-header .ui-icon.ui-icon-circle-triangle-e {
  background-image: url(../assets/images/new/vacancy_arrow.svg);
  transform: rotate(270deg);
}

.ui-datepicker td {
  padding: 0;
}

.calendar-news {
  margin: 20px;
}

.content-page .calendar-news input {
  background-color: var(--primary-bg-color);
  color: #fff;
  text-align: center;
  width: 100%;
  position: relative;
  left: 2px;
}

.ui-corner-all,
.ui-corner-bottom,
.ui-corner-right,
.ui-corner-br {
  border-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

.ui-widget-header {
  background: var(--active-color);
}

.ui-datepicker .ui-datepicker-header {
  padding: 0;
  border: 0 none;
  width: 100%;
}

.ui-datepicker .ui-datepicker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  border: 0 none;
  width: 100%;
  height:37px;
  position: relative;
  top: -1px;
  left: -1px;
  background: white;
}

.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus,
.ui-button:hover,
.ui-button:focus {
  border: 0 none;
  background: white;
  font-weight: normal;
  color: #2b2b2b;
}
