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


.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: url(/shared/images/searchresults/select-up-arrow.png) right center no-repeat;
}

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



.dmg_results_map_wrapper {
    height: 100%;
    display: table;
    display: flex;
    flex-flow: row-reverse;
}

.dmg_results_listing_photo,
.dmg_results_listing_details {
    width: 100%;
    max-height: 450px;
}

.dmg_results_listing_details {
    padding: 10px;
}

.dmg_results_table {
    width: 700px;
}

#dmgmap_wrap {
    width: calc(100% - 700px);
}

.dmg_results_table_row {
    clear: both;
}

.dmg_results_table_row .dmg_results_listing {
    width: 48%;
    float: left;
    margin-top: 0;
    overflow: visible;
}

@media only screen and (max-width: 1200px) {
    .dmg_results_table {
        width: 350px;
    }
    
    #dmgmap_wrap {
        width: calc(100% - 350px);
    }

    .dmg_results_table_row .dmg_results_listing {
        width: 100%;
    }
}

@media only screen and (max-width: 786px) {
    .dmg_results_table {
        width: 0;
    }

    #dmgmap_wrap {
        width: 100%;
    }
}


.dmg_results_table_row .dmg_listing_amen,
.dmg_results_table_row .dmg_listing_address {
    font-size: 14px;
}

.dmg_results_table_row .dmg_listing_price {
    font-size: 26px;
}


.dmg_results_listing_photo:after {
    content: '';
    width: 100%;
    position: absolute;
    background: linear-gradient(0deg, black, transparent);
    left: 0;
    opacity: 0.4;
    height: 50%;
    bottom: 0;
    pointer-events: none;
}

.dmg_results_listing {
    border-radius: 6px;
    /* overflow: hidden; */
    /* box-shadow: 2px 2px 3px #f1eaea; */
    margin-top: 10px;
    margin-top: 25px;
    margin-bottom: 15px;
    -webkit-box-shadow: 0 0 8px rgb(0 0 0 / 10%);
    box-shadow: 0 0 8px rgb(0 0 0 / 10%);
    transform: all 0.5s ease;
}

.dmg_results_listing:hover {
    -webkit-box-shadow: 0 0 8px rgb(0 0 0 / 20%);
    box-shadow: 0 0 8px rgb(0 0 0 / 20%);
    transform: all 0.5s ease;
}

.dmg_results_photo_controls {
    z-index: 1;
}

.dmg_results_listing_photo .dmg_listing_save {
    top: initial;
    bottom: 10px;
    z-index: 1;
}

#dmg_results_wrapper #qsearch_term_wrapper .dmg_layout_qsearch_term {
    border: 2px solid #c0c0c0;
    border-radius: 3px;
}

.dmg_listing_mlslogo img {
    margin: 0;
    position: relative;
    left: initial;
    right: initial;
    bottom: initial;
    display: block;
    margin-top: 12px;
    max-width: 120px;
    height: auto;
}

@media only screen and (max-width: 920px) {
    #dmg_layout_internal .dmg_listing_mlslogo img {
        height: auto;
        width: 50%;
        max-width: 210px;
    }
}

.dmg_listing_mlslogo .mls-name {
    margin-top: 20px;
    display: block;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 12px;
    text-align: left;
}

.listing-status .checkbox_label {
    position: relative;
}

.listing-status .checkbox_label:after {
    content: '';
    display: block;
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    left: 27px;
    z-index: 1;
    top: 6px;
    background-color: #efefef;
}

.listing-status .search_options_forsale:after {
    background-color: #54C029;
}
.listing-status .search_options_contingent:after {
    background-color: #FF8800;
}
.listing-status .search_options_pending:after {
    background-color: #F8E71C;
}
.listing-status .search_options_sold:after {
    background-color: #FF2F2F;
}
.listing-status .search_options_comingsoon:after {
    background-color: #f26722;
}

.listing-status .checkbox_label img {
    opacity: 0;
}

.dmg_listing_photo_banner {
    right: 10px;
    top: 10px;
    left: initial;
    z-index: 1;
}

