.dmg_internal_subarea_search #dmg_layout_internal-page {
    padding: 40px 30px !important;
}

.dmg_internal_subarea_search #dmg_layout_internal #dmg_results_wrapper .dmg_results_title {
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 90%;
    margin: 0 0 30px 0;
}

@media only screen and (max-width: 786px) {
    .dmg_internal_subarea_search #dmg_layout_internal #dmg_results_wrapper .dmg_results_title {
        text-align: left;
    }
}

@media only screen and (max-width: 767px) {
    .dmg_internal_subarea_search #dmg_layout_internal #dmg_results_wrapper .dmg_results_title {
        font-size: 34px;
        line-height: 38px;
    }
}

#dmg_layout_internal #dmg_results_wrapper .dmg_results_title + .dmg_results_title {
    display: none;
}

.dmg_internal_subarea_mapsearch #dmg_layout_internal #dmg_results_wrapper .dmg_results_title {
    display: none;
}

.dmg_results_table_box {
    padding: 50px 0;
}

.dmg_results_search {
    background: none;
    box-sizing: border-box;
    display: block;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    position: relative;
}

.dmg_internal_subarea_mapsearch .dmg_results_search {
    max-width: 100%;
    padding: 0 0 30px;
}

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

.dmg_results_search:before {
    content: "";
    display: block;
    margin-bottom: 30px;
    margin-left: 50%;
    transform: translateX(-50%);
    width: 100vw;
}

.dmg_results_search_form ul > li,
.results_nav_save, a.dmg_results_share_wrapper {
    padding: 0 15px !important;
}

.dmg_results_search_form ul > li,
.dmg_results_search_form ul > li a {
    color: #6d6d6d;
    font-feature-settings: 'liga' off;
    font-size: 15px;
    font-variant-numeric: lining-nums proportional-nums;
    line-height: 18px;
}

.dmg_results_search_form ul > li.dmg_results_form_save {
    padding: 0 !important;
}

.dmg_results_form_listtype {
    min-width: initial;
    width: auto !important;
}

.nav-inrix-icon i, .dmg_results_share_wrapper i {
    color: #6d6d6d !important;
    font-weight: 300;
}

.dmg_results_search_form {
    background: none;
    border-bottom: none;
    border-top: none;
    padding: 0;
}

.dmg_ltype_section_heading {
    color: #fff;
}

.dmg_ltype_section + .dmg_ltype_section_heading, .dmg_ltype_section + .dmg_ltype_section {
    border-top: 1px solid var(--color--primary-light);
}

.checkbox_label input[type="checkbox"] + span,
.subsection_control + .checkbox_label span:first-child,
#search_options_upcoming_open + .checkbox_label span:first-child {
    cursor: pointer;
}


.dmg_select_display .display_label {
    color: #6d6d6d;
}

.dmg_option_content .dmg_select_display .display_label {
    color: #000;
}

.dmg_results_search_form .search-bar-top > li .dmg_results_nav_control,
.dmg_results_search_form .search-bar-top > li .dmg_select_display {
	background-color: #fff !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cg opacity='0.4'%3E%3Cpath d='M9.99857 10.9763L14.1234 6.85156L15.3019 8.03007L9.99857 13.3334L4.69531 8.03007L5.87382 6.85156L9.99857 10.9763Z' fill='%23044439'/%3E%3C/g%3E%3C/svg%3E") !important;
	background-position: right 12px center !important;
	background-repeat: no-repeat !important;
	background-size: 20px !important;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: var(--font-size);
    height: auto;
    line-height: var(--line-height);
    padding: 12px;
    padding-right: 44px;
    text-transform: capitalize;
}

.content_check:checked + .dmg_results_nav_control + .dmg_results_control_content {
    color: #fff;
    left: 0;
}

.content_check:checked + .dmg_results_nav_control + .dmg_results_control_content {
    background: var(--color--primary);
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 10px;
}

.dmg_internal_subarea_mapsearch .dmg_results_search_form {
    padding: 0 30px;
}

