
/* to display ListAssist match banner on property image */
/* .dmg_listing_match_banner {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
    background: var(--color--primary);
    padding: 4px;
    border-radius: 4px;
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 2;
} */

/* to display ListAssist match banner above property address */
.dmg_listing_match_banner {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
    background: var(--color--primary);
    padding: 4px;
    border-radius: 4px;
    display: inline-block;
    margin: 2px 0 8px;
}

.dmg_results_map_wrapper {
    height: 100%;
    display: table;
    display: flex;
}

.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_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;
    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_results_table_row .dmg_listings_mlsregs {
    padding-right: 100px;
}

.dmg_results_table_row .dmg_listings_mlsregs em {
    font-size: 13px;
}

.dmg_results_table_row .dmg_listing_mlslogo img {
    position: absolute;
    right: 0;
    bottom: 50%;
    transform: translateY(-50%);
    top: auto;
}

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

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

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

.dmg_listing_type {
    font-size: 15px;
}

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

.dmg_results_form_listtype {
    min-width: 130px;
}

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

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

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


.dmg_results_listing .dmg_listing_price {
    font-weight: bold;
}

.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 var(--color--primary);
    background: transparent;
    font-size: 16px;
    border-radius: 5px;
    color: var(--color--primary);
    padding: 5px 13px;
    cursor: pointer;
}

.dmg_results_listing .request_information:hover {
    color: #fff;
    background-color: var(--color--primary);
}

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

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


.dmg_listings_mlsregs {
    font-size: 14px;
}

.dmg_listings_mlsregs br {
    display: none;
}


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



/* == Phone
============================================================================ */

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

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