/* Advances Search */
.adv-search-content{ width:94%; margin:0 auto 100px;  }
    .adv-search-content h1{ margin-top: 30px; font-size: 20px; line-height: 24px; font-weight: 700;}
    .as-mls-search{ display:flex; margin-top:14px; width:50%; }
        .as-mls-search input{ width:98%; height:36px; padding: 0 1% 0 1%; outline: none; border: none; border: solid 1px #9e9e9e; border-radius:5px; font-size: 16px; font-family: 'Figtree', sans-serif;}
        .as-mls-search a{ display:block; width: 36px; height: 36px; background-image:url(../img/adv-search-icon.svg); background-size:21px 21px; }
    .adv-search-areas{  width:100%; margin: 21px 0 0 0; padding:11px 14px 14px 14px; background-color: #f7f7f7;
    /**/ -moz-box-sizing: border-box; -webkit-box-sizing: border-box;  box-sizing: border-box; /**/  }
        .adv-search-areas h5, .as-checkbox-list h5{ font-size: 17px;  line-height: 17px;  font-family: 'Figtree', sans-serif; font-weight: 700;}
        .as-check-block{display:flex; flex-direction:row; flex-wrap:wrap; margin-top:-9px; }
        .as-check{ width: 14.28%; padding-right:33px; margin-top: 21px; 
        /**/ -moz-box-sizing: border-box; -webkit-box-sizing: border-box;  box-sizing: border-box; /**/ }

    .adv-search-cities{width:100%; margin: 5px 0 0 0; padding:0px 14px 24px 14px; background-color: #f7f7f7;
    /**/ -moz-box-sizing: border-box; -webkit-box-sizing: border-box;  box-sizing: border-box; /**/ }
        .adv-sc-top-line{ position: relative; padding-top: 20px; display:flex; }
            .adv-sc-top-line-left{ font-size:16px; color:#3c7698; font-weight:600;  }
            .adv-sc-top-line-right{ margin-left:20px; }
            .adv-sc-top-line-right span{ margin-right: 13px; font-size:14px; line-height: 14px; color:#0d8fda; text-decoration:underline; cursor:pointer; }
            .adv-sc-top-line-close{ position: absolute; top: 21px; right: 5px;  width:15px; height:15px; background-image: url(../img/close-adv-search.svg); background-size:15px 15px; cursor:pointer; }
        .as-check.as-sc-cities label{ font-size:16px; }
        .as-check.as-sc-cities .as-custom-checkbox+label::before { width: 14px; height: 14px; }
        .as-check.as-sc-cities{margin-top: 13px; }
        .adv-search-cities .as-check-block{ margin-top:0px;  }
        .adv-search-cities .select_all{ cursor:pointer; }

.as-check-block div span{position: relative; padding-left:5px; color:#005baf; }


/* Checkbox styles */
/* input with type="checkbox" */
.as-custom-checkbox { position: absolute; z-index: -1;  opacity: 0; }
/*label linked with .custom-checkbox */
.as-custom-checkbox+label { display: inline-flex; align-items: center;  user-select: none; font-size: 19px; line-height: 19px; font-weight: 500;  }
/* label::before */
.as-custom-checkbox+label::before {  content: ''; display: inline-block; width: 17px; height: 17px;  flex-shrink: 0;  flex-grow: 0;  border: 1px solid #5b5b5b; border-radius: 3px;
      margin-right: 0.5em; background-repeat: no-repeat;  background-position: center center;  background-size: 50% 50%; background-color:#fff; }
/* hover checkbox */
.as-custom-checkbox:not(:disabled):not(:checked)+label:hover::before {  border-color: #a1a1a1;  }
/* active checkbox (when pressed) */
.as-custom-checkbox:not(:disabled):active+label::before { background-color: #f1f1f1;  border-color: #a1a1a1;  }
/* checkbox is focused*/
.as-custom-checkbox:focus+label::before {  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1); }
/* checkbox is focused but not checked  */
.as-custom-checkbox:focus:not(:checked)+label::before {  border-color: #a1a1a1; }
/* checkbox is  checked */
.as-custom-checkbox:checked+label::before { border-color: #5b5b5b; background-color: #fff; background-image: url(../img/check-box-icon-dark.svg); background-size: 13px 9px;}
/* checkbox is disabled */
.as-custom-checkbox:disabled+label::before { background-color: #e9ecef; }

.as-check-block .as-custom-checkbox+label {white-space: nowrap; }
.as-check-block .as-custom-checkbox:checked+label::before { border-color: #5b5b5b; background-color: #fff; background-image: url(../img/check-box-icon-dark.svg); background-size: 12px 9px;}

.as-checkbox-list{ margin:40px 0 0 0; }
.as-checkbox-wrapper{ display:flex; flex-direction:row; flex-wrap:wrap; margin-top:0px; }
    .as-check2{ width:16.66%; margin:17px 0 0 0; }
    .as-checkbox-wrapper .as-custom-checkbox+label { font-size: 16px; line-height: 16px;   }
    .as-checkbox-wrapper .as-custom-checkbox+label::before {  width: 15px; height: 15px;  margin-right: 7px; }

/* select style */
select.as-select{height: 38px; width: 100%; padding: 0 20px 0 2%; text-align: left; background-color: #FFF; border: none; background-position: right 5px center;
background-repeat: no-repeat; background-image: url(../img/dropdown-arrow-1.svg); background-size: 13px 8px; line-height: 1em; font-family: 'Figtree', sans-serif;
border: 1px solid #9e9e9e; border-radius: 5px; color: #000; font-size: 16px; -webkit-appearance: none; -moz-appearance: none; text-indent: .01px;
 text-overflow: ''; -ms-appearance: none; appearance: none !important; }

.as-loc-type-wrapper{ margin-top:68px; width:48%;  }
.as-loc-type-line{ display:flex; flex-direction:row; margin:12px 0 0 0; }
    .as-loc-type-dropbox{ width: 36%;}
    .as-loc-type-input{width: 63%; margin-left: 1%;}
        .as-loc-type-input input{ height:36px; width: 97%; padding: 0 1.5% 0 1.5%;  border: 1px solid #9e9e9e; border-radius: 5px; font-size: 16px; font-family: 'Figtree', sans-serif; }
/* range sliders */
.as-range-sliders-wrapper{ margin-top:25px; }
    .as-range-sliders-wrapper ul{ display:flex; flex-direction:row; flex-wrap:wrap;  }
        .as-range-sliders-wrapper ul li{ margin-top:41px; }
        .as-range-sliders-wrapper ul li:nth-child(2n){ margin-left:4%;}
            .as-range-slider{ width:48%; }
                .as-range-slider label{ display:block; font-size:16px; line-height:16px; font-weight:700; font-family: 'Figtree', sans-serif;   }
                .as-range-slider input{ margin-top: 7px; margin-bottom: 17px; display:block; border: none; font-size:14px; line-height:14px; font-weight:500; font-family: 'Figtree', sans-serif; color:#1f6ba6;    }
                .as-range-slider div{ }
                .as-range-slider .ui-slider-horizontal { height: 4px; background-color:#d3d3d3; }
                .as-range-slider .ui-widget.ui-widget-content { border: none; }
                .as-range-slider .ui-widget-header{ background-color:#34c8ff; }
                .as-range-slider .ui-state-default, .as-range-slider .ui-widget-content .ui-state-default, .as-range-slider .ui-widget-header .ui-state-default, .as-range-slider .ui-button,  html .as-range-slider .ui-button.ui-state-disabled:hover,
                 html .as-range-slider .ui-button.ui-state-disabled:active { top: -10px;  border: 3px solid #019dde;  background: #fff;  border-radius: 100%;}
/* dropdown list */
.as-dropdown-list{ margin-top:38px; }
    .as-dropdown-list h5{}
    .as-dropdown-list ul{display:flex; flex-direction:row; flex-wrap:wrap; }
    .as-dropdown-list ul li{margin-top: 23px; margin-right: 2%; width: 23.5%; }
        .as-dropdown-list ul li:nth-child(4n){ margin-right:0px; }

/* dropdown with title list */
.as-dropdown-title-list{margin-top:44px;}
    .as-dropdown-title-list ul{display:flex; flex-direction:row; flex-wrap:wrap;}
    .as-dropdown-title-list ul li{margin-top: 23px; margin-right: 2%; width: 23.5%;}
    .as-dropdown-title-list ul li:nth-child(4n){ margin-right:0px; }
    .as-dropdown-w-title-item{}
        .as-dropdown-w-title-item p{ font-size:16px; line-height:16px; font-family: 'Figtree', sans-serif; font-weight:700; }
        .as-dropdown-w-title-item select{ margin-top:14px; }
/* checkboxes 4 in row */
.as-checkbox-wrap-4-in-row{  }
    ul.as-checkbox-wrap-4-in-row{display:flex; flex-direction:row; flex-wrap:wrap; background-color: #f6f6f6; margin-top: 10px; padding: 1% 1% 1% 1%; }
    ul.as-checkbox-wrap-4-in-row li{margin-top: 3px; margin-right: 2%; width: 23.5%; }
    ul.as-checkbox-wrap-4-in-row li:nth-child(4n){ margin-right:0px; }
    ul.as-checkbox-wrap-4-in-row .as-custom-checkbox + label {  font-size: 16px;  line-height: 19px; }
    .as-checkbox-wrap-4-in-row .as-custom-checkbox + label::before{ align-self:flex-start; }
    ul.as-checkbox-wrap-4-in-row li .as-check{ width:auto; margin-top:0px; }
    .as-checkbox-wrap-4-in-row{}
/*buttons*/
.as-buttons{display:flex; flex-direction:row; flex-wrap:wrap; margin-top: 70px;}
    .as-buttons a{ display:block; width:18%; height:51px; margin-right: 11px; text-align:center; font-size:20px; line-height:51px; font-weight:700; background-color:#2988d8;
     border-radius:5px; color:#fff; text-decoration:none; }
        .as-buttons a:hover{ background-color:#399df0; }
    .as-buttons .as-reset{ height: 51px; line-height: 47px; background-color:#fff; color:#2988d8; border:2px solid #2988d8;
    /**/ -moz-box-sizing: border-box; -webkit-box-sizing: border-box;  box-sizing: border-box; /**/ }
        .as-buttons .as-reset:hover{background-color: #eff8ff;}
/* select 2 */
.as-select2-wrapper{ width:100%; }
    .as-select2-wrapper label{ display:block; }
    .as-select2-wrapper select{ display:block;  } 
    .select2.select2-container.select2-container--default{ display: inline-block; width: 100%!important; margin-top:6px;} /* общий контейнер спан   */
    .select2-selection.select2-selection--multiple{ position: relative; min-height:38px!important; padding-bottom: 3px!important; } /* 3й спан */
        .select2-selection.select2-selection--multiple::after{ position:absolute; top:13px; right: 5px; width:13px; height:8px; content:' ';
         background-image: url(../img/dropdown-arrow-1.svg); background-size: 13px 8px; }
    .select2-container--default .select2-selection--multiple .select2-selection__choice{ width: auto!important;  padding:0px 6px 0px 24px!important; margin-top: 3px!important;  margin-right:0px!important; }  /* li конетейнер */
    .select2-selection__choice__display{ display: inline-block; height: 28px; line-height: 28px; padding-right: 2px!important; padding-left: 4px;}
    .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{ line-height: 1.3em!important; font-size: 1.1em!important; border:0px!important; }
    /*.as-select2-wrapper .dropdown-wrapper{ display:none; }*/
    .as-select2-wrapper .select2-selection.select2-selection--multiple::after{ display:none; }
.as-select2-wrapper .dropdown-wrapper{ position:absolute; right:0px; z-index:1; }
.as-select2-wrapper .dropdown-wrapper::after{ position: absolute; top: -21px; right:6px; width: 13px; height: 8px; content: ' '; background-image: url(../img/dropdown-arrow-1.svg)!important; background-size: 13px 8px!important; 
  }


/* range dropdowns */
.as-range-dropdowns{ display: flex; margin-top: 58px; flex-wrap: wrap;}
    .as-range-drop-half{ width:45%; margin-right:2%; padding: 1% 1% 1.5% 1%; margin-top: 20px; background-color:#f6f6f6; }
        .as-range-drop-half ul{display: flex; margin-top:12px; }
            .as-range-drop-half ul li{ width:49%; margin:0 0% 0 0%; }
                .as-range-drop-half ul li:first-child{ margin-right:1%; }
                .as-range-drop-half ul li:last-child{ margin-left:1%; }
    

