/* Accessibility layer on top of the original 2015 styles. */

/* Visible keyboard focus on any background. */
:focus-visible {
  outline: 3px solid #243749 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 3px #fff !important;
}

/* Text contrast (WCAG 1.4.3, 4.5:1): closest passing shades of the original colours. */
.footer.bottom span,
.footer.bottom span a {
  color: #96a0ab;
}
.sm-colored p,
.sm-colored h2,
.sm-colored h3 {
  color: #16222e;
}

/* Pause/play for the looping header video (WCAG 2.2.2). */
.a11y-pause {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(36, 55, 73, 0.8);
  color: #fff;
  cursor: pointer;
}
.a11y-pause[hidden] {
  display: none;
}
.a11y-pause svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Privacy terms: the text scrolls inside the box, and the box fits small screens. */
.terms .contterms {
  height: auto;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}
.terms .contterms .terms_copy {
  height: auto;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
html.a11y-scroll-lock,
html.a11y-scroll-lock body {
  overflow: hidden;
}
