.filter__btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.centersb {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.filter {
  position: relative;
  z-index: 5;
  margin-top: 30px;
}

.filter--single .filter__item_selects {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
}

.filter--single .filter__wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.filter--single .filter__select .ui-select-content {
  top: 60px;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  -webkit-box-shadow: 0 5px 20px 0 rgba(156, 156, 156, 0.25);
          box-shadow: 0 5px 20px 0 rgba(156, 156, 156, 0.25);
}

.filter--single .filter-select__title {
  border-radius: 25px;
  padding: 13px 43px 15px 20px;
  color: #3c3c3c;
  font-weight: 500;
  letter-spacing: 0.39px;
  text-transform: uppercase;
  font-size: 0.8125rem;
  line-height: 184.6153846154%;
  height: 50px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: #f4f4f4;
  border: 1px solid transparent;
}

.filter_no-margin {
  margin-top: 0;
}

.filter__category {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  background: #ff5c00;
  padding: 8px 12px 8px 12px;
  margin-top: 40px;
  font-size: 0.8125rem;
  line-height: 153.8461538462%;
  color: #fff;
  font-weight: 400;
  border-radius: 20px;
  overflow: hidden;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.filter__category .icon {
  width: 18px;
  height: 18px;
  stroke: #fff;
  stroke-width: 2px;
  cursor: pointer;
  margin-left: 10px;
}

.filter__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 20px;
  position: relative;
  max-height: 60px;
}

.filter__item {
  -webkit-box-flex: 1;
      -ms-flex: 1 1;
          flex: 1 1;
}

.filter__item_search {
  margin-left: auto;
  width: 100%;
}

.filter__item_search .search__input {
  padding: 25px 50px 25px 25px;
}

.filter__item_search .search__cleaning {
  right: 20px;
}

.filter__item_selects {
  position: relative;
}

.filter__wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 10px;
  padding: 1px 2px 0px 2px;
  -ms-scroll-snap-type: x mandatory;
      scroll-snap-type: x mandatory;
}

.filter__wrapper::-webkit-scrollbar {
  width: 0px;
}

.filter__select {
  width: 250px;
  pointer-events: all;
  scroll-snap-align: start;
}

.filter__btn-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
}

.filter__btn-wrapper._active::after,
.filter__btn-wrapper._active::before {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.filter__btn-wrapper._active::after {
  width: 12px;
  height: 12px;
  background: #fff;
  top: -2px;
  right: -2px;
}

.filter__btn-wrapper._active::before {
  z-index: 2;
  width: 8px;
  height: 8px;
  background: #ff5c00;
  top: 0px;
  right: 0;
}

.filter__btn {
  border-radius: 20px;
  border: 1px solid #e6e6e6;
  background: #fff;
  width: 60px;
  height: 60px;
  cursor: pointer;
}

.filter__btn .icon {
  width: 24px;
  height: 24px;
  fill: #222;
}

.filter__chronology {
  margin-top: 20px;
}

.filter-select__title {
  border-radius: 25px;
  padding: 13px 43px 15px 20px;
  color: #3c3c3c;
  font-weight: 500;
  letter-spacing: 0.39px;
  text-transform: uppercase;
  font-size: 0.8125rem;
  line-height: 184.6153846154%;
  height: 50px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: #f4f4f4;
  border: 1px solid transparent;
}

.filter-select__title._active {
  background: #ff5c00;
  color: #fff;
}

.filter-select__title._active::before,
.filter-select__title._active::after {
  background-color: #fff;
}

.filter-select__title:hover {
  background: #ececec;
}

.filter-select__title:hover._active {
  border-color: #ff5c00;
  color: #ff5c00;
  background: #fff;
}

.filter-select__title:hover._active::before,
.filter-select__title:hover._active::after {
  background-color: #ff5c00;
}

.filter-select .js-select__title:before,
.filter-select .js-select__title:after {
  right: 23px;
}

.filter-select__content {
  border-radius: 30px;
  max-height: 0;
}

.filter-select__label {
  padding: 20px;
  min-height: 60px;
  line-height: 1.25;
}

.filter-select[data-state=active] .filter-select__title:not(._active) {
  background: #ececec;
  color: #3c3c3c;
}

.filter-select[data-state=active] .filter-select__title:not(._active)::before,
.filter-select[data-state=active] .filter-select__title:not(._active)::after {
  background-color: #3c3c3c;
}

.filter-modal .filter__wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 25px;
}

.filter-modal__btn {
  width: 100%;
  max-width: 400px;
  margin-bottom: 4px;
}

.chronology {
  max-width: -webkit-fit-content;
  max-width: -moz-fit-content;
  max-width: fit-content;
  border: 1px solid #e6e6e6;
  padding: 5px;
  border-radius: 30px;
  overflow-x: auto;
  height: 60px;
}

.chronology::-webkit-scrollbar {
  width: 0px;
  display: none;
}

.chronology__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
}

.chronology__input {
  display: none;
}