.dmg_listing_banner.new {
    background-color: rgb(57 191 55 / 90%);
}

.dmg_listing_banner_wrap {
    width: 75%;
    position: absolute;
    top: 10px;
    left: 10px;
    bottom: initial;
    height: auto;
}

.dmg_listing_address {
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 13px;
    display: block;
    width: 100%;
    margin: 10px 0 11px;

    font-weight: 400;
    margin: 2px 0 2px;
    line-height: 1.5em;
}

.dmg_listing_type {
    font-size: 15px;
    margin-top: 2px;
    margin-bottom: 0px;
}

.dmg_listing_banner {
    display: inline-block;
    padding: 3px 5px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 4px;
    margin-bottom: 5px;
    height: auto;
}

.matterport_tour img {
    width: 10px;
    margin-right: 0px;
    display: inline;
    height: 12px;
    margin-bottom: -1px;
}


.dmg_results_search_form ul > li {
    font-size: 15px;
}

@media only screen and (min-width: 1510px) {
    .search-bar-top li:nth-child(n + 2):not(.floatRight) {
        width: calc((100% - 763px) / 6);
        text-align: center;
    }
       
    .search-bar-top .dmg_select_display {
        width: 110px;
        padding-right: 10px;
    }
}

/* @media only screen and (min-width: 1200px) {
    .search-bar-top li:nth-child(n + 2):not(.floatRight) {
        width: calc((100% - 743px) / 6);
        text-align: center;
    }
} */

.dmg_results_form_listtype {
    min-width: 130px;
}

/* .nav-inrix-icon a {
    font-size: 0;
} */

.dmg_results_share_wrapper .visuallyhidden {
    display: block;
    height: initial;
    max-height: initial;
    font-size: 15px;
    visibility: visible;
    position: relative;
    bottom: initial;
    overflow: visible;
}

.results_nav_save,
a.dmg_results_share_wrapper {
    padding: 0px 10px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row-reverse;
    color: #707070;
}

a.results_nav_save:hover {
    color: #707070;
}

.nav-inrix-icon i,
.dmg_results_share_wrapper i {
    font-size: 20px;
    line-height: 34px;
    margin: 0 0 0 5px;
    color: #707070;
}

@media only screen and (min-width: 1300px) {
    .nav-inrix-icon i,
    .dmg_results_share_wrapper i {
        color: #000;
        /* margin-top: 5px; */
    }
}

@media only screen and (max-width: 1390px) {
    .dmg_results_search_form ul > li,
    .dmg_results_share_wrapper .visuallyhidden {
        font-size: 13px;
    }
    
    .dmg_results_form_listtype {
        min-width: initial;
    }
}

@media only screen and (max-width: 1300px) {
    .results_nav_save,
    a.dmg_results_share_wrapper {
        height: 34px;
    }
}

@media only screen and (max-width: 1260px) {
    .results_nav_save, a.dmg_results_share_wrapper {
        flex-flow: column;
        font-size: 10px;
        justify-content: flex-start;
        align-items: center;
        height: 32px;
        line-height: 0;
        padding: 0 4px; 
    }

    .nav-inrix-icon i, .dmg_results_share_wrapper i {
        height: 20px;
        line-height: 20px;    
        margin-bottom: 5px;
    }

    .dmg_results_share_wrapper .visuallyhidden {
        font-size: 10px;
    }
}

@media only screen and (max-width: 600px) {
    .dmg_results_share_wrapper .visuallyhidden,
    .results_nav_save, a.dmg_results_share_wrapper {
        font-size: 0px;
    }

    /*
    .nav-inrix-icon i, .dmg_results_share_wrapper i {
        height: 40px;
        line-height: 40px;
        margin-bottom: 0px;
        font-size: 23px;
        padding: 0;
        margin: 0;
    }

    .nav-inrix-icon i {
        padding: 0 6px;
    }
    */
    
}

#dmg_results_nav_areas + .dmg_results_nav_control {
    max-width: 120px;
    /* padding-right: 10px; */
}


