/* Begin education/teacher/curricula/ */

body {
  background: transparent linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 68%, #D4EEF9 100%) 0% 0% no-repeat padding-box;
}
.education-teacher-curricula p {
    font-size: 1.2rem;
}
.content-wrapper{
    padding: 40px 10% 20px 10%;
}

.curricula-section-1 {
    margin-bottom: 50px;
}
.curricula-section-1 .learn-more{
    color: unset;
    text-decoration: none;
}
.curricula-section-1 h1{
    color: #6F2C90;
}
.curricula-section-1 a.btn-edu{
    background: #6F2C90;
    min-height:36px;
}
.curricula-section-1 a.btn-edu.search-filter-btn i{
    background-image: url(../images/filter-icon.webp);
    background-size: 28px auto;
    background-repeat: no-repeat;
    background-position: center;
    padding: 0;
    display: inline-block;
    text-align: left;
    margin: 0 auto;
    width: 28px;
    height: 25px;
    vertical-align: middle;
    margin-right: 15px;
    margin-left: -10px;
}

.curricula-section-1 img{
    width:300px;
}
body[class*="education-"] .headline *{
    width:100%;
    color:#FFF;
}
.headline .title{
    padding: 2px 20px;
    font-size:1.5rem;
    font-weight:bold;
}
.headline .plus-icon,
.headline .xclose-icon{
    padding: 0 11px;
    margin-left:10px;
    display: flex;
    align-items: center;
    font-size: 16px;
}
.headline .xclose-icon i,
.headline .head-icon.active i{
    font-size: 1.7rem;
    display: inline-block;
    width: 20px; /* Give a fixed width */
    text-align: center;
    transition: transform 0.4s ease;
}
.headline .xclose-icon.active i {
    transform: rotate(45deg);
}

.headline .title,
.headline .plus-icon,
.headline .xclose-icon{
    border-radius:15px;
}

.curricula-section-2 .headline .title,
.curricula-section-2 .headline .plus-icon,
.curricula-section-2 .headline .xclose-icon
{
    background: #1EA7E0;
    width: 40px;
}
.curricula-section-3 .headline .title,
.curricula-section-3 .headline .plus-icon,
.curricula-section-3 .headline .xclose-icon {
    background: #F9A619;
}
.headline .plus-icon,
.headline .xclose-icon,
.headline .col.title
{
    cursor: pointer;
}
img.jj_standing{
    clip-path: inset(0% 0% 25% 0%);
    padding-top: 20px;
}
.section .btn-wrapper{
    margin-top:-20px;
}
.section .btn-wrapper a.btn-edu{
    position:relative;
}
.section .btn-wrapper a.btn-edu i{
    margin-right:20px;
}
.section .btn-wrapper a.btn-edu i::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background-image: url('../images/curricula/google-nocircle.webp');
    background-size: 15px 18px;
    background-repeat: no-repeat;
    background-position: center center;

}
/* .label-checkbox.exclude_completed_lessons_label::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background-image: url('../images/X.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0;
    transition: opacity 0.3s;

} */
.section .videos{
    opacity: 1;
    transition: max-height 0.5s ease-in-out, opacity 0.4s ease-in-out;
}
.section.section-judgejodhi .videos{
    margin-top:-40px;
}
.section a, .section .linkname{
    text-decoration:none;
    font-weight:bold;
}
.section .slider img.itemimageepisode{
    width:100%;

}
.section .slider img.itemimageepisode:hover + .hover-wrapper{
    visibility: visible;
    opacity: 1;
}
.section .slider .watchonlineepisode:hover .hover-wrapper{
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 0.3s ease;
}
.section .slider .watchonlineepisode{
    position:relative; color:#FFF
}
.section .slider .hover-wrapper{
    visibility: hidden;
    opacity: 0;
}
.section .slider .hover-wrapper,
.section .slider .hover-bg{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}
.section .slider .hover-bg{
    background:#00000099;
}
.section .slider img.itemimageepisode,
.section .slider .hover-bg{
    border-radius:20px;
}
.section .slider .hover{
    position: absolute;
    top: 0;
    padding: 10px;
    font-size: 70%;
    height: calc(100% - 10px);
    overflow:hidden;
    width:100%;
    height:100%;
}
.section .slider .hover .icons{
    margin-top:5px;
}
.section .slider .icon{
    display: inline-block;
    width: 40px;
    max-width:50px;
}
.section .slider .title,
.section .slider .desc{
    text-align:center;
}
.section .slider .title{
    font-weight:bold;
    margin: 10px 0 5px 0;
}
.videos .video-item .base-name{
    font-size:80%;
}
.videos .tags p{
    font-size:70%;
    margin:0;
}
.videos.hide{
    max-height: 0;
    opacity: 0;
    margin-top: 0 !important; /* Override margin when hidden */
    padding-top: 0;
    padding-bottom: 0;
    display: none;
}
.videos .check-icon{
    position: absolute;
    bottom: 5px;
    right: 5px;
}
a.watch-episode{
    display:inline-block;
}

