﻿:root {
    --mainColor: #39b54a !important;
}


/*********
    ==============================================================
                     Start Courses Home Page
   ============================== ================================
    ************/

/* Start Navbar */

.them1 .courses-layout,
.them1 .courses-layout.bg-white {
    background-color: #fff !important
}

.them2 .courses-layout,
.them2 .courses-layout.bg-white {
    background-color: #001f35 !important;
    box-shadow: none !important;
}

.navbar.courses-layout .navbar-brand img {
    height: auto !important;
    padding: 10px 0;
}

.navbar .navbar-brand img.scollLogoVertical {
    height: auto !important;
}

.dropdown > a i {
    font-size: 18px;
    color: #6a706b;
}

.dropdown > a + ul {
    opacity: 0;
    display: block;
    visibility: hidden;
    transition: all .4s ease;
}


.sub-menu.dropdown .dropdown-menu {
    min-width: 200px;
    top: 90%;
    left: -60px;
    transition: all .3s ease-in-out 0s;
    -webkit-transform: translateY(30px);
    -ms-transform: translateY(30px);
    transform: translateY(30px);
    border-radius: 6px !important;
    box-shadow: 0 0 5px rgb(0 0 0 / 10%);
    border: 0;
    display: block
}

.dropdown:hover > a + ul {
    display: block;
    visibility: visible;
    opacity: 1;
    -webkit-transform: translateY(0) !important;
    -ms-transform: translateY(0) !important;
    transform: translateY(0) !important;
}

.sub-menu.dropdown .dropdown-menu li a,
.sub-menu.dropdown a {
    text-decoration: none;
    display: block;
    transition: all .5s ease
}

.sub-menu.dropdown .dropdown-menu li .dropdown-submenu .dropdown-menu a {
    font-size: 14px;
}

.them1 .link-color,
.them1 .link-color i {
    color: #000;
}

.them2 .link-color,
.them2 .link-color i {
    color: #fff;
}

.sub-menu.dropdown .dropdown-menu li a:hover {
    color: var(--mainColor) !important;
}

.dropdown .dropdown-menu .dropdown-submenu ul li:not(:last-of-type) {
    border-bottom: 1px solid #dee2e6 !important
}

.sub-menu .dropdown-submenu {
    position: relative;
    transition: all .3s ease-in-out 0s;
}

    .sub-menu .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 90%;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px;
        border-radius: 6px;
        opacity: 0;
        visibility: hidden;
    }

    .sub-menu .dropdown-submenu:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transition: all .5s ease;
    }

    .sub-menu .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #ccc;
    }

    .sub-menu .dropdown-submenu:hover > a:after {
        border-left-color: #fff;
    }

    .sub-menu .dropdown-submenu.pull-left {
        float: none;
    }

        .sub-menu .dropdown-submenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            -webkit-border-radius: 6px 0 6px 6px;
            -moz-border-radius: 6px 0 6px 6px;
            border-radius: 6px 0 6px 6px;
        }

.them2 header .header-bottom .content-header p {
    font-size: 28px;
    color: var(--mainColor) !important
}

/*********
    ================================
    Start Section Header 
    ================================
    ************/
header .header-bottom .content-header form.search-form {
    width: 80%;
}

    header .header-bottom .content-header form.search-form input {
        height: 65px;
        /*box-shadow: 1px 1px 2px #ccc;*/
        border: 1px solid var(--mainColor);
        padding-right: 130px;
    }

        header .header-bottom .content-header form.search-form input:active,
        header .header-bottom .content-header form.search-form input:focus {
            border: 1px solid #ced4da;
            box-shadow: 2px 2px 4px #ccc;
        }

    header .header-bottom .content-header form.search-form button {
        position: absolute;
        top: 50%;
        right: 3%;
        transform: translate(0, -50%);
    }

header .header-bottom:before, header .header-bottom:after {
    display: none;
}

