.flexbox {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
}

#dmg_layout_internal.dmg_internal_area_advanced_search {
    overflow: visible;
    margin-top: 85px;
}

.dmg_internal_area_advanced_search #dmg_layout_internal-page {
    padding: 0;
}

.header_container_bg {
    margin-top: -95px;
    padding: 110px 10px 0px;
    background: #F5F7F8;
}

.header_container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.dmg_internal_area_advanced_search #dmg_layout_internal-page h1 {
    color: #343434;
    margin-bottom: 30px;
    font-size: 32px;
    line-height: 1em;
}



.search_tabs {
    text-align: center;
    border-bottom: 1px solid #e0e5eb;
}

.search_tabs li {
    width: 33.3333%;
}

.search_tabs a {
    color: #5b7189;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5em;
    letter-spacing: .3px;
    padding: 6px;
    text-decoration: none!important;
    display: inline-block;
    width: 100%;
}

.search_tabs a:hover,
.search_tabs a.active {
    color: #ec174c;
    border-bottom: 2px solid;
    text-decoration: none;
}



.search_content_wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 10px 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    min-height: 500px;
    font-size: 16px;
}

.search_form_wrapper {
    flex: 1;
}

.search_form_wrapper ul.width-max li {
    width: 100%;
}

.search_form_sidebar {
    width: 300px;
    padding-left: 30px;
    box-sizing: border-box;
    position: relative;
}

.search_section + .search_section {
    margin-top: 40px;
}

.search_section.section_toggle {
    padding-top: 25px;
    border-top: 1px solid #CCCCCC;
}

.search_section_flex {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start
}

.flex_third .search_flex_item {
    width: 31.3333%;
    padding: 0;
    margin: 0 2% 25px 0;
    box-sizing: border-box;
}

.flex_half .search_flex_item {
    width: 48%;
    padding: 0;
    margin: 0 2% 10px 0;
    box-sizing: border-box;
}

.search_flex_item {
    padding-right: 150px;
}

.field-split {
    padding-top: 24px;
    position: relative;
    flex: 1;
}

.search_flex_item.label-display {
    padding-top: 24px;
    position: relative;
}

.field-sep {
    padding: 24px 8px 0;
    line-height: 40px;
}

.search_flex_item.border_right {
    padding-right: 50px;
    margin-right: 50px;
    border-right: 1px solid #CCCCCC;
}

.search_flex_item:last-child {
    padding-right: 0;
}

.list_style_none {
    list-style: none;
    margin: 0;
    padding: 0;
}

.search_content_wrapper li {
    margin-bottom: 15px;
}

#dmg_layout_internal h2.section_content_toggle {
    margin: 0;
    padding-left: 25px;
    font-size: 26px;
    line-height: 1em;
    color: #000000;
    text-transform: uppercase;
    position: relative;
    cursor: pointer;
}

.column_two {
    column-count: 2;
    column-gap: 60px;
}

.community_flex .column_two {
    display: inline-block;
    column-gap: 20px;
}

.column_two li {
    break-inside: avoid-column;
}

#dmg_layout_internal .search_section_title {
    margin-bottom: 20px;
    color: #5c6974;
}

.search_form_wrapper label {
    display: flex;
    align-items: center;
}

.checkbox_control, .radio_control {
    display: none;
}

.check_display {
    font-size: 17px;
    line-height: 1;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    text-align: center;
    color: #FFFFFF;
    border: 1px solid #a4a4a4;
    border-radius: 3px;
    display: inline-block;
    position: relative;
}

.check_display:after {
    display: none;
}

/*
.check_display:after {
    content: "\2714";
    width: 16px;
    height: 16px;
    font-size: 12px;
    text-align: center;
    color: #FFFFFF !important;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
*/

.radio_display {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border: 1px solid #a4a4a4;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.checkbox_control:checked + .check_display {
    background: #d82a2a;
    border: 1px solid #d82a2a;
}

.radio_control:checked + .radio_display {
    border: 1px solid #d82a2a;
}

.radio_control:checked + .radio_display span {
    width: 10px;
    height: 10px;
    margin: 3px auto;
    background: #d82a2a;
    border-radius: 50%;
    text-align: center;
    display: block;
    position: relative;
    z-index: 1;
}

