@media(min-width: 768px) {
    .header-right {
        display: block !important
    }
}

@media(max-width: 1440px) {
    .lessons_left {
        -ms-flex: 0 0 24%;
        -webkit-flex: 0 0 24%;
        flex: 0 0 24%;
        width: 24%;
        max-width: 24%;
    }

    .lessons_right {
        -ms-flex: 0 0 76%;
        -webkit-flex: 0 0 76%;
        flex: 0 0 76%;
        width: 76%;
        max-width: 76%;
    }
}

@media(max-width: 1199px) {

    .lesson_content {
        padding: 20px 47px 70px
    }

    .lessons_right .lessons_masterclass {
        display: -ms-flex !important;
        display: -webkit-flex !important;
        display: flex !important;
        -ms-align-items: center;
        -webkit-align-items: center;
        align-items: center;
        width: auto;
        padding: 0
    }

    .lessons_right .lessons_masterclass h3 {
        font-size: 24px;
        line-height: 32px;
        -ms-order: 1;
        -webkit-order: 1;
        order: 1;
    }

    .lessons_right .lessons_masterclass .tag {
        margin: 0;
        -ms-order: 2;
        -webkit-order: 2;
        order: 2;
        margin-left: 15px
    }

    .next_prev {
        width: auto
    }

    .lessons_right {
        -ms-flex: 0 0 100%;
        -webkit-flex: 0 0 100%;
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%
    }

    .lessons_right .lessons_head {
        padding: 0 47px
    }

    .lesson-menu {
        display: block
    }

    #nav-icon2 {
        right: auto;
        left: 12px;
    }

    .prev_lesn {
        margin-right: 20px
    }

    .lessons_left {
        position: absolute;
        top: 0;
        left: 0;
        width: 336px;
        max-width: 90%;
        height: 100%;
        z-index: 100;
        max-height: 100vh;
        overflow-y: scroll;
        left: -336px;
        transition: all .6s;
        left: -100%;
    }

    body.show .lessons_left {
        left: 0
    }

    body.show {
        overflow: hidden
    }

    body.show:before {
        content: '';
        position: fixed;
        left: 0;
        height: 100%;
        width: 100%;
        top: 0;
        background: rgba(2, 27, 49, .5);
        z-index: 99
    }

    body.show #nav-icon2 {
        z-index: 112;
        left: 300px;
    }
}

@media(max-width: 1040px) {
    .coursBtn {
        margin-left: 295px;
        margin-top: 15px;
        width: 500px;
        max-width: 70%;
        -ms-flex: 0 0 100%;
        -webkit--flex: 0 0 100%;
        flex: 0 0 100%;
        text-align: left
    }

    .coursBtn a {
        margin-bottom: 0;
        margin-right: 10px
    }

    .page_section {
        padding: 60px 0;
    }

    .page_section .container .row {
        padding-bottom: 60px
    }

    .container {
        padding: 0 48px
    }

    .courstxt_wrap {
        padding-right: 0
    }


}

@media(max-width:991px) {
    .page-main {
        margin-bottom: 25px
    }

    .page-main img {
        height: 220px;
        -ms-object-fit: cover;
        -webkit-object-fit: cover;
        object-fit: cover;
    }

    .banner .container {
        min-height: 284px
    }

    .courstxt ul li {
        padding: 0 15px
    }

    .courstxt ul {
        margin: 0 -15px
    }

    .header-right ul li {
        padding: 0 10px
    }

    .header-right ul li.log-in {
        padding: 0 20px
    }

    .coursImg {
        -ms-flex: 0 0 150px;
        -webkit--flex: 0 0 150px;
        flex: 0 0 150px;
        width: 150px;
        max-width: 150px;
    }

    .coursImg img {
        height: 105px;
        min-height: inherit
    }

    .courstxt_wrap {
        -ms-flex: 0 0 calc(100% - 160px);
        -webkit--flex: 0 0 calc(100% - 160px);
        flex: 0 0 calc(100% - 160px);
        width: calc(100% - 160px);
        max-width: calc(100% - 160px);
    }

    .coursBtn {
        margin-left: 170px
    }

    .courses-row {
        -ms-flex-align: flex-start !important;
        align-items: flex-start !important;
    }

    .courses-row .courstxt ul li {
        display: block
    }

    .courses-row .courstxt ul li p {
        padding: 7px 0 0
    }

    .courses-sections {
        padding: 35px 0
    }

    .btn-play img {
        max-width: 88px
    }

    .accord_right ul {
        display: none !important
    }

    .accord_right .btn {
        margin-left: 0
    }

    .card_in .card-body li .accord_left {
        -ms-flex: 0 0 70%;
        flex: 0 0 70%;
        width: 70%;
        max-width: 70%;
    }
    .courses-pg {
        padding: 50px 0 0
    }
    .my_course_ban h1 ,
    .course-banner h1 {
        font-size: 32px;
        line-height: 1.4
    }
    .my_course_ban p {
         font-size: 14px;
        line-height: 20px;
    }
    .course-banner p {
        font-size: 14px;
        line-height: 20px;
    }
    .course-banner  .container {
        min-height: 348px
    }
}

