/* ============================================================================
   cpf.wefitgroup.com - accessibility styles (2026-11-16, website audit)
   Loaded by incl/incl_meta.cfm after the shared stylesheet (formation's custom.min.css), which stays untouched.
   ============================================================================ */

/* Skip link: first focusable element of every page (incl/incl_header.cfm), off-screen until it gets the focus */
.skip_link{
  position:fixed;
  top:-200px;
  left:8px;
  z-index:2000;
  padding:.6rem 1.1rem;
  background:#FFF;
  color:#06042A !important;
  font-weight:700;
  text-decoration:none;
  border-radius:0 0 .5rem .5rem;
}
.skip_link:focus{
  top:0;
}
#main_content:focus{
  outline:0;
}

/* Keyboard focus ring. :focus-visible only, so nothing changes for mouse users. Two tones (white inside, navy
   outside): one of the two always shows, on the white pages as on the dark banners. Text fields keep Bootstrap's
   own focus glow. */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[role="button"]:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible,
input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible{
  outline:3px solid #FFF !important;
  outline-offset:1px;
  box-shadow:0 0 0 7px #06042A !important;
}

/* Heading looks, detached from the tag. The shared stylesheet forces h1 to 34px and h5 to 16px; an element that
   takes another tag for the sake of the outline keeps that look with Bootstrap's .h1 / .h5 class plus these:
       <h3 class="h5 as_h5">   = an h3 that looks like the former <h5>
   (.h2, .h3, .h4, .h6 need nothing more than the Bootstrap class.) */
.as_h1{
  font-size:34px !important;
}
.as_h5{
  font-size:16px !important;
}

/* Reduced motion: no entrance animation for a visitor whose system asks for less motion */
@media (prefers-reduced-motion: reduce){
  .animate__animated{
    animation:none !important;
  }
}
