/* HSI navigation around native Salient, Gravity Forms, and WPJobBoard content. */
body.hsi-legacy-page #header-outer,
body.hsi-legacy-page #header-space,
body.hsi-legacy-page #footer-outer,
body.hsi-legacy-page #slide-out-widget-area-bg,
body.hsi-legacy-page #slide-out-widget-area {
    display: none !important;
}

body.hsi-legacy-page #ajax-content-wrap {
    overflow: visible !important;
}

body.hsi-legacy-page .hsi-legacy-chrome {
    isolation: auto;
}

body.hsi-legacy-page .hsi-legacy-header {
    position: relative;
    z-index: 100;
}

body.hsi-legacy-page .hsi-legacy-skip-target {
    display: block;
    height: 0;
    margin: 0;
    padding: 0;
    scroll-margin-top: 0;
}

body.hsi-legacy-page .hsi-legacy-skip-target:focus {
    outline: 3px solid #bd8500;
    outline-offset: 0;
}

body.hsi-legacy-page.hsi-dock-ready #to-top {
    display: none !important;
}

body.hsi-legacy-page.hsi-dock-ready .hsi-legacy-footer .hsi-footer {
    padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px));
}

body.hsi-legacy-page.hsi-dock-ready .cookieadmin_re_consent {
    bottom: calc(94px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 8000 !important;
}

body.hsi-legacy-page:has(.hsi-menu-toggle[aria-expanded=true], #hsi-dock-toggle[aria-expanded=true]) .cookieadmin_re_consent {
    display: none !important;
}
