/* F5 Fest static rebuild: small additions on top of the original page CSS */
html.f5-menu-open, html.f5-menu-open body { overflow: hidden; }
video[data-src] { transition: opacity .6s ease; }

/* photo galleries */
.f5-gallery { position: relative; width: 100%; height: 100%; overflow: hidden; }
.f5-gallery-track { position: absolute; inset: 0; }
.f5-gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.f5-slideshow .f5-gallery-item { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.f5-slideshow .f5-gallery-item.on { opacity: 1; pointer-events: auto; }
.f5-slider .f5-gallery-track { display: flex; gap: calc(var(--imageMargin, 10) * 1px); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.f5-slider .f5-gallery-track::-webkit-scrollbar { display: none; }
.f5-slider .f5-gallery-item { flex: 0 0 auto; height: 100%; aspect-ratio: var(--f5-ratio, 1.7778); scroll-snap-align: start; }
.f5-gallery button { position: absolute; top: 50%; width: 44px; height: 60px; margin-top: -30px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; transition: opacity .2s ease; }
.f5-gallery button svg { width: calc(var(--arrowsSize, 18) * 1px); height: auto; fill: #fff; filter: drop-shadow(0 0 2px rgba(0, 0, 0, .6)); }
.f5-gallery-prev { left: 12px; }
.f5-gallery-prev svg { transform: scaleX(-1); }
.f5-gallery-next { right: 12px; }
.f5-gallery button[hidden] { display: none; }
.f5-gallery button:hover { opacity: .7; }
