
html, body {height: 100%;}

#dmg_layout_wrapper {display: table;}

#dmg_layout_internal.dmg_internal_subarea_mapsearch {height: 100%; /* display: table-row; */}
.dmg_internal_subarea_mapsearch #dmg_layout_internal-page {height: 100%; width: 100%; max-width: 100%; padding: 0;}

#dmg_results_wrapper {height: 100%; display: table;}

.dmg_results_map_wrapper {height: 100%; display: table; position: relative;}

.dmg_results_search {height: auto; padding: 0; display: table-row;}
.dmg_internal_subarea_mapsearch .dmg_results_table_box {height: 100%; display: table-row}

.dmg_internal_subarea_mapsearch #dmgMap {height: 100%;}
.dmg_internal_subarea_mapsearch #dmgmap_wrap {height: 100%; display: table-cell}

#dmgmap_wrap {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: rgb(229, 227, 223);
    vertical-align: top;
}

.dmg_results_table {width: 640px; height: 100%; background: #FFFFFF; float: right; position: relative; display: table-cell; overflow: hidden;}

.dmg_sidebar_wrapper {height: 670px; overflow: auto;}
.dmg_map_sidebar .dmg_results_filter {height: auto; margin: 0; padding-bottom: 8px; display: block; overflow: hidden; position: sticky; top: 0; left: 0; z-index: 5;}
#dmg_results_wrapper .dmg_map_sidebar .dmg_results_filter ul {box-sizing: border-box;}
.dmg_map_sidebar .dmg_results_pagination_total {width: 100%; padding: 0; margin: 0; text-align: center;}


.dmg_results_table {padding: 5px; min-height: 0;box-sizing: border-box;}
.dmg_results_table_row {display: inline;}
.dmg_results_table_row .dmg_results_listing {width: 48%; background: transparent; display: inline-block; overflow: hidden; float: left;}
.dmg_results_table_row div:first-child {
    clear: left;
}

.gmnoprint .fa {
    color: #5b7189 !important;
}

.results-toggles {
    flex: 1;
}

.results-toggles .dmg_select_display {
    width: 100% !important;
    max-width: 100%;
}

.dmg_map_sidebar .dmg_results_filter ul > li {
    height: 38px;
}

.results-toggles .caret-svg {
    position: absolute;
    right: 0;
    top: 7px;
    pointer-events: none;
}



.dmg_results_table_row .dmg_results_listing {padding-bottom: 5px;}
.dmg_results_listing_photo {width: 100%;}
.dmg_listing_mlslogo {padding: 0; display: inline-block; font-size: 12px; text-align: center; margin: 0; position: absolute; right: 3px; bottom: 3px; display: none;}
.dmg_listing_street {display: inline;}
.dmg_listing_address {width: 100%;}
.dmg_listing_bab {width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; float: left; clear: left}
.dmg_listing_bab::before {display: none;}

.dmg_listing_banner + .dmg_listing_banner + .dmg_listing_banner {margin-top: 4px;}

.dmg_listing_price {margin-bottom: 4px; font-size: 20px;}


/* map bug changes */
/* .dmg_search_options {padding: 0px 15px 15px 15px;} */
.dmg_search_options {padding: 15px;}

.dmg_results_search_form {position: relative;}
.dmg_search_options {margin-top: 4px; position: absolute; z-index: 10; overflow-y: auto;}


/*
.dmg_ohouse_banner {width: 65px; height: 46px;}
.dmg_pending_banner {width: 65px; height: 46px;}
.dmg_pendingopen_banner {width: 65px; height: 46px;}
*/

.dmg_pending_banner {width: 44px; height: 30px;}
.dmg_ohouse_banner {width: 62px; height: 44px;}
.dmg_featured_banner {width: 81px; height: 57px;}
.dmg_comingsoon_banner {width: 62px; height: 44px;}
.dmg_video_banner {width: 62px; height: 44px;}

iframe[name="google_conversion_frame"] {position: absolute; left: -999px;}

.dmg_results_photo_controls {top: 40%;}
.dmg_listing_gallery_prev img, .dmg_listing_gallery_next img {width: 16px; height: 16px; margin: 0;}
.dmg_results_listing_photo .dmg_listing_gallery {line-height: 16px;}

/* .dmg_results_listing_photo .dmg_listing_save, .dmg_listing_photo_banner, .dmg_listing_amen, .dmg_listing_banner_wrap {display: none;} */

.dmg_listing_banner {height: 18px; line-height: 18px; font-size: 12px; text-align: center;}
.ohouse_date {display: none;}
.dmg_listing_mlslogo img {position: relative; right: 0; bottom: 0;}

.dmg_listing_compare {
    margin-bottom: 2px;
}

.dmg_listing_details_bg .dmg_listing_compare:checked + .compare-checkbox {
    background-color: #ec174c !important;
    border: 2px solid #ec174c !important;
    color: #FFFFFF !important;
}

.dmg_results_table_row .dmg_results_listing {
    min-height: 379.5px;
}

#searchnote.showDesktop {
    height: auto !important;
}

