body{
    font-family: balootamma;
}
.library-header-content{
    background: url('../images/communicative-header-bg.svg');
    background-position: center;
    background-repeat: no-repeat;
}

.library-header-content .header-content{
    max-width: 1128px;
    margin: auto;
    padding: 60px 15px 60px;
}
.library-header-content .left{
    width: 67%;
    float: left;
    padding-right: 30px;
    padding-top: 20px;
}
.library-header-content .left h1{
    margin: 0;
    color: #FFFFFF;
    font-size: 48px;
    font-family: balootammaextrabold;
    max-width: 425px;
}
.library-header-content .left .content{
    font-size: 18px;
    color: #fff;
    margin-top: 25px;
    max-width: 490px;
}
.library-header-content .left a{
    display: block;
    width: 212px;
    background: #fff;
    text-align: center;
    margin-top: 25px;
    height: 46px;
    line-height: 50px;
    border-radius: 14px;
    color: #58CC02;
    font-size: 15px;
    font-family: balootammabold;
    border-bottom: 4px solid #59d93059;
}
.library-header-content .right{
    width: 33%;
    float: right;
}
.library-header-content .right img{
    width: 100%;
}


.library-box-content{
    border: 1px solid #E5E5E5;
    border-radius: 19px;
    padding: 20px 30px;
    margin-top: 24px;
    color: #AFAFAF;
    font-size: 18px;
    position: relative;
}
.library-box-content a{
    display: inline-block;
    width: 26px;
    height: 26px;
    background: url(../images/voca-bg.svg?n=10) 0px -10150px;
    position: absolute;
    right: -12px;
    top: -12px;
    z-index: 0;
}
.library-box-content .left{
    width: 100px;
    float: left;
    padding-top: 12px;
}
.library-box-content .right{
    width: 170px;
    float: left;
}
.library-box-content .middle{
    width: calc(100% - 270px);
    float: left;
    padding-left: 24px;
    padding-right: 24px;
}
.library-box-content .right .view-more a{
    position: relative;
    width: 134px;
    height: 49px;
    background: #fff;
    border-radius: 16px;
    text-align: center;
    line-height: 49px;
    color: #1CB0F6;
    font-size: 15px;
    font-family: 'balootammabold';
    border: 1px solid #e5e5e5;
    border-right: 4px solid #E5E5E5;
    border-bottom: 4px solid#E5E5E5;
    margin-top: 30px;
}
.library-box-content .content p{
    position: relative;
    padding-left: 15px;
}
.library-box-content .content p::before{
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #AFAFAF;
    border-radius: 4px;
    position: absolute;
    top: 5px;
    left: 0;
}

.library-content{
    max-width: 907px;
    margin: auto;
    padding: 27px 15px 48px;
    min-height: 900px;
}