.margin_top30 {
    margin-top: 30px;
}

.den_label_wrap {
    overflow: hidden;
}

.block_label {
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity .5s ease;
}

.block_label.active-label {
    opacity: 1;
    transition: opacity .5s ease;
}

.block_label.bedroom_label {
    width: 200px;
    float: left;
}

.block_label.den_label {
    width: 52px;
    float: right;
}

.den_label_wrap .check_display {
    width: 12px;
    height: 12px;
}

.den_label_wrap .block_label {
    margin-bottom: 0;
}

.search_form_wrapper input[type="text"],
.search_form_wrapper input[type="search"] {
    width: 100%;
    height: 40px;
    padding: 0 0 0 5px;
    background-color: rgb(246, 248, 250);
    border: 1px solid #e0e5eb;
    border-radius: 6px;
    box-sizing: border-box;
    color: #002e56;
}

.search_form_wrapper select {
    width: 100%;
    height: 40px;
    padding-left: 5px;
    background-color: rgb(246, 248, 250);
    border: 1px solid #e0e5eb;
    border-radius: 6px;
    box-sizing: border-box;
    color: #002e56;
}



.select-wrap {
    width: 100%;
    height: 40px;
    box-sizing: border-box;
}

.select-wrap:has(.show-choice) {
    height: auto;
}

.range_displays {
    margin-top: 10px;
    padding: 0 3px;
    font-size: 14px;
}

.range_min {
    float: left;
}

.range_max {
    float: right;
}

.toggle_content {
    max-height: 0;
    transition: max-height 1s ease-out;
    overflow: hidden;
}

.active_content + .toggle_content {
    max-height: 3000px;
    transition: max-height 1s ease-in;
}

.section_content_toggle:before {
    content: "\f107";
    width: 20px;
    height: 20px;
    font-family: FontAwesome;
    font-size: 20px;
    text-align: center;
    color: #000;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.section_content_toggle.active_content:before {
    content: "\f106";
}

.sort-wrapper .select_wrapper:after {
    content: "";
    width: 18px;
    height: 12px;
    background: url('/images/layout/search-filter-icon.jpg');
    position: absolute;
    right: 8px;
    top: 13px;
    pointer-events: none;
}


#carport_range_min, #reduced_range_min {width: 100%; text-align: center; float: none;}

.column_three {
    column-count: 3;
    column-gap: 5px;
}

.results_count_wrapper {
    width: 100%;
    padding: 30px;
    background-color: #fff;
    border-radius: 6px;
    border: 1px solid #e0e5eb;
    transition: margin 1s ease;
    box-sizing: border-box;
    box-shadow: 0 7px 20px -6px rgba(127,146,166,.3);
}

.results_count_display {
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
    color: #002e56;
    font-size: 40px;
}

.results_count {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.3em;
    margin-bottom: 6px;
}

.results_count_title {
    font-size: 24px;
    line-height: 1em;
    font-weight: bold;
    color: #5b7189;
}

.search_submit {
    width: 100%;
    height: 42px;
    line-height: 1;
    padding: 5px 10px;
    margin-bottom: 12px;
    border: 2px solid #fff;
    background: #00529b;
    text-align: center;
    font-size: 16px;
    color: #FFFFFF;
    cursor: pointer;
    box-sizing: border-box;
    letter-spacing: .3px;
    border-radius: 6px;
    transition: all .25s ease;
}

.search_submit:hover {
    box-shadow: 0 7px 20px -8px #7f92a6;
    background-color: #0064bd;
}

.reset_form {
    width: 100%;
    height: 38px;
    padding: 5px 10px;
    line-height: 24px;
    font-size: 16px;
    color: #00529b;
    background-color: #fff;
    border: 2px solid #00529b;
    border-radius: 6px;
    text-align: center;
    display: block;
    box-sizing: border-box;
    transition: all .25s ease;
}

.reset_form:hover {
    color: #fff;
    background-color: #0064bd;
    border-color: #0064bd;
    text-decoration: none;
}

