
/* ---------------------------------------------------------
   Internal Fullscreen Page Styles
   ---------------------------------------------------------*/

.vow-message {
    border: 1px solid #666666;
    margin-bottom: 20px;
    padding: 20px;
}

.vow-clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

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

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

.vow-gallery-link {
    padding: 10px;
    cursor: pointer
}

.gallery-vow-content {
    margin: 10px;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
    border: 1px solid #666666;
}

.gallery-vow-content .myHomeFinderLinksCreateAccount {
    float: none;
}

.little_info_win {
    width: 100% !important;
}

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

.dmg_results_listing.amen_bar.vow-display .dmg_listings_mlsregs {
    display: none;
}


.dmg_sidebar_wrapper .gallery-vow-content p,
.little_info_win p {
    margin-top: 0;
    font-size: 14px;
    line-height: 1.15em;
}

#dmg_layout_internal.dmg_internal_subarea_mapsearch {width: 100%; max-width: none; margin: 0; padding: 0;}
#dmg_layout_internal.dmg_internal_subarea_search, #dmg_layout_internal, .dmg_internal_subarea_search #dmg_layout_internal-page, .dmg_internal_area_listings #dmg_layout_internal-page {max-width: 2000px;
    margin-left: auto;
    margin-right: auto;
}

.dmg_internal_subarea_mapsearch .dmg_results_filter {display: none;}

.disclaimer-modal-wrapper .modal-inner {
    width: 100%;
    max-width: 800px;
}

.disclaimer-modal-wrapper .disclaimer_links_span,
.disclaimer-modal-wrapper .links-under-disclaimer,
.disclaimer-modal-wrapper #google_translate_div_element,
.disclaimer-modal-wrapper .disclaimer_links.agent-login,
.disclaimer-modal-wrapper .disclaimer_links {
	display: none;
}

.disclaimer-modal-wrapper .dmg_shared_copyright {
	text-align: center;
}

#dmg_results_wrapper {width: 100%; padding: 0 15px; background: #FFFFFF; margin: 0 auto; box-sizing: border-box; font-size: 16px; overflow: hidden; min-height: 550px;}
#dmg_results_wrapper ul {margin: 0 !important; padding: 0 !important;}
#dmg_results_wrapper li {padding-bottom: 0 !important}

#dmg_results_wrapper .dmg_results_title {color: #666666; padding: 0; border: 0; font-size: 30px; line-height: 68px;float: left;}
.dmg_internal_subarea_mapsearch .div_results_footer {display: none;}
.dmg_internal_subarea_mapsearch .div_results_footer.disclaimer {height: 30px; line-height: 30px; display: block; text-align: center; padding: 0 340px 0 0; position: relative; z-index: 10;}


.mls_global_search_limit p {max-width: 98%; line-height: 1.25em; margin: 0 auto 5px; display: block;}

.dmg_internal_area_customContent.shortcode-searchresults #dmg_layout_internal-page {max-width: 2000px}


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


/* == Share Icons======================================
============================================================================ */
.dmg_results_share_wrapper {padding: 2px; box-sizing: border-box; float: right;}
a.dmg_results_share_wrapper {padding: 5px 14px; display: block; text-align: center; font-size: 22px; color: #707070; text-decoration: none;}
.dmg_results_share_wrapper .results_nav_save {border-left: 0; padding: 0 7px; height: 34px; line-height: 34px; vertical-align: middle; font-size: 14px;}
.dmg_results_share_wrapper .results_nav_save.heart_save {font-size: 20px;}
.save_search_text + .fi-heart {display: none;}
.results_nav_save .fi-heart {font-size: 20px; line-height: 34px; vertical-align: middle;}
.fi-heart:before {
    height: 26px;
    line-height: 26px;
}

.dmg_results_share_wrapper img {height: 20px; margin: 0 auto 3px; display: block;}
/* .dmg_results_share_wrapper a:hover {background: #f2f2f2; color: #666666} */



/* == Search ======================================
============================================================================ */
.dmg_results_search_form .search-bar-top > li .dmg_results_nav_control,
.dmg_results_search_form .search-bar-top > li .dmg_select_display {
    text-transform: uppercase;
}

#dmg_result_view + .dmg_select_display,
#sort_by + .dmg_select_display {
    text-transform: uppercase
}

.dmg_sidebar_wrapper #dmg_result_view + .dmg_select_display,
.dmg_sidebar_wrapper #sort_by + .dmg_select_display {
    height: 34px;
    line-height: 34px;
}