.dmg_results_search_form ul > li {
    height: auto !important;
    width: auto !important;
}

.search-bar-top .dmg_select_display {
    height: auto !important;
    width: auto !important;
}

.dmg_results_search_form ul > li:hover {
    background: none;
    color: #000
}

.dmg_results_search_form ul > li + li {
    border-left: none;
}

#dmg_results_wrapper #qsearch_term_wrapper .dmg_layout_qsearch_term {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: var(--font-family);
    font-size: var(--font-size) !important;
    height: auto;
    line-height: var(--line-height);
    padding: 12px;
}

#dmg_results_wrapper #qsearch_term_wrapper .dmg_layout_qsearch_term::placeholder {
    color: rgba(4, 68, 57, 0.5);
}

@media only screen and (max-width: 660px) {
    #dmg_results_wrapper .dmg_results_search_form ul {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
    }

    .dmg_results_search_form ul.search-bar-top > li {
        box-sizing: border-box;
        margin: 0 0 20px;
        width: 100% !important;
    }

    .dmg_results_search_form ul.search-bar-top > li.dmg_results_form_lifestyle,
    .dmg_results_search_form ul.search-bar-top > li.dmg_results_form_options {
        flex: 1;
        margin-bottom: 0;
        width: auto !important;
    }

    .dmg_results_search_form ul.search-bar-top > li.dmg_results_form_save {
        margin-bottom: 0;
        margin-left: 15px;
        width: 32px !important;
    }

    #local-search {
        width: 320px;
    }
}

.dmg_select_display, .dmg_results_nav_control {
    background: none;
    padding-right: 0;
}

.dmg_results_filter {
    background-color: #fff;
    box-sizing: border-box;
    display: block;
    height: auto;
    margin: 0;
    padding: 30px 0 0;
}

.dmg_results_filter:after {
    border-bottom: 1px solid rgba(4, 68, 57, 0.2);
    clear: both;
    content: "";
    display: block;
    margin-left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

#dmg_results_wrapper {
    padding: 0;
}

#dmg_results_wrapper .dmg_results_filter ul {
    margin: 0 -15px 30px !important;
}

@media only screen and (max-width: 920px) {
    #dmg_results_wrapper .dmg_results_filter ul {
        margin: 0 -15px 30px !important;
    }
}

.dmg_results_filter ul > li {
    padding: 0 15px;
}

.results-btn {
    background: none;
    border-radius: 0;
    color: var(--color--primary);
    font-feature-settings: 'liga' off;
    font-size: 15px;
    font-variant-numeric: lining-nums proportional-nums;
    line-height: 18px;
    text-transform: capitalize;
}

.results-btn i {
    margin-right: 5px;
}

.results-btn.btn-active {
    background-color: var(--color--primary);
}

.dmg_results_filter .dmg_select_display {
    background: none;
    border-radius: 0;;
    padding: 0;
}

#dmg_result_view + .dmg_select_display,
#sort_by + .dmg_select_display {
    color: #003155;
    font-feature-settings: 'liga' off;
    font-size: 15px;
    font-variant-numeric: lining-nums proportional-nums;
    text-transform: capitalize;
}

.dmg_results_pagination_wrapper {
    font-family: var(--font-family--heading);
    height: auto;
    line-height: 1;
    margin: 5px 0 20px;
    padding-right: 10px;
}

.dmg_results_pagination_wrapper p {
    color: var(--color--primary);
    font-variant-numeric: lining-nums proportional-nums;
    font-size: 18px;
    line-height: 1;
    text-align: right;
}

@media only screen and (max-width: 530px) {
    .dmg_results_pagination_wrapper p {
        margin: 0 0 20px;
        text-align: center;
    }
}

.dmg_results_pageNumbers a {
    background: none;
    color: #767676;
    font-size: 18px;
    font-variant-numeric: lining-nums proportional-nums;
    height: auto;
    line-height: 1;
    margin: 0 2.5px !important;
    width: auto;
}

