body {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #009279;
    font-family: 'Arial', sans-serif;
    background-image: url('gfx/background.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    touch-action: none;
    position: fixed;
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
}

#container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    transform-origin: top left;
    min-width: 1580px;
}

header,
footer {
    width: 100%;
    position: absolute;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

header {
    height: 120px;
}

footer {
    height: 110px;
    bottom: 0;
    box-sizing: border-box;
    padding-left: 30px;
    padding-right: 300px;
}

header>#insights-logo {
    height: 85px;
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
}

header>#kymriah-logo {
    height: 85px;
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
}

footer>#footer-div {
    display: table;
    table-layout: fixed;
    height: 100%;
}

footer>#footer-div>div {
    display: table-cell;
    vertical-align: middle;
}

footer>#footer-div>div:nth-of-type(2) {
    box-sizing: border-box;
    padding-left: 30px;
}

footer #alo-logo {
    height: 30px;
}

footer p {
    font-size: 14px;
    line-height: 20px;
    margin-top: 0;
    margin-bottom: 0;
}

main {
    position: absolute;
    height: calc(100% - 230px);
    width: 300vw;
    top: 120px;
    font-size: 0px;
    transition: transform 1s;
    white-space: nowrap;
}

main>section {
    display: inline-block;
    height: 100%;
    position: relative;
    width: 100vw;
    min-width: 1580px;
}

.selection {
    text-align: center;
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0;
}

.selection>.header {
    font-size: 50px;
    position: absolute;
    left: 50%;
    top: -80px;
    transform: translateX(-50%);
    color: white;
    font-weight: bold;
}

.selection>.options>div {
    display: inline-block;
    background: white;
    height: 250px;
    width: 400px;
    font-size: 40px;
    color: #009279;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    transform: scale(0.9);
    position: relative;
    cursor: pointer;
    transition: transform .25s;
    will-change: transform;
    white-space: normal;
}

.selection>.options>div:hover {
    transform: scale(1)
}

.selection>.options>div>div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.back-button {
    position: absolute;
    top: 30px;
    left: 30px;
    background: #009279;
    color: white;
    font-size: 25px;
    box-sizing: border-box;
    padding: 20px 40px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    cursor: pointer;
    transition: background-color .25s;
}

.back-button:hover {
    background: #01ae91;
}

#video-selection {
    position: absolute;
    top: 100px;
    left: 0;
    width: 700px;
    bottom: 0px;
    padding: 0px 50px 0px 30px;
    overflow-y: scroll;
    box-sizing: border-box;
    -ms-overflow-style: none;
    scrollbar-width: none;
    touch-action: pan-y;
}

#video-selection::-webkit-scrollbar {
    display: none;
}

#video-selection h2 {
    padding-left: 30px;
    color: white;
    font-size: 25px;
    margin-top: 40px;
    margin-bottom: 40px;
    font-style: italic;
}

#video-selection>div {
    background: white;
    color: #58595b;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    box-sizing: border-box;
    padding: 40px 40px;
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 20px;
    transition: background-color .25s, color .25s;
    font-size: 20px;
    white-space: normal;
}

#video-selection>div:hover {
    background: #e1e1e1;
}

#video-selection>div.playing {
    background: #009279;
    color: white;
    pointer-events: none;
}

.scrollbar {
    position: absolute;
    width: 8px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

.scrollbar>.seeker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 10px;
    left: -6px;
    top: 20px;
}

#video-player-and-transcript {
    position: absolute;
    right: 0;
    top: 0;
    background: #e2e3e4;
    bottom: 0;
    width: calc(100% - 700px);
    box-sizing: border-box;
    padding-top: 20px;
}

#video-and-transcript-container {
    margin: 0 auto;
    height: 100%;
    width: 800px;
    font-size: 0px;
    transition: transform .25s;
    position: relative;
}

#video-and-transcript-container.loading {
    transform: translateY(25px);
}

#video {
    width: 800px;
    height: 450px;
}

#transcript {
    width: 800px;
    height: calc(100% - 470px);
    margin-top: 20px;
    white-space: normal;
    overflow-y: scroll;
    box-sizing: border-box;
    -ms-overflow-style: none;
    scrollbar-width: none;
    touch-action: pan-y;
    position: relative;
    scroll-behavior: smooth;
}

#transcript::-webkit-scrollbar {
    display: none;
}

#transcript>p {
    margin-top: 0px;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 23px;
}

#transcript>p:last-of-type {
    margin-bottom: 0px;
}

#preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

#preloader.hidden>svg {
    transform: translate(-50%, -50%) scale(0.1);
}

#video-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #e2e3e4;
    z-index: 254;
    transition: opacity .25s;
}

#video-loader.loaded {
    opacity: 0;
    pointer-events: none;
}

#video-loader>svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-origin: 50% 50%;
    transition: transform .25s;
}

#video-loader.loaded>svg {
    transform: translate(-50%, -50%) scale(0.1);
}

.transcript-table {
    display: table;
    table-layout: fixed;
    width: 100%;
    font-size: 16px;
    border-spacing: 0px;
    border-collapse: collapse;
}

.transcript-table>div {
    display: table-row;
}

.transcript-table>div>div {
    display: table-cell;
    vertical-align: top;
    position: relative;
}

/*.transcript-table>div>div:nth-of-type(1) {
    width: 200px;
    font-weight: bold;
    position: relative;
}*/

.transcript-table>div>div:nth-of-type(1) {
    display: none;
}

.transcript-table>div>div>p {
    margin-top: 0px;
    line-height: 22px;
    margin-bottom: 10px;
}

.transcript-speaker>div {
    position: absolute;
    top: 0;
    left: 0;
}

.transcript-element {
    transition: color .25s;
}

.transcript-element.reading {
    color: #00806a;
}

section>h2 {
    display: none;
}

#coming-soon-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 255;
    transition: opacity .25s;
}

#coming-soon-message.hidden {
    opacity: 0;
    pointer-events: none;
}

#coming-soon-message.hidden>div {
    transform: translate(-50%, -40%);
}

#coming-soon-message>div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color:
        white;
    border-radius: 20px;
    font-size: 50px;
    box-sizing: border-box;
    padding: 100px;
    text-align: center;
    transition: transform .25s;
}

#coming-soon-message>div>button {
    border: 0;
    outline: 0;
    background: #009279;
    color: white;
    font-family: 'Arial', sans-serif;
    font-size: 25px;
    box-sizing: border-box;
    padding: 10px 50px;
    margin-top: 50px;
    border-radius: 5px;
    cursor: pointer;
}