/* IDX Search Page */
body .select2-drop-mask,
body .select2-drop {
    z-index: 10;
}
#main-wrapper {
    z-index: initial;
}

.ip-banner, #breadcrumbs {
    display: none;
}

.ip-global-title-inner #breadcrumbs {
    display: block;
    margin-top: 0;
    padding: 0;
}

#inner-page-wrapper {
    padding-top: 107px;
}

#inner-page-wrapper > .container {
    width: 100%;
    padding: 0;
}

#content-full {
    margin-top: 95px;
    z-index: 2;
    position: relative;
    background: #fff;
}

#content-custom {
    position: relative;
    padding: 0;
}

.ip-global-title {
    position: relative;
    padding: 0;
}

.ip-global-title {
    position: relative;
    padding: 0;
    margin-left: -68px !important;
    z-index: 10;
}

.ip-global-title-inner {
    padding: 18px 23px 0;
}

.ip-global-title .entry-title {
    margin-top: 82px !important;
}

.ip-global-title-inner p#breadcrumbs {
    margin-left: 59px!important;
    padding-left: 0!important;
}

.bg-idx-search {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    max-height: 100%;
    width: 50%;
    background-position: center;
    background-size: cover;
    z-index: -1;
}

.bg-idx::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    max-height: 100%;
    background: url(../../images/idx-search/idx-user-login-bg-overlay-lg-min.png) no-repeat right top / cover;
    z-index: 2;
}

.ip-search-c {
    width: 50%;
    margin: 0 0 0 auto;
}

.cidx-search-page-wrap {
    padding: 49px 0 97px;
}

.cidx-search-page-wrap .ip-global-title {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    padding: 0 0 40px;
    margin-bottom: 54px;
}

.cidx-search-page-wrap .ip-global-title:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 756px;
    height: 3px;
    margin: 0 auto;
    max-width: 100%;
    background: rgb(32,61,69);
    background: -moz-linear-gradient(90deg, rgba(32,61,69,1) 0%, rgba(190,143,51,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(32,61,69,1) 0%, rgba(190,143,51,1) 100%);
    background: linear-gradient(90deg, rgba(32,61,69,1) 0%, rgba(190,143,51,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#203d45",endColorstr="#be8f33",GradientType=1);
}

.cidx-search-tab {
    display: flex;
    max-width: 990px;
    background: #fff;
}

.cidx-search-tab li {
    width: 100%;
    border-right: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.cidx-search-tab li:last-child {
    border-right: none;
}

.cidx-search-tab li a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 100;
    padding: 25px 10px 26px;
    text-transform: uppercase;
    color: #000;
    letter-spacing: 0.05em;
    transition: all var(--default-transition);
    text-align: center;
    height: 100%;
    background: #fff;
}

.cidx-search-tab li.active a, .cidx-search-tab li:hover a {
    color: #fff;
    background: #000;
}

#IDX-main {
    max-width: 990px;
    margin: 0;
    background: #fff;
    /* box-shadow: 5px 19px 50px 0px rgba(0, 0, 0, 0.1); */
    box-shadow: none;
    /*padding: 79px 115px 85px;*/
    /*padding: 79px 7.8% 85px;*/
    padding: 73px 50px 83px;
}

#IDX-main.IDX-page-mapsearch {
    padding-top: 28px;
    padding-bottom: 59px;
}

.IDX-wrapper-standard .IDX-navbar-default {
    display: none;
}

#IDX-main > div[style] {
    display: none!important;
}

.IDX-pageContainer {
    /*max-width: 800px;*/
    max-width: 100%;
    margin: 0 auto;
}

/*basic search*/
.IDX-wrapper-standard #IDX-coreSearchFields, .IDX-wrapper-standard #IDX-advancedSearchFields {
    padding: 0;
    margin: 0 -9px;
    width: auto;
    display: block;
}

.IDX-wrapper-standard label.IDX-label-for-nojs, .IDX-wrapper-standard .IDX-advancedWrap .IDX-advancedText {
    display: block;
    font-weight: 100;
    font-size: 14px;
    letter-spacing: 0.05em;
    color: #000;
    line-height: 1;
    height: auto;
    margin-bottom: 0;
}

.IDX-wrapper-standard .IDX-control-group {
    padding: 0 9px;
}

.IDX-wrapper-standard .select2-container .select2-choice, .select2-container-multi .select2-choices .select2-search-field input, .IDX-wrapper-standard .IDX-advancedWrap input, #IDX-main.IDX-page-listingid input#IDX-listingID, #IDX-main.IDX-page-address #IDX-address {
    padding: 0;
    border: none;
    font-weight: 100;
    font-size: 14px;
    letter-spacing: 0.05em;
    color: #000;
    border-bottom: 1px solid #000;
}

