html, body {
    margin: 0;
    padding: 0;
    
    font-family: "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
    font-size: 16px;
}

body.full {
    background-color: #000000;
}

p {
    margin-bottom: 0.5rem;
}

.center {
    text-align: center;
}

div.center-splash {
    position: relative;
    top: calc(45vh);
    
    transform: translateY(-50%);
}

a {
    text-decoration: none;
}


video {
    max-width: 100%;
    height: auto;
}


div.slideshow {
    position: relative;
    max-width: calc(100%);
    div.slide {
        position: absolute;
        z-index: 1;
        top: 0;
        left: 0;
        right: 0;
        
        display: none;
        
        img {
            max-width: 100%;
            height: auto;
        }
        div.caption {
            padding: 0.5rem 4rem 0.5rem 0.5rem;
            
            *:last-child {
                margin-bottom: 0;
            }
        }
    }
    div.slide.current {
        z-index: 10;
    }
    div.slide:first-child {
        display: block;
    }
    div.overlay {
        position: absolute;
        z-index: 20;
        top: 0;
        left: 0;
        right: 0;
        
        /* bottom: 0; */
        
        aspect-ratio: 16/9;
        
        div {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 30%;
            
            /* background-color: rgba(0, 0, 0, 0.3); */
        }
        div.left {
            left: 0;
        }
        div.right {
            right: 0;
        }
        div:before {
            content: "";
            position: absolute;
            top: calc(50% - 1.5rem);
            width: 3rem;
            height: 3rem;
            background-size: cover;
        }
        div.left:before {
            left: 0;
            background-image: url("/css/icons/prev.svg");
        }
        div.right:before {
            right: 0;
            background-image: url("/css/icons/next.svg");
        }
    }
    div.number {
        position: absolute;
        right: 0;
        bottom: 0;
    }
}

a#preview_hint {
    position: absolute;
    z-index: 99;
    left: 1rem;
    bottom: 1rem;
    
    padding: 0.5rem 1rem;
    
    background-color: #cc0000;
    color: #ffdddd;
    border: 2px solid #880000;
    
    font-weight: bold;
    line-height: 1.25;
    
    text-decoration: none;
    
    div {
        font-weight: normal;
    }
}

/* main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
} */

/* add sorting icons to gridview sort links */
/* a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
} */

/* align the logout "link" (button in form) of the navbar */
/* .nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
} */
