@font-face {
    font-family: Statut;
    src: url("../fonts/Statut.otf");
}
@font-face {
    font-family: PT Serif;
    src: url("../fonts/PTSerif-Regular.ttf");
}
body {
    margin: 0;
    background: #161213;
    font-family: PT Serif;
}
h1 {
    font-size: 1.6em;
}
a {
    color: inherit;
    text-decoration: none;
}
.undecorated-a {
    color: inherit;
    text-decoration: none;
}
.background-container {
    width: 100vw;
    min-height: 180vw;
    max-height: 100vh;
    background-image: url(background/background-mobile-4k.jpg), url(background/background-mobile-hd.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    z-index: -1;
}
.background-plain {

}
.main-container {
    display: flex;
    flex-direction: column;
}
.menu-container {
    display: none;
    background: #000000d1;
    height: 100vh;
    z-index: 10;
    position: fixed;
}
.menu-backdrop {
    display: none;
    height: 100vh;
    width: 100vw;
    z-index: 1;
    position: absolute;
}
.hamburger-container {
    position: fixed;
    top: 1em;
    left: 1em;
    z-index: 11;
}
.hamburger {
    margin: auto;
}
.hamburger div {
    width: 2em;
    height: 0.3em;
    background-color: #c3c2bf;
    margin: 0.3em auto;
}
.menu-items {
    margin-top: 2.3em;
    display: flex;
    flex-direction: column;
    font-size: 2em;
    text-shadow: 0px 0px 1px #9E9E9E;
    height: calc(100vh - 3em);
    overflow-y: auto;
}
.menu-item {
    margin: 0 0.5em .3em;
    font-family: Statut;
    color: #c3c2bf;
    width: max-content;
}
.menu-item-last {
    margin-bottom: 2em;
    margin-top: 0.3em;
    cursor: pointer;
}
.lang-label {
    font-size: 0.5em;
    display: flex;
}
.lang-label > div {
    display: flex;
}
.langs-line-separator {
    display: block;
}
.adaptive-modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    z-index: 13;
}
.adaptive-modal-body {
    background-color: black;
    font-size: 2em;
    font-family: Statut;
    color: #c3c2bf;
    text-shadow: 0px 0px 1px #9E9E9E;
    width: max-content;
    max-width: 95vw;
    max-height: 95vh;
    margin: auto;
    overflow: auto;
    z-index: 14;
    border-radius: 5px;
}
.adaptive-modal-header {
    display: flex;
    margin: 0.3em 0 0;
}
.adaptive-modal-close-button {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 1.2em;
    color: #c3c2bf;
    text-shadow: 0px 0px 1px #9E9E9E;
    cursor: pointer;
}
.adaptive-modal-header-text {
    margin: auto 1em;
}
.adaptive-modal-container {
    display: flex;
    flex-direction: column;
    overflow: auto;
}
.langs-modal {
    display: none;
}
.langs-container {
    font-family: Statut;
    color: #c3c2bf;
    text-shadow: 0px 0px 1px #9E9E9E;
    margin: 0 1em 1em;
}
.lang-element {
    width: max-content;
    margin: 0.3em auto 0.3em 0;
    cursor: pointer;
}
.lang-element-no-link {
    width: max-content;
    margin: 0.3em auto 0.3em 0;
    font-weight: bold;
}
.header-container {
    min-height: 4em;
    position: fixed;
    z-index: 9;
    background: #161213;
    width: 99%;
    top: 0;
}
.header {
    height: 4em;
    margin: 0 4em;
    display: flex;
}
.header-title {
    font-family: Statut;
    color: #c3c2bf;
    margin: auto;
    font-size: 2em;
    text-shadow: 0px 0px 1px #9E9E9E;
}
.content-container {
    margin-top: 4em;
    min-height: calc(85vh - 4em);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.content-menu {
    font-size: 1.2em;
    color: #c3c2bf;
    margin: 0 1em 0.5em;
    display: flex;
    flex-direction: column;
    min-height: max-content;
}
.content-menu-item {
    margin: auto;
    padding: 0 0.3em;
}
.content-menu-item > a {
    color: inherit;
    text-decoration: none;
}
.content-menu-item.selected {
    background: #c3c2bf;
    color: black;
    border-radius: 3px;
}
.content {
    font-size: 1.2em;
    margin: 0 1em 1em;
    background: #c3c2bf;
    border-radius: 2px;
    padding: 0.5em;
    flex: auto;
}
.content a {
    color: #192c8f;
}
.social-container {
    width: 100%;
    display: flex;
    margin: auto 0 1em;
}
.social-line {
    width: max-content;
    display: flex;
    flex-direction: column;
}
.social-icon-container {
    display: flex;
    margin: auto;
    max-width: 90vw;
    background: #000000a8;
    border-radius: 3px;
    flex-direction: column;
}
.social-link-container {
    display: flex;
    margin: auto;
    /*background: #000000a8;
    border-radius: 4px;*/
    width: max-content;
}
.social-link {
    width: 1.6em;
    margin: 0.3em;
}
.social-img {
    width: 100%;
    display: block;
}
.download-doc {
    width: max-content;
}
.download-doc > a {
    display: flex;
}
.download-doc-icon > img {
    width: 1em;
    margin-right: 0.3em;
}
.page-picture-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 1em;
}
.page-picture-container span {
    color: #2d2d2d;
    margin: 0.4em auto 0;
    font-size: 0.7em;
}
.page-picture-img {
    margin: auto;
    max-width: 100%;
    max-height: calc(100vh - 5em);
    display: block;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}