#forminrixdrivetime {margin-top: 10px;}
/* #inrixdrivetime {min-width: 300px;} */
#inrixdrivetime h2 {margin-bottom: 0; text-align: center;}
#inrixdrivetime h2 + .inrix-form-group {padding-top: 5px;}
#inrixdrivetime img {margin: 0 auto 5px; display: block;}
#inrixdrivetime input[type="text"] {width: 100%; height: 36px; padding: 0 0 0 5px; line-height: 36px; box-sizing: border-box;}
.inrix-form-group {padding: 0 3px; line-height: 28px; overflow: hidden;}
.inrix-form-group + .inrix-form-group {margin-top: 8px;}
#inrixAddDriveTime {height: 32px; padding: 0 10px; background: #00529b; border: 0; border-radius: 8px; color: #FFFFFF; font-size: 16px; float: right; box-sizing: border-box;}
#inrixAddDriveTime:hover {background: #333333; color: #FFFFFF}
#inrixdrivetime .dmg_select_wrap {width: auto; margin-right: 5px; float: left;}
#inrixdrivetime .dmg_select_display {height: 28px; background: none; padding: 0 5px; border: 1px solid #CCCCCC; line-height: 28px; display: inline-block; box-sizing: border-box;}
#inrixdrivetime .dmg_select_display .display_label:after {content: "\f107"; padding-left: 5px; font-size: 16px; font-family: "FontAwesome";}
.separator_text {margin-right: 5px; float: left;}
#vmodal-wrapper.inrixdrivetime_modal-wrapper .modal-content {
    padding: 10px;
}

#list-view-button {
    display: none;
}

#results-btn {
    height: 38px;
    padding: 0 16px;
    background: #FFFFFF;
    border: 2px solid #00529b;
    font-family: 'Nunito Sans',sans-serif;
    color: #00529b;
    line-height: 38px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    letter-spacing: .3px;
    display: none;
    flex-flow: row;
    align-items: center;
    box-sizing: border-box;
    position: absolute;
    right: 10px;
    bottom: 20px;    
}

#results-btn:hover {
    background: #0064bd;
    color: #FFFFFF;
}

.advertisement {
    height: 377.5px;
    padding: 20px;
    box-sizing: border-box;
    -webkit-box-shadow: 0 7px 20px -6px rgba(127,146,166,.3);
    box-shadow: 0 7px 20px -6px rgba(127,146,166,.3);
}

.advertisement:hover {
    border: 2px solid #e0e5eb !important;
}

.advertisement .ad-flex{
    height: 100%;
    display: flex;
}

.ad-flex-content {
    margin: auto;
    text-align: center;
}

.ad-flex-content img {
    margin: 0 auto;
    display: block;
}

.ad-desc {
    margin: 30px 0;
    color: #002e56;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4em;
    display: block;
}

.advertisement .btn-sm.btn-green {
    display: flex;
    justify-content: center;
    align-items: center;
}

.advertisement .btn-sm.btn-green svg {
    margin-left: 6px;
}



#dmg_results_wrapper .mapsearch .search_bar_list {
    max-width: 100% !important;
}


