﻿
#toast {
    visibility: hidden;
    max-width: 50px;
    height: 50px;
    /*margin-left: -125px;*/
    margin: auto;
    background-color: #e50914;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    position: fixed;
    z-index: 999;
    left: 0;
    right: 0;
    bottom: 30px;
    font-size: 17px;
    white-space: nowrap;
}

    #toast #img {
        width: 50px;
        height: 50px;
        float: left;
        padding-top: 16px;
        padding-bottom: 16px;
        box-sizing: border-box;
        background-color: #9a0008;
        color: #fff;
    }

    #toast #desc {
        color: #fff;
        padding: 16px;
        overflow: hidden;
        white-space: nowrap;
    }

    #toast.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s, expand 0.5s 0.5s,stay 3s 1s, shrink 0.5s 2s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, expand 0.5s 0.5s,stay 3s 1s, shrink 0.5s 4s, fadeout 0.5s 4.5s;
    }

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes expand {
    from {
        min-width: 50px;
    }

    to {
        min-width: 350px;
    }
}

@keyframes expand {
    from {
        min-width: 50px;
    }

    to {
        min-width: 350px;
    }
}

@-webkit-keyframes stay {
    from {
        min-width: 350px;
    }

    to {
        min-width: 350px;
    }
}

@keyframes stay {
    from {
        min-width: 350px;
    }

    to {
        min-width: 350px;
    }
}

@-webkit-keyframes shrink {
    from {
        min-width: 350px;
    }

    to {
        min-width: 50px;
    }
}

@keyframes shrink {
    from {
        min-width: 350px;
    }

    to {
        min-width: 50px;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 60px;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 60px;
        opacity: 0;
    }
}




.player-container > .player-buttons {
    background: url('../content/images/close.png') center center no-repeat;
    height: 128px;
    left: 92%;
    margin: -64px 0 0 -64px;
    position: absolute;
    top: 15%;
    width: 128px;
    z-index: 1;
    cursor: pointer !important;
}

.player-container {
    padding: 0;
    width: 80%;
    margin: auto;
}

.player {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    box-shadow: 0px 10px 0px -3px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    background: #000000;
}

    .player:fullscreen {
        padding-bottom: 100vh;
    }

    .player:-webkit-full-screen {
        padding-bottom: 100vh;
    }

    .player:-moz-full-screen {
        padding-bottom: 100vh;
    }

    .player:-ms-fullscreen {
        padding-bottom: 100vh;
    }

    .player Movie {
        width: 100%;
        height: auto;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }


.controls {
    padding: 0;
    position: absolute;
    bottom: auto;
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    background: linear-gradient( 180deg, rgba(37, 37, 37, 0) 10%, rgba(37, 37, 37, 0.6) 80% );
    transition: all 0.2s ease-in 5s;
}

.player:hover .controls {
    bottom: 0;
    transition: all 0.2s ease-out;
}

.time {
    position: absolute;
    right: 30px;
    bottom: 100%;
    padding-bottom: 14px;
    font-size: 13px !important;
}

.progress {
    height: 5px;
    width: calc(100% - 40px);
    background: rgba(60, 60, 60, 0.6);
    margin: auto;
    border-radius: 0px;
    position: absolute;
    left: 20px;
    bottom: 100%;
    transition: height 0.1s ease-in-out;
}

    .progress:hover {
        height: 6px;
    }

.progress-filled {
    background: var(--accent);
    width: 0%;
    height: 100%;
    border-radius: 6px;
    transition: all 0.1s;
}

.controls-main {
    width: calc(100% - 40px);
    margin: auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
}

.controls-left,
.controls-right {
    flex: 1;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.controls-left {
    margin-left: 10px;
}

.controls-right {
    margin-right: 10px;
    justify-content: flex-end;
}

.volume {
    display: flex;
    align-items: center;
}

.volume-btn {
    margin-right: 10px;
}

    .volume-btn #volume-off, .volume-btn #volume-high {
        opacity: 0;
    }

    .volume-btn.loud #volume-high {
        opacity: 1;
    }

    .volume-btn.muted #volume-off {
        opacity: 1;
    }

    .volume-btn.muted #volume-high, .volume-btn.muted #volume-low {
        opacity: 0;
    }

.volume-slider {
    height: 4px;
    width: 80px;
    background: rgba(60, 60, 60, 0.6);
    border-radius: 0px;
    position: relative;
    cursor: pointer;
}

    .volume-slider:hover {
        height: 6px;
    }

.volume-filled {
    background: var(--main);
    width: 100%;
    height: 100%;
    border-radius: 0px;
    transition: width 0.2s ease-in-out;
}

    .volume-filled:hover, .play-btn:hover.play-btn:before, .play-btn:hover.play-btn:after {
        background: var(--accent);
    }

button {
}

.play-btn {
    width: 30px;
    height: 30px;
    position: relative;
    margin: auto;
    transform: rotate(-90deg) scale(0.8);
    transition: -webkit-clip-path 0.3s ease-in 0.1s, shape-inside 0.3s ease-in 0.1s, transform 0.8s cubic-bezier(0.85, -0.25, 0.25, 1.425);
    cursor: pointer !important;
}

    .play-btn.paused {
        transform: rotate(0deg);
    }

    .play-btn:before,
    .play-btn:after {
        content: "";
        position: absolute;
        background: white;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        transition: inherit;
    }

    .play-btn:before {
        -webkit-clip-path: polygon(0 10%, 100% 10%, 100% 40%, 0 40%);
        shape-inside: polygon(0 10%, 100% 10%, 100% 40%, 0 40%);
    }

    .play-btn:after {
        -webkit-clip-path: polygon(0 60%, 100% 60%, 100% 90%, 0 90%);
        shape-inside: polygon(0 60%, 100% 60%, 100% 90%, 0 90%);
    }

    .play-btn.paused:before {
        -webkit-clip-path: polygon(10% 0, 90% 51%, 90% 51%, 10% 51%);
        shape-inside: polygon(0 0, 100% 51%, 100% 51%, 0 51%);
    }

    .play-btn.paused:after {
        -webkit-clip-path: polygon(10% 49.5%, 80% 49.5%, 90% 49.5%, 10% 100%);
        shape-inside: polygon(10% 49.5%, 80% 49.5%, 90% 49.5%, 10% 100%);
    }

