html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    background: black;
    overflow: clip;
    display: flex;
    scroll-behavior: smooth;
}

:root{
    --notice-scroll-time: 20s;
    --notice-scroll-distance: 100%;
    
    --calling0-scroll-time: 20s;
    --calling0-scroll-distance: 100%;
    --calling0-scroll-repeats: 2;
    
    --calling1-scroll-time: 20s;
    --calling1-scroll-distance: 100%;
    --calling1-scroll-repeats: 2;

    --calling2-scroll-time: 20s;
    --calling2-scroll-distance: 100%;
    --calling2-scroll-repeats: 2;

    --calling3-scroll-time: 20s;
    --calling3-scroll-distance: 100%;
    --calling3-scroll-repeats: 2;

    --calling4-scroll-time: 20s;
    --calling4-scroll-distance: 100%;
    --calling4-scroll-repeats: 2;
    
}

.font-title, .font-heading, .font-text, .font-highlight, .font-nfds, .font-page, .font-error, .font-nfds-dest, .font-nfds-heading{
    color:white;
}

.font-delay, .font-notices{
    color:yellow;
}

.font-title, .font-page, .font-heading, .font-delay, .font-nfds-dest, .font-nfds-heading{
    font-family: "Bebas Neue", sans-serif;
}

.font-heading{
    font-size: 6vh;
}
.font-nfds-heading{
    font-size: 4.5vh;
}
.font-nfds-dest, .font-delay{
    font-size: 6vh;
}
.font-nfds{
    font-size: 4.25vh;
}

.font-text, .font-highlight{
    font-size: 3vh;
}
.font-title{
    font-size: min(7.5vh, 4vw);
}

.font-text{
    font-weight:normal;
}

.font-highlight{
    font-weight: bolder;
}
.font-notices{
    font-size:3.5vh;
    font-weight:bold;
    white-space: pre;
}
.font-reason{
    font-family: Arial, sans-serif;
    font-size:2.75vh;
    line-height: 2.5vh;
    margin-top: -0.5vh;
}
.font-nfds{
    font-weight:normal;
    display:inline-block;
}

.font-error{
    font-weight: bold;
    font-size: 9vh;
    text-align: center;
    width:100vw;
}

.font-page{
    font-size:3.5vh;
}

.title{
}
.platform-text{
    display:inline-block;
    padding-left:1vh;
    padding-top:2vh;
}
.page-count{
    display:inline-block;
}
.time{
    text-align: right;
    display:flex;
    flex-direction: row;
    position:absolute;
    right:0;
}

.image{
    size: 7vh;
    padding:2vh;
}
.page-count{
    padding-top:2vh;
    position: absolute;
    right: 0;
}
.content {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.header{
    display: flex;
    align-items: center;
    background:#190835;
    position:relative;
}
.header{
    height: 22.5vh;
}
.header-nfds{
    height:25vh;
}
.header-wrapper {
    width: calc(100vw - (2.15 * 22.5vh));
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    position:absolute;
}

.header-line-1{
    flex-direction: row;
    display:flex;
    padding-left:2vh;
    line-height: 6vh;
}

.header-line-2, .header-nfds-line-2{
    flex-direction: row;
    display:flex;
    padding-left:2vh;
}

.header-line-2{
    padding-top:2vh;
}

.header-line-3{
}

.header-nfds-line{
    padding-left:2vh;
}

.main-content {
    padding-top: 1vh;
}
.services{
    transition: opacity 0.5s linear;
}

table {
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
    height: 100%;
}

table th,
table td {
    text-align: center;
}

table thead {
    display:none;
}

table tr {
    display: flex;
}


table td:last-child {
    border-bottom: 0;
}


tr > td:nth-child(1), tr > th:nth-child(1) {
    width: 7.5%;
}

tr > td:nth-child(2), tr > th:nth-child(2) {
    width: 68%;
    padding-left:2vh;
}

tr > td:nth-child(3), tr > th:nth-child(3) {
    width: 20%;
}

.service-wrapper {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 100%;
    height: 100%;
}

.service-dest {
    top: 0;
    line-height: 5.9vh;
}

.logo{
    height:22.5vh;
    top:0;
    right:0;
    position:absolute;
}

.header-content{
    padding-left:1vh
}

.platform-banner-green{
    background: rgb(2,0,36);
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,121,14,1) 10%, rgba(0,255,16,1) 100%);
    padding-top:0.8vh;
    display:flex;
    clip-path: polygon(0% 10%, 75% 10%, 100% 50%, 75% 90%, 0% 90%);
    height:80%;
}