.dmg_results_listing .dmg_listing_price {
    position: absolute;
    left: 10px;
    bottom: 10px;
    font-size: 30px;
    color: #fff;
    font-weight: bold;
    z-index: 1;
    display: flex;
    align-items: center;
    overflow: visible;
}

.dmg_results_listing .price-previous {
    display: inline-block;
    position: absolute;
    font-size: 15px;
    text-decoration: line-through;
    bottom: 25px;
    margin: 0;
}

.dmg_results_listing .dmg_listing_price .price-change {
    font-size: 15px;
    line-height: 15px;
    color: #5cd65c;
    display: inline-block;
    margin-left: 5px;
}

.dmg_results_listing .request_information {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: block;
    border: 2px solid #666666;
    background: transparent;
    font-size: 16px;
    border-radius: 5px;
    color: #666666;
    padding: 5px 13px;
    cursor: pointer;
}

.dmg_results_listing .request_information:hover {
    color: #fff;
    background-color: #666666;
}

.dmg_results_listing .dmg_listing_amen {
    width: 100%;
    height: auto;
    background: initial;
    position: relative;
    left: initial;
    border: initial;
    text-align: left;
    display: block;
    overflow: hidden;
}

.dmg_results_listing .dmg_listing_amen_item {
    width: auto;
    padding: 0;
    margin: 0;
    padding-right: 5px;
    font-size: 15px;
}


.dmg_results_listing .dmg_listing_amen_item + .dmg_listing_amen_item {
    padding-left: 7px;
    border: 0;
}

.amen-row {
    display: flex;
    margin-bottom: 5px;
}

.dmg_results_listing.amen_bar {
    padding-bottom: 0;
}

.dmg_amen_value {
    margin-bottom: 0;
    font-weight: bold;
    display: inline-block;
    margin-right: 5px;
}


.dmg_results_listing_photo .dmg_listing_save:hover,
.dmg_results_listing_photo .dmg_listing_save.saved_listing {
    color: #418FDE;
}

.dmg_results_listing_photo {
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
    overflow: hidden;
}


.dmg_listings_mlsregs {
    font-size: 10px;
    margin-top: 0;
    margin-left: 0;
    position: absolute;
    top: -13px;
    line-height: 10px;
}

.dmg_listings_mlsregs br {
    display: none;
}

.dmg_listings_mlsregs em {
    font-style: normal;
}


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

    .dmg_results_share_wrapper .visuallyhidden {
        display: none !important;
    }

    .results_nav_save, a.dmg_results_share_wrapper {
        font-size: 0;
    }

    .nav-inrix-icon i, .dmg_results_share_wrapper i {
        margin: auto;
    }



}


.cssmodal {
    display: none;
     /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10000; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
}

/* Modal Content */
.css-modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 0;
    width: 92%;
    max-width: 400px;
   	min-height: 300px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    border-radius: 6px;
    overflow: hidden;
}

#modal_share .modal-content {min-height: 280px;}

#modal_texttome .modal-content {min-height: 210px;}
#modal_texttome .modal-body {min-height: 150px;}


/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}


.modal_header_text {line-height: 40px; color: #FFFFFF;}

.modal-body {min-height: 280px; padding: 2px 16px;}
#modal_share .modal-body {min-height: 220px; padding: 10px 10px 0 10px;}

.modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}


.modal-body {
	padding: 10px;
}