.subscription-locked img.itemimageepisode {
     filter: grayscale(100%);
     opacity: 0.6;
}

.subscription-locked.linkname {
    opacity: 0.6; /* Fade the text title */
}

.btn-subscription {
    background-color: #6fb0ea; /* Light blue */
    color: white !important;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: bold;
    text-transform: capitalize;
    text-decoration: none !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    font-size: 1rem;
}
.btn-subscription:hover {
    background-color: #1EA7E0;
    color: white !important;
}
img.curriculum-icon {
    max-width: 100%;
}
/*Search/filter*/
#form-search-filter-wrapper{
    background: #FFF;
    padding: 20px 30px;
    box-shadow: 0px 3px 6px #00000029;
    background-color: #ffffff;
    border: 1px solid #e9ecef!important;
    border-radius: 0.5rem;
    max-width:600px;
}
#form-search-filter-wrapper hr{
    border-top: 2px solid #B8B8B8;
}
#form-search-filter-wrapper h3, h4,
#form-search-filter-wrapper .buttons{
    text-align:center;
}
#form-search-filter-wrapper .buttons .btn-edu{
    padding: 5px 10px;
    background-color: #AAAAAA;
    width:calc(50% - 5px);
}
#form-search-filter-wrapper .buttons .btn-edu:nth-child(1){
    margin-right:5px;
}
#form-search-filter-wrapper .buttons .btn-edu:nth-child(2){
    margin-right:0;
}
#form-search-filter-wrapper .buttons .btn-edu.submit-btn{
    background-color: #8CC641;
    width:100%;
}
#form-search-filter-wrapper h3{
    font-size:1.5rem;
}
#form-search-filter-wrapper h4,
#form-search-filter-wrapper h4 .label-checkbox{
    font-size:1rem;
    /* color:#5b5e63; */
}
#form-search-filter-wrapper .label-checkbox{
    margin-bottom: 5px;
    font-size:.8rem;
    position: relative;
    padding-left: 25px;
    cursor: pointer;
}
#form-search-filter-wrapper .label-checkbox.exclude_completed_lessons_label{
    padding-left:35px;
}
#form-search-filter-wrapper input[type="checkbox"] {
    display: none;
}

.label-checkbox::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-color: #E3E3E3;
    box-sizing: border-box;
    transition: background-color 0.3s, border-color 0.3s;
    border-radius: 4px;
}
.label-checkbox.exclude_completed_lessons_label::before{
    width: 25px;
    height: 25px;
    border-radius: 7px;
}
.label-checkbox.exclude_completed_lessons_label::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background-image: url('../images/X.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0;
    transition: opacity 0.3s;

}

/* input[type="checkbox"]:checked + .label-checkbox::before{
    background-color: #4caf50;
    border-color: #4caf50;
}
input[type="checkbox"]:checked + .label-checkbox.exclude_completed_lessons_label::after{
    opacity: 1;
} */

label.checked::before{
    background-color: #4caf50;
    border-color: #4caf50;
}
label.checked::after,
.label-checkbox.exclude_completed_lessons_label.checked::after{
    opacity: 1;
}

/*End Search/filter*/

body.education-teacher-curricula .videos_wrapper .videos {
    max-height: 650px;
    border-radius: 20px;
    box-shadow: 0 0 20px #00000033;
    background: radial-gradient(circle, #ffffff 0%, #f2f2f2 100%);
    overflow-y: scroll;
}

.videos .video-item .watchonlineepisode.linkname{
    text-transform: uppercase;
    color: #3c3c3c;
    font-size: 18px;
}
.videos .video-item .base-name {
    text-transform: initial;
    min-height: 24px; /* 1 line height */
    line-height: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    -webkit-box-pack: center; /* Center text vertically */
    overflow: hidden;
    text-overflow: ellipsis;
}
@media screen and (min-width: 1085px) {
    img.curriculum-icon {
        max-width:180px;
    }
}

/* End education/teacher/curricula/ */
@media (max-width:768px){
    .curricula-section-1 > .flex-column{
        max-width:70%;
    }
    .curricula-section-2 > .row > div.col-md-3{
        max-width:70%;
    }
    .curricula-section-2 > .row > div.col-md-3{
        padding-right:0!important;
        margin-bottom:20px;
    }
}
@media (max-width:576px){
    .curricula-section-1 a.btn-edu{
        font-size:0.8rem;
    }
}
@media (max-width:480px){
    .curricula-section-1 a.btn-edu{
        font-size:1rem;
        width:100%;
    }
    .section .headline .title{
        font-size: 1rem;
    }
    .headline .plus-icon,
    .headline .xclose-icon{
        font-size:1rem!important;
        width:28px!important;
        border-radius: 10px;
        padding: 8px;
    }
    .headline .plus-icon i,
    .headline .xclose-icon i{
        font-size:1rem!important;
    }
}
