/* =========================================================
   ACCESSIBILITY OVERRIDES — nettogo.net
   Loaded after nettogo.css so these rules win.
   ========================================================= */

/* 1. Skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: #000;
    color: #fff;
    padding: 12px 20px;
    z-index: 10000;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 4px 0;
}
.skip-link:focus {
    left: 0;
    outline: 3px solid #ffeb8c;
}

/* 2. Screen-reader-only text */
.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;
}

/* 3. Visible focus indicators (nettogo.css doesn't define any) */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
    outline: 3px solid #0652A8 !important;
    outline-offset: 2px !important;
}
a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: 3px solid #0652A8;
    outline-offset: 2px;
}

/* 4. Nav contrast fix.
   #navigation li a is white text (#FFF), and #hcontainer's
   background is an IMAGE (topbg.jpg) with no explicit
   background-color behind the links in their resting
   state (only :hover/.active get one). Automated contrast
   tools generally only evaluate CSS background-color, not
   background images, so this reads as failing even though
   the real image is dark. Giving the links' container an
   explicit solid color removes the ambiguity either way. */
#navigation li a {
    background-color: #05294f;
}
#navigation li a:hover,
#navigation li a.active {
    background-color: #022855;
}

/* 5. Table used for certification badges (index.html) is a
   layout table, not real tabular data — mark it as
   presentational so screen readers don't announce
   row/column navigation for it. */
table[role="presentation"] {
    border-collapse: collapse;
}

/* 6. Slider Previous/Next controls converted from <a href="#">
   to real <button> elements (they don't navigate anywhere —
   href="#" was just a JS click-hook, which is the wrong
   element for a non-navigating action, and was also getting
   flagged as two links pointing to the same "destination").
   Restates the original anchor-based visual styling for the
   new button elements. */
button.previous, button.next {
    border: none;
    padding: 0;
    cursor: pointer;
    position: absolute;
    bottom: -55px;
    z-index: 600;
    text-indent: -99999px;
    height: 15px;
    display: block;
}
button.previous {
    right: 110px;
    width: 20px;
    background: url(../images/slider-arrow.png) bottom left no-repeat;
}
button.next {
    right: 0;
    width: 15px;
    background: url(../images/slider-arrow.png) bottom right no-repeat;
}
