/* Minimal additions required by localization and the dependency-free gallery. */
.loader[hidden] { display: none; }

.reveal {
  opacity: 0;
  transform: translateY(20px) scale(.9);
  transition: opacity 1.5s linear .4s, transform 1.5s linear .4s;
}

.is-ready .reveal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.language-switcher {
  position: fixed;
  z-index: 1100;
  top: 18px;
  left: 20px;
}

.language-switcher select {
  padding: 6px 30px 6px 10px;
  color: #fff;
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-size: 12px;
  background: rgba(0, 0, 0, .3);
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 0;
}

.language-switcher option {
  color: #333;
  background: #fff;
}

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

#page-fss canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.navbar-button:focus-visible,
.btn:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.gallery button {
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  cursor: zoom-in;
}

.gallery img { width: 100%; }

#lightbox {
  width: min(94vw, 1000px);
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
}

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

#lightbox img {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  margin: auto;
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  color: #fff;
  font-size: 38px;
  line-height: 1;
  background: none;
  border: 0;
  cursor: pointer;
}

@media only screen and (max-width: 767px) {
  .language-switcher {
    top: 10px;
    left: 12px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