button:focus {
    outline: none;
}

.speed-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    margin-right: 20px;
    text-align: center;
    font-size: 13px;
    cursor: pointer;
}

    .speed-list li {
        color: var(--main);
        padding: 5px;
        cursor: default;
    }

        .speed-list li:hover,
        .speed-list li.active {
            color: var(--accent);
            font-weight: bold;
        }

.fullscreen {
    display: flex;
    justify-content: center;
}

.controls-onmouse {
    z-index: 999;
    margin-top: 30%;
    position: fixed;
    border: 1px solid #fff;
    width: 100%;
}

.effectVideoPlayer {
    position: relative;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    height: 80% !important;
}

    .effectVideoPlayer:before, .effectVideoPlayer:after {
        content: "";
        position: absolute;
        z-index: -1;
        -webkit-box-shadow: 0 0 20px rgba(0,0,0,0.8);
        -moz-box-shadow: 0 0 20px rgba(0,0,0,0.8);
        box-shadow: 0 0 20px rgba(0,0,0,0.8);
        top: 10px;
        bottom: 10px;
        left: 0;
        right: 0;
        -moz-border-radius: 100px / 10px;
        border-radius: 100px / 10px;
    }

    .effectVideoPlayer:after {
        right: 10px;
        left: auto;
        -webkit-transform: skew(8deg) rotate(3deg);
        -moz-transform: skew(8deg) rotate(3deg);
        -ms-transform: skew(8deg) rotate(3deg);
        -o-transform: skew(8deg) rotate(3deg);
        transform: skew(8deg) rotate(3deg);
    }



.scrollbar {
    height: 485px;
    width: auto;
    background: #F5F5F5;
    overflow-y: scroll;
    margin-bottom: 0px;
}

.force-overflow {
    height: 700px;
}

#style::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.9);
    border-radius: 0px;
    background-color: #CCCCCC;
}

#style::-webkit-scrollbar {
    width: 5px;
    background-color: #F5F5F5;
}

#style::-webkit-scrollbar-thumb {
    border-radius: 0px;
    background-color: #D62929;
    background-image: -webkit-linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.4) 50%, transparent, transparent);
}
#video-container {
    width: 640px;
    height: 365px;
    position: relative;
    margin: 0 auto;
}

#video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5px;
    opacity: 0;
    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -o-transition: opacity .5s;
    -ms-transition: opacity .5s;
    transition: opacity .5s;
    background: rgba(0, 0, 0, 0.5);
}

#video-container:hover #video-controls {
    opacity: .9;
}

button {
    padding: 5px;
    background: rgba(0, 0, 0, .5);
    border: 1px solid rgba(0, 0, 0, 1);
    color: #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
}

    button:hover {
        cursor: pointer;
        /*background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(255, 255, 255, 1);
  color: #cc0000;*/
    }

range {
    color: rgb(0, 136, 204) !important;
}

#seek-bar {
    width: 100%;
    color: red;
}



#volume-bar {
    width: 60px;
}

input[type=range] {
    -webkit-appearance: none;
    width: 300px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
}

    input[type=range]::-webkit-slider-runnable-track {
        width: 360px;
        height: 2px;
        /*background: #fff;*/
        border: none;
        border-radius: 3px;
    }


    input[type=range]:focus {
        outline: none;
    }

        input[type=range]:focus::-webkit-slider-runnable-track {
            /*background: #fff;*/
        }



    input[type=range]:-moz-focusring {
        outline: 1px solid white;
        outline-offset: -1px;
    }


/*Valum command Setting*/

.vi > ul {
    height: 30px;
    width: 35px;
    border: none !important;
    margin-top: -6px !important;
}

    .vi > ul > li {
        padding: 5px 10px;
        z-index: 999;
        font-size: 14px !important;
    }

        .vi > ul > li:not(.init) {
            float: left;
            width: 130px;
            display: none;
            background: rgba(203, 198, 198, 0.54);
        }

            .vi > ul > li:not(.init):hover, ul li.selected:not(.init) {
                background: rgba(151, 1, 1, 0.36);
                cursor: pointer;
            }

        .vi > ul > li.init {
            cursor: pointer;
        }

a#submit {
    z-index: 999;
    position: fixed;
}

#Movie {
    cursor: pointer !important;
}

range {
    cursor: pointer !important;
    transition: width .1s ease-in !important;
}
/*color-bg = #000; 
slider-color = white;*/
.slider {
    appearance: none;
    width: 10rem;
    height: .15rem;
    outline: none;
    border-radius: .5rem;
}

input[type=range]::-webkit-slider-thumb {
    appearance: none;
    width: 0.6rem;
    height: 0.6rem;
    background-color: #fff;
    border: .20rem solid #bf000a;
    border-radius: 1rem;
    cursor: pointer;
    margin-top: -4px;
}

input[type=range]:focus::-webkit-slider-thumb {
    /*background: #fff;*/
     /*border: .35rem solid rgba(160, 0, 0, 0.68);*/
}