.mapsearch .search_bar_list li:nth-of-type(1) {min-width: 0px;}
.mapsearch .search_bar_list li:nth-of-type(2) {min-width: 0px;}
.mapsearch .search_bar_list li:nth-of-type(3) {min-width: 0px;}
.mapsearch .search_bar_list li:nth-of-type(4) {min-width: 0px;}
.mapsearch .search_bar_list li:nth-of-type(5) {min-width: 0px;}


.mapsearch .list_style_none.search_bar_list li {
    padding: 0;
    margin-bottom: 0;
    position: relative;
}

.search_bar_container.mapsearch {
    background: #f6f8fa;
    padding: 10px;
    margin-bottom: 0
}

.mapsearch .results_nav_save {
    width: auto;
    padding: 0 16px;
    font-weight: 400;
}

.filters_toggle {
    width: 200px;
    height: 38px;
    margin-right: 10px;
    letter-spacing: .3px;
    text-align: left;
    line-height: 34px;
    font-weight: 400;
    padding: 0 10px;
    outline: 0;
    border-width: 1px;
    border-radius: 6px;
    border-style: solid;
    color: #002e56;
    background-color: #fff;
    border-color: #cccccc;
    -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: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
}

.filters_toggle .svg-icon {
    width: 24px;
    height: 24px;
    fill: #5b7189;
}

.price-toggle {
    width: auto;
    min-width: 200px;
    height: 38px;
    padding: 6px 12px;
    margin-right: 5px;
    line-height: 1.625;
    color: #002e56;
    background-color: #f6f8fa;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 6px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    -moz-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    -ms-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    font-family: 'Nunito Sans',sans-serif;
    text-transform: none;
    text-align: left;
    font-size: 16px;
    border-width: 1px;
    padding: 4px 10px;
    border-color: #e0e5eb;
    -webkit-appearance: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: all .15s ease-in-out;
    -moz-transition: all .15s ease-in-out;
    -ms-transition: all .15s ease-in-out;
    -o-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
    background-color: #fff;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
}


.search-term-wrap {
    flex: 1;
    padding-right: 10px !important;
}

.area-wrapper,
.drive-wrapper {
    display: none;
}

.area-active .area-wrapper,
.drive-active .drive-wrapper {
    display: block;
}

.drive-wrapper {
    position: relative;
}

#dmg_layout_qsearch_term_search_bar,
#drive-time-term {
    display: block;
    width: 100%;
    height: 38px;
    padding: 6px 12px 6px 42px;
    background: #FFFFFF;
    font-size: 16px;
    line-height: 1.625;
    color: #002e56;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 6px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    -moz-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    -ms-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    box-sizing: border-box;
}

#drive-time-term {
    padding-left: 10px;
}

#dmg_layout_qsearch_term_search_bar::-moz-placeholder,
#drive-time-term::-moz-placeholder {
    color: #5b7189;
    opacity: 1
}

#dmg_layout_qsearch_term_search_bar:-ms-input-placeholder,
#drive-time-term:-ms-input-placeholder {
    color: #5b7189
}

#dmg_layout_qsearch_term_search_bar::-webkit-input-placeholder,
#drive-time-term::-webkit-input-placeholder {
    color: #5b7189
}

.qs-submit {
    position: absolute;
    left: 4px;
    top: 4px;
    width: 30px;
    height: 30px;
    padding: 0;
    background-color: #ec174c;
    border: 1px solid #ec174c;
    border-radius: 6px;
    text-align: center;
}

.qs-submit .svg-icon {
    width: 24px;
    height: 24px;
    margin-right: 0;
    font-size: 24px;
    color: #FFFFFF;
}

.mapsearch .choice-toggle {
    top: 7px;
}

.mapsearch .choice-bg {
    top: 38px;
    right: 6px;
}

#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;
}

#searchnote:after{position: absolute;left: 20px;top: -8px;content: "";width: 15px;height: 15px;border-left: 1px solid #002e56;border-top: 1px solid #002e56;background-color: #e0e5eb;transform: rotate(45deg);}
#searchnote.showDesktop {opacity: 1;height: 48px;padding: 10px 15px;}


