/* Static compatibility and local interaction layer. The original visual theme
   lives in original-theme.css. Make future design/animation adjustments here. */
[hidden] {
  display: none !important;
}
html {
  scroll-padding-top: 110px;
}

/* Balance the space around the footer legal-link divider. */
#colophon #menu-legal.divide-x > li + li {
  padding-inline-start: 8px;
}
body.local-scroll-lock {
  overflow: hidden;
}
:focus-visible {
  outline: 3px solid #e9aa41;
  outline-offset: 4px;
}
.local-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: -0.125em;
}
.local-icon.fa-4x {
  font-size: 4em;
}
.header {
  isolation: isolate;
}
.header.header-scrolled {
  background-color: #41557d;
}
#off-canvas-menu .dropdown-menu {
  display: none;
}
#off-canvas-menu .local-submenu-open > .dropdown-menu {
  display: block;
}
#overlay {
  z-index: -1;
}
.local-menu-back {
  display: flex;
  padding: 12px 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #062b40;
}
.local-menu-overview {
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
  margin-bottom: 8px;
}
@media (min-width: 1280px) {
  .local-menu-back-item,
  .local-menu-overview {
    display: none;
  }
}
@media (max-width: 1279px) {
  #off-canvas-menu {
    max-width: calc(100vw - 40px);
    height: 100dvh;
    z-index: 102;
  }
  #off-canvas-menu .dropdown-menu {
    top: 0;
    min-height: 100%;
    height: 100%;
    border-radius: 0;
  }
  #off-canvas-menu .local-submenu-open > .dropdown-menu {
    z-index: 120;
  }
  .mmenu-open .header {
    z-index: 110;
  }
  #overlay {
    z-index: 101;
  }
}
.accordion-content {
  overflow: hidden;
}
.local-accordion-open .accordion-content {
  height: auto !important;
}
.local-accordion-open .accordion-header svg {
  transform: rotate(180deg);
}
.local-filter-panel {
  max-width: calc(100vw - 64px);
  max-height: 70vh;
  overflow-y: auto;
}
.local-filter-status {
  margin: 12px 0;
  font-size: 14px;
}
.local-filter-status:empty {
  margin: 0;
}
.local-dialog {
  position: fixed;
  inset: 0;
  z-index: 12000;
  padding: 48px 24px;
  background: rgb(0 0 0 / 85%);
  display: grid;
  place-items: center;
}
.local-dialog-card {
  position: relative;
  width: min(1100px, 95vw);
  max-height: 90vh;
  color: white;
}
.local-dialog-close {
  position: absolute;
  right: 0;
  top: -42px;
  font-size: 36px;
  width: 40px;
  height: 40px;
  line-height: 1;
  color: white;
}
.local-video-content {
  background: #000;
  min-height: 100px;
}
.local-video-content iframe,
.local-video-content video {
  display: block;
  width: 100%;
  max-height: 80vh;
  aspect-ratio: 16 / 9;
  border: 0;
}
.lity-video,
[data-modal-open] {
  cursor: pointer;
}
.local-form-notice {
  font-size: 13px !important;
  margin: 14px 0 0;
  opacity: 0.85;
}
.local-form-response {
  font-size: 15px !important;
  margin: 12px 0 0;
  font-weight: 600;
}
.local-form-response:empty {
  display: none;
}
.gform_validation_container {
  position: absolute !important;
  left: -10000px !important;
  display: none !important;
}
.local-chat-button {
  position: fixed;
  z-index: 100;
  bottom: 20px;
  right: 20px;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4bc41, #ef9e25);
  color: #fff;
  box-shadow: 0 3px 12px #0003;
}
.local-utility-panel {
  position: fixed;
  z-index: 11000;
  right: 20px;
  bottom: 85px;
  width: min(340px, calc(100vw - 32px));
  padding: 26px;
  border-radius: 12px;
  background: #fff;
  color: #163a4b;
  box-shadow: 0 6px 38px #0005;
  font-family: Arial, sans-serif;
  font-size: 16px;
}
.local-utility-panel h2 {
  margin: 0 24px 16px 0;
  font-family: inherit;
  font-size: 22px;
  line-height: 1.2;
  color: #163a4b;
}
.local-utility-panel p {
  font-family: inherit;
  margin: 12px 0;
  font-size: 16px;
  line-height: 1.5;
}
.local-utility-note {
  color: #4b606c;
}
.local-panel-close {
  position: absolute;
  right: 12px;
  top: 10px;
  font-size: 28px;
  line-height: 1;
  width: 30px;
  height: 30px;
}
.local-utility-action {
  display: inline-block;
  padding: 10px 16px;
  background: #073c51;
  color: white;
  border-radius: 4px;
  font-weight: bold;
}
.local-accessibility-button {
  position: fixed;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  padding: 10px;
  background: #2563eb;
  color: white;
  box-shadow: 0 2px 6px #0002;
}
.local-accessibility-button svg {
  width: 100%;
  height: 100%;
}
.local-accessibility-panel {
  right: auto;
  left: 15px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}
.local-accessibility-panel [data-access] {
  display: block;
  text-align: left;
  padding: 12px;
  margin-top: 8px;
  border: 1px solid #d5dce0;
  border-radius: 5px;
  width: 100%;
}
.local-accessibility-panel [aria-pressed="true"] {
  border-color: #2563eb;
  background: #edf3ff;
}
body.local-large-text p,
body.local-large-text .entry-content li {
  font-size: 1.2em;
}
body.local-high-contrast main,
body.local-high-contrast footer {
  filter: contrast(1.4);
}
body.local-reduce-motion *,
body.local-reduce-motion *::before,
body.local-reduce-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 575px) {
  .local-chat-button {
    display: none;
  }
  .local-filter-panel {
    flex-wrap: wrap;
  }
  .local-accessibility-button {
    width: 42px;
    height: 42px;
    left: 10px;
  }
}

/* Desktop header labels fill with gold from left to right on hover/focus. */
@media (min-width: 1280px) {
  @supports (background-clip: text) or (-webkit-background-clip: text) {
    #site-navigation #primary-menu > li:not(#menu-item-116) > a.menu-link {
      background-image: linear-gradient(90deg, #f4bc41 50%, #fff 50%);
      background-size: 200% 100%;
      background-position: 100% 0;
      background-repeat: no-repeat;
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      transition:
        background-position 360ms ease,
        color 360ms ease;
    }

    #site-navigation #primary-menu > li:not(#menu-item-116) > a.menu-link:hover,
    #site-navigation #primary-menu > li:not(#menu-item-116) > a.menu-link:focus-visible {
      background-position: 0 0;
      color: #f4bc41;
    }
  }
}