.study-path-content{
    padding-top: 30px;
}
.study-path-title .title{
    color: #777777;
    font-size: 20px;
    font-family: 'balootammabold';
    float: left;
    margin-right: 15px;
}
.study-path-title .title span{
    display: none;
}
.study-path-title .description{
    float: left;
    font-size: 20px;
    color: #201F1F;
    font-family: 'balootammabold';
    margin-top: 14px;
    margin-right: 15px;
}
.study-path-title .value{
    float: left;
    font-size: 15px;
    color: #FF7878;
    background: rgb(255 120 120 / 22%);
    height: 36px;
    line-height: 36px;
    padding: 0px 10px;
    border-radius: 8px;
    margin-top: -5px;
}
.study-path-title .value strong{
    font-weight: 400;
    font-size: 18px;
    font-family: 'balootammabold';
}
.study-path-lesson{
    margin-top: 20px;
}
.study-path-lesson .lesson-item{
    background: #F7F7F7;
    border-radius: 19px;
    border: 1px solid #e5e5e5;
    padding: 15px;
    margin-top: 15px;
}
.study-path-lesson .lesson-item.active{
    background: #DDF4FF;
    border-color: #84D8FF;
}
.study-path-lesson .lesson-item.coming-soon{
    border-color: #e5e5e5;
    background: #F7F7F7;
}
.lesson-item .lesson-header:hover{
    cursor: pointer;
}
.lesson-item .lesson-header .image{
    width: 107px;
    height: 93px;
    float: left;
    overflow: hidden;
    border-radius: 11px;
}
.lesson-item .lesson-header .image img{
    width: 100%;
    height: 100%;
}
.lesson-item .lesson-header .coming-text{
    width: 100px;
    float: right;
    font-size: 17px;
    color: #afafaf;
    margin-top: 35px;
}
.lesson-item .lesson-header .name{
    width: calc(100% - 450px);
    float: left;
    padding-left: 35px;
}
.lesson-item .lesson-header .name .name-no{
    font-size: 20px;
    font-family: balootammamedium;
    margin-top: 5px;
    color: #777;
}
.lesson-item.active .lesson-header .name .name-no{
    color: #1899D6;
}
.lesson-item .lesson-header .name .name-en{
    font-size: 20px;
    font-family: 'balootammasemibold';
    margin-top: 0px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    line-height: 1.2;
    max-height: 48px;
    text-transform: uppercase;
    
}
.lesson-item.coming-soon .lesson-header .name .name-en{
    color: #777;
}
.lesson-item.active .lesson-header .name .name-en{
    color: #1899D6;
}
.lesson-item .lesson-header .name .name-vi{
    font-size: 18px;
    color: #afafaf;
  
}
.lesson-item .lesson-header .progress-group{
    width: 300px;
    float: left;
    margin-top: 30px;
}
.lesson-item .lesson-header .arrow{
    width: 45px;
    height: 14.764px;
    float: left;
    background: url(../images/study-path-bg.svg?n=1) 0 -280px;
    margin-top: 30px;
    width: 24px;
    margin-right: 15px;
}
.lesson-item.opened .lesson-header .arrow{
    transform: rotate(180deg);
}
.lesson-header .progress-group .progress-complete{
    color: #AFAFAF;
    font-size: 13px;
    font-family: balootammamedium;
}
.lesson-header .progress-group .progress-complete strong{
    font-family: 'balootammabold';
}
.lesson-header .progress-group .progress-bg{
    float: left;
    width: 240px;
    height: 17px;
    background: #fff;
    border-radius: 9px;
    box-shadow: none;
    margin: 0;
    position: relative;
    overflow: hidden;
    margin-right: 15px;
}
.lesson-header .progress-group .progress-bg .progress-value{
    height: 17px;
    width: 100px;
    background: #FFC800;
    border-radius: 17px;
    border: 5px solid #FFB100;
}
.lesson-header .progress-group .progress-percent{
    float: left;
    color: #AFAFAF;
    font-size: 15px;
    font-family: balootammabold;
}
.lesson-body{
    background: #FFFFFF;
    border-radius: 11px;
    margin-top: 15px;
    padding: 20px 30px;
    display: none;
}
.lesson-item.opened .lesson-body{
    display: block;
}
.lesson-body .part-description{
    color: #777777;
    font-size: 20px;
}
.lesson-body .part-content{
    
}
.lesson-body .part-item{
    width: 190px;
    margin-top: 25px;
    float: left;
    position: relative;
}
.lesson-body .part-item .item-content{
    width: 106px;
}
.lesson-body .part-item .part-image{
    width: 106px;
    height: 106px;
    background: #FFFFFF;
    border-radius: 55px;
    border: 9px solid #E5E5E5;
    margin: auto;
    position: relative;
    transition: 0.6s;
}
.lesson-body .part-item.active .part-image{
    border-color: #FFC800;
}

.lesson-body .part-item .part-item-content::before{
    content: '';
    display: block;
    width: 190px;
    height: 8px;
    background: #E5E5E5;
    position: absolute;
    left: 0;
    top: 50px;
}
.lesson-body .part-item.active .part-item-content::before{
    background: #FFC800;
}

.lesson-body .part-item:nth-last-child(2) .part-item-content::before{
    width: 0;
}

.lesson-body .part-item .part-image::after{
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    background: #E5E5E5;
    border: 2px solid #fff;
    position: absolute;
    right: -10px;
    bottom: 0;
}
.lesson-body .part-item.active .part-image::after{
    border: 0;
    border-radius: 0;
    background: url(../images/study-path-bg.svg) 0 -240px;   
}

