/* Technische laag boven de bestaande opmaak. Geen kleuren, maten of indeling van de pagina. */

:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/open-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/open-sans-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  z-index: 10001;
  background: #fff;
  color: #1c7e1c;
  padding: 0.5rem 1rem;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
}

.skip-link:focus {
  top: 0.5rem;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #1c7e1c;
  outline-offset: 2px;
}

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

/* Zelfde diareeks als FlexSlider, zonder jQuery. */
.flexslider:not(.is-ready) .slides > li:first-child {
  display: block;
}

.flexslider.is-ready .slides {
  position: relative;
}

.flexslider.is-ready .slides > li {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.6s ease;
}

.flexslider.is-ready .slides > li.is-active {
  position: relative;
  opacity: 1;
  z-index: 2;
}

.cd-top:hover,
.cd-top:focus-visible {
  background-color: #e86256;
  opacity: 1;
}

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: none;
  max-height: none;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.88);
}

.lightbox img {
  display: block;
  max-width: 92vw;
  max-height: 90vh;
  width: auto;
  height: auto;
}

.lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* Klassen uit initiatieven.html, ongewijzigd overgenomen. */
.style1 {
  position: relative;
  min-height: 1px;
  float: left;
  width: 100%;
  text-align: center;
  padding-left: 15px;
  padding-right: 15px;
}

.style2 {
  margin-right: -15px;
  margin-left: -15px;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .flexslider.is-ready .slides > li {
    transition: none;
  }

  .cd-top {
    transition: none;
  }
}