#IDX-main.IDX-page-address #IDX-address {
    min-height: 39px;
    margin: 0;
}

.IDX-wrapper-standard .IDX-advancedWrap .IDX-radioLabel {
    font-weight: 100;
    font-size: 14px;
    letter-spacing: 0.05em;
    color: #000;
    line-height: 1;
}

.IDX-wrapper-standard .select2-container.select2-container-multi .select2-choices {
    background: transparent;
    border: none;
    border-bottom: 1px solid #000;
    box-shadow: none;
}

.IDX-wrapper-standard .select2-container a.select2-choice, .IDX-wrapper-standard .select2-container a.select2-default {
    background: transparent;
}

.IDX-wrapper-standard .select2-container .select2-choice.select2-default .select2-chosen {
    opacity: 0;
}

.IDX-wrapper-standard .select2-container.select2-container-multi .select2-choices input {
    min-height: 39px;
}

.IDX-wrapper-standard .select2-container.select2-container-multi .select2-choices input.select2-default {
    font-size: 0;
}

.IDX-wrapper-standard.IDX-page-basic .IDX-control-group {
    width: 100%;
    margin-bottom: 35px;
}

.IDX-wrapper-standard .IDX-control-group {
    margin-bottom: 35px;
}

.IDX-wrapper-standard .IDX-control-group#IDX-minPrice-group, .IDX-wrapper-standard .IDX-control-group#IDX-maxPrice-group {
    width: 50%;
}

.IDX-wrapper-standard .select2-container .select2-choice .select2-arrow b {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 3.5px 0 3.5px;
    border-color: #000000 transparent transparent transparent;
}

.IDX-wrapper-standard #IDX-action-buttons {
    display: flex;
    flex-flow: row wrap;
    width: 100%!important;
    justify-content: center;
    padding: 0;
}

#IDX-main #IDX-action-buttons button.btn-a {
    background: transparent!important;
    border: none;
    border: 1px solid #000!important;
    font-size: 14px;
    letter-spacing: 0.1em;
    color: #000;
    text-transform: uppercase;
    width: 135px;
    margin: 0 33px;
    min-width: initial;
}

#IDX-main #IDX-action-buttons button.btn-a:hover {
    background: #000!important;
    border-color: #000!important;
    color: #fff;
}

/*ADVANCED SEARCH*/
.IDX-wrapper-standard #IDX-advancedFieldsModLeft, .IDX-wrapper-standard #IDX-advancedFieldsModRight {
    /*    width: 100%;*/
    padding: 0 9px;
}

.IDX-wrapper-standard .IDX-advancedPair {
    margin-bottom: 40px;
}

.IDX-wrapper-standard .IDX-advancedWrap input.IDX-advancedRange {
    min-height: 39px;
    padding: 0;
}

div#IDX-boxLabel_garageSpaces, div#IDX-boxLabel_yearBuilt, div#IDX-boxLabel_sqFt {
    font-weight: 100;
    font-size: 14px;
    letter-spacing: 0.05em;
    color: #000;
    line-height: 1;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
}

div#IDX-boxLabel_garageSpaces label, div#IDX-boxLabel_yearBuilt label, div#IDX-boxLabel_sqFt label {
    width: 100%;
}

.IDX-wrapper-standard .IDX-advancedWrap input.IDX-advancedRange {
    width: calc(50% - 20px);
}

/*.IDX-wrapper-standard .IDX-control-group#IDX-reduced-group,

	.IDX-wrapper-standard .IDX-control-group#IDX-add-group {

	    width: 25%;

	}*/
#IDX-boxLabel_newConstructionYN label, #IDX-boxLabel_coolingYN label {
    margin-bottom: 10px;
}

.IDX-wrapper-standard .IDX-advancedWrap input#IDX-aw_remarksConcat {
    min-height: 39px;
    width: 100%;
}

/*LISTING ID*/
#IDX-main.IDX-page-listingid .IDX-control-label {
    display: block;
    font-weight: 100;
    font-size: 14px;
    letter-spacing: 0.05em;
    color: #000;
    line-height: 1;
    height: auto;
    margin-bottom: 0;
}

#IDX-main.IDX-page-listingid .IDX-help-block {
    font-size: 11px;
    font-weight: 100;
    letter-spacing: 0.05em;
    color: #a1a1a1;
}

/*ADDRESS*/
#IDX-main.IDX-page-address .IDX-control-group, #IDX-main.IDX-page-address .IDX-single {
    margin: 0 0 40px;
    padding: 0 9px;
}

