/* Horizon Mosaic - styles of the tile mosaics (replica of the former Slider Revolution modules).
   Sizes, positions and fonts of the layers are written per element by horizon-mosaic.js; this file holds the
   constant parts. Values are the measured ones of the original (rebuild/reports/horizon-mosaic.md). */
@font-face { font-family: 'hzm-icons-a'; src: url('hzm-icons-a.woff') format('woff'); font-weight: normal; font-style: normal; font-display: block; }
@font-face { font-family: 'hzm-icons-b'; src: url('hzm-icons-b.woff') format('woff'); font-weight: normal; font-style: normal; font-display: block; }

.hzm { position: relative; z-index: 1; width: 100%; display: block; visibility: hidden; background: transparent; padding: 0; margin: 0 auto; overflow: visible; color: #fff; }
.hzm, .hzm * { box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
.hzm-module { position: relative; overflow: hidden; display: block; left: 0; }
.hzm-ism .hzm-module { touch-action: manipulation; cursor: pointer; -webkit-user-select: none; user-select: none; }
.hzm-slides { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; }
.hzm-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; display: block; visibility: hidden; text-indent: 0; }
.hzm-gw { position: absolute; vertical-align: top; pointer-events: auto; }
.hzm-mask { position: absolute; display: block; overflow: hidden; transform-origin: 50% 50%; }
.hzm-lw { position: absolute; display: block; pointer-events: auto; }
/* as in the original on mouse devices (keeps the text rasterisation the same) */
.hzm:not(.hzm-ism) .hzm-gw, .hzm:not(.hzm-ism) .hzm-lw { perspective: 601px; }
.hzm-lw { -webkit-backface-visibility: hidden; backface-visibility: hidden; transform-style: preserve-3d; }
.hzm .hzm-layer { position: relative; display: block; margin: 0; min-height: 0; min-width: 0; max-height: none; max-width: none; color: #fff; text-decoration: none; -webkit-user-select: none; user-select: none; outline: none; transform-origin: 50% 50%; }
.hzm a.hzm-layer, .hzm a.hzm-layer:hover, .hzm a.hzm-layer:focus, .hzm a.hzm-layer:visited { color: #fff; text-decoration: none; box-shadow: none; }
.hzm .hzm-group { cursor: pointer; vertical-align: top; line-height: 0; white-space: normal; text-align: inherit; }
.hzm .hzm-group .hzm-layer { cursor: pointer; }
.hzm .hzm-shape.hzm-rounded { overflow: hidden; }
/* a border colour without a width: the original drew the default "medium" (3 px) solid line */
.hzm .hzm-shape.hzm-bordered { border-style: solid; border-width: 3px; }
.hzm .hzm-button { box-sizing: border-box; cursor: pointer; outline: none; box-shadow: none; }
.hzm-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; display: block; pointer-events: none; }

/* icons: four glyphs cut from the icon fonts the original used (see assets/README in the report) */
.hzm .hzm-i { display: inline-block; font: normal normal normal 14px/1 'hzm-icons-b'; font-size: inherit; text-rendering: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; position: relative; top: 0; margin-left: 0; text-align: left; letter-spacing: 0; font-weight: 400; }
.hzm .hzm-i:before { font-family: 'hzm-icons-b'; font-style: normal; font-weight: 400; display: inline-block; text-decoration: inherit; width: auto; margin-right: 0; margin-left: 0; text-align: center; font-variant: normal; text-transform: none; line-height: inherit; }
.hzm .hzm-i-chevron-right:before { content: '\f054'; }
.hzm .hzm-i-play:before { font-family: 'hzm-icons-a'; font-weight: normal; content: '\e818'; width: 1em; margin-right: .2em; margin-left: .2em; line-height: 1em; }

/* video tile */
.hzm .hzm-video { overflow: hidden; }
.hzm-vbox { position: relative; top: 0; left: 0; width: 100% !important; height: 100% !important; overflow: hidden; }
.hzm-vbox video { object-fit: cover; background-size: cover; display: block; max-width: none; margin: 0; padding: 0; border: 0; }
.hzm-vbox video::-webkit-media-controls-fullscreen-button { display: none; }
.hzm-poster { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-position: center center; background-size: cover; cursor: pointer; z-index: 3; }
.hzm-play { background: rgba(0, 0, 0, 0.3); border-radius: 5px; position: absolute; top: 50%; left: 50%; color: #fff; margin-top: -25px; margin-left: -25px; line-height: 50px !important; text-align: center; cursor: pointer; width: 50px; height: 50px; box-sizing: border-box; display: inline-block; vertical-align: top; z-index: 4; opacity: 0; transition: opacity 300ms ease-out !important; }
.hzm-ism .hzm-play { opacity: 1; transition: none !important; z-index: 6; }
.hzm .hzm-play i { width: 50px; height: 50px; display: inline-block; text-align: center !important; vertical-align: top; line-height: 50px !important; font-size: 30px !important; font-family: 'hzm-icons-a'; }
.hzm .hzm-stop { display: none; width: 15px; border-right: 5px solid #fff !important; border-left: 5px solid #fff !important; transform: translateX(50%) translateY(50%); height: 20px; margin-left: 11px !important; margin-top: 5px !important; }
.hzm-vplaying .hzm-i-play { display: none; }
.hzm-vplaying .hzm-stop { display: block; }
.hzm-vplaying .hzm-play { display: none; }
.hzm .hzm-layer:hover .hzm-play { opacity: 1; display: block; z-index: 6; }

/* arrows (shown on mouse devices when there is more than one slide; not scaled) */
.hzm .hzm-arrow { -webkit-appearance: none; appearance: none; border: 0; padding: 0; margin: 0; border-radius: 0; font: inherit; color: #fff; cursor: pointer; background: rgba(0, 0, 0, 0.5); width: 40px; height: 40px; min-width: 0; min-height: 0; position: absolute; display: block; z-index: 1000; top: 50%; opacity: 0; box-shadow: none; text-shadow: none; outline: none; pointer-events: all; transition: none; line-height: normal; }
.hzm .hzm-arrow.hzm-prev { left: 0; transform: translate(var(--hzm-al, 0px), -20px); }
.hzm .hzm-arrow.hzm-next { left: 100%; transform: translate(var(--hzm-ar, -60px), -20px); }
.hzm .hzm-arrow.hzm-hover { background: #000; }
.hzm .hzm-arrow:before { font-family: 'hzm-icons-a'; font-size: 15px; font-weight: normal; font-style: normal; color: #fff; display: block; line-height: 40px; text-align: center; }
.hzm .hzm-arrow.hzm-prev:before { content: '\e824'; }
.hzm .hzm-arrow.hzm-next:before { content: '\e825'; }
.hzm .hzm-arrow:focus-visible { opacity: 1 !important; outline: 2px solid #fff; outline-offset: -2px; }

/* waiting state: white flipping square; start: black wedge that runs off to the lower right */
.hzm-loader { top: 50%; left: 50%; z-index: 10000; position: absolute; width: 40px; height: 40px; background-color: #fff; background-image: url('hzm-loader.gif'); background-repeat: no-repeat; background-position: center center; box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15); margin-top: -20px; margin-left: -20px; animation: hzm-rotateplane 1.2s infinite ease-in-out; border-radius: 3px; }
@keyframes hzm-rotateplane {
  0% { transform: perspective(120px) rotateX(0deg) rotateY(0deg); }
  50% { transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg); }
  100% { transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg); }
}
.hzm-revealer { width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 9999; overflow: hidden; }
.hzm-revealer div { position: absolute; }

/* without script: a plain list of the tile links */
.hzm-nojs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; visibility: visible; }
.hzm-nojs a { display: block; padding: 8px 14px; border-radius: 8px; background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; }
.hzm-js .hzm-nojs { display: none; }
