/* =========================================================
   Child Support ADA / WCAG Fixes (UPDATED - scoped links)
   ========================================================= */

/* ---------- Color tokens ---------- */
:root{
  --cs-link-blue: #267DAB;
  --cs-gray-text: #333333;
  --cs-heading-blue: #0d6e8c;
  --cs-footer-gray: #404040;
  --cs-focus-blue: #0186A2;
}

/* ---------- Screen reader only ---------- */
.sr-only{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

/* ---------- Skip link ---------- */
.skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left:10px;
  top:10px;
  width:auto;
  height:auto;
  padding:10px 14px;
  background:#ffffff;
  color:#000000;
  z-index:100000;
  text-decoration:none;
}

/* ---------- Global focus indicator ---------- */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex="0"]:focus{
  outline:5px solid var(--cs-focus-blue) !important;
  outline-offset:2px !important;
}

/* =========================================================
   LINKS (SCOPED) - do NOT change header/menu/slider tabs
   ========================================================= */

/* Underline links ONLY inside main content (content pages, search results, FAQs, etc.) */
#maincontent a{
  text-decoration: underline;
}

/* Do not force color changes anywhere (keep brand colors) */
#maincontent a:hover,
#maincontent a:focus{
  text-decoration: underline;
}

/* Explicitly keep header/nav/footer and slider tabs unmodified */
header a,
nav a,
#topbar a,
#mainav a,
#slide-tabs a,
footer a{
  text-decoration: none;
}

/* =========================================================
   Navigation dropdown readability
   ========================================================= */
#mainav ul ul{
  background: rgba(0,0,0,0.95) !important;
}
#mainav ul ul a{
  color:#ffffff !important;
  text-decoration:none !important;
}

/* =========================================================
   Slider / hero caption legibility (opacity only)
   - DO NOT alter slide tab styles or link colors
   ========================================================= */
#slider figure figcaption{
  background: rgba(255,255,255,0.92) !important;
}
#slider figure:hover figcaption,
#slider figure:focus-within figcaption{
  background:#ffffff !important;
}

/* =========================================================
   Headings + muted text contrast
   ========================================================= */
.headings2{
  color: #0d6e8c !important;
}

.small-gray,
.muted,
.text-muted,
.quickinfo,
.quickinfo li,
.quickinfo a{
  color: #333333 !important;
}
.quickinfo a:hover,
.quickinfo a:focus {
  color: #ffffff !important;
}
/* =========================================================
   Footer contrast
   ========================================================= */
#footer .footer-address,
#footer .footer-address p,
#footer .footer-contact,
#footer .footer-contact p{
  color: #404040 !important;
}

/* =========================================================
   Search overlay
   ========================================================= */
.overlay .closebtn{
  background:transparent;
  border:0;
}
.overlay .closebtn:focus{
  outline:5px solid var(--cs-focus-blue) !important;
  outline-offset:2px !important;
}

/* Ensure the search button isn't visually killed by generic button CSS */
.search-btn{
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   FAQ page
   ========================================================= */
/*.faq-category-nav{
  text-align:center;
  font-size:0.95rem;
  margin:0 0 1rem 0;
}
.faq-category-nav ul{
  list-style:none;
  margin:0;
  padding:0;
}
.faq-category-nav li{
  display:inline-block;
  margin:0 0.5rem;
}

.faq-group{
  margin:0;
  padding:0;
}

.faq-group .qa-set{
  margin:0 0 1rem 0;
  padding:0.75rem 1rem;
  border:1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.9);
}

.faq-group dt{
  margin:0 0 0.5rem 0;
  font-weight:700;
}

.faq-group dd{
  margin:0;
}
*/
.lb{
  display:inline-block;
  min-width:1.5rem;
  font-weight:700;
}

/* ---------- Forms ---------- */
label{
  font-weight:600;
}

.translate-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 12px auto 0;
  background: #ffffff;
  padding: 6px 10px;
  border-radius: 4px;
  width: fit-content;
}

/* Normalize Google gadget container */
.translate-wrap .goog-te-gadget {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0 !important; /* removes stray whitespace */
  line-height: normal !important;
}

/* Restore readable text inside gadget */
.translate-wrap .goog-te-gadget span,
.translate-wrap .goog-te-gadget a {
  font-size: 14px !important;
  line-height: 1.2 !important;
}

/* Dropdown styling */
.translate-wrap select.goog-te-combo {
  font-size: 14px !important;
  height: 34px !important;
  line-height: 34px !important;
  padding: 2px 8px !important;
  border: 1px solid #666 !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  color: #000000 !important;
  min-width: 180px;
}

/* Keyboard focus – county standard */
.translate-wrap select.goog-te-combo:focus-visible {
  outline: 3px solid #ff0;
  outline-offset: 2px;
}

/* Prevent Google banner from pushing page down */
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}
body {
  top: 0 !important;
}

/* Global link focus clarity */
a:focus-visible {
  text-decoration: underline !important;
}

ul li a, 
#searchOpenBtn {
    position: relative; 
    display: inline-block; 
 
}


ul li a::after, 
#searchOpenBtn::after {
    content: "";
    position: absolute;
   
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
   
    min-width: 44px;
    min-height: 44px;
    
   
    width: 100%;
    height: 100%;
    
   
}