.chronology__label {
  font-size: 0.8125rem;
  line-height: 184.6153846154%;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 15px;
  min-width: 75px;
  height: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  cursor: pointer;
}

.chronology__label:hover {
  border-radius: 25px;
  background: #222;
  color: #fff;
}

.chronology .chronology__input:checked + .chronology__label {
  border-radius: 25px;
  background: #222;
  color: #fff;
}

@media (min-width: 834px) {
  .filter__item_search {
    max-width: 250px;
  }

  .filter__item_selects {
    max-width: -webkit-fit-content;
    max-width: -moz-fit-content;
    max-width: fit-content;
    background: #fff;
    padding: 5px;
    -webkit-box-flex: 1;
        -ms-flex: 1 0 350px;
            flex: 1 0 350px;
    top: 6px;
  }

  .filter__item_selects::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 62px;
    border: 1px solid #e6e6e6;
    border-radius: 30px;
    -webkit-box-shadow: inset 0 0 0 5px #fff, 0 0 0 5px #fff;
            box-shadow: inset 0 0 0 5px #fff, 0 0 0 5px #fff;
    z-index: 1;
    pointer-events: none;
  }

  .filter__wrapper {
    pointer-events: none;
    height: 370px;
    margin-bottom: -305px;
    overflow-x: auto;
    position: relative;
    border-radius: 30px;
  }

  .filter__btn {
    display: none;
  }

  .filter-select__label:hover,
  .filter-select__label:focus {
    border-radius: 25px;
    background: #f4f4f4;
  }

  .filter-select input:checked + label {
    border-radius: 25px;
    background: #f4f4f4;
  }

  .filter-select[data-state=active] .filter-select__content {
    max-height: 270px;
  }
}

@media (min-width: 1440px) {
  .filter__item_search {
    max-width: 350px;
  }
}

@media (max-width: 1439px) {
  .filter__item_search .search__input {
    padding: 20px 45px 20px 25px;
  }

  .filter__wrapper {
    max-width: 504px;
  }

  .filter__select {
    width: 200px;
  }

  .filter__select {
    width: 250px;
  }

  .filter__select {
    min-width: 200px;
  }
}

@media (max-width: 833px) {
  .filter--single {
    width: 100%;
  }

  .filter--single .filter__list {
    width: 100%;
    display: block;
  }

  .filter--single .filter-select .filter-select__title::after,
  .filter--single .filter-select .filter-select__title::before {
    right: 23px;
  }

  .filter--single .filter__select[data-state=active] .filter-select__content {
    max-height: 460px;
  }

  .filter {
    margin-top: 10px;
  }

  .filter__list {
    gap: 10px;
  }

  .filter__item_search .search__input {
    border-radius: 20px;
    padding: 10px 45px 10px 20px;
  }

  .filter__item_selects {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 60px;
            flex: 0 0 60px;
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }

  .filter__wrapper {
    display: none;
  }

  .filter__select {
    width: 100%;
  }

  .filter__select .ui-select-content {
    border: 0;
    -webkit-box-shadow: 0 0 0 0;
            box-shadow: 0 0 0 0;
    width: 113%;
    top: 0;
    margin-left: -20px;
    margin-right: -20px;
  }

  .filter__chronology {
    margin-top: 15px;
  }

  .filter-select__title {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    font-size: 0.9375rem;
    line-height: 133.3333333333%;
    height: 55px;
    padding: 18px 60px 18px 20px;
  }

  .filter-select__title._active {
    border-color: #ff5c00;
  }

  .filter-select .js-select__title:before,
  .filter-select .js-select__title:after {
    right: 45px;
  }

  .filter-select__label {
    font-size: 0.8125rem;
    letter-spacing: 0.26px;
    text-transform: uppercase;
    color: #222;
    font-weight: 500;
  }

  .filter-select input:checked + label {
    color: #ff5c00;
  }

  .filter-modal__btn {
    margin-left: auto;
    margin-right: auto;
  }

  .chronology {
    border: 0;
    margin: 0 -20px;
    padding: 5px 20px;
    border-radius: 0px;
  }

  .chronology__label:first-child {
    margin-left: 20px;
  }
}

@media (min-width: 834px) and (max-width: 1439px) {
  .filter.page-programs .filter__item_selects {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 424px;
            flex: 0 0 424px;
    max-width: 424px;
  }

  .filter.page-services .filter__item_selects {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 504px;
            flex: 0 0 504px;
    max-width: 504px;
  }

  .chronology {
    max-width: 100%;
  }

  .chronology__list {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }

  .chronology__label {
    -webkit-box-flex: 1;
        -ms-flex: 1 1;
            flex: 1 1;
  }
}
@supports (appearance:none){

}

 @media (min-width: 834px){

@supports (appearance:none){

}

}

 @media (min-width: 1440px){

@supports (appearance:none){

}

}

 @media (max-width: 1439px){

@supports (appearance:none){

}

}

 @media (max-width: 833px){

@supports (appearance:none){

}

}

 @media (min-width: 834px) and (max-width: 1439px){

@supports (appearance:none){

}

}
