:root {
    --frameStep: 38;
    --opacityAdjust: 0.1;
}

#wrapper>div>iframe {

    width: 100%;
    height: calc(99dvh - 57px + 87px);
    -ms-overflow-style: none;
    /* Internet Explorer 10+ */
    scrollbar-width: none;
    /* Firefox */

}

#wrapper>div {
    height: calc(99dvh - 57px)
}

.icon-legend {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 30%;
    /* height: 20dvh; */
    height: 87px;

    background-color: #FFF;
    z-index: 1;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-content: space-around;
    align-items: center;
    gap: 2px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.25);

}


.icon-legend.hide {
    display: none;
}

.icon-legend>.legend-item {

    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    display: inline-flex;
    color: #2C363D;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    word-wrap: break-word;
    margin-top: calc(-34px / 2);
}

.icon-legend>.legend-item.hide {
    display: none;
}

.icon-legend>.legend-item>div {
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

}


.icon-legend>.legend-item .line {
    opacity: 1;
    background-color: #000;
    width: 32px;
    height: 5px;
    margin-top: 10px;
}


.icon-legend>.legend-item .line.disable {
    opacity: 1;
    background-color: #b1b8c0;
}



.icon-legend>.legend-item .line.flashing {
    animation: flashing-animate 1.5s infinite;
    animation-timing-function: linear;
}
/* 

.icon-legend>.legend-item .line.TWL {
    background-color: #FF0000;
}

.icon-legend>.legend-item .line.KTL {
    background-color: #1A9431;
}

.icon-legend>.legend-item .line.ISL {
    background-color: #0860A8;
}

.icon-legend>.legend-item .line.SIL {
    background-color: #99CF16;
}

.icon-legend>.legend-item .line.TKL {
    background-color: #6B208B;
}

.icon-legend>.legend-item .line.TCL {
    background-color: #FE7F1D;
}

.icon-legend>.legend-item .line.DRL {
    background-color: #F550A6;
}

.icon-legend>.legend-item .line.AEL {
    background-color: #1C7670;
}

.icon-legend>.legend-item .line.EAL {
    background-color: #5EB6E4;
}

.icon-legend>.legend-item .line.TML {
    background-color: #9A3B26;
} */





.icon-legend>.legend-item .line.dotted-line {
    background: transparent;
    opacity: 1;
    scale: 2;
    width: unset;
    height: unset;
    margin-top: 10px;
}

.icon-animate-cross {
    background-image: url(../image/pills/standard-pill-core.svg), url(../image/pills/standard-pill.svg);
    background-repeat: no-repeat, no-repeat;
    background-position: left top, left top;
    -webkit-animation: crossSign 1.25s steps(var(--frameStep)) infinite;
    -moz-animation: crossSign 1.25s steps(var(--frameStep)) infinite;
    -o-animation: crossSign 1.25s steps(var(--frameStep)) infinite;
    -ms-animation: crossSign 1.25s steps(var(--frameStep)) infinite;
    animation: crossSign 1.25s steps(var(--frameStep)) infinite;
    width: 34px;
    height: 34px;
    position: absolute;
    z-index: 10000;
    background-repeat: no-repeat;
    background-position: left top;
    display: block;
    background-size: cover;
    scale: 1.1;
    margin-top: 5px;
}



.icon-animation-close-station {
    background-image: url(''), url(../image/pills/closestation/standard-pill.svg);
    background-repeat: no-repeat, no-repeat;
    background-position: left top, left top;
    -webkit-animation: crossSign 1.25s steps(var(--frameStep)) infinite;
    -moz-animation: crossSign 1.25s steps(var(--frameStep)) infinite;
    -o-animation: crossSign 1.25s steps(var(--frameStep)) infinite;
    -ms-animation: crossSign 1.25s steps(var(--frameStep)) infinite;
    animation: crossSign 1.25s steps(var(--frameStep)) infinite;
    width: 34px;
    height: 34px;
    position: absolute;
    z-index: 10000;
    background-repeat: no-repeat;
    background-position: left top;
    display: block;
    background-size: cover;
    scale: 1.1;
    margin-top: 5px;
}



.icon-legend>.legend-item>.legend-text {

    text-align: center;
}

@keyframes flashing-animate {
    0% {

        opacity: calc(0.2 + var(--opacityAdjust));
    }

    50% {
        opacity: calc(0.7 + var(--opacityAdjust));
    }

    100% {
        opacity: calc(0.2 + var(--opacityAdjust));
    }
}


/* for ie 8 and ie9, please update js file for correct size, frame rate, total frames...etc... */
@-webkit-keyframes crossSign {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 0, 100% 0;
    }
}

@-moz-keyframes crossSign {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 0, 100% 0;
    }
}

@-o-keyframes crossSign {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 0, 100% 0;
    }
}

@-ms-keyframes crossSign {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 0, 100% 0;
    }
}

@keyframes crossSign {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 0, 100% 0;
    }
}

@media screen and (max-width:1200px) {

    #wrapper>div>iframe {
        width: 100%;
        height: calc(99dvh - 87px - 37px);

    }

    #wrapper.no-legend>div>iframe {

        height: calc(99dvh - 37px);

    }

    div>.zoom-container {
        bottom: calc(20px + 87px);
    }

    .icon-legend {
        width: 100%;

    }
}