/* Only loaded in the section document, never on the containing homepage. */
html { margin-top: 0 !important; height: 100%; }
body.nexest-map-document { height: 100vh; margin: 0; padding: 0 !important; }
.nexest-map-document #all_wrapper { width: 100%; max-width: none; margin: 0; }
.nexest-map-document .content_wrapper { min-height: 0; padding: 0; margin: 0; }
.nexest-map-document .master_header { display: none !important; height: 0; }
.nexest-map-document #google_map_prop_list_sidebar > .single-content { display: none; }
@media (max-width: 767px) {
    .nexest-map-document #google_map_prop_list_sidebar { padding-bottom: 75px; }
}
#google_map_prop_list_sidebar {
    scrollbar-width: none;
}

#google_map_prop_list_sidebar::-webkit-scrollbar {
    display: none;
}

/* Nexest Advanced Search and embedded map: tablet/mobile only */
@media (max-width: 1024px) {
    body.page-id-10.wpresidence_half_map_body_class,
    body.nexest-map-document {
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
    }

    :is(body.page-id-10, body.nexest-map-document) :is(
        #all_wrapper,
        .wpresidence_main_wrapper_class,
        .content_wrapper,
        .wpestate_overlfow
    ) {
        min-width: 0;
        min-height: 0;
    }

    :is(body.page-id-10, body.nexest-map-document)
    #google_map_prop_list_sidebar {
        min-width: 0;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
    }

    :is(body.page-id-10, body.nexest-map-document)
    #google_map_prop_list_wrapper {
        min-width: 0;
        min-height: 0;
    }
}

@media (max-width: 767px) {
    :is(body.page-id-10, body.nexest-map-document)
    #google_map_prop_list_sidebar {
        padding-bottom: 75px;
    }

    :is(body.page-id-10, body.nexest-map-document)
    #google_map_prop_list_wrapper {
        height: 100% !important;
    }

    :is(body.page-id-10, body.nexest-map-document)
    #googleMap {
        min-height: 0 !important;
    }
        :is(body.page-id-10, body.nexest-map-document)
    #google_map_prop_list_sidebar {
        flex-shrink: 1;
    }
}