.IDX-page-address.IDX-wrapper-standard label {
    display: block;
    font-weight: 100;
    font-size: 14px;
    letter-spacing: 0.05em;
    color: #000;
    line-height: 1;
    height: auto;
    margin-bottom: 0;
}

#IDX-price-fields {
    padding: 0;
}
    #IDX-hp-group {
        margin: 0;
    }

#IDX-userLocation {
    padding-left: 0;
    padding-right: 0;
}
#IDX-mapSearch, #IDX-mapTab-criteria {
    padding-left: 0;
    padding-right: 0;
    width: 70px;
    min-height: 34px;
}

#IDX-mapControlContainer {
    z-index: 1;
}

@media only screen and (min-width: 992px) {
    /*header*/ header.header {
        background: #000;
        padding: 20px 0;
        z-index: 10;
    }

    .header-logo {
        bottom: 0;
        width: 164px;
    }

    .header-logo a img {
        -webkit-filter: brightness(0) invert(1);
        filter: brightness(0) invert(1);
    }

    a.bm-contact-open, .bm-menu-open span, .header-navigation > a {
        color: #fff;
        border-color: #fff;
    }

    .bm-menu-icon:before, .bm-menu-icon:after {
        background: #fff;
    }
}

@media only screen and (max-width: 1440px) {
    #IDX-mapCount {
        position: absolute;
        top: -40px;
    }
}
@media only screen and (max-width: 1199px) {
    .cidx-search-tab li {
    }

    .cidx-search-tab li a {
        font-size: 12px;
    }
    #IDX-main #IDX-action-buttons button.btn-a {
        margin: 0 10px;
    }
    #IDX-lp-group, #IDX-hp-group {
        width: 100px;
    }
    #IDX-mapSearch, #IDX-userLocation, #IDX-mapTab-criteria {
        width: 90px;
    }
}

@media only screen and (max-width: 991px) {
    .ip-search-c {
        width: 100%;
        padding: 0 15px;
    }

    .ip-global-title {
        margin-left: 0 !important;
    }

    .ip-global-title h1 {
        margin-top: 50px;
        text-align: center;
    }

    .ip-global-title-inner:after {
        display: none;
    }

    .ip-global-title-inner {
        padding: 18px 0 0;
        display: block;
        width: 100%;
    }

    .ip-global-title-inner p#breadcrumbs {
        margin-left: 0!important;
    }

    #content-full {
        margin-top: 57px;
    }

    #inner-page-wrapper {
        padding-top: 60px;
    }

    #IDX-main {
        padding: 50px 5%;
    }

    .bg-idx-search {
        display: block;
        position: relative;
        min-height: 250px;
        width: 100%;
        z-index: 1;
    }

    .bg-idx::after {
        display: none;
    }

    .cidx-search-page-wrap {
        padding: 49px 0 97px;
    }

    .cidx-search-tab {
        flex-flow: row wrap;
        border-top: 1px solid #eaeaea;
        border-left: 1px solid #eaeaea;
        border-right: 1px solid #eaeaea;
    }

    .cidx-search-tab li {
        width: 33.33%;
        margin: 0;
        text-align: center;
    }

    .cidx-search-tab li:nth-child(3) {
        border-right: 0;
    }

    .cidx-search-tab li:nth-child(4), .cidx-search-tab li:nth-child(5) {
        width: 50%;
    }

    .cidx-search-tab li a {
        padding: 15px 10px;
    }
    #IDX-mapCount {
        top: 0;
    }
}

@media only screen and (max-width: 767px) {
    .cidx-search-tab li a {
        font-size: 12px;
        letter-spacing: 0;
    }

    .IDX-wrapper-standard .IDX-control-group#IDX-minPrice-group, .IDX-wrapper-standard .IDX-control-group#IDX-maxPrice-group {
        width: 100%;
    }
    
}

@media only screen and (max-width: 749px) {
    #IDX-mapSearch, #IDX-userLocation, #IDX-mapTab-criteria {
        width: 100%;
        margin-top: 10px;
    }
    #IDX-mapCount {
        padding: 14px 10px;
    }
    #IDX-lp-group, #IDX-hp-group {
        width: 50%;
        margin: 30px 0 20px;
    }
    #IDX-lp-group {
        padding-left: 0;
    }
    #IDX-hp-group {
        padding-right: 0;
    }
    #IDX-price-fields {
        padding: 10px;
    }
}

@media only screen and (max-width: 480px) {
    #IDX-main #IDX-action-buttons button.btn-a {
        margin: 0 5px;
        width: 110px;
        padding: 0;
    }
}