.lesson-body .part-item .image-bg{
    width: 73px;
    height: 73px;
    border-radius: 40px;
    background: #E5E5E5;
    margin: 7px auto;
    position: relative;
}
.lesson-body .part-item .tag-free{
    position: absolute;
    top: -15px;
    right: -30px;
    background: #58CC02;
    border-radius: 6px;
    border: 1px solid #fff;
    color: #fff;
    font-size: 13px;
    padding: 2px 5px 0px;
}
.lesson-body .part-item.vocabulary:not(.active) .part-image:hover{
    border-color: #1CB0F6;
}
.lesson-body .part-item.grammar:not(.active) .part-image:hover{
    border-color: #00CB7E;
}
.lesson-body .part-item.sentence:not(.active) .part-image:hover{
    border-color: #FC4848;
}
.lesson-body .part-item.pronunciation:not(.active) .part-image:hover{
    border-color: #FF9600;
}
.lesson-body .part-item.natural:not(.active) .part-image:hover{
    border-color: #58CC02;
}



.lesson-item.active .lesson-body .part-item.vocabulary .image-bg{
    background: #1CB0F6;
}
.lesson-item.active .lesson-body .part-item.grammar .image-bg{
    background: #00CB7E;
}
.lesson-item.active .lesson-body .part-item.sentence .image-bg{
    background: #FC4848;
}
.lesson-item.active .lesson-body .part-item.pronunciation .image-bg{
    background: #FF9600;
}
.lesson-item.active .lesson-body .part-item.natural .image-bg{
    background: #58CC02;
}
.lesson-body .part-item .part-name{
    text-align: center;
    margin-top: 10px;
    color: #777777;
    font-size: 17px;
    font-family: 'balootammabold';
}
.lesson-body .part-item.vocabulary .image-bg::before{
    content: '';
    display: inline-block;
    width: 41px;
    height: 41.316px;
    background: url(../images/part-vocabulary-white.svg);
    position: absolute;
    left: 18px;
    top: 17px;
    transition: 0.5s;
}

.lesson-body .part-item.grammar .image-bg::before{
    content: '';
    display: inline-block;
    width: 41.001px;
    height: 32.45px;
    background: url(../images/part-grammar-white.svg);
    position: absolute;
    left: 18px;
    top: 20px;
    transition: 0.5s;
}

.lesson-body .part-item.pronunciation .image-bg::before{
    content: '';
    display: inline-block;
    width: 45.34px;
    height: 47.414px;
    background: url(../images/part-pronunciation-white.svg);
    position: absolute;
    left: 14px;
    top: 15px;
    transition: 0.5s;
}

.lesson-body .part-item.sentence .image-bg::before{
    content: '';
    display: inline-block;
    width: 43px;
    height: 39px;
    background: url(../images/part-sentence-white.svg);
    position: absolute;
    left: 15px;
    top: 18px;
    transition: 0.5s;
}

.lesson-body .part-item.natural .image-bg::before{
    content: '';
    display: inline-block;
    width: 45.843px;
    height: 34.453px;
    background: url(../images/part-natural-white.svg);
    position: absolute;
    left: 14px;
    top: 20px;
    transition: 0.5s;
}

.lesson-item.disabled .lesson-body .part-item.vocabulary .image-bg::before{
    background: url(../images/part-vocabulary-gray.svg);
}
.lesson-item.disabled .lesson-body .part-item.grammar .image-bg::before{
    background: url(../images/part-grammar-gray.svg);
}
.lesson-item.disabled .lesson-body .part-item.sentence .image-bg::before{
    background: url(../images/part-sentence-gray.svg);
}
.lesson-item.disabled .lesson-body .part-item.pronunciation .image-bg::before{
    background: url(../images/part-pronunciation-gray.svg);
}
.lesson-item.disabled .lesson-body .part-item.natural .image-bg::before{
    background: url(../images/part-natural-gray.svg);
}



.lesson-item.disabled .lesson-body .part-item.vocabulary .part-image:hover .image-bg::before{
    background: url(../images/part-vocabulary-active.svg);
}
.lesson-item.disabled .lesson-body .part-item.grammar .part-image:hover .image-bg::before{
    background: url(../images/part-grammar-active.svg);
}
.lesson-item.disabled .lesson-body .part-item.sentence .part-image:hover .image-bg::before{
    background: url(../images/part-sentence-active.svg);
}
.lesson-item.disabled .lesson-body .part-item.pronunciation .part-image:hover .image-bg::before{
    background: url(../images/part-pronunciation-active.svg);
}
.lesson-item.disabled .lesson-body .part-item.natural .part-image:hover .image-bg::before{
    background: url(../images/part-natural-active.svg);
}

