/*
Theme Name: The7 Child - FACHC Accessibility
Theme URI: 
Description: Child theme for dt-the7, created to isolate WCAG 2.1 AA remediation CSS/overrides from the parent theme so they survive future The7 updates.
Author: Brian Joseph Studios
Author URI: https://brianjosephstudios.com/
Template: dt-the7
Version: 1.0.3
Text Domain: the7-child-fachc
*/

/* ==========================================================================
   FACHC.org — WCAG 2.1 AA Accessibility Remediation Stylesheet
   Managed by Brian Joseph Studios. Do not edit the parent dt-the7 theme.
   All contrast, focus-state, and layout accessibility fixes live here.
   ========================================================================== */

/* --- Color contrast fixes ------------------------------------------------ */
/* Mega-menu hover/active gradients fade into #eeee22, which fails contrast
   against white menu text (~1.24:1). Replaced with a WCAG AA-safe gradient. */
.header-mega-menu .menu-item.active > a,
.header-mega-menu .menu-item:hover > a {
    background-image: linear-gradient(90deg, #1e73be 30%, #0076be 100%) !important;
}


.screen-reader-text {
   position: absolute;
   width: 1px;
   height: 1px;
   padding: 0;
   margin: -1px;
   overflow: hidden;
   clip: rect(0, 0, 0, 0);
   white-space: nowrap;
   border: 0;
}


/* --- Visible focus states ------------------------------------------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.ubtn:focus-visible {
    outline: 3px solid #0076be;
    outline-offset: 2px;
}

/* --- Skip link ------------------------------------------------------------ */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100000;
    background: #00035B;
    color: #ffffff;
    padding: 10px 16px;
}
.skip-link:focus {
    left: 8px;
    top: 8px;
}


#top-menu a {
   background: #0076be
}

.job_filters .search_jobs div label {
   position: absolute;
   width: 1px;
   height: 1px;
   padding: 0;
   margin: -1px;
   overflow: hidden;
   clip: rect(0, 0, 0, 0);
   white-space: nowrap;
   border: 0;
   display: block;
}

.job_types ul {
   list-style: none;
}

.gform_wrapper .ginput_complex label, .gform_wrapper .gfield_time_hour label, .gform_wrapper .gfield_time_minute label, .gform_wrapper .gfield_date_month label, .gform_wrapper .gfield_date_day label, .gform_wrapper .gfield_date_year label, .gform_wrapper .instruction {
   color: rgb(33 30 30 / 94%)!important;
}

#sidebar {
   padding-top:35px;
}
.sidebar .widget, .sidebar-content .widget, .elementor-widget-sidebar .widget {
   color:#211e1e!important;
}
.sidebar-content .widget:not(.widget_icl_lang_sel_widget) a:not(.elementor-button), .sidebar-content.solid-bg .widget:not(.widget_icl_lang_sel_widget) a:not(.elementor-button) * {
   background:#0076be!important;
 
}

.sidebar .soc-ico a:not(:hover) .soc-font-icon, .sidebar-content .soc-ico a:not(:hover) .soc-font-icon {
   color:#fff!important;
}


.carousel-pause-toggle {
   display: none;
   background: none;
   border: none;
   cursor: pointer;
   color: #333333;
   font-size: 16px;
   padding: 0 8px;
   vertical-align: middle;
}
.carousel-pause-toggle:focus {
   outline: 2px solid #0076BE;
   outline-offset: 2px;
}