.dmg_results_pageNumbers .dmg_results_pageNumbersActive {
    background: none;
    color: #000
}

.dmg_results_pageNumbers a:hover {
    background: none;
    color: #000
}

.dmg_results_firstPageActive,
.dmg_results_previousPageActive,
.dmg_results_nextPageActive,
.dmg_results_lastPageActive {
    background: none;
    font-size: 0;
    font-variant-numeric: lining-nums proportional-nums;
    height: auto;
    line-height: 1;
    margin: 0 5px;
    width: auto;
}

.dmg_results_firstPageActive:after,
.dmg_results_previousPageActive:after,
.dmg_results_nextPageActive:after,
.dmg_results_lastPageActive:after {
    font-size: 18px;
}

.dmg_results_firstPageActive:after {
    content: '\0000AB';
}

.dmg_results_previousPageActive:after {
    content: '\002039';
}

.dmg_results_nextPageActive:after {
    content: '\00203A';
}

.dmg_results_lastPageActive:after {
    content: '\00BB';
}

.dmg_results_flex {
    box-sizing: border-box;
    display: grid;
    column-gap: 30px;
    grid-template-columns: repeat(1, 1fr);
    margin-left: auto;
    margin-right: auto;
    min-height: 0;
    min-width: 0;
    padding: 0;
    position: relative;
    row-gap: 30px;
}

@media (min-width: 544px) {
	.dmg_results_flex {
        grid-template-columns: repeat(2, minmax(0,1fr));
		row-gap: 60px;
	}
}

@media (min-width: 992px) {
	.dmg_results_flex {
		grid-template-columns: repeat(3, minmax(0,1fr));
	}
}

.dmg_results_listing {
    background: none;
    margin: 0;
    width: 100%;
}

#dmg_results_wrapper .dmg_map_sidebar .dmg_results_filter ul {
    padding-left: 0 !important;
    margin-left: 15px !important;
}

.dmg_results_table {
    overflow: auto;
    padding: 0 30px;
}

.dmg_results_table_row {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(1, 1fr);
    margin: 0 0 60px;
    padding: 0;
}

.dmg_results_table_row + .dmg_results_table_row {
    margin-top: 0;
}