.lesson-body .part-item .part-item-button {
    background: #00A3F8;
    width: 300px;
    min-height: 160px;
    position: absolute;
    z-index: 1;
    border-radius: 20px;
    padding: 25px 15px;
    bottom: -170px;
    left: -95px;
    display: block;
    transition: transform .25s;
    transform: scale(0);
}
.lesson-body .part-item.opened .part-item-button {
    transform: scale(1);
}
.lesson-body .part-item .part-item-button::before {
    content: '';
    display: block;
    position: absolute;
    left: calc(50% - 8px);
    width: 15px;
    height: 15px;
    background: #00A3F8;
    -moz-transform: rotate(135deg);
    -webkit-transform: rotate(-135deg);
    top: -6px;
}
.lesson-body .part-item .part-item-button.continue{
    background: #CE82FF;
}
.lesson-body .part-item .part-item-button.continue::before {
    background: #CE82FF;
}

.lesson-body .part-item .part-item-button.review{
    background: #EE0048;
}
.lesson-body .part-item .part-item-button.review::before {
    background: #EE0048;
}

.lesson-item.disabled .lesson-body .part-item .part-item-button{
    background: #F7F7F7;
    border: 1px solid #e5e5e5;
}
.lesson-item.disabled .lesson-body .part-item .part-item-button::before{
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    background: #f7f7f7;
    top: -8px;
}

.lesson-item.disabled .lesson-body .part-item .part-item-button.button-content-upgrade{
    min-height: 240px;
    bottom: -245px;
}
.lesson-item.disabled .lesson-body .part-item .part-item-button.button-content-upgrade .title{
    color: #777777;
    font-size: 18px;
    text-align: center;
    font-family: 'balootammabold';
}


.lesson-item.lesson-trial .lesson-body .part-item-button{
    background: #F7F7F7;
    border: 1px solid #e5e5e5;
}
.lesson-item.lesson-trial .lesson-body .part-item-button::before{
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    background: #f7f7f7;
    top: -8px;
}

.lesson-item.lesson-trial .lesson-body .part-item-button.button-content-upgrade{
   min-height: 170px;
    bottom: -150px;
}
.lesson-item.lesson-trial .lesson-body .part-item-button.button-content-upgrade .title{
    color: #777777;
    font-size: 18px;
    text-align: center;
    font-family: 'balootammabold';
}
.item-button-content h5 {
    font-size: 20px;
    font-family: promtsemibold;
    color: var(--color-white);
    padding-right: 10px;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    margin: 0;
    padding-top: 5px;
}
.item-button-content h6 {
    margin: 20px 0px 0px;
    font-size: 15px;
    color: var(--color-white);
    font-family: promtsemibold;
    margin-bottom: 10px;
}
.lesson-item.disabled .item-button-content .msg {
    font-size: 15px;
    font-family: 'balootammamedium';
    text-align: center;
    color: #AFAFAF;
}
.lesson-item.lesson-trial .item-button-content .msg {
    font-size: 15px;
    font-family: 'balootammamedium';
    text-align: center;
    color: #AFAFAF;
}
.item-button-content a {
    background: var(--color-white);
    text-transform: uppercase;
    color: #0085CB;
    border: 1px solid #B2DAFF;
    border-bottom: 3px solid #B2DAFF;
    position: absolute;
    width: calc(100% - 30px);
    left: 15px;
    bottom: 15px;
}

.lesson-body .part-item .part-item-button.continue a {
    color: #ce82ff;
    border: 1px solid #ce82ff5e;
    border-bottom: 3px solid #ce82ff5e;
   
}

.lesson-body .part-item .part-item-button.review a {
    color: #EE0048;
    border: 1px solid #ee00488a;
    border-bottom: 3px solid #ee00488a;
   
}

.part-item-content:hover{
    cursor: pointer;
}
.lesson-item.disabled .part-item-button .item-button-content a{
    
    background: #1CB0F6;
    border: 1px solid #0085CB;
    border-bottom: 3px solid #0085CB;
    color: #fff;
}
.lesson-item.disabled .part-item-button.button-content-upgrade .item-button-content a.btn-course{
    bottom: 80px;
    background: #fff;
    border-color: #FF9600;
    color: #FF9600;
}
.lesson-item.disabled .part-item-button.button-content-upgrade .item-button-content a.btn-premium{
    color: #fff;
    border: 0px;
    background: #FF9600;
    border-bottom: 4px solid #DE8200;
}


