:root {
  --homesearch-bedrooms-input-width: 150px;
  --homesearch-bedrooms-width-overrflow-ellipsis: 115px;
}

.homesearch {
  position: relative;
  margin: 0 auto;
  z-index: 3;
  display: flex;
  justify-content: center;
  background: #dedede;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.homesearch .fields {
  visibility: hidden;
}
.homesearch .homesearch_button {
  -moz-transition: none !important;
  -o-transition: none !important;
  -webkit-transition: none !important;
  transition: none !important;
}
.homesearch.submitting .search_submit_button:after {
  content: "";
  width: 16px;
  height: 16px;
  background-image: url(../img/loader3.gif);
}
.homesearch.ready {
  background: #F5F5F5;
}
.homesearch.ready .fields {
  visibility: visible;
}
.homesearch.ready .homesearch_button {
  -moz-transition: background 0.4s ease-in-out;
  -o-transition: background 0.4s ease-in-out;
  -webkit-transition: background 0.4s ease-in-out;
  transition: background 0.4s ease-in-out;
}
.homesearch .homesearch_button {
  display: inline-flex;
  height: 50px;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: #555;
  -moz-border-radius: 25px;
  -webkit-border-radius: 25px;
  border-radius: 25px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.homesearch .homesearch_button svg {
  width: 18px;
  height: 18px;
  color: inherit;
  margin-right: 10px;
}
.homesearch .homesearch_button:after {
  content: attr(title);
  color: inherit;
  display: inline-block;
  vertical-align: middle;
}
.homesearch .fields {
  width: 100%;
  padding: 8px 10px !important;
  display: flex;
  align-items: center;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.homesearch .fields.hide {
  display: none;
}
.homesearch .fields .wrap_input {
  vertical-align: top;
  position: relative;
  display: block !important;
  cursor: pointer;
}
.homesearch .fields .wrap_input.disabled .selected_field {
  background: #ebebe4;
}
.homesearch .fields .wrap_input.disabled .selected_field .text {
  cursor: default;
}
.homesearch .fields .wrap_input.disabled .blue_arrows {
  cursor: default;
}
.homesearch .fields .wrap_input .selected_field {
  display: table;
  width: 100%;
  height: 50px;
  background: #ffffff;
  -moz-border-radius: 25px;
  -webkit-border-radius: 25px;
  border-radius: 25px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding-left: 17px;
}
.homesearch .fields .wrap_input .selected_field .text {
  width: 90%;
  text-align: left;
  display: table-cell;
  vertical-align: middle;
  cursor: pointer;
}
.homesearch .fields .wrap_input .selected_field .text span {
  margin: auto 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  width: 100%;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}
.homesearch .fields .wrap_input .selected_field .icon {
  display: table-cell;
  vertical-align: middle;
  position: relative;
}
.homesearch .fields .wrap_input.select {
  display: inline-block;
}
.homesearch .fields .wrap_input.select.disabled .selected_field {
  background: #ebebe4;
}
.homesearch .fields .wrap_input.select .checkboxes, .homesearch .fields .wrap_input.select .options {
  display: none;
  position: absolute;
  top: 58px;
  left: auto;
  right: 0;
  background: white;
  z-index: 9;
  width: 100%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  -moz-box-shadow: 0 4px 30px rgba(0, 0, 0, 0.16);
  -webkit-box-shadow: 0 4px 30px rgba(0, 0, 0, 0.16);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.16);
}
.homesearch .fields .wrap_input.select .checkboxes:after, .homesearch .fields .wrap_input.select .checkboxes:before, .homesearch .fields .wrap_input.select .options:after, .homesearch .fields .wrap_input.select .options:before {
  width: 0;
  height: 0;
  content: "";
  pointer-events: none;
  border: solid transparent;
  position: absolute;
  top: auto;
  left: auto;
  bottom: 100%;
  right: 50%;
}
.homesearch .fields .wrap_input.select .checkboxes:after, .homesearch .fields .wrap_input.select .options:after {
  margin: 0;
  border-width: 7px;
  border-color: transparent;
  border-bottom-color: white;
}
.homesearch .fields .wrap_input.select .checkboxes:before, .homesearch .fields .wrap_input.select .options:before {
  display: none;
  margin: 0;
  margin-left: -12px;
  border-width: 4px;
  border-color: transparent;
  border-bottom-color: #dfdfdf;
}
.homesearch .fields .wrap_input.select .checkboxes.show, .homesearch .fields .wrap_input.select .options.show {
  display: block;
  overflow: visible !important;
}
.homesearch .fields .wrap_input.select .checkboxes .checkbox, .homesearch .fields .wrap_input.select .options .option {
  display: block;
  margin: 5px;
  padding: 0 0 5px 22px;
  text-align: left;
  font-size: 14px;
  cursor: pointer;
}
.homesearch .fields .wrap_input.select .checkboxes .checkbox:last-of-type, .homesearch .fields .wrap_input.select .options .option:last-of-type {
  border: 0;
  padding-bottom: 0;
}
.homesearch .fields .wrap_input.select .checkboxes .checkbox.selected, .homesearch .fields .wrap_input.select .options .option.selected {
  font-family: "Inter-SemiBold", sans-serif;
  color: #2a83bf;
}
.homesearch .fields .wrap_input.select .checkboxes .checkbox:hover, .homesearch .fields .wrap_input.select .options .option:hover {
  font-family: "Inter-SemiBold", sans-serif;
  color: #2a83bf;
}
.homesearch .fields .wrap_input.select .options .option {
  padding-left: 11px;
}
.homesearch .fields .wrap_input.select .checkboxes {
  margin: 0;
  padding: 2px 0 5px 0;
}
.homesearch .fields .wrap_input.select .checkboxes .checkbox {
  color: unset;
}
.homesearch .fields .wrap_input.select .checkboxes .checkbox label {
  font-size: 14px;
  vertical-align: middle;
}
.homesearch .fields .wrap_input.select .checkboxes .checkbox label:hover {
  cursor: pointer;
  color: #2a83bf;
}
.homesearch .fields .wrap_input.list_mode {
  width: 175px;
}
.homesearch .fields .wrap_input.list_mode .selected_field .text span {
  width: 140px;
}
.homesearch .fields .wrap_input.bedrooms, .homesearch .fields .wrap_input.guests {
  margin-left: 5px;
  margin-right: 5px;
  width: var(--homesearch-bedrooms-input-width);
}
.homesearch .fields .wrap_input.bedrooms .selected_field .text span, .homesearch .fields .wrap_input.guests .selected_field .text span {
  width: var(--homesearch-bedrooms-width-overrflow-ellipsis);
}
.homesearch .fields .wrap_input.bedrooms .selected_field .text.placeholder + .icon .icon_clean, .homesearch .fields .wrap_input.guests .selected_field .text.placeholder + .icon .icon_clean {
  display: none;
}
.homesearch .fields .wrap_input.bedrooms .selected_field .text.placeholder + .icon .icon_clean + .select_arrow, .homesearch .fields .wrap_input.guests .selected_field .text.placeholder + .icon .icon_clean + .select_arrow {
  display: inline-block;
}
.homesearch .fields .wrap_input.bedrooms .selected_field .text + .icon .select_arrow, .homesearch .fields .wrap_input.guests .selected_field .text + .icon .select_arrow {
  display: none;
}
.homesearch .fields .wrap_input.guests {
  width: 120px;
}
.homesearch .fields .wrap_input.guests .selected_field .text span {
  width: 80px;
}
.homesearch .fields .wrap_input.date input[type=text] {
  width: 100%;
  height: 50px;
  padding-left: 15px;
  border: none;
  cursor: pointer;
  -moz-appearance: none;
  -webkit-appearance: none;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.homesearch .fields .wrap_input.date[data-advanced-period]:after {
  content: "\00b1" attr(data-advanced-period);
  display: flex;
  align-items: center;
  position: absolute;
  left: 105px;
  bottom: 0;
  top: 0;
  margin: auto;
  font-size: 12px;
}
.homesearch .fields .wrap_input.date.placeholder:before {
  content: attr(data-placeholder);
  display: inline-block;
  color: inherit;
  position: absolute;
  height: 100%;
  padding-left: 17px;
  line-height: 50px;
}
.homesearch .fields .wrap_input.date.placeholder .icon_clean {
  display: none;
}
.homesearch .fields .wrap_input.date.placeholder .icon_clean + .icon_calendar {
  display: inline-block;
}
.homesearch .subtitle {
  text-align: left;
  font-size: 13px;
  color: #2a83bf;
  margin-top: 12px;
  padding: 0 0 2px 6px;
}
.homesearch .row {
  display: flex;
  align-items: center;
  width: 100%;
}
.homesearch .col {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.homesearch .col.date {
  width: 100%;
  max-width: 150px;
}
.homesearch .col.arr input[type=text] {
  -moz-border-radius: 25px 0 0 25px !important;
  -webkit-border-radius: 25px;
  border-radius: 25px 0 0 25px !important;
}
.homesearch .col.dep {
  padding-left: 0;
}
.homesearch .col.dep input[type=text] {
  border-left: 1px solid #f5f5f5 !important;
  -moz-border-radius: 0 25px 25px 0 !important;
  -webkit-border-radius: 0;
  border-radius: 0 25px 25px 0 !important;
}
.homesearch .col.search_submit {
  display: flex;
  align-items: center;
}
.homesearch .col.search_submit .homesearch_button.search_submit_button {
  color: #fff;
  width: 50px;
  height: 50px;
}
.homesearch .col.search_submit .homesearch_button.search_submit_button:after {
  display: none;
}
.homesearch .col.search_submit .homesearch_button.search_submit_button:before {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f002";
}
.homesearch .col.more_filters .homesearch_button.more_filters_link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  background-color: #fff;
  margin-left: 10px;
  color: #000;
  border: 2px solid transparent;
  font-family: "Inter-SemiBold", sans-serif;
  -moz-border-radius: 25px;
  -webkit-border-radius: 25px;
  border-radius: 25px;
}
.homesearch .col.more_filters .homesearch_button.more_filters_link svg {
  stroke-width: 3px;
  margin-right: 0 !important;
}
.homesearch .col.more_filters .homesearch_button.more_filters_link:after {
  display: none !important;
}
.homesearch .col.more_filters .homesearch_button.more_filters_link:hover {
  background-color: #2a83bf !important;
  color: #fff !important;
  -moz-box-shadow: 0 4px 30px rgba(0, 0, 0, 0.16);
  -webkit-box-shadow: 0 4px 30px rgba(0, 0, 0, 0.16);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.16);
}
.homesearch .col.more_filters .homesearch_button.more_filters_link[data-count-additional-params] {
  color: #2a83bf;
  border-color: #2a83bf;
  position: relative;
}
.homesearch .col.more_filters .homesearch_button.more_filters_link[data-count-additional-params]:before {
  content: "";
  width: 10px;
  height: 10px;
  border: 1.5px solid #F5F5F5;
  background-color: #2a83bf;
  display: block;
  -moz-border-radius: 100%;
  -webkit-border-radius: 100%;
  border-radius: 100%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  left: calc(50% + 16.06969px);
  top: calc(50% - 19.15111px);
  transform: translate(-50%, -50%);
}
.homesearch .col.more_filters .homesearch_button.more_filters_link[data-count-additional-params]:after {
  display: none;
}
.homesearch .col.sort .homesearch_button.sort_button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 50px;
  background-color: #fff;
  border: 2px solid transparent;
  margin-left: 10px;
  -moz-border-radius: 100%;
  -webkit-border-radius: 100%;
  border-radius: 100%;
}
.homesearch .col.sort .homesearch_button.sort_button.apply {
  border-color: #2a83bf;
  position: relative;
}
.homesearch .col.sort .homesearch_button.sort_button.apply:before {
  content: "";
  width: 10px;
  height: 10px;
  border: 1.5px solid #F5F5F5;
  background-color: #2a83bf;
  display: block;
  -moz-border-radius: 100%;
  -webkit-border-radius: 100%;
  border-radius: 100%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  left: calc(50% + 16.06969px);
  top: calc(50% - 19.15111px);
  transform: translate(-50%, -50%);
}
.homesearch .col.sort .homesearch_button.sort_button.apply:after {
  display: none;
}
.homesearch .col.sort .homesearch_button.sort_button.apply:after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232a83bf' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m3 16l4 4l4-4m-4 4V4m4 0h10M11 8h7m-7 4h4'/%3E%3C/svg%3E");
}
.homesearch .col.sort .homesearch_button.sort_button:after {
  content: "";
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m3 16l4 4l4-4m-4 4V4m4 0h10M11 8h7m-7 4h4'/%3E%3C/svg%3E");
  background-size: cover;
  display: block !important;
}
.homesearch .col.sort .homesearch_button.sort_button:hover {
  background-color: #2a83bf;
}
.homesearch .col.sort .homesearch_button.sort_button:hover:after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m3 16l4 4l4-4m-4 4V4m4 0h10M11 8h7m-7 4h4'/%3E%3C/svg%3E");
}
.homesearch .col.sort .homesearch_button.sort_button .options {
  width: 130px;
  left: -36px;
}
.homesearch .col.map_view .homesearch_button.map_view_button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  background-color: #fff;
  margin-left: 10px;
  -moz-border-radius: 25px;
  -webkit-border-radius: 25px;
  border-radius: 25px;
}
.homesearch .col.map_view .homesearch_button.map_view_button:hover {
  background-color: #387C2C;
  color: #fff;
  -moz-box-shadow: 0 4px 30px rgba(0, 0, 0, 0.16);
  -webkit-box-shadow: 0 4px 30px rgba(0, 0, 0, 0.16);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.16);
}
.homesearch .col.additional {
  margin-left: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  width: 100%;
}
.homesearch .col.additional .additional__icon {
  display: flex;
  align-items: center;
  color: #111217;
  font-family: "Inter-SemiBold", sans-serif;
  font-size: 14px;
}
.homesearch .col.additional .additional__icon:before {
  content: "";
  min-width: 24px;
  width: 24px;
  height: 24px;
  background-size: cover;
  background-repeat: no-repeat;
  margin-right: 6px;
  display: inline-block;
}
.homesearch .col.additional .additional__icon--fees:before {
  background-image: url(../svg/a_fees.svg);
}
.homesearch .col.additional .additional__icon--why:before {
  background-image: url(../svg/a_why.svg);
}
.homesearch .col.additional .additional__icon--safe:before {
  background-image: url(../svg/a_safe.svg);
}
.homesearch .select_arrow {
  width: 15px;
  height: 19px;
  display: none;
  cursor: pointer;
  position: absolute;
  top: 1px;
  bottom: 0;
  left: auto;
  right: 11px;
  margin: auto;
  z-index: 1;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.homesearch .icon_clean {
  color: #2a83bf;
  font-size: 14px;
  display: inline-block;
  cursor: pointer;
  width: 26px;
  height: 50px;
  position: absolute;
  top: 1px;
  bottom: 0;
  left: auto;
  right: 3px;
  margin: auto;
  z-index: 2;
  line-height: 50px;
  text-align: center;
}
.homesearch .icon_clean:before {
  content: "\f00d";
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}
.homesearch .checkbox, .homesearch .new_checkbox {
  position: relative;
  text-align: left;
  color: white;
}
.homesearch .checkbox label, .homesearch .new_checkbox label {
  font-size: 12px;
  color: unset;
  display: inline-block;
  margin: 0;
}
.homesearch .checkbox input[type=checkbox], .homesearch .new_checkbox input[type=checkbox] {
  display: none;
}
.homesearch .checkbox input[type=checkbox]:checked + label:after, .homesearch .new_checkbox input[type=checkbox]:checked + label:after {
  content: "\2713";
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  font-weight: bold;
  font-size: 10px;
  color: #60a2cf;
  text-align: center;
  line-height: 15px;
}
.homesearch .checkbox label:after, .homesearch .new_checkbox label:after {
  content: "";
  display: block;
  height: 15px;
  width: 15px;
  outline: none;
  border: 1px solid #dedede;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  position: absolute;
  top: 1px;
  left: 0;
  background: #ffffff;
}
.homesearch .checkbox.disabled label:after, .homesearch .new_checkbox.disabled label:after {
  background: #ebebe4;
}

@media screen and (max-width: 1210px) {
  .homesearch .col.additional {
    margin-left: 15px;
    gap: 15px;
  }
  .homesearch .col.additional .additional__icon {
    white-space: nowrap;
  }
  .homesearch .col.additional .additional__icon--safe {
    display: none;
  }
}
@media screen and (max-width: 1024px) {
  :root {
    --homesearch-bedrooms-input-width: 130px;
    --homesearch-bedrooms-width-overrflow-ellipsis: 95px;
  }
}
@media screen and (max-width: 992px) {
  :root {
    --homesearch-bedrooms-input-width: 118px;
    --homesearch-bedrooms-width-overrflow-ellipsis: 83px;
  }

  .homesearch .fields .wrap_input.date[data-advanced-period]:after {
    left: 95px;
  }
}
@media screen and (max-width: 960px) {
  .more_filters_link, .map_view_button {
    width: 50px !important;
  }
}
@media screen and (max-width: 740px) {
  .homesearch .col.additional {
    display: none;
  }
}
@media screen and (max-width: 600px) {
  .homesearch:not(.is_popup) {
    display: none;
  }
}