@media screen and (min-width: 1201px) {
    .dmg_results_table_row {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

.dmg_results_table_row .dmg_results_listing {
    border: none;
    margin: 0;
    width: 100%;
}

.div_results_footer {
    background-color: #fff;
    box-sizing: border-box;
    display: block;
    height: auto;
    margin: 0;
    padding: 0 30px 50px;
}

.dmg_internal_subarea_search .div_results_footer:before {
    clear: both;
    content: "";
    display: block;
    margin-left: 50%;
    transform: translateX(-50%);
    width: 100vw;
}

.dmg_results_perpage_wrapper {
    display: none;
}

.dmg_internal_subarea_search .dmg_search_options {
    margin-left: 20px;
    margin-right: 20px;
    width: calc(100% - 40px);
}

.dmg_internal_subarea_mapsearch .dmg_search_options {
    left: 0;
    margin-top: 21px;
}

.dmg_map_sidebar .dmg_results_filter {
    margin: 0 -30px 30px;
    padding-left: 0;
    padding-right: 0;
    width: calc(100% + 60px);
}

.dmg_results_pagination_total {
    color: var(--color--primary);
    font-family: var(--font-family--heading);
    font-size: 18px;
    font-variant-numeric: lining-nums proportional-nums;
    margin: 0 0 20px !important;
}

.dmg_results_map_wrapper {
    border-top: 1px solid rgba(4, 68, 57, 0.2);    
    display: flex;
    height: 100%;
}

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

.dmg_results_listing_details {
    display: flex;
    flex-direction: column;
    padding: 20px 0 0;
}

.dmg_results_table {
    width: 700px;
}

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

.dmg_results_table_row {
    clear: both;
}

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

@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_photo_controls {
    z-index: 1;
}

.dmg_listing_save {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1;
}

.dmg_listing_save svg path {
    fill: rgba(4, 68, 57, 0.2);
}

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

.dmg_listing_mlslogo.company img {
    max-width: 130px;
}

.dmg_listing_mlslogo {
    text-align: left;
    margin-top: 8px;
    display: block;
}

.dmg_listing_mlslogo .mls-name {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 12px;
}

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

.listing-status .checkbox_label:after {
    content: '';
    display: block;
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    left: 22px;
    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 {
    display: inline;
    opacity: 0;
}

#dmg_results_wrapper .dmg_listing_gallery a:link {
    display: none;
}

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

.dmg_listing_banner.new {
    background-color: #000
    color: #fff;
    width: auto;
}

.dmg_listing_banner,
.dmg_listing_banner.ohouse_banner,
.dmg_listing_banner.featured_banner,
.dmg_listing_banner.featured_banner_shown,
.dmg_listing_banner.pending_banner,
.dmg_listing_banner.comingsoon_banner,
.dmg_listing_banner.video_banner,
.dmg_listing_banner.luxury_banner {
    background-color: var(--color--primary);
    color: #fff;
    width: auto;
}

.dmg_listing_banner.featured_banner {
    display: none;
}

.dmg_listing_banner.ohouse_banner {
    background-color: rgba(253, 217, 0, 0.8);
    color: #0d3a57;
}

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

.dmg_listing_address {
    color: var(--color--primary);
    font-size: 20px;
    font-variant-numeric: lining-nums proportional-nums;
    line-height: 24px;
    text-transform: none;
    text-transform: none;
    white-space: normal;
    text-overflow: initial;
    margin-right: 38px;
}


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

.dmg_listing_banner {    
    display: inline-flex;
    font-feature-settings: 'liga' off;
    font-variant-numeric: lining-nums proportional-nums;
    font-size: 15px;
    height: auto;
    line-height: 18px;
    padding: 10px;
    text-transform: uppercase;
}

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

#dmg_results_wrapper .dmg_results_search_form ul {
    margin: 0 -15px !important;
    width: calc(100% + 30px);
}

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

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

@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_form_areas {
    display: none;
}

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


.dmg_results_listing .dmg_listing_price {
    align-items: center;
    color: var(--color--primary);
    display: flex;
    font-feature-settings: 'liga' off;
    font-size: 15px;
    font-variant-numeric: lining-nums proportional-nums;
    line-height: 18px;
    margin-top: 10px;
    overflow: visible;
    text-transform: uppercase;
}

.dmg_results_listing .price-previous {
    display: none;
}

.dmg_results_listing .dmg_listing_price .price-change {
    color: #000
    display: inline-flex;
    margin-left: 5px;
}

.dmg_results_listing .request_information {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: block;
    border: none;
    background: transparent;
    border-radius: 0;
    color: #002168;
    padding: 0;
    cursor: pointer;
    color: var(--color--primary);
    font-size: 15px;
    line-height: 18px;
    text-decoration-line: underline;
}

.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;
    margin: 8px 0 0;
}

.dmg_results_listing .dmg_listing_amen_item {
    color: #767676;
    font-feature-settings: 'liga' off;
    font-size: 13px;
    font-variant-numeric: lining-nums proportional-nums;
    line-height: 18px;
    margin: 0;
    padding: 0;
    padding-right: 20px;
    text-transform: uppercase;
    width: auto;
}


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

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

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

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

.dmg_listing_details_bg {
    background: #fff;
}


.dmg_listing_save:hover svg path,
.dmg_listing_save.saved_listing svg path {
    fill: red;
}

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



}

#dmg_request_information_form legend {
    display: none;
}

#dmg_request_information_form ul {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 40px -10px 0;
    padding: 0;
}

#dmg_request_information_form li {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    margin-bottom: 30px;
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
}

#dmg_request_information_form li:last-child {
    margin-bottom: 0;
}

@media only screen and (min-width: 768px) {
    #dmg_request_information_form li:nth-child(-n+7) {
        width: 50%;
    }

    #dmg_request_information_form li:nth-child(7) {
        margin-right: 50%;
    }
}

