/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last  1024 versions
*/

.loader-hover-none{
    pointer-events: none;
    background: white !important;
}

.course-detail-video-bx,
.course-item .course-img-bxm,
.loader-design {
    background-color: #f1f1f1;
    background-image: linear-gradient(90deg, #f1f1f1 40%, rgb(249 249 249) 50%, #f1f1f1 60%);
    background-position:left;
    background-repeat:repeat;
    -webkit-background-size:1200px;
       -moz-background-size:1200px;
         -o-background-size:1200px;
            background-size:1200px;
    overflow: hidden;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-animation: shine-lines 0.5s infinite linear;
       -moz-animation: shine-lines 0.5s infinite linear;
         -o-animation: shine-lines 0.5s infinite linear;
            animation: shine-lines 0.5s infinite linear;
}

.loader-design.ld-full{
    border-radius: 50px;
}

.loader-design.ld-full{
    width: 100%;
    height: 16px;
}

@keyframes shine-lines {
    0% {
        background-position: -100px;
    }

    100% {
        background-position: 1100px;
    }
}


.custom-container{
    max-width: 1250px;
    width: 100%;
}

.course-other-heading{
    font-size: 20px;
    color: #000000;
    line-height: 1.4;
    font-weight: 600;
    font-family: gjfont;
    padding: 0 10px;
    margin-top: 20px;
    margin-bottom: -10px;
}


.course-item-main-bx{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 25px;
    margin-bottom: 25px;
    row-gap: 15px;


    
}

.cimb-item-inner{
    width: 25%;
    flex: 0 0 25%;
    padding: 0 7.5px;
}

@media screen and (max-width:992px) {
    .cimb-item-inner{
        width: 33.33%;
        flex: 0 0 33.33%;
    }
}

@media screen and (max-width:768px) {
    .cimb-item-inner{
        width: 50%;
        flex: 0 0 50%;
    }
}

@media screen and (max-width:576px) {
    .cimb-item-inner{
        width: 100%;
        flex: 0 0 100%;
    }
}

.course-item{
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding: 10px 10px;
    -webkit-border-radius: 8px;
       -moz-border-radius: 8px;
            border-radius: 8px;
    gap: 10px;
    background-color: #fafafa;
    border: 1px solid #e9e9e9;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.course-item:hover{
    border-color: #008F4E;
    box-shadow: 0 4px 7px 0 rgb(218 220 230 / 60%);
}

.course-item .course-img-bx{
    position: relative;
    width: 100%;
    padding-top: 56%;
    position: relative;
    overflow: initial;
    overflow: hidden;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
         border-radius: 8px;
}

.course-item .course-img-bx .course-img{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: top center;
       object-position: top center;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.course-item:hover .course-img-bx .course-img{
    -webkit-transform: scale(1.1);
       -moz-transform: scale(1.1);
        -ms-transform: scale(1.1);
         -o-transform: scale(1.1);
            transform: scale(1.1);
}

.course-item .course-name{
    font-size: 16px;
    color: #525252;
    line-height: 1.4;
    font-weight: 600;
    font-family: gjfont;
}

@media screen and (max-width:576px) {
    .course-item .course-name{
        font-size: 16px;
    }

    .course-item .course-img-bx{
        padding-top: 60%;
    }
}



/* course-detail-bx css start */
.course-detail-bx{
    display: flex;
    justify-content: center;
    padding: 0 10px;
    padding-top: 15px;
    padding-bottom: 50px;
}

.course-detail-bx .cdb-left{
    max-width: 768px;
    width: 100%;
    padding-right: 15px;
}

.course-detail-bx .cdb-left .cdb-heading{
    font-size: 20px;
    color: #000000;
    line-height: 1.6;
    font-weight: 600;
    font-family: gjfont;
}

.course-detail-bx .cdb-right{
    width: 360px;
}

.course-detail-bx .cdb-right .cdb-right-inner{
    position: sticky;
    top: 100px;
    width: 100%;
    border: 1px solid lightgray;
    border-radius: 15px;
    overflow: hidden;
}

.course-detail-bx .cdb-right .cdb-right-inner .cvl-heading{
    font-size: 20px;
    color: #000000;
    line-height: 1.6;
    font-weight: 600;
    font-family: gjfont;
    padding: 10px 15px;
    background-color: white;
    border-bottom: 1px solid lightgray;
    margin-bottom: 0px;
}


/* --- --- */
.course-detail-video-bx{
    position: relative;
    padding-top: 56%;
    -webkit-border-radius: 10px;
       -moz-border-radius: 10px;
            border-radius: 10px;
    overflow: hidden;
    margin-top: 15px;
    -webkit-box-shadow: 0 4px 10px #ccc !important;
       -moz-box-shadow: 0 4px 10px #ccc !important;
            box-shadow: 0 4px 10px #ccc !important;
}

.course-detail-video-bx > *:not(audio){
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
}

.course-detail-video-bx > audio{
    position: absolute;
    bottom: 10px;
    top: initial;
    left: 50%;
    width: 98%;
    -webkit-transform: translateX(-50%);
       -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
         -o-transform: translateX(-50%);
            transform: translateX(-50%);
    -webkit-box-shadow: 0 0 10px #00000078;
       -moz-box-shadow: 0 0 10px #00000078;
            box-shadow: 0 0 10px #00000078;
    max-height: 54px;
    -webkit-border-radius: 50px;
       -moz-border-radius: 50px;
            border-radius: 50px;
}

.course-detail-text-bx{
    margin-top: 20px;
}

.course-detail-text-bx > *,
.course-detail-text-bx{
    font-size: 17px;
    margin-bottom: 15px;
    color: black;
    display: block;
    text-align: justify;
    font-family: gjfont;
}



.course-detail-document{
    color: black;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0 10px 0px;
    width: fit-content;
    border: 1px solid rgb(0 0 0 / 6%);
    padding: 10px;
    border-radius: 10px;
    background-color: #fbfbfb;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.course-detail-document .cdd-left{
    display: flex;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: gjfont;
}

.course-detail-document .cdd-left img{
    width: 45px;
    height: 45px;
    border-radius: 5px;
}

.course-detail-document .cdd-download{
    background: transparent;
    display: flex;
    gap: 5px;
    border: 1px solid #b00000;
    color: #b00000;
    justify-content: center;
    align-items: center;
    width: 10px;
    display: flex;
    width: 100%;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 14px;
    margin-left: 15px;
    transition: 0.3s ease;
}

.course-detail-document .cdd-download:hover{
    background: #b00000;
    color: white;
}


.cdb-video-list-bx{
    max-height: calc(100vh - 220px);
    overflow: hidden;
    overflow-y: auto;
}

.video-list-item{
    display: flex;
    gap: 10px;
    padding: 10px 10px;
    font-size: 16px;
    color: #525252;
    font-weight: 600;
    font-family: gjfont;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.video-list-item .vli-text-bx{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 1.6;
    font-family: gjfont;
    flex: 0 1 100%;
}

.video-list-item .vli-img-bx{
    position: relative;
    width: 120px;
    height: 80px;
    flex: 0 0 120px;
    border-radius: 5px;
    overflow: hidden;
}

.video-list-item .vli-img-bx > *{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
}

.video-list-item:hover{
    color: black;
    background-color: rgb(240, 240, 240);
}

/* course-detail-bx css end */


@media screen and (max-width:992px) {
    .course-detail-bx{
        flex-direction: column;
    }
    
    .course-detail-bx .cdb-left{
        max-width: 100%;
        width: 100%;
    }

    .course-detail-bx .cdb-right{
        max-width: 100%;
        width: 100%;
        margin-top: 25px;
    }

    .cdb-video-list-bx{
        max-height: inherit;
        overflow: hidden;
        overflow-x: auto;
        display: flex;
        scroll-snap-type: x mandatory;
        scroll-padding: 0px;
    }
    
    .video-list-item{
        max-width: 280px;
        flex: 1 0 280px;
        width: 100%;
        flex-direction: column;
        scroll-snap-align: start;
    }
    
    .video-list-item .vli-text-bx{
        -webkit-line-clamp: 2;
    }
    
    .video-list-item .vli-img-bx{
        padding-top: 56%;
        width: 100%;
        height: initial;
        flex: initial;
        overflow: hidden;
    }
}