.location-toggle {
    display: inline-block;
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    background: #FFFFFF;
    border: 2px solid #00529b;
    color: #00529b;
    white-space: nowrap;
    padding: 4px;
    font-size: 16px;
    line-height: 1.625;
    border-radius: 6px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    box-sizing: border-box;
}

.area-toggle {
    width: 70px;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.drive-toggle {
    width: 130px;
    margin: 0 10px 0 0;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.location-toggle.active {
    background-color: #00529b;
    color: #fff;
}

.drive-controls {
    font-size: 16px;
    font-weight: 700;
    color: #00529b;
    display: flex;
    flex-flow: row;
    align-items: center;
    position: absolute;
    right: 10px;
    top: 7px;
}

.drive-control-data {
    width: 320px;
    z-index: 1;
    padding: 25px;
    background-color: #fff;
    border: 1px solid #e0e5eb;
    border-radius: 6px;
    box-shadow: 0 7px 20px -6px rgba(127,146,166,.3);
    box-sizing: border-box;
    position: absolute;
    right: 0;
    top: 40px;
    display: none;
}

.drive-controls-active + .drive-control-data {
    display: block;
}

.drive-controls-active svg.chevron {
    transform: rotate(180deg);
}

.drive-label {
    color: #002e56;
    font-size: 14px;
    font-weight: 700; 
    line-height: 1.625;
    text-align: left;
}

.drive-input {
    display: block;
    width: 100%;
    height: 38px;
    padding: 6px 12px;
    line-height: 1.625;
    color: #002e56;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 6px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    -moz-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    -ms-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    font-family: 'Nunito Sans',sans-serif;
    text-transform: none;
    font-size: 16px;
    border-width: 1px;
    padding: 4px 10px;
    border-color: #e0e5eb;
    -webkit-appearance: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: all .15s ease-in-out;
    -moz-transition: all .15s ease-in-out;
    -ms-transition: all .15s ease-in-out;
    -o-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
    background-color: #fff;
    display: inline-block;
    width: calc(50% - 8px);
    background-color: #f6f8fa;
    text-align: center;
    box-sizing: border-box;
}

.time-flex {
    width: 100%;
    display: flex;
    flex-flow: row;
    justify-content: center;
}

.drive-hours {
    width: 150px;
    margin-bottom: 20px;
    padding-right: 15px;
}

.drive-time-of-day {
    width: 114px;
}

.drive-control-data .drive-radio label {
    cursor: pointer;
    float: left;
    width: 50%;
    height: 38px;
    text-align: center;
    border: 2px solid #00529b;
    background-color: #fff;
    color: #00529b;
    font-weight: 700;
    line-height: 34px;
    box-sizing: border-box;
    text-align: center;
    display: inline-block;
}

.drive-control-data .drive-radio input:checked+label {
    background-color: #00529b;
    color: #fff;
}

.drive-control-data .drive-time-of-day .drive-radio:first-child label,
.drive-control-data .drive-travel .drive-radio:first-child label,
.drive-control-data .drive-minutes .drive-radio:first-child label {
    border-radius: 6px 0 0 6px;
}

.drive-control-data .timeOfDay .drive-radio:nth-child(2) label,
.drive-control-data .drive-travel .drive-radio:nth-child(2) label,
.drive-control-data .drive-minutes .drive-radio:nth-child(5) label {
    border-radius: 0 6px 6px 0;
}

.drive-control-data .drive-minutes .drive-radio:nth-child(1) label,
.drive-control-data .drive-minutes .drive-radio:nth-child(2) label,
.drive-control-data .drive-minutes .drive-radio:nth-child(3) label,
.drive-control-data .drive-minutes .drive-radio:nth-child(4) label {
    border-right: 0;
}


.drive-travel {
    margin-bottom: 20px;
}

.drive-travel .drive-radio {
    width: 50%;
}

.drive-travel .drive-radio label {
    width: 100%;
}

.drive-minutes .drive-radio {
    width: 20%;
}

.drive-minutes .drive-radio label {
    width: 100%;
}


.price-control-data {
    padding: 20px;
    margin-top: 5px;
    min-width: 412px;
    background-color: #fff;
    border: 1px solid #e0e5eb;
    border-radius: 6px;
    box-shadow: 0 7px 20px -6px rgba(127,146,166,.3);
    position: absolute;
    z-index: 1000;
    display: none;

}

.price-controls-active + .price-control-data {
    display: block;
}

.price-controls-active svg {
    transform: rotate(180deg);
}


.price-control-data .field-split,
.price-control-data .field-sep {
    padding-top: 0;
}

.price-control-data input {
    background-color: #f6f8fa;
    display: block;
    width: 100%;
    height: 38px;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 1.625;
    color: #002e56;
    background-color: #f6f8fa;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 6px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    -moz-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    -ms-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    box-sizing: border-box;
}

.price-control-data .flexbox {
    display: flex;
    flex-flow: row;
    justify-content: center;
}


.search_flex_item.flexbox.price-wrap {
    display: none !important;
}

.search_tabs_container {
    display: none;
}

.search_tabs_container.tabs_active {
    margin-bottom: 15px;
    padding-top: 45px;
    background: #f6f8fa;;
    display: block;
}

.search_tabs {
    display: flex !important;
}

.search_tabs li {
    width: 33.3333% !important;
    margin-bottom: 0 !important;
}

.search_tabs a {
    width: 100% !important;
    box-sizing: border-box;
}


/* == Desktop 
============================================================================ */
@media only screen and (max-width: 1200px) {
	.dmg_results_table {width: 340px;}
	.dmg_results_table_row .dmg_results_listing {width: 98%;}
    
    .results-toggles {
        display: none !important;
    }
}

/* == Tablet (portrait and landscape) ======================================
============================================================================ */
@media only screen and (max-width: 786px) {
	/*
	.dmg_search_options_table .dmg_search_options_cell:nth-of-type(4) {padding-left: 5px; float: left;}
	.dmg_search_options_table .dmg_search_options_cell:nth-of-type(5) {width: 48%; padding-left: 15px; border-left: 1px solid #e1e1e1; float: right;}
	.dmg_search_options_table .dmg_search_options_cell:nth-of-type(6) {width: 100%; border: 0}
	*/

    #results-btn {
        display: flex;
    }

    .mobile-change-view {
        display: initial !important;
    }

    .search_content_wrapper.form_active {
        padding-top: 10px !important;
    }

    #dmg_layout_internal .search_section_title {
        margin-bottom: 0 !important;
    }

    #dmg_layout_internal .search_section_title {
        text-align: left !important;
    }

    .form_active #sticky_count {
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 100000;
        display: flex;
        padding: 10px 10px 30px;
    }

    #sticky_count .results_count_display {
        display: none;
    }

    .form_active #sticky_count .search_submit {
        width: 49%;
        margin: 0 2% 0 0;
    }

    .form_active .reset_form {
        width: 49% !important;
        height: 42px !important;
    }

    .search_tabs_container.tabs_active {
        padding-top: 10px;
    }
}

