/*----------  Media Query min-width Structure   ----------*/
/*----------  Media Query max-width Structure   ----------*/
/*----------  Break-point min-width Structure   ----------*/
/*----------  Break-point max-width Structure   ----------*/
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-section-separated .ast-below-header-actual-nav {
  display: block;
  position: relative;
  transform: none;
  overflow: initial;
}

.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-1 .ast-below-header-section-wrap .ast-justify-content-flex-end:first-child {
  padding-top: 0;
}

.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-actual-nav li,
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-menu-items li {
  display: inline-block;
  width: auto;
  float: right;
}

.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-actual-nav .menu-item-has-children > .ast-menu-toggle,
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-menu-items .menu-item-has-children > .ast-menu-toggle {
  left: 0;
  position: relative;
  top: 0;
  transition: all 0.2s linear;
  border-radius: 0;
}

.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-actual-nav .ast-below-header-menu > .menu-item-has-children > .ast-menu-toggle,
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-menu-items .ast-below-header-menu > .menu-item-has-children > .ast-menu-toggle {
  font-size: 0.8em;
}

.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-actual-nav ul li a,
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-menu-items .sub-menu .menu-item .menu-link {
  width: auto;
}

.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-menu .menu-item-has-children {
  -js-display: inline-flex;
  display: inline-flex;
}

.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-menu .menu-item.ast-sub-menu-goes-outside:hover > .sub-menu,
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-menu .menu-item.ast-sub-menu-goes-outside.focus > .sub-menu,
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-menu .sub-menu {
  position: absolute;
  right: 0;
  left: 0;
  width: 240px;
}

.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-menu .sub-menu .menu-item {
  position: relative;
}

.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-section-separated.ast-below-header-mobile-stack .below-header-section-1,
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-section-separated.ast-below-header-mobile-stack .below-header-section-2 {
  text-align: center;
}

.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-section-separated.ast-below-header-mobile-stack .below-header-section-1 .sub-menu,
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-section-separated.ast-below-header-mobile-stack .below-header-section-2 .sub-menu {
  text-align: right;
}

.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-menu > .menu-item-has-children > .menu-link {
  padding-left: 0;
}

.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-actual-nav .sub-menu .menu-item,
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-menu-items .sub-menu .menu-item {
  width: 100%;
  display: inline-block;
  position: relative;
  margin: 0;
}

.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-actual-nav .sub-menu .menu-item .menu-link,
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-menu-items .sub-menu .menu-item .menu-link {
  width: 100%;
}

.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-actual-nav .sub-menu .menu-item-has-children > .ast-menu-toggle,
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-menu-items .sub-menu .menu-item-has-children > .ast-menu-toggle {
  position: absolute;
  background: transparent;
}

.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-menu .sub-menu .sub-menu {
  position: relative;
  width: 100%;
}

.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-actual-nav .sub-menu .menu-item .menu-link:before,
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-actual-nav .sub-menu .menu-item .menu-item .menu-link:before,
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-actual-nav .sub-menu .menu-item .menu-item .menu-item .menu-link:before,
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-actual-nav .sub-menu .menu-item .menu-item .menu-item .menu-item .menu-link:before {
  content: "";
}

.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-menu .menu-item .menu-link,
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-menu > .menu-item-has-children > .menu-link,
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-section-separated .ast-below-header-menu,
.ast-header-break-point.ast-no-toggle-below-menu-enable.below-header-nav-padding-support .ast-below-header-menu .menu-item .menu-link,
.ast-header-break-point.ast-no-toggle-below-menu-enable.below-header-nav-padding-support .ast-below-header-menu .menu-item:first-child .menu-link,
.ast-header-break-point.ast-no-toggle-below-menu-enable.below-header-nav-padding-support .ast-below-header-menu .menu-item:last-child .menu-link,
.ast-header-break-point.ast-no-toggle-below-menu-enable.below-header-nav-padding-support .ast-justify-content-flex-end .ast-below-header-menu > .menu-item-has-children > .menu-link {
  border: none;
}