header .header-bottom .bg-image {
    background-image: url('../images/header/bg.png');
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}


/*********
    ================================
    Start Section Top Categories
    ================================
    ************/
.top-categories {
    padding: 60px 0 30px;
    /*background: #f6f7f747;*/
    background: #95ffa30f;
}

    .top-categories a.top-categories-items {
        text-decoration: none;
    }

    .top-categories .top-categories-items .card .card-body {
        min-height: 90px;
    }


/*********
    ================================
    Start Section Top Courses
    ================================
    ************/

.top-courses {
    padding: 60px 0 30px;
    background: #95ffa30f;
}

    .top-courses .tabs-topCourses .nav a {
        color: #333333;
        border-radius: 5px;
    }

        .top-courses .tabs-topCourses .nav a.active {
            background-color: var(--mainColor);
            color: #fff !important;
            font-weight: bold;
        }

        .top-courses .tabs-topCourses .nav a:hover {
            border: 1px solid transparent;
        }

    .top-courses .content-topCourses .topCourses-slider .owl-item a,
    .courses a.course-items {
        text-decoration: none;
    }

    .top-courses .content-topCourses .topCourses-slider .owl-item .card .card-body,
    .courses .course-items .card .card-body {
        min-height: 200px;
    }

        .top-courses .content-topCourses .topCourses-slider .owl-item .card .card-body h5,
        .courses .course-items .card .card-body h5 {
            font-size: 18px;
        }

        .top-courses .content-topCourses .topCourses-slider .owl-item .card .card-body .rate,
        .courses .course-items .card .card-body .rate {
            height: 30px;
        }

            .top-courses .content-topCourses .topCourses-slider .owl-item .card .card-body .rate > label,
            .courses .course-items .card .card-body .rate > label {
                font-size: 18px;
            }

        .top-courses .content-topCourses .topCourses-slider .owl-item .card .card-body .total-rate > span,
        .courses .course-items .card .card-body .total-rate > span {
            color: #FFAB31;
        }

        .top-courses .content-topCourses .topCourses-slider .owl-item .card .card-body .price-course .old-price,
        .courses .course-items .card .card-body .price-course .old-price,
        .about-course .about-course-content .price-course .old-price {
            text-decoration: line-through
        }

        .top-courses .content-topCourses .topCourses-slider .owl-item .card .card-body .badge-box .badge,
        .courses .course-items .card .card-body .badge-box .badge {
            background-color: #ffc10794;
        }

    .top-courses .content-topCourses .topCourses-slider .owl-nav {
        position: absolute;
        top: 0;
        margin-top: -60px;
        right: 0;
        /*background: #fff;*/
        background: #95ffa30f;
    }

        .top-courses .content-topCourses .topCourses-slider .owl-nav > button {
            width: 60px;
            /*background: #cccccc26;*/
            background: #fff;
            border-radius: 30px;
        }

            .top-courses .content-topCourses .topCourses-slider .owl-nav > button:focus {
                border: 0;
                outline: 0;
            }

            .top-courses .content-topCourses .topCourses-slider .owl-nav > button:first-of-type {
                margin: 0 20px;
            }

    .top-courses.TC-vertical .vertical-item a {
        text-decoration: none;
    }

        .top-courses.TC-vertical .vertical-item a .card {
            /*min-height: 233px;*/
        }

            .top-courses.TC-vertical .vertical-item a .card > img {
                max-width: 200px;
            }

            .top-courses.TC-vertical .vertical-item a .card .card-body h5 {
                font-size: 18px;
            }

            .top-courses.TC-vertical .vertical-item a .card .card-body p {
                line-height: 1.3
            }

                .top-courses.TC-vertical .vertical-item a .card .card-body p img {
                    height: 20px;
                    width: 20px;
                    border-radius: 50%;
                }
/*********
    ================================
    Start Section About Course
    ================================
    ************/