.svg-icon{
    fill: currentColor;
    width: 26px;
    height: 26px;
    overflow: hidden;
    display: inline-block;
    vertical-align: text-bottom;
    margin-right: 4px;
}

/* =============== Search Bar =============== */
.search_bar_container {
    padding-bottom: 13px;
    border-bottom: 1px solid #e0e5eb;
}

#dmg_results_wrapper .search_bar_list {
    max-width: 1170px;
}

.search_bar_list li {
    padding: 20px 5px 0;
    text-align: center;
}

.search_bar_list li.no_tpadding {
    padding-top: 0;
}

.search_bar_list .sort-wrapper {
    flex: 1;
    text-align: right;
}

/*
.search_bar_list a {
    font-size: 16px;
    line-height: 40px;
    color: #343434;
}

.search_bar_list a:hover {
    color: #000;
    text-decoration: none;
}
*/

.tool-tip {
    width: 16px;
    height: 16px;
    margin-left: 4px;
    border: 2px solid #00529b;
    border-radius: 50%;
    color: #00529b;
    text-align: center;
    font-weight: bold;
    line-height: 16px;
    cursor: pointer;
    display: inline-block;
    position: relative;
    z-index: 10;
}

.tool-tip:hover:after {
    content: attr(data-title);
    width: 280px;
    background: #dbe1e8;
    border: 1px solid #03294b;
    padding: 10px;
    border-radius: 6px;
    box-sizing: border-box;
    font-weight: normal;
    display: block;
    position: absolute;
    left: 28px;
    top: -14px;
}

.tool-tip:hover:before {
    border-bottom: 8px solid #03294b;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    content: "";
    height: 0;
    width: 0;
    z-index: 1;
    left: auto;
    right: 0;
    top: 40%;
    position: absolute;
    transform: translateX(calc(100% + 1px)) translateY(-50%) rotateZ(270deg);

}


.search_bar_list li.search-term-wrap {
    flex: 1;
}


.refine_toggle {
    width: 260px;
    height: 38px;
    margin-right: 30px;
    letter-spacing: .3px;
    text-align: center;
    line-height: 34px;
    font-weight: 700;
    padding: 0 25px;
    outline: 0;
    border-width: 2px;
    border-radius: 6px;
    border-style: solid;
    color: #00529b;
    background-color: #fff;
    border-color: #00529b;
    -webkit-transition: all .25s ease;
    -moz-transition: all .25s ease;
    -ms-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
    box-sizing: border-box;
    cursor: pointer;
}

.refine_toggle:hover {
    background: #00529b;
    color: #FFF;
}

.results_nav_save {
    width: 170px;
    height: 38px;
    letter-spacing: .3px;
    text-align: center;
    line-height: 34px;
    padding: 0 25px;
    outline: 0;
    border-width: 2px;
    border-radius: 6px;
    border-style: solid;
    color: #fff;
    font-weight: 700;
    background-color: #00529b;
    border-color: #00529b;
    -webkit-transition: all .25s ease;
    -moz-transition: all .25s ease;
    -ms-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
}

.results_nav_save:hover {
    outline: 0;
    color: #fff;
    background-color: #0064bd;
    border-color: #fff;
    text-decoration: none;
    -webkit-box-shadow: 0 7px 20px -8px #7f92a6;
    box-shadow: 0 7px 20px -8px #7f92a6;
}

.results_nav_map {
    height: 38px;
    -webkit-transition: color .25s ease;
    -moz-transition: color .25s ease;
    -ms-transition: color .25s ease;
    -o-transition: color .25s ease;
    transition: color .25s ease;
    font-size: 12px;
    line-height: 38px;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 1.8px;
    position: relative;
    display: inline-flex;
    align-items: center;
    border-bottom: 2px solid transparent;
}

.results_nav_map .fa {
    margin-right: 6px;
    font-size: 20px;
}


.results_nav_map:hover {
    text-decoration: none;
    border-bottom: 2px solid #0064bd;
}


.search_content_wrapper.results_display {
    box-sizing: border-box;
    height: 0;
    max-height: 0;
    min-height: 0;
    overflow: hidden;
    transition: max-height 2s ease-out;
}