#savedSearchMessage {padding: 5px 0; text-align:center; clear: both;} 
.dmg_results_search {width: 100%; height: 40px; padding: 0; background: #f0f0f0; box-sizing: border-box; clear: both}
.dmg_results_search_form {margin-bottom: 0;}
.dmg_results_table_box {margin-bottom: 10px;}
.dmg_internal_subarea_mapsearch .dmg_results_table_box {width: 100%; height: 100%; display: table;}
.dmg_results_search_form legend {display: none;}
.dmg_results_search_form fieldset {margin: 0; padding: 0; border: 0;}
.dmg_results_search_form ul {width: 100%; height: 34px; list-style: none; margin: 0; padding: 0; display: inline-block;}
.dmg_results_search_form ul > li {padding: 0 6px !important; height: 34px; display: inline-block; color: #484848; font-size: 14px; float: left;}
.dmg_results_search_form ul > li + li {border-left: 1px solid #e8e8e8;}
.dmg_results_nav_control, .dmg_select_display {
    text-transform: uppercase;
}
.dmg_results_search_form .dmg_results_form_proptype, .dmg_results_search_form .dmg_results_form_more {border: 0}
#dmg_results_wrapper #qsearch_term_wrapper .dmg_layout_qsearch_term {width: 265px; height: 34px; padding: 0 0 0 5px; min-width: 0; border: 1px solid #d4d4d4; border-radius: 2px; box-sizing: border-box; -webkit-appearance:textfield;}

.dmg_select_wrap {width: 100%; position: relative;}
#dmg_results_wrapper .dmg_select_wrap .fancy_select {width: 100%; margin: 0; padding: .5em; border-radius: 4px; border: 1px solid #ccc; box-shadow: inset 0 1px 5px rgba(0,0,0,.1); transition: border .2s; box-sizing: border-box;}
.dmg_select_wrap select {position: absolute; display: block; top: 6px; bottom: 0; right: 0; left: 0; width: 100%; opacity: 0;}
.dmg_select_display, .dmg_results_nav_control {height: 34px; padding-right: 19px; background: url(/shared/images/searchresults/select-down-arrow.png) right center no-repeat; background-size: 15px 9px; line-height: 34px; vertical-align: middle;display: block;}

.dmg_btn_group {
    display: flex;
    justify-content: center;
}

.results-btn {
    border: 0;
    height: 34px;
    line-height: 34px;
    border-radius: 2px;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0 12px;
    color: #484848;
    background-color: #f7f7f7;
    /* border: 1px solid #002168; */
    font-family: inherit;
}

.dmg_map_sidebar .results-btn {
    height: 34px;
    line-height: 34px;
}

.results-btn.btn-active {
    background-color: #666666;
    color: #FFFFFF}

.results-btn i {
    font-weight: 300;
}

.dmg_btn_group button:first-of-type {
    /* padding-left: 15px; */
    /* border-top-left-radius: 25px;
    border-bottom-left-radius: 25px; */
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.dmg_btn_group button:last-of-type {
    /* padding-right: 15px; */
    /* border-top-right-radius: 25px;
    border-bottom-right-radius: 25px; */
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}



.dmg_results_form_reset_filters, .dmg_results_form_reset_filters .dmg_results_nav_control {background: none; padding-right: 0; background-size: initial;}
.dmg_results_form_reset_filters a {
    color: #484848;
}
.dmg_select_display .display_label {width: 100%; text-align: left;}
.fancy_select:hover {cursor: pointer;}

.content_check {position: relative; display: none;}
.dmg_results_control_content {display: none; box-sizing: border-box;}
.content_check:checked + .dmg_results_nav_control + .dmg_results_control_content {padding: 18px 15px 15px 15px; background: #FFFFFF; border: 1px solid #efefef; border-radius: 4px; box-shadow: 0 0 6px #cccccc; text-align: left; display: block; position: absolute; left: 0; z-index: 11;}

.dmg_results_content_price {width: 260px;}
.dmg_results_content_price input {width: 45%; height: 34px; padding: 0 0 0 4px; border: 1px solid #d9d9d9; border-radius: 3px; line-height: 34px; vertical-align: middle; box-sizing: border-box; float: left;}
.dmg_results_content_price span {width: 10%; min-width: 22px; height: 34px; line-height: 34px; vertical-align: center; text-align: center; box-sizing: border-box; display: block; float: left;}
.dmg_results_close_control {position: absolute; top: 3px; right: 5px; font-weight: bold; color: #CCCCCC; line-height: 1em;}
.dmg_results_close_control:hover {position: absolute; top: 3px; right: 5px; font-weight: bold; color: #666666;}

.dmg_results_content_price .budget {
    float: left;
    width: 100%;
}

.dmg_results_content_price .budget .option_control_label {
    margin: 10px 0 0;
    line-height: 30px;

}

.dmg_results_content_price .budget input {
    width: 100%;
}

.dmg_results_content_acres {width: 260px;}
.dmg_results_content_acres input {width: 45%; height: 34px; padding: 0 0 0 4px; border: 1px solid #d9d9d9; border-radius: 3px; line-height: 34px; vertical-align: middle; box-sizing: border-box; float: left;}
.dmg_results_content_acres span {width: 10%; min-width: 22px; height: 34px; line-height: 34px; vertical-align: center; text-align: center; box-sizing: border-box; display: block; float: left;}


.subsection_control label input span {color: #FFFFFF;}
.content_check:checked + .dmg_results_nav_control + .dmg_results_control_content.dmg_results_content_ltype {padding: 18px 0 8px; z-index: 999;}
.content_check:checked + .dmg_results_nav_control + .dmg_results_control_content.dmg_results_content_areas {z-index: 999;}
.content_check:checked + .dmg_results_nav_control {background: url(/shared/images/searchresults/select-up-arrow.png) right center no-repeat; background-size: 15px 9px;}
.dmg_results_content_ltype {width: 260px; height: 370px; padding: 18px 0 15px; overflow-y: auto;}
.dmg_ltype_section {padding: 0 15px 8px;}
.dmg_ltype_section + .dmg_ltype_section {padding-top: 8px; border-top: 1px solid #e5e5e5;}
.dmg_ltype_section_heading {margin-bottom: 14px;  padding: 0 15px; color: #666666; font-size: 16px; display: block;}
.dmg_results_content_areas .dmg_ltype_section_heading {
    padding: 0;
}
.dmg_ltype_section + .dmg_ltype_section_heading {margin-top: 8px; padding-top: 10px; border-top: 1px solid #e5e5e5;}

.dmg_results_content_areas .checkbox_label {font-size: 14px; line-height: 20px; vertical-align: middle; display: block; overflow: hidden;}
.dmg_results_content_areas .checkbox_label + .checkbox_label {margin-top: 14px;}

.dmg_results_content_ltype .checkbox_label {font-size: 14px; line-height: 20px; vertical-align: middle; display: block; overflow: hidden;}
.dmg_results_content_ltype .checkbox_label + .checkbox_label {margin-top: 14px;}

.subsection_control {display: none;}
.dmg_ltype_subsection {margin: 14px 0; padding-left: 15px; display: none;}
.subsection_control:checked + .checkbox_label + .dmg_ltype_subsection {display: block;}

#dmg_results_nav_areas + .dmg_results_nav_control {width: 100%; box-sizing: border-box; padding-right: 0px; display: block;}
.dmg_results_content_areas {width: 300px;}

#dmg_results_form_areas {
    box-sizing: content-box;
}

.content_check:checked + .dmg_results_nav_control + .dmg_results_control_content {left: -8px;}

.dmg_results_nav_control .down_arrow {margin-left: 3px; vertical-align: middle}

/* == Search Options ======================================
============================================================================ */
#dmg_control_form_options + .dmg_results_search .options_toggle {width: 34px; height: 34px; padding: 0; background: #cccccc; line-height: 34px; vertical-align: middle; color: #FFFFFF; font-size: 20px; font-weight: bold; text-align: center; border-radius: 2px; display: inline-block;}
#dmg_control_form_options + .dmg_results_search .options_toggle span {width: 34px; height: 34px; display: inline-block;}
#dmg_control_form_options + .dmg_results_search .options_toggle span + span {display: none;}
#dmg_control_form_options:checked + .dmg_results_search .option_control_label span + span {display: block;}
#dmg_control_form_options:checked + .dmg_results_search .dmg_search_options {display: block;}
#dmg_control_form_options:checked + .dmg_results_search {height: auto;}

div.dmg_results_content_lifestyle {padding: 0 !important;}
#local-search {width: 390px;}
#local-search .ll-filters {
    box-shadow: none;
    border: none;
    background: none;
}
#local-search .ll-filters .ll-top-controls {display: none;}
.pretty .state label:after, .pretty .state label:before {top: -1px;}
.ll-match-score:before {display: none;}

label.close_dmg_results_nav {
    position: absolute;
    top: 0;
    right: 0;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
    color: #484848;
}
label.close_dmg_results_nav:hover {color: #000000;}

.option_control_label.subsection_heading {
	color: #343434;
	margin-bottom: 12px;
}

.subsection_text {
	position: relative;
}

.subsection_text:after {
	content: "\f078";
	font-family: FontAwesome;
	margin-left: 5px;
}

.advanced_subsection_content {
	display: none;
	margin-bottom: 12px;
}

input[id*="dmg_control_advanced_subsection"]:checked + label .subsection_text:after {
	content: "\f077";
}	

input[id*="dmg_control_advanced_subsection"]:checked + label + .advanced_subsection_content {
	display: block;
}

#dmg_control_advanced_filters:checked + label + .advanced_filters_content_wrap {
	display: block;
}

.dmg_search_options {width: 100%; min-height: 300px; margin-top: 15px; padding: 15px; background: #fafafa; text-align: left; box-sizing: border-box; display: none;}
.dmg_search_options_table {width: 100%; display: table;}
.dmg_search_options_cell {width: 33.3%; padding: 15px; vertical-align: top; display: table-cell;}
.dmg_search_options_cell + .dmg_search_options_cell {border-left: 1px solid #e1e1e1;}
.dmg_search_options_cell:first-child {padding-left: 0;}
.dmg_search_options_cell:last-child {padding-right: 0;}
.dmg_options_cell_areas, .dmg_options_cell_ltype {display: none;}
.dmg_options_cell_ltype + .dmg_search_options_cell {border-left: 0; padding-left: 0}

.dmg_search_options_cell .checkbox_label {margin-bottom: 14px; font-size: 16px; line-height: 20px; vertical-align: middle; display: block; overflow: hidden;}
.checkbox_label input[type="checkbox"] {display: none;}
.checkbox_label input[type="checkbox"] + span,
.subsection_control + .checkbox_label span:first-child,
#search_options_upcoming_open + .checkbox_label span:first-child {width: 20px; height: 20px; margin-right: 6px; background: #FFFFFF; border: 1px solid #bcbcbc; font-size: 18px; color: #FFFFFF; text-align: center; display: block; box-sizing: border-box; float: left;}
.checkbox_label input:checked + span, .subsection_control:checked + .checkbox_label span:first-child, #search_options_upcoming_open:checked + .checkbox_label span:first-child {color: #666666}
.checkbox_label input[type="text"] {width: 24px; height: 16px; text-align: center; display: inline-block;}
.checkbox_label span + span {display: block; overflow: hidden;}

.dmg_search_option_row {margin-bottom: 30px; overflow: hidden;}
.dmg_search_option_row input[type="text"], .dmg_search_option_row input[type="tel"] {width: 45%; height: 34px; padding: 0 0 0 4px; border: 1px solid #d9d9d9; border-radius: 3px; font-family: inherit; font-size: 14px; line-height: 34px; vertical-align: middle; box-sizing: border-box; float: left;}
.dmg_search_option_row span {width: 10%; min-width: 22px; height: 34px; line-height: 34px; vertical-align: center; text-align: center; box-sizing: border-box; display: block; float: left;}
.dmg_search_option_row div {width: 55%; float: left;}
.dmg_search_option_row div + div {width: 45%;}
.dmg_search_option_row div.budget {
    width: 100%;
}

.dmg_option_control {display: none;}
.option_control_label {margin-bottom: 6px; font-size: 18px; color: #666666; display: block;}
.dmg_option_content {display: block;}

.dmg_search_option_row .dmg_select_wrap {width: 100%;}

.dmg_search_option_row .dmg_select_wrap .dmg_select_display {width: 95%; height: 34px; padding: 0 0 0 4px; border: 1px solid #d9d9d9; border-radius: 3px; background: #FFFFFF url(/shared/images/searchresults/select-down-arrow.png) right 5px center no-repeat; font-family: inherit; font-size: 14px; line-height: 34px; vertical-align: middle;}
.dmg_search_option_row div:first-child .dmg_select_wrap .dmg_select_display {width: 80%;}

.dmg_option_content .select_label {margin-bottom: 4px; display: block;}
.dmg_option_content .dmg_select_wrap .dmg_select_display {width: 100%; height: 34px; padding: 0 0 0 4px; margin-bottom: 14px; border: 1px solid #d9d9d9; border-radius: 3px; background: #FFFFFF url(/shared/images/searchresults/select-down-arrow.png) right 5px center no-repeat; font-family: inherit; font-size: 14px; line-height: 34px; vertical-align: middle;}


.options_beds_baths, .options_price_minmax, .options_acres_minmax {display: none;}

.dmg_control_open_houses + .option_control_label + .dmg_option_content {overflow: hidden;}

.dmg_ohouse_dates {margin-bottom: 20px; padding-left: 15px; display: none;}


#search_options_upcoming_open:checked + label + .dmg_ohouse_dates {display: block;}

#dmg_control_open_houses + label + .dmg_option_content {overflow: hidden;}

/* == Filters ======================================
============================================================================ */
.dmg_results_total {
    padding: 10px 5px 0;
    text-align: center;
    font-weight: bold;
}

/* == Filters ======================================
============================================================================ */
.dmg_results_filter {width: 100%; height: 34px; margin-bottom: 12px; margin-top: 12px; display: table;}
.dmg_table_margin {width: 2%; display: table;}

.dmg_results_filter ul {width: 385px; height: 34px; list-style: none; margin: 0; padding: 0; display: inline-block; float: left;}
.dmg_results_filter ul > li {padding: 0 8px; height: 34px; display: inline-block; color: #484848; font-size: 14px; float: left;}
.dmg_results_filter .dmg_select_display {padding: 0 40px 0 5px; background: #f7f7f7 url(/shared/images/searchresults/select-down-arrow.png) right 5px center no-repeat; border-radius: 2px;}

.dmg_results_form_areas {min-width: 90px; padding: 0 1%;}
.dmg_results_form_areas.selected_areas {min-width: 100px;}
.dmg_results_form_areas .dmg_select_wrap {width: 100%; padding: 0 5%; border-radius: 2px; box-sizing: border-box;}
.dmg_results_form_areas .dmg_select_display {padding-right: 57px;}
.dmg_results_form_areas .dmg_results_nav_control {margin: 0 1%;}
.dmg_results_filter .dmg_results_share_wrapper {margin-right: 12px; border-right: 1px solid #eaeaea}

/* == Pagination ======================================
============================================================================ */
.dmg_results_pagination_wrapper {height: 34px; line-height: 34px; vertical-align: middle; color: #6d6d6d; font-size: 14px; float: right;}
.dmg_results_pagination_wrapper p {margin: 0; line-height: 34px; vertical-align: middle; float: left}
.dmg_results_pagination_wrapper a {display: inline-block; float: left;}
.dmg_results_pagination_total {padding-right: 15px; display: inline-block}
.dmg_results_pagination {display: inline-block;}
.dmg_results_pageNumbers a {width: 40px; height: 34px; background: #f7f7f7; text-align: center; line-height: 34px; vertical-align: middle; display: inline-block; box-sizing: border-box;}
.dmg_results_pageNumbers a + a {margin-left: 3px;}
.paginate_arrows {width: 12px; height: 34px; background-repeat: no-repeat; background-position: center center; display: inline-block; box-sizing: border-box;}
.dmg_results_previousPageActive {width: 12px; height: 34px; background-repeat: no-repeat; background-position: center center; font-size: 0; display: inline-block; box-sizing: border-box; margin-left: 8px; margin-right: 8px; background-image: url(/shared/images/searchresults/paginate-prev.png);}
.dmg_results_firstPageActive {width: 17px; height: 34px; background-repeat: no-repeat; background-position: center center; font-size: 0; display: inline-block; box-sizing: border-box; margin-left: 8px; margin-right: 4px; background-image: url(/shared/images/searchresults/paginate-first.png);}
.dmg_results_nextPageActive {width: 12px; height: 34px; background-repeat: no-repeat; background-position: center center; font-size: 0; display: inline-block; box-sizing: border-box; margin-left: 8px; margin-right: 8px; background-image: url(/shared/images/searchresults/paginate-next.png);}
.dmg_results_lastPageActive {width: 17px; height: 34px; background-repeat: no-repeat; background-position: center center; font-size: 0; display: inline-block; box-sizing: border-box; margin-left: 4px; margin-right: 8px;background-image: url(/shared/images/searchresults/paginate-last.png);}
.dmg_results_pagination_wrapper .dmg_results_firstPageInactive, .dmg_results_pagination_wrapper .dmg_results_previousPageInactive, .dmg_results_pagination_wrapper .dmg_results_nextPageInactive, .dmg_results_pagination_wrapper .dmg_results_lastPageInactive {display: none;}


.dmg_results_pagination a:link, .dmg_results_pagination a:visited, .dmg_results_pagination a:active {text-decoration: none;}
.dmg_results_pageNumbers a:hover {background: #e8e8e8; color: #FFFFFF;}
.dmg_results_pageNumbers .dmg_results_pageNumbersActive {background: #dddddd; cursor: default;}
.dmg_results_pageNumbers a:hover {background: #dddddd; color: #6d6d6d}

.dmg_results_perpage_wrapper {height: 34px; line-height: 34px; vertical-align: middle; color: #6d6d6d; font-size: 14px; float: left;}


/* == Flex Layout ======================================
============================================================================ */
.dmg_results_flex {display: flex; flex-flow: row wrap; justify-content: flex-start;}
.dmg_results_listing {width: 31.3%; padding: 0; margin: 0 1% 20px; background: #f6f6f6; box-sizing: border-box; position: relative;}
.dmg_results_listing.amen_bar {padding-bottom: 60px}
.dmg_listing_amen {width: 100%; height: 60px; background: #efefef; text-align: center; position: absolute; left: 0; bottom: 0;}
.dmg_listing_amen_item {width: 33.3%; margin-top: 12px; padding: 0 15px; line-height: 1.125em; display: inline-block; box-sizing: border-box; float: left;}
.dmg_listing_amen_item + .dmg_listing_amen_item {border-left: 1px solid #d7d7d7;}

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

/*
.dmg_results_table {width: 100%; padding-top: 15px; border-top: 1px solid #e9e9e9; display: table; table-layout: fixed; border-spacing: 15px;}
.dmg_results_table_row {display: table-row;}
.dmg_results_table_row .dmg_results_listing {width: 32%; display: table-cell; padding-bottom: 8px; border: 1px solid #e5e5e5; vertical-align: top; position: relative;}
.dmg_results_table_row .dmg_results_listing.one_listing,
.dmg_results_table .dmg_results_table_row:first-child .dmg_results_listing:only-child {display: inline-block;}
.dmg_results_table_row .dmg_table_margin {width: 2%;}
*/


/* == Listing Main Photo ======================================
============================================================================ */
.dmg_results_listing_photo {position: relative;}
.dmg_results_listing_link{display: block;height: 330px;width: 100%;}
.dmg_sidebar_wrapper .dmg_results_listing_link{height: auto;}
.dmg_results_listing_photo img {width: 100%!important;height: 100%!important;object-fit: cover;display: block;}

/* removed for pagespeed cls
.dmg_results_listing_photo img {width: 100%; height: auto;}
*/

.dmg_results_listing_photo .dmg_listing_save {font-size: 24px; color: #FFFFFF; text-decoration: none;text-shadow: 0 0 4px #000000; position: absolute; top: 10px; right: 10px;}
.dmg_results_listing_photo .dmg_listing_save.cta-save {font-size: 16px; position: relative; top: auto; right: auto;}
.dmg_results_listing_photo .dmg_listing_save:hover {color: #F00; text-decoration: none;}
.dmg_results_listing_photo .dmg_listing_save.saved_listing {color: #F00; cursor: default;}


.dmg_listing_photo_banner {padding: 5px; background: rgba(0,0,0,0.7); color: #FFFFFF; display: inline-block; position: absolute; top: 10px; left: 10px;}


.dmg_results_listing_photo .dmg_listing_gallery {width: 100%; height: 0; padding: 0; display: block; box-sizing: border-box;}
.dmg_results_photo_controls {height: 34px; padding: 0 5px; background: rgba(0,0,0,0.2); display: inline-block;}
#dmg_results_wrapper .dmg_listing_gallery a:link, #dmg_results_wrapper .dmg_listing_gallery a:visited, #dmg_results_wrapper .dmg_listing_gallery a:active {color: #FFFFFF; text-decoration: none;}
.dmg_listing_gallery_prev, .dmg_listing_gallery_next {text-align: center; font-size: 32px; font-weight: bold;}
.dmg_listing_gallery_prev {position: absolute; top: 45%; left: 0;}
.dmg_listing_gallery_next {position: absolute; top: 45%; right: 0;}


/* == CTA Bar Main Photo ======================================
============================================================================ */
	
.cta-bar {
	width: 100%;
	height: 0;
	padding: 0 5px;
	background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.9) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 50%,rgba(0,0,0,0.9) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 50%,rgba(0,0,0,0.9) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#e6000000',GradientType=0 ); /* IE6-9 */
	line-height: 40px;
	color: #FFFFFF;
	overflow: hidden;
    position: absolute;
    box-sizing: border-box;
	bottom: 0;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	transition: height .5s ease;
}

.dmg_results_listing_photo:hover .cta-bar {
	height: 40px;
}

.bar-item {
	padding: 0 20px;
}

.dmg_listing_compare:link,
.dmg_listing_compare:visited,
.dmg_listing_compare:active {
	color: #ffffff;
	text-decoration: none;
	font-size: 16px;

}

.dmg_listing_compare:hover {
	text-decoration: none;
}

.compare-checkbox {
	width: 16px;
	height: 16px;
	margin: 10px 4px 0 0;
	border: 1px solid #FFFFFF;
	border-radius: 2px;
	text-align: center;
	position: relative;
	display: inline-block;
	float: left;
}

.compare-checkbox:after {
	content: "\f00c";
	width: 16px;
	height: 16px;
	font-family: FontAwesome;
	line-height: 1em;
	color: transparent;
	position: absolute;
	top: 0;
	left: 0;
}

.dmg_listing_compare:checked + .compare-checkbox:after {
	color: #FFFFFF;
}




input[name="compare-listing"] {
	display: none;
}

.bar-item.cta-bar-hide{position: absolute;top: 40px;right: 10px;padding: 0;}
.cta-bar-hide a{font-size: 18px;color: #FFFFFF;text-decoration: none;text-shadow: 0 0 4px #000000;}
/* == Phone
============================================================================ */
@media only screen and (max-width: 768px) {
	.dmg_results_listing_photo .cta-bar {
		height: 36px;
		font-size: 14px;
	}


}



/* == Listing Details ======================================
============================================================================ */
.dmg_listing_details_bg {background: #f6f6f6;}

.dmg_results_listing_details {width: 100%; padding: 10px; color: #494949; font-size: 16px; position: relative; box-sizing: border-box;}

.dmg_listing_banner_wrap {width: 100%; position: absolute; bottom: 0;}
.dmg_listing_banner {padding: 10px; background: rgba(0,0,0,0.9); line-height: 1.15em; font-size: 14px; color: #FFFFFF; box-sizing: border-box;display: flex;align-items: center;justify-content: center;}
.dmg_listing_banner.ohouse_banner {background: rgba(97,156,0,0.9);}
.dmg_listing_banner.featured_banner, .dmg_listing_banner.sold_banner {background: rgba(214,28,56,0.9);}
.dmg_listing_banner.new {background: rgb(27 169 26 / 90%);}
.dmg_listing_banner.featured_banner_shown {background: rgba(11,99,137,0.9);}
.dmg_listing_banner.featured_banner_shown a {color: #FFFFFF;}
.dmg_listing_banner.featured_banner_shown a:hover {color: #000000;}
.dmg_listing_banner.pending_banner {background: rgba(101,46,142,0.9);}
.dmg_listing_banner.comingsoon_banner {background: rgba(241,104,48,0.9);}
.dmg_listing_banner.video_banner {background: rgba(51,102,153,0.9);}
.dmg_listing_banner.luxury_banner {width: 100%; background: rgba(0,0,0,.7); position: absolute; top: 0; left: 0;}

.dmg_listing_banner.luxury_banner + .dmg_listing_save {top: 32px;}
.dmg_listing_banner.luxury_banner + .dmg_listing_save + .dmg_listing_photo_banner {top: 32px;}



/*
.dmg_property_type {display: block;}
.dmg_property_type .green {color: green;}
.dmg_listing_banners {margin-top: 4px; display: none;}
.dmg_listing_banner {height: 22px; padding: 0 8px; font-size: 14px; color: #FFFFFF; line-height: 22px; vertical-align: middle; background: #bdbdbd; border-radius: 2px; display: inline-block;}
.dmg_listing_banner.banner_red {background: #e51937;}
.dmg_sold_banner {width: 124px; height: 92px; background-image: url(/shared/images/listings/soldBanner.png); background-repeat: no-repeat; background-size: cover; position: absolute; top: 0; left: 0;}
.dmg_ohouse_banner {width: 130px; height: 92px; background-image: url(/shared/search/version-10/images/open-bannerv10.png); background-repeat: no-repeat; background-size: cover; position: absolute; top: 0; left: 0;}
.dmg_pending_banner {width: 130px; height: 92px; background-image: url(/shared/search/version-10/images/pending-bannerv10.png); background-repeat: no-repeat; background-size: cover; position: absolute; top: 0; left: 0;}
.dmg_pendingopen_banner {width: 130px; height: 92px; background-image: url(/shared/search/version-10/images/pending-open-bannerv10.png); background-repeat: no-repeat; background-size: cover; position: absolute; top: 0; left: 0;}
.dmg_featured_banner {width: 180px; height: 127px; background-image: url(/shared/search/version-10/images/featured-listingv11.png); background-repeat: no-repeat; background-size: cover; position: absolute; top: 0; left: 0;}
.dmg_pending_banner {width: 87px; height: 61px; background-image: url(/shared/search/version-10/images/pending-ribbon.png); background-repeat: no-repeat; background-size: cover; position: absolute; top: 0; left: 0; pointer-events: none;}
.dmg_ohouse_banner {width: 125px; height: 88px; background-image: url(/shared/search/version-10/images/open-ribbon.png); background-repeat: no-repeat; background-size: cover; position: absolute; top: 0; left: 0; pointer-events: none;}
.dmg_featured_banner {width: 162px; height: 114px; background-image: url(/shared/search/version-10/images/featured-ribbon.png); background-repeat: no-repeat; background-size: cover; position: absolute; top: 0; left: 0; pointer-events: none;}
.dmg_comingsoon_banner {width: 125px; height: 88px; background-image: url(/shared/search/version-10/images/comingSoon-ribbon.png); background-repeat: no-repeat; background-size: cover; position: absolute; top: 0; left: 0; pointer-events: none;}
.dmg_video_banner {width: 125px; height: 88px; background-image: url(/shared/search/version-10/images/video-ribbon.png); background-repeat: no-repeat; background-size: cover; position: absolute; top: 0; left: 0; pointer-events: none;}
*/


.dmg_listing_street {display: block;}
.dmg_listing_address {color: #494949; line-height: 1em; text-decoration: none; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.dmg_listing_price {margin-top: 10px; font-size: 18px; line-height: 1em; color: #666666; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.dmg_listing_type {margin-top: 10px; display: inline-block;}
.dmg_listing_acres {margin-top: 10px; display: inline-block;}
.dmg_listings_comments {margin-top: 10px; display: inline-block;}
.dmg_listings_mlsregs {margin-top: 10px; font-size: 14px;}

.dmg_listing_bab {margin-top: 4px; font-size: 14px; font-weight: normal;}
.dmg_listing_bab::before {content: "\2022"; padding-right: 4px}

.dmg_listing_price.no_ellipsis {white-space: normal; overflow: auto; text-overflow: initial;}


.dmg_listing_bab.no_ellipsis {display: block; white-space: normal; overflow: auto; text-overflow: initial;}
.dmg_listing_bab.no_ellipsis::before {content: ""; padding-right: 0}

.dmg_listing_mlslogo img {height: 20px; width: auto; position: absolute; right: 10px; bottom: 10px;}

#dmgMap {width: 100%; height: 500px; position: relative; overflow: hidden; transform: translateZ(0px); background-color: rgb(229, 227, 223); display: block}

.ll-filters .ll-top-controls .ll-on-off .pretty > span {
    font-size: 18px;
}

.ll-maps.ll-filters {
    position: absolute;
    top: 10px;
    border-radius: 2px;
    box-shadow: rgb(0 0 0 / 30%) 0px 1px 4px -1px;
    color: #000;
    border: 0;
    background-color: white;
    left: 11px;
}

@media only screen and (max-width: 500px) {
    .ll-maps.ll-filters {
        left: calc(30px + -50vw);
        top: 486px;
    }

    .ll-filters .ll-categories {
        position: absolute;
        bottom: 44px;
        background: #fff;
        padding: 10px;
        right: 1px;
    }

    .ll-caret-box svg {
        transform: rotate(180deg);
    }

    .ll-caret-box.ll-flip svg {
        transform: rotate(0deg);
    }
}

@media only screen and (max-width: 370px) {
    .ll-maps.ll-filters {
        left: calc(-30px + -50vw);
    }
}


.ll-match-score, .ll-fake-match-score {
    position: absolute;
    top: initial;
    bottom: 5px;
    right: 5px;
    border-radius: 50%;
    padding: 0px !important;
    z-index: 1;
}
.ll-match-score > span {
    border: 5px solid #ffffff;
    border-color: #ffffff !important;
    transition: background-color 0.2s;
}
.ll-match-score > span.ll-score-color-default {
    color: #ffffff;
    background-color: #d4d4d4;
}


.ll-match-score .ll-tooltip p, .ll-fake-match-score .ll-tooltip p {
    margin: 0;
    font-size: 13px;
}

.ll-match-score > span.ll-score-color-default .ll-tooltip, .ll-fake-match-score > span.ll-score-color-default .ll-tooltip {
    top: initial;
    right: 0;
    left: initial;
    padding: 5px !important;
    width: 134px;
    bottom: 30px;
}


#locationsmessage {max-width: 310px; margin: 0 auto; padding: 0px; box-sizing: border-box;}
#locationsmessage p {text-align: center;margin-top:0;}
#locationsmessage input[type="button"] {height: 32px;
    text-align: center;
    margin: 15px auto 0;
    display: block;
    font-size: 15px;
    background: #666666;
    color: #FFFFFF;
    -webkit-appearance: none;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    padding: 0 10px;
    box-sizing: border-box;
    max-width: 100%;
    -webkit-text-size-adjust: 100%;
    cursor: pointer;
    border: 0;}

#locationsmessage input[type="button"]:hover {background: #333333;}

#polygonerrormessage {max-width: 310px; margin: 0 auto; padding: 20px; box-sizing: border-box;}
#polygonerrormessage p {text-align: center;}
#polygonerrormessage input[type="button"] {height: 32px;
    text-align: center;
    margin: 15px auto 0;
    display: block;
    font-size: 14px;
    background: #666666;
    color: #FFFFFF;

    border: 0;}

#polygonerrormessage input[type="button"]:hover {background: #333333;}

/* == Optimize Search Text ======================================
============================================================================ */
.div_results_footer {padding: 0 5px; overflow: hidden; clear: both;}
.dmg_search_text {width: 100%; margin: 15px auto 0; color: #666666; font-size: 13px; clear: both;}


/* == General Rules ======================================
============================================================================ */
.clearFix:before, .clearFix:after {content: ""; display: table;}
.clearFix:after {clear: both;}
.clearBoth {clear: both;}
.floatLeft {float: left !important}
.floatRight {float: right !important}

::-webkit-input-placeholder {
   color: #484848;
}

:-moz-placeholder { /* Firefox 18- */
   color: #484848;
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #484848;
}

:-ms-input-placeholder {
   color: #484848;
}


/*====Single Property Window====*/
#dmg_atlas_single_property { width: 380px; max-height: 391px; overflow-x: hidden; }
#dmg_atlas_single_property .clearBoth { clear: both; }
#dmg_atlas_single_city_icons { width: 100%; border-bottom: solid 1px #7e7e7e; }
.dmg_atlas_single_city { float: left; color: #666666; font-size: 1.5em; margin: 0; padding: 0; text-transform: uppercase; }
#dmg_atlas_single_icons { float: right; }

#dmg_atlas_single_details { padding: 15px 0 0 0; }
#dmg_atlas_single_details ul { float: right; list-style-type: none; color: #666666; width: 144px; height: 133px; padding: 0; margin: 0; font-size: .9em; line-height: 18.5px; }
.dmg_atlas_single_price { font-size: 1.25em; }

#dmg_atlas_single_comments { clear: both; padding: 10px 0 0 0; font-size: .85em; line-height: 18px; }

.dmg_atlas_single_showing_button { float: left; width: 125px; margin: 0 0 0 8px; padding: 3px 0; background: #666666; color: #FFFFFF; -webkit-border-radius: 3px; border-radius: 3px; text-align: center; color: #ffffff; text-transform: uppercase; font-size: .85em; }
.dmg_atlas_single_showing_button:hover { background: #a4a4a4; color: #0F0F0F; }

#dmg_atlas_single_action_buttons { margin: 15px 0 0 0; text-align: center; }

#dmg_atlas_single_action_buttons a { text-decoration: none; }
#dmg_atlas_single_action_buttons a p {font: inherit;}

.dmg_atlas_single_save_button { float: left; background: url(/shared/images/atlas/save-icon.png) no-repeat 138px 1px #666666; color: #FFFFFF; height: 16px; width: 175px; margin: 7px 0 0 0; padding: 4px 2px 2px 0; text-transform: uppercase; color: #ffffff; font-size: .85em; -webkit-border-radius: 3px; border-radius: 3px; }
.dmg_atlas_single_save_button:hover { background: url(/shared/images/atlas/save-icon.png) no-repeat 138px 1px #a4a4a4; color: #0F0F0F;}

.dmg_atlas_single_details_button { float: left; background: url(/shared/images/atlas/search-icon.png) no-repeat 148px 0 #666666; color: #FFFFFF; height: 16px; width: 175px; margin: 7px 0 0 0; padding: 4px 2px 2px 0; text-transform: uppercase; color: #ffffff; font-size: .85em; -webkit-border-radius: 3px; border-radius: 3px; }
.dmg_atlas_single_details_button:hover { background: url(/shared/images/atlas/search-icon.png) no-repeat 148px 0 #a4a4a4; color: #0F0F0F;}

/*====Multi Property Window====*/
#dmg_atlas_multi_property { width: 380px; max-height: 391px; overflow-x: hidden; }
#dmg_atlas_multi_property .clearBoth { clear: both; }
#dmg_atlas_multi_city_range { width: 100%; border-bottom: solid 1px #7e7e7e; margin: 0 0 15px 0; }
#dmg_atlas_multi_range { float: right; margin: 8px 0 0 0; font-size: .85em; }

#dmg_atlas_multi_view { max-height: 343px; width: 380px; overflow: auto; overflow-x: hidden; }

.dmg_atlas_multi { position: relative; float: left; height: 85px; width: 360px; border-bottom: solid 1px #d3d3d3; padding: 0 0 17px; margin: 0 5px 17px 0; }
.dmg_atlas_multi_icons { float: left; width: 23px; height: 81px; padding: 3px 5px 0; background: #b0b0b0; -webkit-border-radius: 4px; border-radius: 4px; }
.dmg_atlas_multi_icons img { padding: 0; margin: 0; }
.dmg_atlas_multi_image { float: left; margin: 0 0 0 10px; width: 130px; }

.dmg_atlas_multi_details { float: left; color: #666666; width: 175px; margin: 0 0 0 10px; }
.dmg_atlas_multi_city { margin: 0; padding: 0; font-size: .9em; }
.dmg_atlas_multi_price { margin: 3px 0 0 0; padding: 0; font-size: .9em; }
.dmg_atlas_multi_bbft { margin: 3px 0 0 0; padding: 0; font-size: .8em; }

.dmg_atlas_multi_details a { text-decoration: none; }
.dmg_atlas_multi_button { background: url(/shared/images/atlas/search-icon.png) no-repeat 135px 0 #666666; height: 17px; width: 153px; margin: 7px 0 0 0; padding: 4px 2px 2px 15px; text-transform: uppercase; color: #ffffff; font-size: .85em; -webkit-border-radius: 3px; border-radius: 3px; }
.dmg_atlas_multi_button:hover { background: url(/shared/images/atlas/search-icon.png) no-repeat 135px 0 #a4a4a4; }
.dmg_search_listingPhoto {}
/*span.helper { display: inline-block; height: 100%; vertical-align: middle; }*/
li.dmg_search_bedrooms, li.dmg_search_bathrooms { float: left; clear: none; width: 140px; }

.dmg_search_options_table .dmg_search_options_cell:first-of-type {display: none;}

.dmg_results_update_results {width: 200px; height: 34px; line-height: 34px; vertical-align: middle; margin: 30px auto 0; background: #666666; border: 1px solid #FFFFFF; color: #FFFFFF; font-size: 20px; text-align: center; display: block; box-sizing: border-box; clear: both;}
.dmg_results_update_results:hover {background: #a4a4a4; color: #0F0F0F}

.results_nav_save {
    line-height: 33px;
}
#dmg_layout_qsearch_term_search_bar {
    font-size: 13px;
}

/* == Desktop
============================================================================ */
@media only screen and (min-width: 1330px) {
	.dmg_results_search {height: 48px; background: #f0f0f0;}
	.dmg_results_search_form ul {height: 40px;}
	.dmg_results_search_form ul > li {line-height: 40px;}
	.dmg_select_display, .dmg_results_nav_control {height: 40px; line-height: 40px; cursor: pointer}
	#dmg_results_wrapper #qsearch_term_wrapper .dmg_layout_qsearch_term {height: 40px;}
    .dmg_results_search_form ul > li {height: 40px; padding: 0 10px !important; font-size: 18px; color: #000000}
    .dmg_results_search_form ul > li.dmg_results_form_save {
        padding: 0 !important;
    }
    .dmg_results_search_form ul > li a {
        color: #000000;
    }

    .dmg_results_search_form .drivetime > li {
        font-size: 16px;
    }

    .results_nav_save {
        line-height: 40px;
    }
    .dmg_results_search_form ul > li:hover {background: #e5e5e5; cursor: pointer;}
    #qsearch_term_wrapper:hover {
        background-color: initial;
    }
  	/* .dmg_results_form_areas .dmg_select_wrap {background: #b2b2b2;} */
  	.dmg_results_form_areas.selected_areas {min-width: 115px;}
  	.fi-heart:before {
        height: 34px;
        line-height: 34px;
    }

    .results-btn {
        height: 40px;
        line-height: 40px;
    }

}



/* == Tablet (portrait and landscape) ======================================
============================================================================ */
@media only screen and (max-width: 1450px) {
    .dmg_column_contentInt .dmg_results_search_form .dmg_results_form_beds, .dmg_column_contentInt .dmg_results_search_form .dmg_results_form_baths {display: none;}
    .dmg_column_contentInt .options_beds_baths {display: block;}
}

@media only screen and (max-width: 1320px) {
	.dmg_column_contentInt .dmg_results_listing {width: 48%;}
	.dmg_column_contentInt .dmg_results_search_form ul .dmg_results_form_areas {}
}

@media only screen and (max-width: 1170px) {
    .dmg_column_contentInt #dmg_results_wrapper .dmg_results_filter ul {margin: 0 auto !important; display: block; float: none;}
    .dmg_column_contentInt .dmg_results_pagination_wrapper {width: 100%; margin-top: 10px;}
    
    .dmg_column_contentInt .dmg_results_pagination {float: right;}
    
    .dmg_column_contentInt .dmg_results_perpage_wrapper {width: 300px; margin: 0 auto; text-align: center; float: none;}
    
    .dmg_column_contentInt .dmg_results_search_form ul > .dmg_results_form_price {display: none;}
	.dmg_column_contentInt .options_price_minmax {display: block}
    
}

@media only screen and (max-width: 1090px) {
	.dmg_column_contentInt .dmg_results_search_form ul .dmg_results_form_areas, .dmg_column_contentInt .dmg_results_search_form ul .dmg_results_form_listtype {display: none;}
    .dmg_results_listing_link{height: 250px;}
}

@media only screen and (max-width: 1195px) {

.dmg_results_search_form .dmg_results_form_beds, .dmg_results_search_form .dmg_results_form_baths {display: none;}
.options_beds_baths {display: block;}

}


/* == Tablet (portrait and landscape) ======================================
============================================================================ */

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

@media only screen and (max-width: 910px) {

#dmg_results_wrapper .dmg_results_filter ul {margin: 0 auto !important; display: block; float: none;}
.dmg_results_pagination_wrapper {width: 100%; margin-top: 10px;}

.dmg_results_pagination {float: right;}

.dmg_results_perpage_wrapper {width: 300px; margin: 0 auto; text-align: center; float: none;}
}


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

.dmg_search_options_cell {width: 30%}
.dmg_search_options_cell:first-child {width: 40%;}

.dmg_results_listing {width: 48%;} 

}



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

.dmg_results_table {padding-top: 15px; border-top: 1px solid #e9e9e9; display: inline; border-spacing: 0;}
.dmg_results_table_row {display: inline;}
.dmg_results_table_row .dmg_results_listing {width: 47%; margin: 0 1% 15px; border: 1px solid #e5e5e5; display: block; vertical-align: top; position: relative; float: left;}
.dmg_results_table_row .dmg_table_margin {display: none;}

#dmg_results_wrapper .dmg_results_filter ul {margin: 0 auto !important; display: block; float: none;}
.dmg_results_pagination_wrapper {width: 100%; margin-top: 10px;}

.dmg_results_search_form ul > .dmg_results_form_price {display: none;}
.dmg_results_search_form ul > .dmg_results_form_acres {display: none;}
.options_price_minmax {display: block}
.options_acres_minmax {display: block;}


.dmg_results_pagination {float: right;}

.dmg_results_table .dmg_results_table_row:first-child .dmg_results_listing:nth-of-type(3) {clear: left}
.dmg_results_table_row + .dmg_results_table_row .dmg_results_listing:nth-of-type(2) {clear: left}
.dmg_results_table_row + .dmg_results_table_row + .dmg_results_table_row .dmg_results_listing:nth-of-type(odd) {clear: left}
.dmg_results_table_row + .dmg_results_table_row + .dmg_results_table_row + .dmg_results_table_row + .dmg_results_table_row .dmg_results_listing:nth-of-type(odd) {clear: left}
.dmg_results_table_row + .dmg_results_table_row + .dmg_results_table_row + .dmg_results_table_row .dmg_results_listing:nth-of-type(1) {clear: none;}
.dmg_results_table_row + .dmg_results_table_row + .dmg_results_table_row + .dmg_results_table_row .dmg_results_listing:nth-of-type(2) {clear: left;}
.dmg_results_table_row + .dmg_results_table_row + .dmg_results_table_row .dmg_results_listing:nth-of-type(2) {clear: none;}
.dmg_results_table_row + .dmg_results_table_row + .dmg_results_table_row + .dmg_results_table_row .dmg_results_listing:nth-of-type(3) {clear: none;}

#dmg_layout_internal .dmg_listing_mlslogo img {height: 20px;}
}


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

#dmg_results_wrapper .dmg_results_title {width: 100%; text-align: center; line-height: 1em; display: block; float: none;}

/* Turn off sidebar */
.dmg_results_map_wrapper {width: 100%; height: 755px; display: block}
#dmgMap {width: 100%; height: 755px;}
.dmg_results_table.dmg_map_sidebar {display: none;}

	.dmg_search_options_table .dmg_search_options_cell {width: 48%; margin: 0 auto; padding: 5px 0; border: 0; display: block; box-sizing: border-box; float: none;}
	.dmg_search_options_table .dmg_search_options_cell:nth-of-type(4) {margin: 0 auto; padding-left: 0; float: none;}
	.dmg_search_options_table .dmg_search_options_cell:nth-of-type(5) {width: 48%; margin: 0 auto; border: 0; float: none !important;}
	.dmg_search_options_table .dmg_options_cell_areas, .dmg_search_options_table .dmg_options_cell_ltype {display: none;}

.options_price_minmax {display: block;}

.dmg_search_options_table .dmg_search_options_cell:first-of-type {display: block; width: 100%;}
.dmg_search_options_cell .dmg_results_filter {margin: 0; padding: 5px; background: #FFFFFF; display: block;}
.dmg_results_search_form .dmg_results_filter ul > li + li {border: 0;}

.dmg_internal_subarea_mapsearch .div_results_footer.disclaimer {padding-right: 0;}
}

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


/* == Tablet
============================================================================ */
@media only screen and (max-width: 718px) {
	.save_search_text {display: none;}
	.save_search_text + .fi-heart {display: block;}
}

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


.dmg_results_search_form ul .dmg_results_form_areas, .dmg_results_search_form ul .dmg_results_form_listtype {display: none;}
#dmg_results_wrapper #qsearch_term_wrapper .dmg_layout_qsearch_term {width: 300px;}

.dmg_search_options_table .dmg_search_options_cell {width: 100%; margin: 0 auto; padding: 5px 0 0; display: block; box-sizing: border-box;}
	.dmg_search_options {padding: 8px;}
	.dmg_search_option_row div {width: 100%; box-sizing: border-box;}
	.dmg_search_option_row > div + div {width: 100%; margin-top: 8px}
	.dmg_search_option_row .dmg_select_wrap {margin-bottom: 0;}

	.dmg_search_options_table .dmg_options_cell_areas, .dmg_search_options_table .dmg_options_cell_ltype {display: block;}
	.dmg_search_options_cell + .dmg_search_options_cell {border-left: 0;}
	.dmg_search_options_table .dmg_search_options_cell:nth-of-type(4) {padding-left: 0;}

	.dmg_search_option_row .dmg_select_wrap .dmg_select_display {width: 100% !important;}
	.dmdg_search_option_row div:first-child .dmg_select_wrap .dmg_select_display {width: 100%;}

	.dmg_search_options select {width: 100% !important; margin-right: 0  !important;}

	.dmg_search_options_table .dmg_search_options_cell:nth-of-type(2) {padding: 0; border: 0;}

	.dmg_search_options_table .dmg_search_options_cell:nth-of-type(5) {width: 100%}

	/*
	.dmg_search_options_cell:nth-of-type(2) label {width: 100%; float: none; clear: none;}
	.dmg_search_options_cell:nth-of-type(2) label:nth-of-type(even) {float: right; clear: none;}
	.dmg_search_options_cell:nth-of-type(3) label span input {margin-bottom: 2px}
	*/

	.dmg_option_control + .option_control_label + .dmg_select_wrap {display: none;}
	.dmg_option_control:checked + .option_control_label + .dmg_select_wrap {height: auto; padding-bottom: 10px; display: block; overflow: hidden;}

	.dmg_option_control + .option_control_label + .dmg_search_option_row {display: none;}
	.dmg_option_control:checked + .option_control_label + .dmg_search_option_row {display: block;  padding-bottom: 10px;}


	.dmg_option_control + .option_control_label + .dmg_option_content {display: none;}
	.dmg_option_control:checked + .option_control_label + .dmg_option_content {display: block; padding-bottom: 10px;}

	.option_control_label { height: 38px; padding: 0 8px; line-height: 38px; vertical-align: middle;}

	.dmg_search_options_table label {margin-bottom: 0;}
	.dmg_search_option_row > div + div {margin-top: 0;}
	.dmg_search_option_row {margin-bottom: 0;}
	.dmg_search_options_table .dmg_search_options_cell {padding: 0;}
	.dmg_search_options_table label {margin-bottom: 8px;}

	.dmg_option_content .select_label {clear: left;}

	.dmg_results_search_form .dmg_option_content .checkbox_label {width: 49%; float: left; clear: left;}
	.dmg_results_search_form .dmg_option_content .checkbox_label(even) {float: right;}

	.dmg_search_options_table .option_control_label {border-top: 1px solid #CCCCCC; margin-bottom: 0; background: url(/shared/images/searchresults/select-down-arrow.png) right 10px center no-repeat;clear:both;}
	.dmg_search_options_table .control_checkbox:checked + .option_control_label {background: url(/shared/images/searchresults/select-up-arrow.png) right 10px center no-repeat;}
	/* .dmg_search_options_table .option_control_label[for="dmg_control_beds"] {border: 0;} */
	.dmg_search_options_cell:nth-of-type(2) label {width: auto;}

	.dmg_option_control:checked + label + .dmg_option_content {display: none;}
	
	.dmg_search_options_table .dmg_search_options_cell:last-child .dmg_option_content .checkbox_label {width: 100%}


	/* .options_price_minmax {border-bottom: 1px solid #CCCCCC;} */
	.dmg_search_options_table .dmg_options_areas .option_control_label {border-top: 0;}

	.dmg_results_content_ltype {width: 100%;}
	.dmg_ltype_section {width: 100%;}


	.dmg_search_options_cell .dmg_results_filter {margin: 0; padding: 5px; background: #FFFFFF; display: block;}
	.dmg_results_search_form .dmg_results_filter ul > li + li {border: 0;}

	/* .advanced_filters_wrap {display: none;} */
	.dmg_option_control:checked + label + .advanced_filters_wrap {display: block;}

	#dmg_control_advanced_filters + label + .advanced_filters_content_wrap {
		display: none;
	}
	
	.dmg_search_options_table .option_control_label.subsection_heading {background: transparent;}
	.dmg_search_options_table .control_checkbox:checked + .option_control_label.subsection_heading {background: transparent;}

	.dmg_search_options_table .option_control_label.subsection_heading {background: transparent;}

}



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

.dmg_results_table_row .dmg_results_listing {width: 100%; max-width: 400px; margin: 0 auto 15px; float: none;}
.dmg_results_listing_details {height: auto;}

.dmg_results_listing {width: 100%; margin: 0 0 20px;}

.dmg_column_contentInt .dmg_results_listing {width: 100%;}

}

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

#dmg_results_wrapper #qsearch_term_wrapper .dmg_layout_qsearch_term {width: 260px;}

.dmg_results_pagination_wrapper {height: auto; margin-top: 0;}
.dmg_results_pagination_wrapper p {width: 100%; margin: 5px 0; text-align: center; display: block; float: none;}

.dmg_results_pagination {width: 100%; margin: 0 auto; float: none; text-align: center;}
.dmg_results_pagination_wrapper a {float: none;}
}


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

.dmg_results_search_form  .dmg_results_form_share {padding: 0 !important;}

}


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

	/* .dmg_results_search_form  .dmg_results_form_share {display: none;} */

	.mls_global_search_limit p {font-size: 13px;}

	#dmg_results_wrapper {padding: 0;}

	.dmg_search_options_cell .checkbox_label {font-size: 14px;}
	#dmg_results_wrapper #qsearch_term_wrapper {width: 78%;}
	#dmg_results_wrapper #qsearch_term_wrapper .dmg_layout_qsearch_term {width: 98%; margin: 0 auto; font-size: 12px !important; float: none; display: block;}
	.dmg_option_control:checked + label + .dmg_select_wrap {display: none;}

	/* .dmg_results_search_form ul > .dmg_results_form_options {float: right} */


	#dmg_results_nav_areas + .dmg_results_nav_control {padding-right: 30px;}
	.dmg_results_filter ul {width: 98%}
	.dmg_results_filter ul li {padding: 0; font-size: 12px; }
	.dmg_results_filter ul li:last-child {float: right;}

	#dmg_results_wrapper .dmg_results_title {font-size: 24px;}

	#dmg_results_wrapper .dmg_results_search_form .dmg_results_filter ul {text-align: center;}
	.dmg_results_search_form .dmg_results_filter ul li {float: none;}
	.dmg_results_search_form .dmg_results_filter ul li:last-child {float: none;}

}


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

#dmg_results_wrapper #qsearch_term_wrapper {width: 60%;}

}



/* == Smartphones (portrait and landscape) =================================
============================================================================ */
@media only screen and (max-width: 710px) {
.dmg_results_share_wrapper img {height: 20px;}

.dmg_results_title {font-size: 24px;}

.dmg_results_pagination_total {line-height: 1em;}
.dmg_results_pagination_total span {display: block;}
.dmg_results_pagination .paginate_page:nth-child(5), .dmg_results_pagination .paginate_page:nth-child(6) {display: none;}
.dmg_results_form_more .dmg_select_display {padding-right: 27px;}
}

/* == Phone
============================================================================ */
@media only screen and (max-width: 660px) {
	.dmg_results_search, .dmg_results_search_form ul {height: auto;}

  	#dmg_results_wrapper #qsearch_term_wrapper {width: 100%; font-size: 16px !important; box-sizing: border-box;}

  	#dmg_results_wrapper #qsearch_term_wrapper .dmg_layout_qsearch_term {width: 100%; margin-bottom: 6px;}
  	.dmg_results_form_options {border-left: 0; clear: left;}
  	.dmg_results_search_form ul > li + .dmg_results_form_share {border-left: 0;}
  	
  	.dmg_listing_banner.ohouse_banner {font-size: 12px;}
}


.dmg_property_type {display: none;}

/**
 * This is an autofocus fix
 */
@media screen and (-webkit-min-device-pixel-ratio:0) and (max-device-width:1024px) {
    select:focus,
    textarea:focus,
    input:focus {
        font-size: 16px !important;
        background: #eee;
    }
}
@media screen and (-webkit-min-device-pixel-ratio:0) and (max-device-width:1024px) {
    select,
    textarea,
    input {
        font-size: 16px !important;
    }
}

/*
.dmg-controls{
	width:4em;
}
.dmg-controls button {
	width:3em;
	height:3em;
	border-bottom: 1px solid #CCC;
}

.dmg-controls button div i.fa {
	font-size:2em;
	
}

#customControlDraw{
	position: fixed;
	width:13em;
    transform: translate(-100%,-100%);
}

#customControlBoundary{
	position: fixed;
	width: 23em;
    transform: translate(-100%,-100%);
}

#customControlPOI{
	position: fixed;
	width: 23em;
    transform: translate(-100%,-100%);
}
*/

?>