:root {
    --light-purple: #011012;
    --purple: #6A49F2;
    --bg-purple: #6A49F2;
    --dark-purple: #32236F;
    --body-text-green: #011012;
    --text-white: #ffffff;
    --bg-white: #ffffff;
    --slider-dots-color: #D4D2DD;
    --light-bg: #011012;
    --Green-Mobile-main-Light: #EFFCF3;
    --black-mobile3-Darker: #011012;
    --black-mobile3-Darker-active: #011012;
    --green-download: #5BDC8A;
    --green-005: #5BDC8A;
    --Light-active: #CBCBCC;
    --text-white: #ffffff;
}

body {
    background-color: var(--black-mobile3-Darker)!important;
    font-family: "FC Minimal";
}

.ag-format-container {
    /* width: 1142px; */
    margin: 0 auto;
}

.ag-lesson-block {
    padding: 50px 0;
    overflow-x: hidden;
}

.ag-lesson_box {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: block;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0px 0 0;
}

.ag-lesson_title {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 100%;
    flex: 1 1 100%;
    line-height: .91;
    font-weight: 700;
    font-size: 60px;
    margin: 0 230px 0 0;
    color: #000;
}

.ag-lesson_text {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 440px;
    flex: 0 0 440px;
    line-height: 1.32;
    padding: 0 30px 0 0;
    font-size: 18px;
    color: #6D6D6D;
}


/* carousel */

.ag-carousel-arrow_box {
    white-space: nowrap;
}


/* .ag-carousel_box {
    margin: 0 -6% 0 calc(50% - 571px);
    
    position: relative;
} */

.ag-carousel_box {
    /* margin: 0 0% 0 calc(77% - 565px); */
    position: relative;
}

.ag-carousel-arrow {
    display: inline-block;
    height: 52px;
    width: 52px;
    border: 1px solid #56565B;
    /* background-color: #000; */
    cursor: pointer;
    stroke: #FFF;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    -webkit-transition: all .2s ease-out 0s;
    -moz-transition: all .2s ease-out 0s;
    -o-transition: all .2s ease-out 0s;
    transition: all .2s ease-out 0s;
    position: relative;
}

.ag-carousel-arrow:hover {
    border: 1px solid #000;
    background-color: var(--green-005);
    stroke: #FFF;
}

.js-ag-carousel-arrow_prev {
    margin: 0 12px 0 0;
}

.js-ag-carousel-arrow_prev:hover,
.js-ag-carousel-arrow_next:hover {
    stroke: #FFF;
}

.svg-arrow-left,
.svg-arrow-right {
    height: 18px;
    width: 20px;
    margin: -8px 0px 0 -5px;
    position: absolute;
    top: 50%;
    left: 40%;
}

.ag-carousel_item {
    padding: 0 0 0 15px;
}

.ag-carousel_video {
    position: relative;
}

.ag-video_frame__carousel {
    -webkit-border-radius: 20px 20px 0 0;
    -moz-border-radius: 20px 20px 0 0;
    border-radius: 20px 20px 0 0;
}


/* .ag-video_frame-16x9 {
    display: block;
    height: 0;
    padding: 0 0 56.25%;
    background-image: url(https://raw.githack.com/SochavaAG/example-mycode/master/pens/carousel-slick-left-space/images/youtube-bg.jpg);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    cursor: pointer;
    object-fit: cover;
    overflow: hidden;
    position: relative;
} */

.ag-video_frame-16x9:before {
    content: "";
    background-color: rgba(0, 0, 0, .4);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.ag-video_frame-16x9 iframe {
    height: 100%;
    width: 100%;
    border: 0;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
}

.ag-video_btn-play {
    height: 60px;
    width: 60px;
    margin: -30px auto 0;
    background-color: #000;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    z-index: 1;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
}

.svg-play {
    height: 21px;
    width: 19px;
    margin: -10px 0 0 -8px;
    fill: #FFF;
    position: absolute;
    top: 50%;
    left: 50%;
}

.ag-video_btn-play:hover {
    background-color: #ff2d30;
}

.ag-carousel_info {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    min-height: 235px;
    padding: 30px;
    border: 1px solid #DADADA;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 0 0 20px 20px;
    -moz-border-radius: 0 0 20px 20px;
    border-radius: 0 0 20px 20px;
}

.ag-carousel_review {
    line-height: 1.36;
    margin: 0 0 10px;
    font-size: 18px;
    color: #ACB3B8;
}

.ag-carousel_name {
    font-weight: 700;
    font-size: 25px;
    color: #000;
}

.ag-carousel_date {
    line-height: 1.36;
    text-align: right;
    font-size: 18px;
    color: #7C8890;
}

.box-crop-sub-reviiew002 {
    height: 75px;
}

@media only screen and (max-width:1199px) {
    .review_list_section .review_box .reviewer {
        margin-top: 5px;
    }
    .review_box p {
        -webkit-line-clamp: 5;
    }
}

@media (min-width: 980px) and (max-width: 1161px) {
    .ag-format-container {
        width: auto;
    }
    /* .ag-lesson_title {
        margin: 0 100px 0 0;
    } */
    .ag-lesson_text {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 313px;
        flex: 0 0 313px;
    }
    .ag-carousel_box {
        /* width: 960px; */
        margin: 0 auto;
    }
    .ag-carousel_list {
        margin: 0 0px 0 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .ag-format-container {
        width: auto;
    }
    .ag-lesson_box {
        display: block;
        padding: 0 0 40px;
    }
    .ag-lesson_title {
        margin: 0 0 40px;
    }
    .ag-lesson_text {
        padding: 0 0 40px;
    }
    .ag-carousel_box {
        width: 750px;
        margin: 0 auto;
    }
    .ag-carousel_list {
        margin: 0 0 0 0;
    }
    .ag-lesson_box {
        display: block;
        padding: 0 0 15px;
        text-align: center;
    }
    .ag-carousel_box {
        width: 100%;
        margin: 0 0 0 -15px;
    }
    .ag-carousel-arrow {
        height: 45px!important;
        width: 45px!important;
    }
}

@media only screen and (max-width: 767px) {
    .ag-format-container {
        width: 90%;
    }
    .ag-lesson-block {
        padding: 80px 0;
    }
    .ag-lesson_box {
        display: block;
        padding: 0 0 10px;
    }
    .ag-lesson_title {
        margin: 0 0 40px;
        font-size: 40px;
    }
    .ag-lesson_text {
        padding: 0 0 40px;
    }
    .ag-carousel_box {
        width: 90%;
        margin: 0 auto;
    }
    .ag-carousel_list {
        margin: 0;
    }
    .ag-carousel_item {
        padding: 0;
    }
    .review_box p {
        -webkit-line-clamp: 3;
    }
    .ag-carousel-arrow {
        height: 45px!important;
        width: 45px!important;
    }
}

@media only screen and (max-width: 639px) {
    .ag-lesson_box {
        padding: 0 0 27px;
    }
    .ag-lesson_title {
        margin: 0 0 30px;
        font-size: 30px;
    }
    .ag-lesson_text {
        font-size: 16px;
    }
    .ag-carousel_info {
        padding: 30px 20px;
    }
    .ag-carousel_review {
        font-size: 16px;
    }
    .ag-carousel_name {
        font-size: 25px;
    }
    .ag-carousel_date {
        font-size: 16px;
    }
}

@media only screen and (max-width: 485px) {
    .ag-carousel_box {
        width: 91%;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 479px) {
    .ag-carousel_review {
        font-size: 14px;
    }
    .ag-carousel_name {
        font-size: 20px;
    }
}