#dmg_request_information_form label {
    color: #767676;
    font-feature-settings: 'liga' off;
    font-size: 15px;
    font-variant-numeric: lining-nums proportional-nums;
    line-height: 18px;
    text-transform: uppercase;
    width: 100%;
}

#dmg_request_information_form input[type="text"],
#dmg_request_information_form input[type="email"],
#dmg_request_information_form input[type="tel"],
#dmg_request_information_form textarea {
    background-color: #fff;
    border: none;
    border-bottom: 1px solid rgba(4, 68, 57, 0.2);
    color: #000;
    font-feature-settings: 'liga' off;
    font-size: 15px;
    font-variant-numeric: lining-nums proportional-nums;
    line-height: 18px;
    padding: 0 0 12px;
    width: 100%;
}

#dmg_request_information_form input[type="text"]::placeholder,
#dmg_request_information_form input[type="email"]::placeholder,
#dmg_request_information_form input[type="tel"]::placeholder,
#dmg_request_information_form textarea::placeholder {
    color: #767676;
    text-transform: uppercase;
}

#dmg_request_information_form input[type="text"]:focus,
#dmg_request_information_form input[type="email"]:focus,
#dmg_request_information_form input[type="tel"]:focus,
#dmg_request_information_form textarea:focus {
    border-bottom-color: var(--color--primary);
    outline: 0;
}

#dmg_request_information_form button[type="submit"] {
    border: 1px solid #000
    background-color: #fff;
    color: #000
    cursor: pointer;
    font-size: 14px;
    padding: 8px 12px;
    text-align: center;
    text-transform: uppercase;
}

#dmg_request_information_form button[type="submit"]:hover {
    background-color: #000
    color: #000;
}

.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: rgba(118, 118, 118, 0.35);
}

#modal-form-desc {
    color: var(--color--primary);
    font-size: 15px;
    line-height: 24px;
    margin: 0;
}

/* Modal Content */
.css-modal-content {
    box-sizing: border-box;
    position: relative;
    background-color: #fff;
    margin: auto;
    padding: 60px;
    border: 0;
    width: 100%;
    max-width: 800px;
   	min-height: 300px;
    animation-name: animatetop;
    animation-duration: 0.4s;
    overflow: hidden;
}

@media only screen and (max-width: 767px) {
    .css-modal-content {
        padding: 60px 30px 30px;
    }
}

#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 {
    color: var(--color--primary);
    display: inline-flex;
    font-size: 30px;
    font-variant-numeric: lining-nums proportional-nums;
    line-height: 42px;
}

.modal-body {
    min-height: 280px;
}

#modal_information .myclose {
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M18 6L6 18' stroke='%23767676' stroke-linecap='square' stroke-linejoin='round'/%3E%3Cpath d='M6 6L18 18' stroke='%23767676' stroke-linecap='square' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px;
    float: none;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
    padding: 0;
    font-size: 0;
}

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

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

.preferred_communication {
    margin-top: 10px;
    background-color: #fff;
    border: none;
    border: 1px solid rgba(4, 68, 57, 0.2);
    color: #000;
    font-feature-settings: 'liga' off;
    font-size: 15px;
    font-variant-numeric: lining-nums proportional-nums;
    line-height: 18px;
    padding: 12px;
    width: 100%;
}

.preferred_communication:focus {
    border-color: var(--color--primary);
    outline: 0;
}

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

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

label.close_dmg_results_nav {
    color: #fff;
}

.ll-match-score .ll-tooltip, .ll-fake-match-score .ll-tooltip {
    top: -115px;
    left: -178px;
    width: 200px;
}

.ll-grid-score {
    box-shadow: none;
}

.ll-category-title {
    color: var(--color--primary-text);
}

#dmg_control_form_options:checked + .dmg_results_search .dmg_results_form_options .dmg_results_nav_control {
    background: none;
}

.content_check:checked + .dmg_results_nav_control {
    background: none;
}

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