.search_content_wrapper.form_active {
    border-top: 1px solid #e0e5eb;
    padding-top: 50px;
    height: auto;
    max-height: 5000px;
    transition: max-height 2s ease-in;
}

.search_content_wrapper.form_active.results_display {
    max-width: 1270px;
    border-top: 0 !important;
}

.refine_toggle .fa-chevron-up {
    display: none;
}

.refine_toggle.toggle_active .fa-chevron-up {
    display: inline-block;
}

.refine_toggle.toggle_active .fa-chevron-down {
    display: none;
}

.search_results_container {
    margin-top: 40px;
}

.search_bar_list label {
    margin-bottom: 6px;
    text-align: left;
    display: block;
}

.search_bar_list select {
    width: 270px;
    height: 38px;
    padding: 0 0 0 5px;
    border: 1px solid #e0e5eb;
    border-radius: 6px;
    font-size: 16px;
    color: #002e56;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.select_wrapper {position: relative;}
.select_wrapper:after {
    content: "\f107";
    font-family: FontAwesome;
    color: #343434;
    font-size: 22px;
    line-height: 40px;
    position: absolute;
    right: 8px;
    top: 0;
    pointer-events: none;
}

.page_links {
    padding-top: 25px;
}

.search_bar_list .prev_page, .search_bar_list .next_page {
    width: 34px;
    height: 30px;
    margin: 0 2px;
    background: #000;
    color: #FFFFFF;
    line-height: 30px;
    text-align: center;
    display: inline-block;
}

.search_bar_list .prev_page .fa, .search_bar_list .next_page .fa {
    width: 34px;
    height: 30px;
    color: #FFFFFF;
    line-height: 30px;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
}

.search_bar_list .current_page {
    width: 34px;
    height: 30px;
    margin: 0 2px;
    background: #e5e5e5;
    color: #343434;
    line-height: 30px;
    text-align: center;
    display: inline-block;
    cursor: default;
    border: 0;
    box-sizing: border-box;
}
.search_bar_list .current_page:hover {
    color: #333333;
}



.choice-display {
    width: 100%;
}

.choice-bg {
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    background-color: #f6f8fa;
    border: 1px solid #e0e5eb;
    border-radius: 6px;
    -webkit-box-shadow: 0 7px 20px -6px rgba(127,146,166,.3);
    box-shadow: 0 7px 20px -6px rgba(127,146,166,.3);
    position: absolute;
    right: 0;
    top: 95px;
    z-index: 10;
    display: none;
}



.show-locations .choice-bg {
    display: block;
}

.choice-wrap {
    background: #00529b;
    margin-top: 5px;
    padding: 7px 10px;
    line-height: 26px;
    color: #FFFFFF;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    border-radius: 4px;
}

.choice-delete:hover {
    cursor: pointer;
}

.choice-delete {
    padding-left: 20px;
}

.choice-toggle {
    position: absolute;
    right: 7px;
    top: 60px;
    cursor: pointer;
    font-weight: 700;
    color: #00529b;
    align-items: center;
    display: none;
}

.choice-toggle .fa {
    padding: 0 8px;
}

.show-choice-toggle .choice-toggle {
    display: flex;
}

.show-locations .choice-toggle .fa {
    transform: rotate(180deg);
}

#searchnote.showDesktop {
    opacity: 1;
    height: 48px;
    padding: 10px 15px;
}

#searchnote {
    position: absolute;
    border: 1px solid #002e56;
    transition: all .25s ease-in-out;
    border-radius: 6px;
    background-color: #e0e5eb;
    padding: 0;
    margin-top: 0;
    text-align: left;
    font-size: 14px;
    box-sizing: border-box;
    opacity: 0;
    height: 0px;
    color: #002e56;
    font-size: 16px;
    max-width: 625px;
    margin: 15px auto;
    z-index: 1000;
    pointer-events: none;
}

/* == Desktop
============================================================================ */
@media only screen and (max-width: 1200px) {
    .price-toggle,
    .filters_toggle {
        width: 140px;
        min-width: 140px;
    }


}