.about-course {
    padding: 60px 0;
    background-color: #95ffa30f;
}

    .about-course .bg-left {
        background-color: #07294d;
    }

    .about-course .bg-right {
        background-color: #f1f1f1;
    }

    .about-course .image {
        position: relative;
        left: 136px;
        z-index: 5;
    }

    .about-course .about-course-content a {
        font-size: 40px;
        text-decoration: none;
        line-height: 1.1;
    }

    .about-course .about-course-content .total-rate > span {
        color: #FFAB31;
    }

    .about-course .about-course-content .total-rate .rate {
        height: 35px;
    }


/*********
    ================================
    Start Section Testimonial
    ================================
    ************/
.testimonial {
    padding: 60px 0;
    background-color: #95ffa30f;
    /*background-color: #f6f7f7a1;*/
}

}

.testimonial .testimonial-slider .owl-item .card-body p {
    line-height: 1.8;
}

    .testimonial .testimonial-slider .owl-item .card-body p:first-of-type {
        font-size: 18px;
    }

    .testimonial .testimonial-slider .owl-item .card-body p:last-of-type {
        font-size: 16px;
    }

.testimonial .testimonial-slider .owl-item .card-body .info-testiminal {
    margin-top: -110px;
}

.testimonial .testimonial-slider .owl-item .card-body:before {
    content: '';
    position: absolute;
    top: -27px;
    left: 60px;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 55px solid #fff;
    transform: rotate(-38deg);
}

.testimonial .testimonial-slider .owl-item .card-body .info-testiminal img {
    width: 75px;
    border-radius: 50%;
    border: 4px solid #f1f1f1;
}

.testimonial .owl-dots {
    display: flex;
    justify-content: center;
}

.testimonial .testimonial-slider .owl-dots button {
    height: 8px;
    border-radius: 25px;
    width: 30px;
    line-height: 10px;
    text-align: center;
    padding: 0;
    background: #00000014;
    margin: 40px 5px 0;
}

    .testimonial .testimonial-slider .owl-dots button:focus {
        outline: 0
    }

    .testimonial .testimonial-slider .owl-dots button.active span {
        height: 100%;
        width: 100%;
        background: var(--mainColor);
        display: block;
        margin: auto;
        border-radius: 25px;
        border: 0;
    }

.testimonial .btn-enroll a {
    background: var(--mainColor);
    color: #fff;
    width: 150px;
    height: 45px;
    padding: 0;
    line-height: 45px;
    border-radius: 10px;
}

    .testimonial .btn-enroll a:hover {
        text-decoration: none;
    }
/*********
    ================================
   Start Section Testimonal Style 2
    ================================
    ************/
.testimonial-style2 {
    padding: 60px 0;
}

    .testimonial-style2 .image-preview a:before,
    .testimonial-style2 .image-preview a:after {
        position: absolute;
        z-index: -1;
        content: '';
        background-color: var(--mainColor);
        height: 170px;
    }

    .testimonial-style2 .image-preview a:after {
        bottom: -35px;
        right: -45px;
        width: 212px;
        clip-path: polygon(100% 0, 0 100%, 100% 100%);
    }

    .testimonial-style2 .image-preview a:before {
        top: -10px;
        left: -15px;
        width: 165px;
        clip-path: polygon(100% 0, 0 100%, 0 0);
    }
/*********
    ================================
    Start Course Deatails anonymous
    ================================
    ************/
.course-details-anonymous {
    padding: 120px 0 60px;
}

    .course-details-anonymous .video-inner .video-box {
        padding: 130px 0px;
        border-radius: 0;
        max-width: 100%;
    }

        .course-details-anonymous .video-inner .video-box:after {
            border-radius: 0 !important;
        }

    .course-details-anonymous .about-course-rate .total-rate .rate {
        height: 40px;
    }

