
html, body {height: 100%;}

#dmg_layout_wrapper {display: table;}

.vow-blur {
    overflow: hidden !important;
}

.vow-blur > * {
    filter: blur(10px);
}

#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;padding: 0;}

.dmg_results_map_wrapper {height: 100%; display: inline-flex; position: relative;width:100%;}

.dmg_results_search {height: auto; padding: 0; display: table-row;}
.dmg_results_search_form {padding: 3px 0; border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; background: #f0f0f0;}

.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;
    right: 0px;
    bottom: 0px;
}

/* ---- Added as temp fix ----*/
.dmg_sidebar_wrapper, .dmg_results_map_wrapper, div#dmgmap_wrap, div#dmgMap {
    min-height: 500px !important;
}
/* --------------------------*/

@media only screen and (min-width: 787px) {
    #dmgmap_wrap {
        width: calc(100% - 340px);
    }
}


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

.dmg_sidebar_wrapper {height: 670px; overflow: auto;}
.dmg_map_sidebar .dmg_results_filter {height: auto; margin: 0 0 8px; display: block; overflow: hidden;}
#dmg_results_wrapper .dmg_map_sidebar .dmg_results_filter ul {padding-left: 15px !important; 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;}
.dmg_results_table_row {display: block;}
.dmg_results_table_row .dmg_results_listing {width: 98%; display: block; border-width: 0 0 1px 0; overflow: hidden;}
.dmg_results_listing + .dmg_results_listing {margin-top: 5px;}
.dmg_results_table_row + .dmg_results_table_row {margin-top: 5px;}

#dmg_control_form_options:checked + .dmg_results_search .dmg_results_form_options .dmg_results_nav_control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cg %3E%3Cpath d='M9.99857 9.0237L14.1234 13.1484L15.3019 11.9699L9.99857 6.6666L4.69531 11.9699L5.87382 13.1484L9.99857 9.0237Z' fill='%23767676'/%3E%3C/g%3E%3C/svg%3E");
}

.dmg_results_table_row .dmg_results_listing {padding-bottom: 5px;}
.dmg_results_listing_photo {width: 48%; float: left;}
.dmg_results_listing_details {width: 50%; padding: 5px; float: left;}
.dmg_listing_mlslogo {padding: 0; display: block; width: 100%; font-size: 12px; text-align: center; margin: 0; clear: right; position: relative;}
.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;}

.local-logic .dmg_results_listing_photo,
.local-logic .dmg_results_listing_details {
    width: 100%;
}

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

/* 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, .bar-item.cta-bar-hide {display: none;} 
.dmg_listing_banner {height: 18px; line-height: 18px; font-size: 12px; text-align: center;}
.dmg_listing_banner.auction_banner{font-size:10px;}
.dmg_listing_banner.buyers_comp {height:auto; min-height: 20px; line-height: 1; padding: 2px;}
.ohouse_date {display: none;}
.dmg_listing_mlslogo img {margin: 0 auto; position: relative; right: auto; bottom: auto; display: block;}

#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: #666666; 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: 20px;
}



.dmg_results_listing_photo .cta-bar {
    height: auto;
    background: none;
    color: #3b3b3b;
    position: relative;
}

.dmg_results_listing_photo .bar-item {
    padding: 0 5px;
}

.dmg_results_listing_photo .compare-checkbox {
    border: 1px solid #3b3b3b;
    color: #3b3b3b;
}

.cta-bar .dmg_listing_compare:checked + .compare-checkbox:after {
    color: #3b3b3b;
}

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

/* == Desktop 
============================================================================ */
@media only screen and (min-width: 1300px) {
	.dmg_results_search_form {background: #f0f0f0;}  
}

/* == 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}
	*/

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

    #list-view-button {
        background: #fff;
        border: 0;
        bottom: 20px;
        box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
        color: rgb(86, 86, 86);
        display: block;
        font-family: Roboto, Arial, sans-serif;
        font-size: 18px;
        height: 40px;
        line-height: 40px;
        padding: 0 10px;
        position: absolute;
        right: 70px;
    }
}

/* School landing page mobile map */
@media only screen and (max-width: 768px) {
    .dmg_sidebar_wrapper, .dmg_results_map_wrapper, div#dmgmap_wrap, div#dmgMap {
        min-height: 320px;
    }
}

/* == 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;}
}

/* == 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;}
}


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