/* == Desktop
============================================================================ */
@media only screen and (max-width: 1115px) {
    .search_flex_item.border_right {
        padding-right: 15px;
        margin-right: 15px;
    }
}

/* == Desktop
============================================================================ */
@media only screen and (max-width: 992px) {
    .mapsearch .list_style_none.search_bar_list .search-term-wrap {
        width: calc(100% - 210px) !important;
        margin-right: 0;
        padding-right: 0;
        padding-right: 0 !important;
        margin-bottom: 10px;
        flex: auto;
        box-sizing: border-box;
    }

    .price-wrap,
    .filters-wrap {
        flex: auto;
        padding-right: 10px !important;
    }

    .filters_toggle,
    .price-toggle {
        width: 100%;
    }


}


/* == Desktop
============================================================================ */
@media only screen and (max-width: 968px) {
    .search_content_wrapper {
        flex-flow: column;
    }

    .dmg_internal_area_advanced_search .search_form_sidebar {
        width: 100%;
        padding: 0;
        margin-top: 30px;
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 100;
    }

    .results_count_wrapper {
        padding: 15px;
    }

    .results_count_display {
        margin-bottom: 10px;
        line-height: 1em;
    }

    .results_count, 
    .results_count_title {
        margin-bottom: 0;
        display: inline-block;
        font-size: 24px;
        font-weight: bold;
        line-height: 1em;
    }

    .search_submit {
        width: 49%;
        margin: 0;
        display: inline-block;
        box-sizing: border-box;
    }

    .reset_form {
        width: 49%;
        display: inline-block;
        box-sizing: border-box;
    }

    .refine_toggle {
        width: 200px;
        padding: 0 10px;
        margin-right: 15px;
    }

    .search_bar_list li {
        width: 48%;
        box-sizing: border-box;
    }

    .mapsearch .search_bar_list li {
        width: initial;
    }

    .refine_toggle {
        width: 100%;
        margin-right: 0;
    }

    .search_bar_list .sort-wrapper,
    .search_bar_list .map-wrapper {
        width: 100%;
        flex: auto;
    }

    .results_nav_save {
        width: 100%;
    }

    .search_bar_list select {
        width: 100%;
    }

    #dmg_results_wrapper ul {
        justify-content: space-between;
    }
}

/* == Tablet
============================================================================ */
@media only screen and (max-width: 880px) {

}

/* == Tablet
============================================================================ */
@media only screen and (max-width: 768px) {
    .flex_third .search_flex_item {
        width: 48%;
        margin-right: 0;
    }
    .search_section_flex.community_flex {
        justify-content: center;
    }
    .community_flex .border_right + .border_right {
        border: 0;
        margin-bottom: 20px;
    }

    .flex_half .search_flex_item {
        width: 98%;
    }

    #searchnote.showDesktop {
        height: auto;
        min-height: 48px;
    }
}

/* == Phone
============================================================================ */
@media only screen and (max-width: 580px) {
    .list_style_none.search_tabs {
        max-width: 100%;
        text-align: center;
        justify-content: center;
    }

    .list_style_none.search_tabs li {
        padding: 0 10px;
        display: inline-block;
    }

    .search_tabs a {
        font-size: 16px;
    }

    .search_section_flex {flex-flow: column;}
    .search_section_flex.community_flex {flex-flow: row wrap;}
    .flex_third .search_flex_item {
        width: 98%;
        margin: 0 auto 25px
    }

    .search_section_flex.flex_third {
        text-align: center;
    }

    #dmg_layout_internal .search_section_title {
        text-align: center;
    }

    .search_flex_item {
        padding-right: 0;
    }

    .column_two, .list_style_none {
        max-width: 350px;
        margin: 0 auto;
    }

    .search_content_wrapper .noUi-horizontal {
        height: 20px;
    }

    .search_content_wrapper .noUi-horizontal .noUi-handle {
        top: -2px;
    }

    strong.d-block {
        text-align: center;
    }

    .list_style_none {
        display: inline-block;
    }

    .list_style_none.search_bar_list {
        display: flex;
    }
}

/* == Phone
============================================================================ */
@media only screen and (max-width: 480px) {
    .show-choice-toggle .choice-label {
        display: none;
    }
}