.course-details .tabs-aboutCourse .nav-tabs .nav-link {
    color: #8d8b8b;
}

    .course-details .tabs-aboutCourse .nav-tabs .nav-link.active {
        color: #000;
    }

    .course-details .tabs-aboutCourse .nav-tabs .nav-link:hover {
        border: 1px solid transparent;
    }

.course-details .tabs-aboutCourse .tab-content .what-y-learn li {
    width: 50%;
}

.course-details .tabs-aboutCourse .tab-content .course-content .requirements,
.course-details .tabs-aboutCourse .tab-content .course-content .who-thiscourse {
    list-style: disc
}

    .course-details- .tabs-aboutCourse .tab-content .course-content .requirements li,
    .course-details .tabs-aboutCourse .tab-content .course-content .who-thiscourse li {
        font-size: 14px;
    }

.course-details .tabs-aboutCourse .tab-content .course-content .description p {
    font-size: 14px;
}

.course-details .course-content .accordion {
    width: 60%;
}

    .course-details .course-content .accordion .card .card-header {
        background: #fbfbf8;
    }

        .course-details .course-content .accordion .card .card-header h2 button {
            text-decoration: none;
        }

    .course-details .course-content .accordion .card .card-body ul li p {
        font-size: 14px;
    }

    .course-details .course-content .accordion .card .card-body ul li h5 i {
        font-size: 14px
    }

.course-details .instructor-info .image-instructor img {
    height: 100px;
    width: 100px;
    border-radius: 50%;
}

.course-details .instructor-info p {
    font-size: 16px;
}

.course-details .tabs-aboutCourse .student-feedback,
.course-details .tabs-aboutCourse .student-review {
    width: 80%;
}

/**** Start Details Course Owner ****/
.employee-navabar.courseDetails-navbar {
    background-color: #f7fff9;
}

.navbar .course-title a:hover {
    text-decoration: none;
}

.navbar .course-title:before {
    /*content: '';*/
    width: 1px;
    height: 10px;
    background: #ccc;
    position: absolute;
    left: 0;
    top: 0;
}

.navbar .course-title a {
    font-size: 20px;
}

.course-complete button {
    background: #cccccc12;
}

    .course-complete button:focus {
        box-shadow: none
    }

    .course-complete button + div {
        text-align: center !important;
    }

.course-details-owner {
    padding-top: 120px;
}

    .course-details-owner .course-video {
        width: 100%;
    }

        .course-details-owner .course-video iframe {
            width: 100%;
            height: 500px;
        }

        .course-details-owner .course-video .video-inner .video-box:after {
            border-radius: 0;
        }

aside.course-content {
    background-color: #fff;
    /*width: 29%;*/
    /*position: fixed;*/
    /*position: absolute;*/
    left: 5px;
    max-height: 85vh;
    overflow-y: auto;
}

    aside.course-content .accordion > .card .card-header {
        background: #fbfbf8;
    }

        aside.course-content .accordion > .card .card-header h2 button:focus,
        aside.course-content .accordion > .card .card-header h2 button:hover {
            text-decoration: none;
        }

    aside.course-content .accordion > .card .card-body ul li {
        transition: all .4s ease
    }

        aside.course-content .accordion > .card .card-body ul li.activeLesson {
            background: #e6f2f5;
        }

        aside.course-content .accordion > .card .card-body ul li:hover {
            background: #e6f2f5;
        }

        aside.course-content .accordion > .card .card-body ul li input,
        .course-content .accordion > .card .card-body ul li input {
            height: 24px;
            width: 20px;
            cursor: pointer;
        }

        aside.course-content .accordion > .card .card-body ul li a {
            text-decoration: none;
            width: 100%;
        }

.tabs-course-details-owner {
    display: flex;
    justify-content: flex-end;
}

    .tabs-course-details-owner .tabs-aboutCourse {
        width: 100%;
    }
/***Start Course Details Footer ***/
footer.course-details {
    width: 70%;
}



/*********
    Start Courses Page
    ***********/
