/*================ Khung ảnh Video ================*/
#sampleLesson .khungAnh{
    position: relative;
    z-index: 1;
    overflow:hidden;
}
#sampleLesson .khungAnh:before{
    content: "";
    display: block;
}
#sampleLesson .khungAnhCrop {
    display: inline-block;
    height: 100%;
    left: 0;
    overflow: hidden;
    position: absolute;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 1;
    transition: 0.7s;
    border-radius: 6px 6px 0px 0px;
    /*border-radius: 6px;*/
}

#sampleLesson .khungAnhCrop img {
    left: 50%;
    max-height: 150%;
    max-width: 150%;
    position: absolute;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 1;
}

#sampleLesson .khungAnhCrop img {
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%)
}

#sampleLesson .khungAnhCrop img.wide {
    height: 100%;
    max-width: none
}

#sampleLesson .khungAnhCrop img.tall {
    max-height: none;
    width: 100%;
}
#sampleLesson .slick-slider .controls{
    visibility: hidden;
}
#sampleLesson .slick-slider:hover .controls{
    visibility: visible;
}
/*================ End Khung ảnh Video ================*/

/*================ Phần Video bài học================*/
#sampleLesson {
    background: #fff;
    padding-top: 0px;
    padding-bottom: 40px
}
#sampleLesson .listItem {
    background: #fff;
}

#sampleLesson .listItem .slick-list {
    margin: 0 -30px
}

#sampleLesson .listItem .slick-dots {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    list-style-type: none;
    position: absolute;
    left: -30px;
    bottom: -50px
}

#sampleLesson .listItem .slick-dots li {
    width: 10px;
    height: 10px;
    margin: 0 6px;
    border-radius: 50%;
    background: #aaaaaa;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    cursor: pointer
}

#sampleLesson .listItem .slick-dots li.slick-active {
    background: #006666;
}

#sampleLesson .listItem .slick-dots li button {
    display: none
}

#sampleLesson .listItem a.controls {
    position: absolute;
    z-index: 100;
    width: 36px;
    height: 36px;
    top: 42%;
    cursor: pointer
}

#sampleLesson .listItem a.controls i {
    color: #fff;
    font-size: 18px;
    width: 36px;
    height: 36px;
    text-align: center;
    line-height: 36px;
    /*background: rgba(0, 102, 102, 0.4);*/
    background: #006666;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    opacity: 0.6;
}

#sampleLesson .listItem a.controls i:hover {
    background: #006666;
    opacity: 1;
}

#sampleLesson .listItem a.controls.prev {
    left: -20px
}

#sampleLesson .listItem a.controls.next {
    right: -22px;
}

#sampleLesson .listItem .item {
    padding: 0 10px;
    -webkit-transition: 0.6s;
    transition: 0.6s
}
/* Hover video lên top*/
#sampleLesson .listItem .item:hover {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px)
}
/* End hover video lên top*/

/*#sampleLesson .listItem .item:hover .wrapper {*/
/*    -webkit-box-shadow: 0px 7px 8px rgba(0, 0, 0, 0.08);*/
/*    box-shadow: 0px 7px 8px rgba(0, 0, 0, 0.08)*/
/*}*/

#sampleLesson .listItem .item:hover .khungAnh .icon .quick-alo-ph-circle {
    -webkit-animation-name: myanimate;
    animation-name: myanimate
}

#sampleLesson .listItem .item:hover .outer a.detail {
    color: #006666;
}

#sampleLesson .listItem .item .wrapper {
    /*-webkit-box-shadow: 0px -3px 8px rgba(0, 0, 0, 0.08);*/
    box-shadow: 0px -3px 8px rgba(0, 0, 0, 0.08);
    /*box-shadow: 0px -3px 8px 0px #006666;*/
}
#sampleLesson .listItem .item .wrapper:hover {
    box-shadow: 0px 3px 8px 0px #006666;
    border-radius: 6px;
}

#sampleLesson .listItem .item .khungAnh:before {
    /*padding-bottom: 57.14%*/
    padding-bottom: 65%;
}

#sampleLesson .listItem .item .khungAnh .icon {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 3
}

#sampleLesson .listItem .item .khungAnh .icon .quick-alo-ph-circle {
    pointer-events: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 70px;
    height: 70px;
    border: solid 1px #fff;
    border-radius: 50%;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    padding-right: 0
}

#sampleLesson .listItem .item .khungAnh .icon .quick-alo-ph-circle:before {
    display: none
}

