/* Shared keyboard focus for the Global, CMED, NHLRC, APC and LAI templates.
   Important declarations override legacy theme and widget outline resets.
   Keep a real outline: shadows alone disappear in Windows high contrast. */
html:root body :focus-visible {
    outline: 3px solid #005587 !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 6px #fff !important;
}

/* Draw inside controls whose cards, pagers or media widgets clip overflow. */
html:root body .pagination0 a:focus-visible,
html:root body .simplePagerPage1 a:focus-visible,
html:root body .breadcrumbs a:focus-visible,
html:root body .breadCrumbs a:focus-visible,
html:root body .slider-frame a:focus-visible,
html:root body .videoRow a:focus-visible,
html:root body .jwplayer :focus-visible,
html:root body .rsArrow:focus-visible,
html:root body .rsBullet:focus-visible,
html:root body .flex-direction-nav a:focus-visible,
html:root body .slicknav_nav a:focus-visible {
    outline-offset: -3px !important;
    box-shadow: inset 0 0 0 6px #fff !important;
}

/* An inline image link's text line box may be much smaller than its image. */
html:root body a:focus-visible > img:only-child {
    outline: 3px solid #005587 !important;
    outline-offset: -3px !important;
}

@media (forced-colors: active) {
    html:root body :focus-visible,
    html:root body a:focus-visible > img:only-child {
        outline-color: Highlight !important;
        box-shadow: none !important;
    }
}

/* Older browsers that support @supports but not :focus-visible. */
@supports not selector(:focus-visible) {
    html:root body :focus {
        outline: 3px solid #005587 !important;
        outline-offset: -3px !important;
        box-shadow: inset 0 0 0 6px #fff !important;
    }

    @media (forced-colors: active) {
        html:root body :focus {
            outline-color: Highlight !important;
            box-shadow: none !important;
        }
    }
}