.search-results-toggles {
    display: none;
    padding-left: 10px !important;
    height: 38px;
    width: 40% !important;
}

.search-results-toggles #results-menu + .dmg_select_display {
    width: 100% !important;
    max-width: 100%;
    height: 38px;
    line-height: 28px;
    color: #002e56;
    background-color: #FFFFFF;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 6px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    -moz-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    -ms-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    font-family: 'Nunito Sans',sans-serif;
    text-transform: capitalize;
    font-size: 16px;
    border-width: 1px;
    padding: 4px 10px;
    border-color: #e0e5eb;
    box-sizing: border-box;
    text-align: left;
}

.search-results-toggles .caret-svg {
    position: absolute;
    right: 0;
    top: 7px;
    pointer-events: none;
}

/* == Tablet (portrait and landscape) ======================================
============================================================================ */
@media only screen and (max-width: 700px) {
    .dmg_search_options_table .dmg_search_options_cell:nth-of-type(5) {width: 100%; padding: 0; border-left: 0; float: right;}
    .dmg_search_options_table .dmg_search_options_cell:nth-of-type(4) {padding-left: 0;}
}

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

/* == Tablet (portrait and landscape) ======================================
============================================================================ */
@media only screen and (max-width: 510px) {
	.dmg_select_wrap.hour_select {margin-top: 8px; clear: both;}
	.dmg_select_wrap.hour_select + .separator_text,
	.dmg_select_wrap.hour_select + .separator_text + .dmg_select_wrap {margin-top: 8px;}
}