@media(max-width: 767px) {


    .mob-only {
        display: block
    }

    .header-right {
        display: none
    }

    .container {
        padding: 0 15px
    }

    h1 {
        font-size: 28px;
    }

    .banner_in p {
        font-size: 16px;
    }

    .logo {
        max-width: 110px;
    }

    .header .container {
        height: 40px;
        position: relative
    }

    .page-main img {
        height: 180px
    }

    h3 {
        font-size: 24px
    }

    .courstxt ul {
        -ms-flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .courstxt ul li {
        padding-bottom: 10px
    }

    .courstxt ul li img {
        display: inline-block;
        vertical-align: middle;
        margin: 0
    }

    .courstxt ul li p {
        display: inline-block;
        vertical-align: middle;
        padding-left: 5px
    }

    .btn {
        padding: 0 17px;
        margin-right: 5px;
    }

    .courstxt ul {
        padding-bottom: 5px
    }

    .page_section .container .row {
        padding-bottom: 30px;
    }

    .page_section {
        padding: 30px 0
    }

    .page-main {
        margin-bottom: 20px
    }

    .banner .container {
        min-height: 150px;
    }

    .banner_in h1 {
        padding-bottom: 15px;
    }

    .banner_in p {
        line-height: 1.5
    }

    .coursImg,
    .courstxt_wrap,
    .coursBtn {
        -ms-flex: 0 0 100%;
        -webkit--flex: 0 0 100%;
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0
    }

    .coursImg {
        margin-bottom: 15px;
    }

    .coursImg img {
        height: 115px;
    }

    h4 {
        font-size: 20px;
        line-height: 28px;
    }

    .courses-sections {
        padding: 15px 0
    }

    .courses-row {
        padding: 20px 0
    }

    body {
        font-size: 14px;
    }

    .header-right {
        position: absolute;
        top: 100%;
        background: #fff;
        left: 0;
        width: 100%
    }

    .header-right ul li {
        width: 100%;
        padding: 0 15px;
    }

    .header-right ul {
        display: block !important;
        padding: 15px 0 20px
    }

    .header-right ul li a {
        padding: 7px 0;
        display: flex;
        justify-content: space-between;
    }

    .header-right ul li.log-in {
        max-width: calc(100% - 30px);
        margin-left: 15px;
    }

    .header-right ul li.log-in a {
        padding: 0;
        margin-top: 7px;
        color: #fff;
    }

    #wrapper {
        padding-top: 40px;
    }

    .prev_lesn {
        margin-right: 30px
    }

    .lessons_head .next_prev p {
        font-size: 0;
        padding: 0 0 0 10px
    }

    .lessons_right .lessons_head {
        padding: 0 16px;
    }

    .lessons_right .lessons_masterclass {
        opacity: 0;
        width: 1px;
        overflow: hidden
    }

    #nav-icon2 {
        left: 16px
    }

    .lesson_content {
        padding: 20px 16px 50px
    }

    .btn-play img {
        max-width: 54px
    }

    .lesson_details h3 {
        font-size: 24px
    }

    .lesson_details p strong {
        font-size: 16px;
    }

    .lesson_details p {
        font-size: 16px
    }

    .quiz-lsson .btn {
        padding: 0 12px
    }

    .lesson_sheets .card_in {
        margin: 0 -16px 30px;
        border-radius: 0;
        border-left: 0;
        border-right: 0
    }

    .card_in .card-body li .accord_right,
    .card_in .card-body li .accord_left {
        -ms-flex-align: flex-start !important;
        -webkit-flex-align: flex-start !important;
        align-items: flex-start !important;
        flex: 0 0 100%;
        -ms-flex: 0 0 100%;
        max-width: 100%;
        width: 100%;

    }

    .card_in .card-body li .accord_right {
        padding: 10px 0 0 32px
    }

    .card_in .card-body li .accord_icon {
        margin: 0;
        margin-top: 5px;
        flex: 0 0 20px;
        -ms-flex: 0 0 20px;
        max-width: 20px;

        width: 20px;
    }

    .card_in .card-body li p {
        flex: 0 0 calc(100% - 20px);
        -ms-flex: 0 0 calc(100% - 20px);
        max-width: calc(100% - 20px);
        width: calc(100% - 20px);
        padding-left: 12px
    }


    .lessons_toggle .card_in .card-body li {
        padding: 0 8px;
    }

    .lessons_left .lessons_head,
    .lessons_left .lessons_masterclass,
    .lessons_left .lessonHead {
        padding-left: 16px;
        padding-right: 16px
    }

    .video-mid {
        width: 80%;
    }

    .lesson_video .video-mid p {
        font-size: 14px;
        line-height: 18px
    }

    .work_details {
        padding-bottom: 15px
    }

    .work_details ul {
        -ms-flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        margin: 0 -12px;

    }

    .work_details ul li {
        padding: 10px 12px;
        min-width: 100px
    }

    .card_in .card-body li .accord_left {
        width: 100%;
    }

    .media-right {
        margin: 0
    }

    .media-left {
        -ms-flex: 0 0100%;
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .media-body {
        padding: 15px 0 0
    }

    .media-right p,
    .media-body p {
        font-size: 14px;
        line-height: 20px;
    }

    .media-left img {
        height: 40px;
        width: 40px;
    }

    .row.mb-5 {
        margin-bottom: 14px !important
    }

    .course-accordian {
        padding-top: 23px
    }

    .work_accordian .accordion {
        margin: 0 -15px
    }

    .work_accordian .card_in {
        border-radius: 0;
        margin-bottom: 9px
    }



    .accordion > .card {
        border-radius: 0
    }

    .card_in .card-body li .accord_right {
        font-size: 0;
        padding: 0 0 0 32px;

    }

    .card_in .card-body li .accord_right a {
        margin-top: 10px
    }

    .accordion .card_in .card-header {
        flex-wrap: wrap;
    }

    .card-header .btn {
        position: static;
        transform: none;
        margin: 0;
        -ms-order: 3;
        -webkit-order: 3;
        order: 3;
        margin: 10px 0 0 30px
    }

    .card_in .card-title {
        -ms-flex: 0 0 calc(100% - 33px);
        flex: 0 0 calc(100% - 33px);
        width: calc(100% - 33px);
        max-width: calc(100% - 33px);
    }

    .card_in .card-header {
        font-size: 18px;
        line-height: 26px
    }

    .card-header .btn {
        font-size: 14px
    }

    .recommendation {
        margin-top: 21px;
    }

    .courses-sections h3 {
        font-size: 24px;
        line-height: 32px;
    }
    .course-banner {
        text-align: center
    }
    .course-banner {
        padding-top: 25px
    }
    .course-banner .tag {
        display: none
    }
    .banner_in {
        padding: 30px 0
    }
    .courses-pg {
        padding: 30px 0 0
    }
    .master_details {
        padding-bottom: 25px
    }
    .coursBtn a {
        margin: 0
    }
    .coursBtn .btn-lrn {
        padding-right: 0;
        margin: 0
    }
    .media-right {
            width: 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    }
    .my_course_ban h1 ,
    .course-banner h1 {
        font-size: 28px;
        line-height: 1.2
    }
    .course-banner p {
       font-size: 16px;
line-height: 24px;
    }

    .percntge {
        position: static;
        -ms-order: 3;
    -webkit-order: 3;
            order: 3;
        -webkit-xtransform: none;
        transform: none;
    }

    .login-container {
        max-width: 100%;
        min-width: fit-content;
    }
}


@media(max-width: 360px) {


    .lessons_left {
        width: 100%;
        max-width: 100%;
    }

    body.show #nav-icon2 {
        right: 15px;
        left: auto
    }

}


@media(max-width: 359px) {
    .quiz-lsson {
        display: block !important
    }

    .quiz-lsson .btn {
        margin: 7px 0;
        width: 100%;
    }

    h1 {
        font-size: 24px;
    }

    .banner_in p {
        font-size: 15px;
    }

    h3 {
        font-size: 21px
    }

    .login-container {
        max-width: 100%;
        min-width: fit-content;
    }
}
