.filter_tab {
  display: none;
  transition: all 0.3s;
}

.wrapper_filter_tabs {
  position: relative;
}

.filter_tab.active {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: min-content;
  z-index: 999;
  background-color: #fff;
}
.filter_tabs_form.active .icon_close_form_tabs {
  position: absolute;
  right: 10px;
  top: 10px;
  display: inline-flex;
  z-index: 9999999;
  width: 30px;
  height: 30px;
}
.filter_block_content {
  display: flex;
  width: 100%;
}
.filter_block_info {
  overflow-y: auto;
}
.filter_block_overlay {
  height: calc(100vh - 118px);
}

.block_checklist.servises {
  display: flex;
  flex-wrap: wrap;
  overflow-y: scroll;
  overflow-x: hidden;
}

.block_checklist.servises {
  display: flex;
  flex-wrap: wrap;
  overflow-y: auto;
  overflow-x: hidden;
  height: calc(100vh - 200px);
}
.wrapper_block_term.peculiarities {
  display: inline-flex;
  width: 50%;
}
.block_checklist_parent {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}
.block_checklist_label {
  display: flex;
  width: 100%;
}
.check_block {
  display: flex;
  width: 33%;
}
.check_block.d_p {
  margin: 0 0 20px;
    margin-right: 0px;
  width: 100%;
}
.block_checklist_list_items {
  display: flex;
  flex-direction: column;
  min-width: 33%;
}
.block_checklist_list_price {
  display: flex;
  flex-direction: column;
}
.checklist_list_price_inputs {
  display: flex;
  margin: 20px 0 0;
}
.block_checklist_parent .check_block+.check_block {
  margin-top: 10px;
}

.block_checklist.check_user {
  display: flex;
  gap: 10px;
  width: 100%;
}