/* == Phone
============================================================================ */
@media only screen and (max-width: 480px) {
    .mapsearch .search_bar_list > .price-wrap {
        display: none !important;
    }

    div.search_flex_item.flexbox.price-wrap {
        display: flex !important;
        padding-right: 0 !important;
    }

    .search_bar_container.mapsearch {
        padding: 10px 5px;
    }

    .area-toggle {
        width: 50px;
    }

    .drive-toggle {
        width: 95px;
    }

    .search_bar_list li:nth-of-type(1) {
        order: 1;
    }

    .search_bar_list li:nth-of-type(2) {
        order: 4;
    }

    .dmg_internal_subarea_mapsearch .mapsearch .list_style_none.search_bar_list .search-term-wrap {
        margin-bottom: 0;
    }

    #dmg_results_wrapper .search_bar_list li:nth-of-type(4) {
        padding: 0;
        order: 2;
        margin-bottom: 10px;
    }
    #dmg_results_wrapper .filters-wrap {
        flex: 1;
        padding-right: 10px !important;
    }

    .search_bar_list li:nth-of-type(5) {
        order: 3;
    }

    .search-results-toggles {
        display: list-item;
        order: 6;
    }

    .mapsearch .results_nav_save {
        padding: 0 5px;
    }

    .filters_toggle {
        min-width: 95px !important;
    }

    

}

/* == Phone
============================================================================ */
@media only screen and (max-width: 380px) {
    .search-results-toggles #results-menu + .dmg_select_display {
        font-size: 14px;
    }
    

}


.map_icon_wrap {display: inline-block; box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px; border-radius: 2px; margin: 10px;}
.map_icon_wrap a {width: 30px; height: 30px; background: rgb(255, 255, 255); line-height: 30px; vertical-align: middle; text-align: center; display: inline-block; box-sizing: border-box; float: left;color:rgb(86, 86, 86);}
.map_icon_wrap a + a {border-left: 1px solid #e5e5e5;}
.map_icon_wrap span select {height: 30px;  line-height: 30px; vertical-align: middle; text-align: center; display: inline-block; box-sizing: border-box; float: left;color:rgb(86, 86, 86);}
.map_icon_wrap a:hover {background: rgb(235, 235, 235); color: rgb(0, 0, 0);}
.map_icon_wrap a:first-child {border-radius: 2px 0 0 2px;}
.map_icon_wrap a:last-child {border-radius: 0 2px 2px 0;}
.map_icon_wrap a i {display: inline-block;width: 30px;height: 30px;line-height: 30px;}

/* == Info Window
============================================================================ */
.info-window a {
    font-weight: 400;
    display: grid;
    grid-template-columns: auto auto;
    gap: 15px;
}

.info-window a:hover {
    color: var(--color--primary);
    text-decoration: none;
}

.info-window a img {
    height: 100%;
    max-width: 130px;
    width: auto;
}

.info-window__details {
    font-size: 12px;
    line-height: normal;
    padding: 0 25px 0 0;
}

.info-window__price {
    display: block;
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 10px;
}

.info-window__address {
    display: block;
    padding-bottom: 10px;
}

.info-window__stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 3px;
}

.info-window__stats span:not(:last-child)::after {
    content: '•';
    padding-left: 3px;
}

.info-window__mls-logo {
    display: block !important;
    padding-top: 10px;
}

.info-window__mls-logo img[src="/shared/mlslogos/DefaultIDXLogo.gif"] {
    display: none !important;
}

.info-window__mls-logo img {
    height: 30px !important;
}

.gm-style .gm-style-iw-c {
    padding: 15px;
}

.gm-style .gm-style-iw-d {
    margin-top: -33px;
}