.courses {
    background: #95ffa30f;
    padding: 60px 0
}

    .courses .courses-filter .card .card-header h2 button {
        text-decoration: none;
    }

    .courses .courses-filter .card .card-body ul li input {
        height: 16px;
        width: 20px;
        cursor: pointer;
    }

    .courses .courses-filter .card .card-body ul li a {
        text-decoration: none;
        font-size: 14px;
    }
/*** Start Video FancyBox ***/
.video-inner {
    position: relative;
    max-width: 810px;
    margin: auto;
}

    .video-inner .video-box {
        position: relative;
        max-width: 400px;
        background-image: url('../images/icon/Videos.jpg');
        position: relative;
        width: 100%;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        text-align: center;
        padding: 80px 0px;
        border-radius: 20px;
        margin: auto;
    }

        .video-inner .video-box:after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #0a09099e;
            z-index: 1;
            border-radius: 20px;
        }

        .video-inner .video-box .video-btn a {
            position: relative;
            display: inline-block;
            font-size: 30px;
            color: #222;
            background: #fff;
            width: 100px;
            height: 100px;
            line-height: 100px;
            text-align: center;
            border-radius: 50%;
            z-index: 2;
            -webkit-animation: pulse 3s infinite;
            -o-animation: pulse 3s infinite;
            animation: pulse 3s infinite;
        }

.video-box .video-desc p {
    color: #979696;
}


.course-details .modal .about-feedback {
    flex-wrap: wrap;
}

.course-details #TeacherFeedback .modal-body .about-feedback img {
    height: 120px;
    border-radius: 50%;
    box-shadow: 1px 1px 7px #00000029;
}

.course-details .modal .about-feedback .subject-level ul.level-teacherProfile li {
    padding: 5px 7px;
    background: #F6F7F7;
    border-radius: 8px;
    font-size: 10px;
}

.course-details .modal .type-review .image img {
    width: 100%;
}

#CourdeWaterMark .water-mark {
    top: 40%;
}

.form-search-courses {
    width: 45%;
}

    .form-search-courses input {
        border-top-left-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
        border-top-right-radius: 40px !important;
        border-bottom-right-radius: 40px !important;
        background-color: #fbfbf8 !important;
    }

        .form-search-courses input:focus {
            outline: 0;
            border-color: #ced4da;
            box-shadow: none;
        }

    .form-search-courses .input-group-prepend a {
        border-radius: 40px;
        text-decoration: none;
        background-color: #fbfbf8 !important;
    }


/****************
             ============================
             Start Responsive
             ============================
             ******************/
