
@font-face {
    font-family: "Digital-Font";
    src: url("./fonts/01Digitall.ttf");
}

.hls-live-streaming * {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

.hls-live-streaming, .hls-live-streaming-bottom {
    width: 100%;
    margin: 0 auto;
}

.hls-live-streaming-bottom {
    display: none;
    justify-content: center;
    margin:20px 0;
}

.ls-left-image, .ls-right-image {
    width:  300px;
    height: 282px;
    background: #0e0e0e;
    align-self: center;
}

.hls-image-set img {
    background: #000;
}

.ls-left-image img, .ls-right-image img {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;

}

.ls-left-image {
    
}
.ls-right-image {
}

.hls-live-title {
    position: relative;
    width: 450px;
    height: 70px;
}

.hls-live-title-container {
    position: relative;
    width: fit-content;
    height: 36px;
    background-color: #F01A24;
    margin: 40px auto 10px auto;
}

.hls-live-title {
    transform: translateY(-50%);
}

.hls-live-streaming video#video-live {
    object-fit: contain;
    background: #000000;
    width: 100%;
    height: 100%;
}

.live-video-container {
    background: #000;
    display: flex;
    justify-content: center;
}

.tv-title-status {
    top: 0;
    left: 50%;
    margin-bottom: 31px;
}

.live-video-container .video-element {
    position: relative;
    height: calc(100vh - 192px);
    display: flex;
}

.video-wrapper {
    position: relative;
}

.live-status-ball {
    position: absolute;
    right: 33px;
    top: 18px;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #F01A24;
    animation: bgAnimation 2s infinite;
}

.hls-live-container {
    margin-top: 11px;
}

.hls-live-container.offline .live-status-ball {
    animation: unset;
    opacity: .3;
}

.hls-live-container.offline .hls-live-title-container {
    background: #f01a243d;
}

.hls-live-streaming .video-text {
    text-align: center;
    z-index: 999;
    font-family: 'Digital-Font';
    font-size: 26px;
    font-weight: 500;
    color: #fff;
    text-shadow: 0 0 10px rgba(0,0,0,.3);
    white-space: nowrap;
    margin-bottom: 10px;
}

.video-element:hover .ls-video-play-btn {
    opacity: 1;
    transition-delay: 0ms;
}

@media screen and (max-width: 1140px) {
    .live-video-container .video-element video#video-live {
        width:  100%;
        height: calc(100vw/1.77777778);
    }
    .live-video-container .video-element {
        height: fit-content;
    }
}

@media screen and (max-width: 400px) {
    .hls-live-title {
        width: 100%!important;
    }
    
    .live-status-ball {
        right: 0!important;
    }
    
    .hls-live-streaming .video-text {
        font-size: 18px!important;
    }
}

/*
@media screen and (max-width: 1360px) {
    .hls-live-streaming .ls-left-image,.hls-live-streaming .ls-right-image {
           display: none;
    }

    .hls-live-streaming-bottom {
        display: flex;
    }

    .hls-live-streaming video#video-live {
        width: 794px;
        height: 450px;
    }   
}

@media screen and (max-width: 850px) {
    .hls-live-streaming video#video-live {
        width: 100%;
        height: 300px;
    }
    .hls-live-streaming-bottom {
        display: none;
    }

    .hls-live-title {
        transform: translateX(-50%) translateY(-50%);
        left: 50%;
        position: absolute;
    }

    .hls-live-title-container {
        width: 100%;
    }
    
    .digital-text {
        font-size: 20px!important;
    }
}
*/
video::-webkit-media-controls {
    /*display: none;*/
}
  
video#video-live::-webkit-media-controls-play-button {}

video#video-live::-webkit-media-controls-volume-slider {}

video#video-live::-webkit-media-controls-mute-button {}

video#video-live::-webkit-media-controls-timeline {}

video#video-live::-webkit-media-controls-current-time-display {}

.ls-video-play-btn {
    opacity: 0;
    transition: opacity 200ms ease-in-out;
    transition-delay: 400ms;
    display: none;

    position: absolute;
    width: 100px;
    height: 100px;
    background-color: #F22E2E;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    box-shadow: 0 0 28px 20px rgba(0, 0, 0, .3);
    cursor: pointer;
}


.ls-video-play-btn.btn-disappear {
    opacity: 0!important;
}

.hls-live-container.live-paused .ls-video-play-btn {
    opacity: 1!important;
    transition-delay: 0ms;
}


.ls-video-play-btn.l-playing .ls-play-btn-icn  {
    background-image: url(./pause-button.svg);
    transform: translate(calc(-50% + -2px), -50%);
    width: 45px;
    height: 45px;
}


.ls-video-play-btn .ls-play-btn-icn {
    position: absolute;
    background: url(./play-button.svg);
    width: 36px;
    height: 36px;
    left: 50%;
    top: 50%;
    background-position: 2px center;
    background-size: contain;
    background-repeat: no-repeat;
    filter: invert(1);
    transform: translate(calc(-50% + 2px), -50%);
}

.ls-video-play-btn.show-pb {
    visibility: visible;
    opacity: 1;
}