#sampleLesson .listItem .item .khungAnh .icon{
    top: 50%;
    position: absolute;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%)
}

#sampleLesson .listItem .item .khungAnh .icon i {
    top: 50%;
    position: absolute;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: #fff;
    width: 54px;
    height: 54px;
    text-align: center;
    line-height: 54px;
    border-radius: 50%;
    background: #006666;
}

#sampleLesson .listItem .item .outer {
    background: #ffffff
}

#sampleLesson .listItem .item .outer a.name {
    font-family: "Arial";
    color: #000;
    font-weight: bold;
    font-size: 16px;
    line-height: 34px;
    height: 34px;
    overflow: hidden;
    display: inline-block;
    width: 100%;
    text-align: center;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    margin-top: 19px;
    margin-bottom: 20px;
}

#sampleLesson .listItem .item .outer a.name:hover {
    color: #006666;
    text-decoration: none;
}

/*================ End Phần Video bài học================*/

/*================ Vòng tròn Video Play hover ================*/
@keyframes myanimate {
    25% {
        -webkit-transform: scale(1.3);
        transform: scale(1.15);
        opacity: 0;
    }
    75% {
        -webkit-transform: scale(0.7);
        transform: scale(0.7);
        opacity: 1;
    }
}
/*================ End Vòng tròn Video Play hover ================*/

/*================ Phần sử lý font chữ video ================*/
#sampleLesson .reset
{
    margin: 0;
    padding: 0;
    font-weight: initial
}
#sampleLesson .out-ter {
    background: rgb(242,243,247);
    padding: 0 10px 8px 10px;
    border-radius: 0px 0px 6px 6px;
}
#sampleLesson .out-ter a{
    color: #333;
    font-size: 16px;
    line-height: 22px;
    height: 42px;
    overflow: hidden;
    display: inline-block;
    width: 100%;
    text-align: center;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    margin-top: 10px;
    font-weight: bold;
}
#sampleLesson .out-ter a:hover{
    text-decoration: none;
    color: #006666;
}

/*================ End Phần sử lý font chữ video ================*/

/*================ Phần Responsive ================*/
@media screen and (max-width: 992px){
    #sampleLesson .slick-slider .controls{
        visibility: visible;
    }
    #sampleLesson .listItem .slick-list {
        margin: 0 ;
    }
    #sampleLesson .listItem .item {
        padding: 10px;
        -webkit-transition: 0.6s;
        transition: 0.6s
    }
    #sampleLesson {
        padding-bottom: 10px;
        padding-top: 0px;
    }
    #sampleLesson .listItem a.controls.prev {
        margin-left: 10px;
    }

    #sampleLesson .listItem a.controls.next {
        margin-right: 10px;
    }
    #sampleLesson .listItem a.controls.prev {
        left: 1px
    }

    #sampleLesson .listItem a.controls.next {
        right: 1px;
    }
}
/*================ End Phần Responsive================*/

/*================ Popup Video Youtube================*/
.grtyoutube-popup {
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    z-index:99999;
}

.grtyoutube-popup-content {
    margin-top:80px;
    width:95%;
    max-width:850px;
    margin-left:auto;
    margin-right:auto;
    position:relative;
}

.grtyoutube-popup-close {
    position:absolute;
    top:-30px;
    right:0;
    color:#FFF;
    font-size:25px;
    width:17px;
    height:17px;
    cursor:pointer;
}

.grtyoutube-iframe {
    width:100%;
    height:480px;
}

.grtyoutube-dark-theme .grtyoutube-popup-content {
    -webkit-box-shadow: 0px 0px 8px 0px rgba(255,255,255,0.4);
    -moz-box-shadow: 0px 0px 8px 0px rgba(255,255,255,0.4);
    box-shadow: 0px 0px 8px 0px rgba(255,255,255,0.4);
}

.grtyoutube-light-theme {
    background: rgba(51, 51, 51, 0.3);
}

.grtyoutube-light-theme .grtyoutube-popup-content {
    -webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.4);
    -moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.4);
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.4);
}

.grtyoutube-light-theme .grtyoutube-popup-close {
    background: url('close-icon.png') no-repeat;
}

@media (max-width:768px) {
    .grtyoutube-iframe {
        width:100%;
        height:450px;
    }
}

@media (max-width:480px) {
    .grtyoutube-iframe {
        width:100%;
        height:300px;
    }
}
/*================ End Popup Video Youtube ================*/