.platform-banner-yellow{
    background: rgb(2,0,36);
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(121,76,9,1) 10%, rgba(255,141,0,1) 100%);
    padding-top:0.8vh;
    display:flex;
    clip-path: polygon(0% 10%, 75% 10%, 100% 50%, 75% 90%, 0% 90%);
    height:80%;
}

.platform-banner-red{
    background: rgb(2,0,36);
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(121,9,9,1) 10%, rgba(255,0,0,1) 100%);
    padding-top:0.8vh;
    display:flex;
    clip-path: polygon(0% 10%, 75% 10%, 100% 50%, 75% 90%, 0% 90%);
    height:80%;
}

@media (orientation: landscape) {
    .platform-number {
        text-align: center;
        align-self: center;
        font-size: min(5vh, 3vw);
        width: 50%;
        padding-left: 0.25vh;
    }
}

@media (orientation: portrait){
    .platform-number {
        text-align: center;
        align-self: center;
        font-size: 5vw;
        width: 50%;
    }
}
.plat-image{
    height: min(4.5vh, 3vw);
    align-self: center;
    padding-left: 0.5vh;
}
.single-location{
    display: inline-block;
}

.notice-banner{
    height: 4.2vh;
    display:flex;
    justify-content: space-between;
    overflow:hidden;
    width:90vw;
    background: #7268b6;
    white-space: nowrap;
}

.dep-header{
    text-align: center;
}

.departure-row{
    height: 15.5vh;
    padding-left:2vh
}
.nfds-row{
    height:15.25vh;
    padding-left: 2vh;
}
.delay-information{
    line-height: 6vh;
}
.service-calling-container, .nfds-calling-container{
    top: 0;
    height: 5vh;
    overflow: hidden;
}
.service-pattern-base{
}
.service-calling-container{
    height: 6.7vh;
}
.nfds-calling-container{
    height: 4vh;
}

.nfds-calling{
    padding-top: 1vh;
    padding-bottom: 1vh;
}
.nfds-calling-static {
    padding-bottom: 1vh;
}
.point-separator{
    border: 0.5vh solid black;
    padding-top: 0.25vh;
    background: black;
}

.barrel-up0{
    height: 100%;
    text-align: left;
    animation: barrel-up0 var(--calling0-scroll-time) linear infinite;
}

.barrel-up1{
    height: 100%;
    text-align: left;
    animation: barrel-up1 var(--calling1-scroll-time) linear infinite;
}

.barrel-up2{
    height: 100%;
    text-align: left;
    animation: barrel-up2 var(--calling2-scroll-time) linear infinite;
}

.barrel-up3{
    height: 100%;
    text-align: left;
    animation: barrel-up3 var(--calling3-scroll-time) linear infinite;
}

.barrel-up4{
    height: 100%;
    text-align: left;
    animation: barrel-up4 var(--calling4-scroll-time) linear infinite;
}

@keyframes barrel-up0 {
    0% {
        transform: translateY(0%);
    }
    100% {
        transform: translateY(var(--calling0-scroll-distance));
    }
}

@keyframes barrel-up1 {
    0% {
        transform: translateY(0%);
    }
    100% {
        transform: translateY(var(--calling1-scroll-distance));
    }
}

@keyframes barrel-up2 {
    0% {
        transform: translateY(0%);
    }
    100% {
        transform: translateY(var(--calling2-scroll-distance));
    }
}

@keyframes barrel-up3 {
    0% {
        transform: translateY(0%);
    }
    100% {
        transform: translateY(var(--calling3-scroll-distance));
    }
}

@keyframes barrel-up4 {
    0% {
        transform: translateY(0%);
    }
    100% {
        transform: translateY(var(--calling4-scroll-distance));
    }
}
.nfds-static{
    height: 100%;
    text-align: left;
    transform: translateY(-0.8vh);
}

.nfds-roll{
    height: 100%;
    text-align: left;
    animation: nfds-roll 10s linear infinite;
    line-height: 3vh;
}

@keyframes nfds-roll{
    0%{
        transform: translateY(-0.75vh);
}
    100% {
        transform: translateY(-10.75vh);
}
}

.notice-container{
    display:flex;
}

.scroll-left-anim{
    text-align: left;
    animation: scroll-left var(--notice-scroll-time) linear infinite;
}

@keyframes scroll-left{
    0%{
        transform:translateX(0%);
    }
    100%{
        transform:translateX(var(--notice-scroll-distance));
    }
}

.components-reconnect-hide > div {
    display: none;
}

.components-reconnect-show > div {
    display: none;
}

.components-reconnect-show > .show {
    display: block;
}

.components-reconnect-failed > div {
    display: none;
}

.components-reconnect-failed > .failed {
    display: block;
}


