/* The saved homepage search uses a negative margin that must not apply to inner pages. */
body:not(.home) #searchfrms {
    clear: both;
    position: relative;
    z-index: 6;
}

body:not(.home) #front_page_form_container {
    position: relative;
    margin-top: 0 !important;
    padding-top: 24px;
    padding-bottom: 24px;
}

body:not(.home) #front_page_form_container .select-form {
    padding-top: 0 !important;
}

/* Keep configured maps; collapse only the empty container left by the missing integration. */
#loc_map:empty {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 767px) {
    body:not(.home) #front_page_form_container .select-form {
        width: 100%;
    }
    body:not(.home) #front_page_form_container .select-form .row > div {
        margin-bottom: 12px;
    }
    body:not(.home) #front_page_form_container .select-form .row > div:last-child {
        margin-bottom: 0;
    }
}