.video-container > iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.select-year-container > select  {
    margin: 0 auto 1em;
    display: block;
}
.paginator {
    margin: auto;
    width: max-content;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.paginator > span {
    margin: 0 0.5em 0.5em;
}

.tiled-list {
    display: flex;
    flex-direction: column;
}
.tile-item {
    display: flex;
    margin: 0.5em 0;
}
.tile-picture {
    display: flex;
}
.tile-picture a {
    margin: auto;
    display: flex;
}
.tile-picture > img {
    cursor: pointer;
}
.tile-picture img {
    width: 40vw;
    height: 40vw;
    margin: auto;
    object-fit: cover;
    background: gray;
}
.tile-title-container {
    margin-left: 0.5em;
}
.tile-title-container a {
    color: inherit;
    text-decoration: none;
}
.tile-title > div {
    cursor: default;
}
.underline {
    text-decoration: underline;
    font-weight: bold;
}
.page-content {
    /* display: flex;
    flex-direction: column; */
}
.page-content > img, .page-content > * > img {
    display: flex;
    margin: 0 auto;
    /* height: 100%; */
    max-height: 80vh;
    max-width: 100%;
}
.gallery-container {
    margin-top: 1em;
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(5.5em, 1fr));
}
.gallery-image-container {
    display: flex;
    margin-bottom: 0.5em;
    cursor: pointer;
}
.photo-viewer-container {
    display: none;
}
.photo-viewer-body {
    z-index: 15;
    display: flex;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
}
.photo-viewer-img-container {
    max-height: 95vh;
    scroll-snap-align: start;
    width: 100vw;
    flex-shrink: 0;
    display: flex;
    position: relative;
    margin: auto;
}
.photo-viewer-img-container img {
    max-width: 95vw;
    max-height: 95vh;
    margin: auto;
}
.carousel-counter {
    position: absolute;
    display: flex;
    width: 100%;
    z-index: 16;
}
.carousel-counter > span {
    color: white;
    margin: auto;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 2px;
    padding: 0 0.3em;
    font-weight: bold;
    font-size: smaller;
}
.gallery-image {
    object-fit: cover;
    width: 5em;
    height: 5em;
    max-width: 40vw;
    max-height: 40vw;
    margin: auto;
}
.gallery-buttons-container {
    position: absolute;
    height: 100vh;
    width: 100vw;
    display: flex;
}
.gallery-buttons-container > div {
    height: 100vh;
    width: 40vw;
    cursor: pointer;
    z-index: 20;
    display: flex;
    color: transparent;
    overflow-y: hidden;
    overflow-x: hidden;
}
.gallery-buttons-container > div > span {
    margin: auto;
    font-size: 5em;
}
.gallery-top-buttons {
    position: absolute;
    right: 0;
    padding: 5px 7px 12px 12px;
    z-index: 22;
    display: flex;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 4px;
}
.gallery-top-buttons > div {
    color: white;
    font-weight: bold;
    height: 1.5em;
    cursor: pointer;
}
.gallery-top-buttons > div > img {
    max-width: 100%;
    max-height: 100%;
}
.gallery-close {
    margin-left: 2em;
}
.carousel-picture-caption {
    /*position: absolute;
    color: white;
    bottom: -0.2em;
    right: 50%;
    background: #000000a8;
    border-radius: 3px;
    padding: 0.1em 0.5em;*/

    position: absolute;
    bottom: -0.2em;
    width: 100vw;
    display: flex;
}
.carousel-picture-caption > span {
    margin: auto;
    background: #000000a8;
    border-radius: 3px;
    padding: 0.1em 0.5em;
    color: white;
}
#gestureZone {
    position: absolute;
    height: 100vh;
    width: 100vw;
    z-index: 19;
    overflow-y: hidden;
    overflow-x: hidden;
}
.subscribe-line {
    display: flex;
}
.subscribe-container {
    margin: auto;
    display: flex;
    width: 100%;
}
.subscribe-input {
    background: inherit;
    color: #c3c2bf;
    font-size: 1.1em;
    border: none;
    padding: 0.3em;
    width: 7.8em;
    margin: auto;
}
.subscribe-button-container {
    display: flex;
    padding: 0.3em;
}
.subscribe-button {
    border: solid 1px #0000;
    border-radius: 3px;
    width: 1.1em;
    height: 1.1em;
    margin: auto;
    color: #0000;
    text-align: center;
    align-self: center;
    line-height: 1.1em;
    font-weight: bold;
    cursor: pointer;
}
.active-button {
    border-color: #c3c2bf;
    color: #c3c2bf;
}
.subscribe-error {
    color: red;
    text-align: center;
}
.subscribe-success {
    color: green;
    text-align: center;
}
@media (min-width: 40em) {
    .tiled-list {
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 1em;
    }
    .tile-item {
        flex-direction: column;
        width: 11em;
        margin: 0 auto 0.5em;
    }
    .tile-picture img {
        width: 10em;
        height: 10em;
    }
    .tile-title-container {
        margin: 0 0 1em;
        display: flex;
        flex-direction: column;
    }
    .tile-title {
        text-align: center;
        margin-top: 0.5em;
    }
    .social-line {
        flex-direction: row;
    }
    .subscribe-input {
        width: calc(100% - 2.2em);
        text-align: center;
        text-indent: 2.2em;
    }
}
@media (min-width: 56em) {
    .hamburger-container {
        display: none;
    }
    .menu-container {
        display: block;
        height: max-content;
        width: 100%;
        margin: 0 auto;
        background: #161213;
    }
    .menu-items {
        flex-direction: row;
        width: max-content;
        margin: 0.5em auto;
        font-size: 1.6em;
        height: unset;
    }
    .menu-item-last {
        margin-bottom: unset;
    }
    .menu-item {
        margin: 0 0.3em;
        text-align: center;
    }
    .menu-item.selected {
        border-bottom: #c3c2bf solid 1px;
    }
    .lang-label {
        flex-direction: column;
    }
    .langs-line-separator {
        display: none;
    }
    .header-container {
        display: none;
    }
    .content-menu {
        flex-direction: row;
        width: max-content;
        margin: 0 auto 1em;
    }
    .content-container {
        min-height: calc(100vh - 4em);
    }
    .content {
        padding: 1em;
        width: 40em;
        margin: 0 auto 1em;
    }
    .video-item {
        width: 40em;
    }
    .gallery-buttons-container > div:hover {
        color: #d5d5d5;
        text-shadow: 0px 0px 10px #0F0F0F;
    }
}
