/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

#flash{
    position: absolute;
    top: 20px;
    left: 20px;
    color: #ec1c50;
	font-size:14px;
}
.tutor-video-player .hls-video-player{
    position: unset !important;
    height: calc(100vh - 200px) !important;
    display: block;
    /*background: black;*/
    /*border-radius: 10px;*/
    /*overflow: hidden;*/
}
.hls-video-player video{
    height: 100%;
    width: 100%;
    object-fit: contain;
}
.hls-video-player.full-screen{
    position: fixed !important;
    height: 100vh !important;
    width: 100% !important;
    z-index: 9999;
    overflow: visible;
    border-radius: 0px;
    top: 0;
    left: 0;
    background: black;
}
.hls-video-control-wrap{
    transition: 500ms;
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 50px;
    opacity: 0;
    background: #00000040;
}

.tutor-video-player{
    border-radius: 10px;
    overflow: hidden;
    background: black;
}

.hls-video-control-wrap.active{
    opacity: 1;
}

.timeline {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    margin-top: -15px;
    padding-top: 15px;
    cursor: pointer;
  }
  .timeline-slider{
    height: 5px;
    background-color: #ccc;
  }
  
  .timeline .progress {
    position: relative;
    overflow: visible !important;
    height: 100%;
    background-color: #ec1c50;
  }
  .timeline.active .progress::after{
    visibility: visible !important;
    opacity: 1 !important;
  } 
  .timeline .progress:hover::after {
    visibility: visible;
    opacity: 1;
}

  .timeline .progress::after {
    content: "";
    border-radius: 100%;
    background: #ec1c50;
    height: 24px;
    width: 24px;
    position: absolute;
    right: 0px;
    bottom: 0px;
    transform: translate(50%,40%);
    opacity: 0;
    visibility: hidden;
}
.not-dragable{
    user-drag: none;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
.hls-video-control-content, .controls-hls, .controls-hls .left, .controls-hls .right, .controls-hls span, .controls-hls span img{
    height: 100%;
}
.controls-hls span{
    position: relative;
    display: inline-block;
}
.controls-hls .right{
    float: right;
}
.controls-hls .left, .controls-hls .right{
    padding: 13px 20px;
    display: inline-block;
}
.controls-hls .q-selector{
    position: absolute;
    display: block;
    height: max-content;
    top: -13px;
    left: 0px;
    width: max-content;
    transform: translate(-15px,-100%);
    padding: 0px;
    z-index: 4;
}
.controls-hls .q-selector{
    pointer-events: none;
}
.controls-hls .q-selector ul{
    margin: 0px;
    padding: 0px;
    list-style: none;
    overflow: hidden;
    border-radius: 10px 10px 0px 0px;
    opacity: 0;
    visibility: hidden;
    transition: 250ms;
}
.controls-hls .q-selector.active{
    pointer-events: all;
}
.controls-hls .q-selector.active ul{
    opacity: 1;
    visibility: visible;
}
.controls-hls .q-selector ul li {
    cursor: pointer;
    transition: 250ms;
    text-align: right;
    padding: 20px 20px;
    background: #0000007a;
    color: white;
}
.controls-hls .q-selector ul li.active {
    background: #ec1c50;
}
.controls-hls .q-selector ul li:hover {
    background: #000000d4;
}
.tutor-ratio-16x9{
    overflow: hidden !important;
    padding: 0px !important;
}
.loading-indicator{
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background: #00000033;
    opacity: 0;
    visibility: hidden;
    transition: 250ms;
}
.loading-indicator.active{
    opacity: 1;
    visibility: visible;
}
.loading-indicator svg{
    height: 25%;
    width: max-content;
    top: 50%;
    position: absolute;
    left: 50%;
    transform: translate(-50%,-50%);
    
}
.loading-indicator .loading-bar{
    animation: loading-rotate 1s forwards infinite;
}
.left > span, .right > span {
    margin: 0px 10px;
}
.volumecontrol:hover .volumeslider{
    max-width: 100px;
}
.volumecontrol .volumeslider.active{
    max-width: 100px;
}
.volumeslider{
    max-width: 0px;
    transition: 250ms;
    margin-left:10px;
    position: relative;
    width: 100px;
    height: 5px !important;
    background-color: #ccc;
    border-radius: 5px;
}
.volumecontrol > span, .playback, .settings, .screensize{
    cursor: pointer;
}
.volumecontrol .slider{
    position: absolute !important;
    width: 50%;
    background-color: #ec1c50;
    border-radius: 5px;
}

.volumecontrol .slider::after {
    content: "";
    border-radius: 100%;
    background: #ec1c50;
    height: 16px;
    width: 16px;
    position: absolute;
    right: 0px;
    bottom: 0px;
    visibility: hidden;
    transform: translate(50%,40%);
    opacity: 0;
}
.volumecontrol .volumeslider.active .slider::after {
    visibility: visible !important;
    opacity: 1 !important;
}
.volumecontrol .slider:hover::after {
    visibility: visible;
    opacity: 1;
}

.controls-hls .duration-wrap{
    color:white;
    vertical-align: sub;
}
.controls-hls .seperator{
    padding: 0px 5px;
}
.lesson-action-holder {
    position: absolute;
    bottom: 100px;
    right: 20px;
    transition: 250ms;
    opacity: 0;
    visibility: hidden;
}
.lesson-action-holder.closed{
    display: none !important;
}
.lesson-action-holder.active{
    visibility: visible;
    opacity: 1;
}
.lesson-actions .lesson-action-text{
    position: relative;
    z-index: 2;
}
.lesson-actions{
    margin-left: 10px;
    position: relative;
    padding: 10px 20px;
    color: white;
    border-radius: 5px;
    font-weight: bold;
    transition: 250ms;
}
.stay-lesson:hover{
    background: #bfb9b9;
    
}
.stay-lesson{
    cursor: pointer;
    background:#979696;
}
.next-lesson{
    background: #09c36f;
}
.next-lesson:hover {
    background: #08d177;
}
.lesson-actions i{
    position: relative;
    z-index: 2;
    vertical-align: middle;
}
a.next-lesson:hover{
    color:#f5f5f5;
}
.next-lesson .progress{
    position: absolute;
    height: 100%;
    background: #08d177;
    left: 0px;
    top: 0px;
    transition: 1000ms linear;
    width: 0%;
    z-index: 1;
}

@media (max-width:768px){
    .controls-hls span img{
        width:20px;
    }
    .volumeslider{
        display:none;
    }
    .left .playback{
        margin-left: 10px;
    }
    .left > span, .right > span {
        margin: 0px 5px;
    }
    .right .screensize{
        margin-right: 10px;
    }
    .controls-hls .left, .controls-hls .right{
        padding: 13px 5px;
    }
    .hls-video-player video{
        height: auto;
    }
}
.hls-video-player.full-screen span.screensize:hover img{
	transform:scale(0.8);
}
span.screensize img:hover{
	transform:scale(1.2);
}
span.settings img:hover{
	transform:rotate(180deg);
}
span.screensize img{
	transition: 250ms ease-in-out;
}
span.settings img{
	transition: 750ms ease-in-out;
}
.lesson-actions.next-lesson.download-certificate:hover .lesson-action-text,
.lesson-actions.next-lesson.complete-education:hover .lesson-action-text{
    color:#fff;
}
.lesson-actions.next-lesson.download-certificate .progress,
.lesson-actions.next-lesson.complete-education .progress{
    background: #10ff94;
}
.hls-video-player #placeholder-image{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}
.hls-video-player #placeholder-image img{
    border-radius: 5px;
}
.action-indicator > div.initalactive{
    cursor: pointer;
}
.action-indicator > div.initalactive svg{
    visibility: visible !important;
}