@media (max-width: 767.98px) {
    header {
        min-height: 100vh;
        height: auto;
    }

        header .header-bottom .bg-image {
            height: auto;
        }

    .top-categories .top-categories-items .card .card-body h4 {
        font-size: 16px;
    }

    .top-courses .tabs-topCourses .nav a {
        width: 47%;
        text-align: center;
    }

    .top-courses .content-topCourses .topCourses-slider .owl-item .card .card-body h5,
    .courses .course-items .card .card-body h5 {
        font-size: 16px;
    }

    .top-courses .content-topCourses .topCourses-slider .owl-item .card .card-body p {
        font-size: 12px;
    }

    .about-course .image {
        left: auto;
        right: auto;
        width: 90%;
        margin: auto;
    }

    .about-course .bg-right .about-course-content {
        width: 100% !important;
    }

    .about-course .about-course-content a {
        font-size: 26px;
    }

    .course-details-anonymous .video-inner .video-box {
        padding: 60px 0;
    }

    .course-details-anonymous.course-details .breadcrumb li {
        font-size: 14px;
    }

    .course-details-anonymous.course-details .about-course-right h2 {
        font-size: 24px;
        margin-top: 10px;
    }

    .course-details-anonymous .about-course-rate .total-rate .count-student {
        font-size: 14px;
    }

    .course-details .tabs-aboutCourse .nav-tabs .nav-link {
        width: 49%;
        font-size: 14px;
        padding: 10px
    }

    .course-details .tabs-aboutCourse .tab-content .what-y-learn li {
        width: 100%;
        font-size: 14px;
    }

    .course-details .tabs-aboutCourse .tab-content .course-content .requirements,
    .course-details .tabs-aboutCourse .tab-content .course-content .who-thiscourse {
        font-size: 14px;
    }

    .course-details .course-content .accordion {
        width: 100%;
    }

        .course-details .course-content .accordion .card .card-header h2 button {
            font-size: 14px;
            flex-wrap: wrap;
        }

    .course-details .tabs-aboutCourse .student-feedback, .course-details .tabs-aboutCourse .student-review {
        width: 100%;
    }

    .course-details .instructor-info .image-instructor img {
        width: 80px;
        height: 80px;
    }

    .navbar .course-title a {
        font-size: 16px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        width: 250px;
        display: block;
    }

    .employee-navabar.courseDetails-navbar {
        padding: 20px 0;
    }

    .course-details-owner {
        padding-top: 90px;
    }

        .course-details-owner .course-video iframe {
            height: 300px;
        }

    footer.course-details {
        width: 100%;
    }

    .tabs-course-details-owner {
        width: 100%;
        margin: auto;
    }
    /*.tabs-course-details-owner {
        width: 85%;
    }*/
    .sub-menu .dropdown-submenu > .dropdown-menu {
        border-radius: 0;
    }

    .sub-menu.dropdown .dropdown-menu {
        width: 100px;
    }

    .icon-user-mobile i {
        color: #fff !important;
    }

    .navbar .navbar-brand img.scollLogoVertical {
        height: 60px !important;
    }

    .course-details .modal .about-feedback .info-teacher {
        margin-top: 20px;
    }

    .tabs-course-details-owner .tabs-aboutCourse {
        width: 100%;
    }

    .form-search-courses {
        display: none;
    }

    .sub-menu.dropdown .dropdown-menu {
        box-shadow: none;
    }

    .sub-menu .dropdown-submenu {
        height: 40px;
    }

    .sub-menu.dropdown .dropdown-menu li a, .sub-menu.dropdown a {
        color: #000 !important
    }

    .courses-home-3 .header-bottom .btn-header-bottom a {
        padding: 0 10px !important;
        font-size: 14px !important;
    }

        .courses-home-3 .header-bottom .btn-header-bottom a:last-of-type {
            background: #f8f7f7;
        }

    .mobile-view li .form-search-courses {
        width: 90%;
        margin: auto;
        padding: 10px 0;
        border-bottom: 1px solid #ccc;
    }

    .Videos-box .sec-title h2 {
        font-size: 24px;
        width: 90%;
        margin: auto;
    }
}

@media (max-width: 991.98px) {
    .course-details-owner .course-video {
        width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .about-course .about-course-content a {
        font-size: 20px;
    }

    .about-course .image {
        left: 70px;
    }

    .tabs-course-details-owner {
        width: 85%;
    }

        .tabs-course-details-owner .tabs-aboutCourse {
            width: 100%;
        }

    .course-details .course-content .accordion {
        width: 100%;
    }

    .form-search-courses {
        display: none;
    }

    .sub-menu.dropdown .dropdown-menu {
        left: -90px;
    }

    .sub-menu .dropdown-submenu > .dropdown-menu {
        left: 60%;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .about-course .image {
        left: 100px;
    }

    .course-details .course-content .accordion {
        width: 100%;
    }

    .sub-menu.dropdown .dropdown-menu {
        min-width: 180px;
    }

    .sub-menu.dropdown .dropdown-menu {
        left: -80px;
    }

    .sub-menu .dropdown-submenu > .dropdown-menu {
        left: 70%;
    }

    header .header-bottom .content-header h2 {
        font-size: 1rem;
    }
}