.lesson-item.lesson-trial .part-item-button .item-button-content a{
    
    background: #1CB0F6;
    border: 1px solid #0085CB;
    border-bottom: 3px solid #0085CB;
    color: #fff;
}
.lesson-item.lesson-trial .part-item-button.button-content-upgrade .item-button-content a.btn-course{
    bottom: 80px;
    background: #fff;
    border-color: #FF9600;
    color: #FF9600;
}
.lesson-item.lesson-trial .part-item-button.button-content-upgrade .item-button-content a.btn-premium{
    color: #fff;
    border: 0px;
    background: #FF9600;
    border-bottom: 4px solid #DE8200;
}
@media(max-width: 767px){
    .library-box-content{
        display: none;
    }
    .study-path-title .title span{
        display: inline-block;
    }
    .study-path-title .value{
        display: none;
    }
    .study-path-content {
        padding-top: 25px;
    }
    .study-path-title .title{
        float: none;
        margin: 0;
        text-align: center;
        font-size: 26px;
    }
    .study-path-title .description{
        margin: 5px 0px;
        float: none;
        text-align: center;
    }
    .lesson-item .lesson-header .image{
        width: 90px;
        height: 79px;
    }
    .lesson-item .lesson-header .name {
        width: calc(100% - 90px);
        padding-left: 13px;
    }
    .lesson-item .lesson-header .progress-group{
        width: calc(100% - 90px);
        padding-left: 13px;
        margin-left: 90px;
        margin-top: -12px;
    }   
    .lesson-item .lesson-header .name .name-no{
        margin-top: 0;
        font-size: 14px;
        font-family: balootammamedium;
    }
    .lesson-item .lesson-header .name .name-en{
        font-size: 16px;
        font-family: 'balootammasemibold';
        margin-top: 0;
        height: 22px;
        overflow: hidden;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }
     .lesson-item .lesson-header .name .name-vi{
         font-size: 14px;
         height: 19px;
        overflow: hidden;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        display: -webkit-box;
     }
    .lesson-header .progress-group .progress-complete{
        float: none;
        font-size: 10px;
        color: #4c4c4c;
        font-family: 'balootamma';
    }
    .lesson-header .progress-group .progress-bg{
        float: none;
        margin: 5px 0px 0px;
        width: 100%;
    }
    .study-path-lesson .lesson-item .lesson-header{
        position: relative;
    }
    .lesson-item .lesson-header .arrow{
        float: none;
        position: absolute;
        right: 0;
        top: 0;
        margin: 0;
    }
    .lesson-header .progress-group .progress-percent{
        display: none;
    }
    .lesson-body{
        padding: 13px 17px;
    }
    
    .lesson-body .part-item{
        width: 100%;
        float: none ;
        margin-top: 0px;
        height: 150px;
    }
    .lesson-body .part-content {
        margin-left: 0;
        margin-top: 25px;
        
    }
    .lesson-body .part-item:nth-last-child(2) .part-item-content::before{
        display: none;
    }
    .lesson-body .part-item:nth-last-child(2){
        height: 115px;
    }
    .lesson-body .part-item .part-image{
        margin: 0;
    }
    .lesson-body .part-item .part-item-content::before {
        width: 10px;
        left: 49px;
        height: 60px;
        top: 91px;
    }
    .lesson-body .part-item .part-name{
        float: left;
        margin-top: -65px;
        padding-left: 125px;
    }
    .lesson-body .part-item .item-content{
        width: 100%;
    }
    .lesson-body .part-item .part-item-button{
        bottom: -130px;
        left: -32px;
    }
    .lesson-item.disabled .lesson-body .part-item .part-item-button.button-content-upgrade {
        bottom: -205px;
    }
    .lesson-body .part-item .part-item-button::before{
        left: 78px;
    }
    .lesson-body .part-item:nth-last-child(2) .part-item-button{
        bottom: -165px;
    }

    .library-header-content{
        background: #9069cd;
    }
    .library-header-content .right{
        width: 100%;
        float: none;
        max-width: 260px;
        margin: auto;
    }
    .library-header-content .left{
        width: 100%;
        margin-top: 30px;
        padding: 0;
        float: none;
    }
    .library-header-content .left h1{
        font-size: 28px;
        text-align: center;
    }
    .library-header-content .left .content {
        font-size: 15px;
        text-align: center;
        max-width: 300px;
        margin: 10px auto 0px;
    }
    .library-header-content .header-content{
        padding-bottom: 30px;
        padding-top: 30px;
    }
    .library-header-content .left a{
        width: 100%;
        margin-top: 15px;
    }
}