.block_checklist.other {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter_tabs_form {
  position: relative;
}

.block_checklist_list.price {
  flex-direction: column;
}

.block_checklist_list_in_text {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.block_checklist_list_in_text > div {
  width: calc(50% - 20px);
  display: flex;
  align-items: center;
}
.icon.icon_checked {
  position: absolute;
  content: '';
  display: block;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background-color: #2b2b2b;
  width: 21px;
  height: 21px;
  border-radius: 5px;
}

.checked_departure.active .icon_checked {
  background-color: #fff;
}

.header_bot.active .header_filter {
  display: block;
}

.filter_block_info_slider {
  display: flex;
  flex-wrap: wrap;
}

.filter_block_info_slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/*.block_input {
    position: relative;
  }
  .slider_main {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 250px;
  }
  .icon_range {
    position: absolute;
    top: -23px;
  }
  .icon_range_start {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #E32040;
  }
  .icon_range_start::before {
    position: absolute;
    content: attr(title);
    top: 23px;
  }
  .icon_range_change {
    z-index: 999;
    position: absolute;
    display: inline-flex;
    top: 8px;
    width: 0;
    height: 0;
  }*/
.filter_block_info .block_input {
  margin-bottom: 68px;
}

.block_input.block_input_select {
  width: calc(25% - 20px);
}

.block_input input {
  text-align: unset;
  background-color: #ECF0F1;
  border: unset;
  border-radius: unset;
  font-size: unset;
  font-weight: unset;
  padding: 0;
  width: 250px;
  transition: border .5s;
}


.slider_range {
  display: block;
  margin-top: 24px;
}

.slider_main {
  display: flex;
  position: relative;
  width: 100%;
  height: 2px;
  background-color: #00000054;
}

.slider_main .progress {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #E32040;
}

.block_input_range {
  position: relative;
  display: flex;
  justify-content: center;
}

.block_input_range input {
  position: absolute;
  top: -10px;
  width: 100%;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  height: 15px;
  width: 15px;
  border-radius: 50%;
  border: none;
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  background: #E32040;
  transition: all .3s ease-in-out;
}

input[type="range"]::-moz-range-thumb {
  height: 15px;
  width: 15px;
  border-radius: 50%;
  border: none;
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  background: #E32040;
  transition: all .3s ease-in-out;
}

.progress_thumb {
  display: inline-flex;
  position: absolute;
  top: 16px;
  color: #000;
  font-size: 18px;
  font-weight: 400;
}

.progress_thumb_max {
  right: calc(4% - 15px);
}

.progress_thumb_min {
  left: calc(4% - 15px);
}
.select_range_box {
  position: relative;
  display: flex;
  margin-top: 7px;
  width: 100%;
  min-height: 40px;
  background-color: #F5F5F5;
  border-radius: 4px;
  border: 1px solid #D9D9D9;
  cursor: pointer;
}

.select_range_modal {
  display: none;
}
.filter_overlay_modal {
  position: fixed;
  display: none;
  opacity: 0;
}
.filter_overlay_modal.active {
  display: flex;
  opacity: 1;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: #000000ab;
  z-index: 9999;
  cursor: pointer;
}
.select_range_modal.active {
  position: fixed;
  display: block;
  z-index: 99999;
  background-color: #fff;
  max-width: 266px;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 100%;
  border: 1px solid #D9D9D9;
  border-radius: 4px;
}
.select_range_modal_item {
  display: flex;
  padding: 9px 14px;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.select_chackbox label {
  display: flex;
  width: 100%;
  flex-direction: row-reverse;
  justify-content: flex-end;
  cursor: pointer;
}
.select_chackbox.active .icon_checbox{
  background-color: #20BC1D;
  border: 5px solid #D9D9D9;
}
.icon_checbox {
  position: relative;
  display: block;
  width: 21px;
  height: 21px;
  background: #f0f0f0;
  border-radius: 5px;
  margin-right: 10px;
}
.icon_circle {
  border-radius: 50%;
  width: 17px;
  height: 17px;
  background-color: #D9D9D9;
}
.select_range_modal_item.active .icon_circle {
  background-color: #20BC1D;
  border: 5px solid #D9D9D9;
}
.select_range_modal_item + .select_range_modal_item {
  border-top: 1px solid #D9D9D9;
}
.select_range_modal_item.select_chackbox + .select_range_modal_item.select_chackbox {
  border-top:none;
}
.icon_arrow_down {
  display: inline-flex;
  border: 10px solid transparent; 
  border-top: 10px solid #20BC1D;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-4px);
}
.filter_block_info .block_checklist + .block_checklist{
  margin-left: 30px;
}





@media screen and (max-width: 770px) {
  .filter_tabs_form {
    display: none;
  }
  .hide{
    display: none;
  }
  .header_bot.active .header_filter {
    padding-bottom: 10px;
  }

  .header_filter_clear {
    display: flex;
    margin: 20px;
  }

  .filter_block_content {
    padding: 0;
  }

  .filter_block_content .container {
    padding: 0 5px;
  }

  .block_checklist_parent {
    width: 100%;
    margin-top: 10px;
  }

  .wrapper_filter_tabs.mobile.active {
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 38px;
  }

  .mobile .filter_block {
    position: relative;
    left: unset;
    width: 100%;
    top: unset;
    height: 100%;
    display: none;
    z-index: 999;
    border-bottom: 1px solid #D9D9D9;
  }

  .mobile.active .filter_tabs_form {
    display: block;
  }

  .mobile .filter_tabs_form {
    padding: 18px;
  }

  .active .filter_block {
    display: block;
    transition: all 0.3s;
  }

  .mobile .filter_block_info {
    display: flex;
    flex-direction: column;
    max-height: unset;
    height: unset;
    overflow-y: hidden;
  }

  .filter_block_btns {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile .icon_close {
    position: fixed;
  z-index: 999999;
    top: 18px;
    right: 18px;
    transform: rotate(45deg);
    padding: 10px;
    cursor: pointer;
  }

  .mobile .icon_close::after {
    content: '';
    position: absolute;
    display: inline-flex;
    width: 20px;
    height: 1px;
    background-color: #20BC1D;
  }

  .mobile .icon_close::before {
    content: '';
    position: absolute;
    display: inline-flex;
    width: 1px;
    height: 20px;
    background-color: #20BC1D;
  }

  .filter_tabs_form h2 {
    font-size: 20px;
    font-weight: 400;
  }

  .block_checklist_list {
    flex-direction: row;
  }

  .block_checklist_list_from {
    display: flex;
    width: calc(50% - 6px);
    align-items: center;
    justify-content: space-between;
  }

  .block_checklist_list_in_text input {
    width: 70%;
    padding: unset;
    min-height: 40px;
  }

  .block_checklist_label {
    font-size: 20px;
  }

  .filter_block_content .container {
    padding: 0;
  }

  .filter_block_info .block_checklist {
    margin-bottom: 0;
  }

  .block_checklist_list_in_text {
    display: flex;
    gap: 12px;
    flex-direction: row;
  }

  .block_checklist_list_to {
    display: flex;
    width: calc(50% - 6px);
    align-items: center;
    justify-content: space-between;
  }

  .block_checklist.servises {
    overflow-y: hidden;
    overflow-x: hidden;
    height: auto;
  }
  .select_range_box {
    position: relative;
    display: flex;
    margin-top: 7px;
    width: 100%;
    min-height: 40px;
    background-color: #F5F5F5;
    border-radius: 4px;
    border: 1px solid #D9D9D9;
  }
  .filter_block_info .block_input {
    margin-bottom: 0;
  }
  .filter_block_info_slider {
    gap: 12px;
    border-bottom: 1px solid #D9D9D9;
  }
  .wrapper_block_term.peculiarities {
    display: block;
    padding-bottom: 20px;
    border-bottom: 1px solid #D9D9D9;
  }
  .peculiarities .block_checklist_list {
    flex-direction: column;
  }
  .block_checklist.nationality {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    gap: 16px;
  }
  #other {
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  .check_block.other {
    display: flex;
    width: calc(50% - 10px);
  }
  #gender {
    padding: 20px 0;
  }
  #price {
    padding: 20px 0;
  }
  #params {
    padding-top: 20px;
  }
  #areas {
    padding: 20px 0;
  }
  #servises {
    padding: 20px 0;
  }
  #people_apartment {
    padding: 20px 0 27px;
    border-bottom: unset;
  }
  #filter_reset {
    display: inline-flex;
    width: 330px;
    min-height: 48px;
    justify-content: center;
    align-items: center;
    background-color: #20BC1D;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
  }
  .filter_block_btns {
    margin-top: 0;
  }
  .block_checklist_list.location {
    flex-direction: column;
  }
  .check_block {
    width: 100%;
  }
  .block_input.block_input_select {
    width: 100%;
  }
  #params .filter_block_btns {
    display: none;
  }
  #filter_reset {
    display: none;
  }
  .btn.btn_form_filter {
    position: fixed;
    bottom: 57px;
    z-index: 99999;
    max-width: 300px;
    width: 100%;
    border-radius: 30px;
    background: #000;
  }
  .filter_block_overlay {
    display: none;
  }
}