.modal-body input[type="text"], .modal-body input[type="email"] {width: 100%; height: 38px; background-color: #EFEFEF; font-size: 16px; color: #242424; margin-bottom: 10px; padding: 0 0 0 5px; font-size: 14px; border-radius: 6px; border: 0; box-sizing: border-box;}
.modal-body textarea {width: 100%; max-width: 100%; height: 60px; padding: 5px; margin: 0 auto 15px; background-color: #EFEFEF; border-radius: 6px; border: 0; font-size: 16px; color: #242424; box-sizing: border-box; resize: vertical;}

.modal-body input::-webkit-input-placeholder, .modal-body textarea::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color:#242424;
  font-size: 16px;
}
.modal-body input::-moz-placeholder, .modal-body textarea::-moz-placeholder { /* Firefox 19+ */
  color: #242424;
  font-size: 16px;
}
.modal-body input:-ms-input-placeholder, .modal-body textarea:-ms-input-placeholder { /* IE 10+ */
  color: #242424;
  font-size: 16px;
}
.modal-body input:-moz-placeholder, .modal-body textarea:-moz-placeholder { /* Firefox 18- */
  color: #242424;
  font-size: 16px;
}

#tour_html_container .detail_submit_button {max-width: 190px;}

.detail_submit_button {height: 38px;
    width: 100%;
    padding: 0;
    margin: 0 auto;
    background: #666666;
    border: 0;
    line-height: 40px;
    vertical-align: middle;
    font-size: 16px;
    color: #FFFFFF;
    text-align: center;
    display: block;
    cursor: pointer;
    }
    
.detail_submit_button:hover {    
	filter: brightness(0.9);
}

.preferred_communication {
	width: 100%;
	height: 38px;
    background-color: #EFEFEF;
    font-size: 16px;
    color: #242424;
    margin-bottom: 15px;
    padding: 0 0 0 5px;
    font-size: 14px;
    border-radius: 6px;
    border: 0;
    box-sizing: border-box;
		
}

/* The Close Button */
.modal-header .myclose {
	margin-right: 10px;
    color: #fff;
    background-color: transparent; 
    float: right;
    font-size: 28px;
    font-weight: bold;
    line-height: 1em;
    vertical-align: middle;
    margin-top: 3px;
    position: absolute;
    right: 0;

}

.modal-header .myclose:hover,
.modal-header .myclose:focus {
    color: #efefef;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    height: 40px;
    padding: 0;
    background-color: #666666;
    line-height: 40px;
    vertical-align: middle;
    text-align: center;
    font-size: 20px;
    color: #FFFFFF;
}

.modal_header_text {line-height: 40px; color: #FFFFFF;}

.modal-body {min-height: 280px; padding: 2px 16px;}
#modal_share .modal-body {min-height: 220px; padding: 10px 10px 0 10px;}

.modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}


.modal-body {
	padding: 10px;
}


.modal-body legend {
    display: none;
}

.modal-body form ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.modal-body input[type="text"], .modal-body input[type="email"] {
    width: 100%;
    height: 38px;
    background-color: #EFEFEF;
    font-size: 16px;
    color: #242424;
    margin-bottom: 10px;
    padding: 0 0 0 5px;
    font-size: 14px;
    border-radius: 6px;
    border: 0;
    box-sizing: border-box;
}

.modal-body textarea {
    width: 100%;
    max-width: 100%;
    height: 60px;
    padding: 5px;
    margin: 0 auto 15px;
    background-color: #EFEFEF;
    border-radius: 6px;
    border: 0;
    font-size: 16px;
    color: #242424;
    box-sizing: border-box;
    resize: vertical;
}

.modal-body input::-webkit-input-placeholder, .modal-body textarea::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color:#242424;
  font-size: 16px;
}
.modal-body input::-moz-placeholder, .modal-body textarea::-moz-placeholder { /* Firefox 19+ */
  color: #242424;
  font-size: 16px;
}
.modal-body input:-ms-input-placeholder, .modal-body textarea:-ms-input-placeholder { /* IE 10+ */
  color: #242424;
  font-size: 16px;
}
.modal-body input:-moz-placeholder, .modal-body textarea:-moz-placeholder { /* Firefox 18- */
  color: #242424;
  font-size: 16px;
}

#dmg_mhf_saveListing_modal .modal-content-saveListing {
    border: 0;
    border-radius: 6px;
    overflow: hidden;
}

#dmg_mhf_saveListing_modal h2 {
    width: 100%;
    max-width: 330px;
}

.saved_listing i.fa {
    font-weight: bold;
}


/* == Phone
============================================================================ */
@media only screen and (max-width: 480px) {
	.cssmodal {padding-top: 10px;}
}









@media only screen and (max-width: 1000px) {
    .dmg_results_listing {
        width: 48%;
    }
}

@media only screen and (max-width: 700px) {
    .dmg_results_listing {
        width: 100%;
    }
}

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