.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-navigation > .ast-below-header-menu > .menu-item:last-child,
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-navigation > ul > li:last-child,
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-navigation ul > li:first-child,
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-menu-items .sub-menu > .menu-item:first-child,
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-navigation ul li {
  border-style: solid;
}

.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-navigation ul ul ul li {
  border-right: 0;
  border-left: 0;
  border-bottom: 0;
}

.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header .ast-below-header-menu > .menu-item:last-child,
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-actual-nav ul > li:first-child,
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-menu-items .sub-menu > .menu-item:first-child {
  border-style: solid;
}

.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-actual-nav > .ast-below-header-menu > li:first-child {
  border-left: none;
}

.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-menu .sub-menu .menu-item,
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-menu .sub-menu .menu-item:last-child {
  border-bottom: 0;
}

.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-menu .sub-menu .menu-item {
  border-bottom: none;
}

.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-menu > .menu-item > .sub-menu .menu-item:last-child,
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-actual-nav .sub-menu .menu-item:last-child,
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-actual-nav ul ul li:last-child {
  border-style: solid;
}

.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-menu > .menu-item > .sub-menu .sub-menu .menu-item:last-child {
  border-bottom: none;
}

.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-actual-nav ul ul li {
  border-bottom: none;
}

.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-actual-nav .sub-menu .menu-item .menu-link:before,
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-actual-nav .sub-menu .menu-item .menu-item .menu-link:before,
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-actual-nav .sub-menu .menu-item .menu-item .menu-item .menu-link:before,
.ast-header-break-point.ast-no-toggle-below-menu-enable .ast-below-header-actual-nav .sub-menu .menu-item .menu-item .menu-item .menu-item .menu-link:before {
  content: "";
}


/* Focus Management Styles - WCAG 2.1 Compliance */
/* Added for keyboard accessibility and screen reader support */

/* Button Focus Styles */
.hvac-button:focus,
.hvac-content .button:focus,
.hvac-content button:focus,
.hvac-content input[type="submit"]:focus,
.hvac-email-submit:focus,
.hvac-filter-submit:focus,
.hvac-certificate-actions button:focus,
.hvac-certificate-actions a:focus {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(0, 95, 204, 0.2);
    border-radius: 4px;
}

/* Input Focus Styles */
.hvac-form-input:focus,
.hvac-content input[type="text"]:focus,
.hvac-content input[type="email"]:focus,
.hvac-content input[type="password"]:focus,
.hvac-content input[type="url"]:focus,
.hvac-content textarea:focus,
.hvac-content select:focus,
.hvac-email-form-row input:focus,
.hvac-email-form-row textarea:focus,
.hvac-filter-group input:focus,
.hvac-filter-group select:focus {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
    border-color: #005fcc;
    box-shadow: 0 0 0 3px rgba(0, 95, 204, 0.2);
}

/* Link Focus Styles */
.hvac-content a:focus,
.hvac-event-link:focus,
.hvac-certificate-link:focus,
.hvac-attendee-profile-icon:focus,
.hvac-dashboard-nav a:focus,
.hvac-email-navigation a:focus {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
    text-decoration: underline;
    background-color: rgba(0, 95, 204, 0.1);
    border-radius: 2px;
}

/* Interactive Element Focus Styles */
.hvac-attendee-checkbox:focus,
.hvac-select-all-container input[type="checkbox"]:focus,
.hvac-modal-close:focus,
.hvac-certificate-table tr:focus {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(0, 95, 204, 0.2);
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .hvac-content *:focus {
        outline: 3px solid #000000;
        outline-offset: 2px;
        background-color: #ffff00;
        color: #000000;
    }
}

/* Focus-visible polyfill support */

/* Reset focus for mouse users while preserving keyboard accessibility */
.js-focus-visible :focus:not(.focus-visible) {
    outline: none;
    box-shadow: none;
}

/* Ensure focus is visible for keyboard users */
.js-focus-visible .focus-visible {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
}
