:root{
    --color-p:#327527;
    --color-p-hover:#23531b;
    --color-s:#CD3A35;
    --color-s-hover:#a6302c;
    --color-text:#121212;
}
body{
    font-family: "Roboto",sans-serif;
}
.color-p{
    color: var(--color-p) !important;
}
.color-s{
    color: var(--color-s) !important;
}
.color-text{
    color: var(--color-text) !important;
}
.bg-p{
    background-color: var(--color-p) !important;
}
.bg-s{
    background-color: var(--color-s) !important;
}
.bg-linear{
    background: linear-gradient(45deg,#2D6855,#80B052);
}
img{
    max-width: 100%;
}
.btn-p{
    background-color: var(--color-p);
    color: #fff !important;
    transition: .3s;
}
.btn-s{
    background-color: var(--color-s);
    color: #fff !important;
    transition: .3s;
}
.btn-s:hover{
    background-color: var(--color-s-hover);
}
.border-white{
    border-color: #fff !important;
}
.btn-p:hover{
    background-color: var(--color-p-hover);
}
.btn-p-2{
    color: var(--color-p) !important;
    background-color: #fff;
}
.btn-p-2:hover{
    background-color: #ddd;
}
.text{
    overflow: hidden;
    font-weight: normal;
    display: box;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    white-space: normal;
}
.text.text-2{
    font-size: 1rem;
    line-height: 1.3rem;
    max-height: 2.6rem;
    -webkit-line-clamp: 2;
}
.text.text-3{
    font-size: 1rem;
    line-height: 1.3rem;
    max-height: 3.9rem;
    -webkit-line-clamp: 3;
}

::-webkit-scrollbar{
    width: 5px;
}
::-webkit-scrollbar-track{
    background-color: #E5ECF8;
}
::-webkit-scrollbar-thumb{
    background-color: var(--color-p);
}

.pagination a{
    display: inline-block;
}
.pagination nav div.flex{
    display: none !important;
}
.pagination nav div.hidden div:first-child{
    display: none;
}
.pagination nav div.hidden div{
    margin-bottom: 10px;
}
.pagination nav div.hidden div span{
    box-shadow: none !important;
    display: flex;
    gap: 5px;
}
.pagination nav div.hidden>div span>*{
    width: 35px !important;
    height: 35px !important;
    display: inline-flex;
    padding: 0px !important;
    justify-content: center;
    align-items: center;
    position: relative;
    text-decoration: none;
    border-radius: 3px;
}
.pagination nav div.hidden>div span svg{
    width: 20px !important;
}
.pagination nav div.hidden div>span>span[aria-disabled="true"]>span{
    background-color: #ddd !important;
}
.pagination nav div.hidden div>span>span:not([aria-disabled="true"])>span:hover,
.pagination nav div.hidden div>span>a:hover,
.pagination nav div.hidden div>span>span[aria-current="page"]>span{
    border: 1px solid #4e73df !important;
    color: #4e73df !important;
}

.notifycation {
    position: fixed;
    right: -350px;
    top: 10px;
    width: 300px;
    opacity: 0;
    z-index: 1100;
}

.notifycation.animate {
    animation: notifycation 3s linear;
}
@keyframes notifycation {
    0% {
        opacity: 0;
        right: -350px;
    }

    10% {
        opacity: 1;
        right: 10px;
    }

    90% {
        opacity: 1;
        right: 10px;
    }

    100% {
        opacity: 0;
        right: 10px;
    }
}

/* HEADER */
header{
    box-shadow: 0px 5px 15px -10px #ccc;
    position: sticky;
    top: 0px;
    left: 0px;
    z-index: 20;
}
header.sticky .sticky-none{
    display: none !important;
}
#header-topbar{
    background-color: #E5ECF8;
}
#header-topbar a{
    color: var(--color-text);
    text-decoration: none;
}
#logo{
    width: 300px;
    max-width: 100%;
}
@media (max-width:500px){
    #logo{
        width: 250px;
    }
}
#header-main{
    background-color: #fff;
    padding: 5px 0px;
}
#header-main .nav-link{
    color: #002e6e;
    padding: 10px 15px;
    font-weight: 600;
}

#lang{
    width: 100px;
    display: flex;
    gap: 5px;
    align-items: center;
}

#lang a{
    display: block;
}
#lang a img{
    object-fit: cover;
}

#menu-mobile .lang_link{
    max-width: 40px;
    display: block;
}

/* FOOTER */
footer{
    background: url(../image/bgfooter.jpg);
    background-size: cover;
    background-position: top center;
    padding: 50px 0px;
}
.footer-link{
    text-decoration: none;
    display: inline-block;
    color: #fff;
    padding: 5px;
}
#copyright{
    text-align: center;
    color: #fff;
    margin-top: 30px;
}

/*  */
.card-about{
    background-color: #fff;
    padding: 7px;
    border-radius: 10px;
    margin-bottom: 10px;
}
.card-about .text{
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Courses tab */
.course-tab{
    background-color: #fff;
    color: var(--color-p);
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    transition: .2s;
}
.course-tab.active,
.course-tab:hover{
    background-color: var(--color-p);
    color: #fff;
}

.course-tab .name{
    font-weight: bold;
    font-size: 1.2rem;
}

.course-tab .description{
    line-height: 1.3rem;
    overflow: hidden;
    font-weight: 400;
    max-height: 3.9rem;
    -webkit-line-clamp: 3;
    display: box;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    white-space: normal;
}
.posts,
.courses{
    background-color: #fff;
    box-shadow: 0px 5px 25px 0px #ccc;
}

.courses-name{
    color: var(--color-p);
    font-size: 1.2rem;
    font-weight: bold;
}

.courses-description{
    line-height: 1.3rem;
    overflow: hidden;
    font-weight: 400;
    max-height: 5.2rem;
    -webkit-line-clamp: 4;
    display: box;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    white-space: normal;
}

#trainghiem{
    background: url(../image/bgtrainghiem.png);
    background-size: cover;
    background-position: center center;
}

/* SLICK */
.slick-arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width:40px;
    height:40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    color: var(--color-p);
    border-radius: 50%;
    border:none;
    transition: .2s;
    z-index: 1;
    opacity: 0;
    font-size: 20px;
    box-shadow: 0px 0px 25px -5px #ccc;
}
.slick-arrow:hover{
    background-color: var(--color-p);
    color: #fff;
}
.slick-arrow.slick-prev{
    left: -10px;
}
.slick-arrow.slick-next{
    right: -10px;
}
#home-slider:hover .slick-arrow.slick-prev,
#slick-trainghiem:hover .slick-arrow.slick-prev{
    left: 10px;
    opacity: 1;
}
#home-slider:hover .slick-arrow.slick-next,
#slick-trainghiem:hover .slick-arrow.slick-next{
    right: 10px;
    opacity: 1;
}


#home-slider{
    overflow: hidden;
}

/* THU VIEN */
#thuvien{
    background: url(../image/bgthuvien.jpg);
    background-size: cover;
    background-position: center;
}


/* POST */
.posts-title{
    font-size: 18px;
    line-height: 20px;
    font-weight: bold;
    max-height: 40px;
    -webkit-line-clamp: 2;
}
.posts-description{
    font-size: 15px;
    line-height: 17px;
    max-height: 51px;
    -webkit-line-clamp: 3;
}


/* FORM TU VAN */
#section-tuvan{
    background: url(../image/bgthuvien.jpg);
    background-size: cover;
    background-position: center;
}
#form-tuvan-live label,
#form-tuvan label{
    margin-bottom: 2px;
}
#form-tuvan-live textarea::placeholder,
#form-tuvan-live input::placeholder,
#form-tuvan textarea::placeholder,
#form-tuvan input::placeholder{
    font-size: 14px;
}


/* CONTACT */
#contact{
    position: fixed;
    z-index: 20;
    right: 0px;
    bottom: 15px;
}
.contact-list{
    position: relative;
    width: 45px;
    height: 45px;
    display: block;
    padding: 8px;
    border-radius: 50%;
    margin: 7px;
    box-shadow: 0px 2px 15px -3px #aaa;
}
.contact-list.phone{
    background-color: #008000;
}
.contact-list.email{
    background-color: #ff6600;
}
.contact-list.zalo{
    background-color: #0084ff;
}
.contact-list.messenger{
    background-color: #e60f1e;
}
.contact-list img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#menu-right{
    position: fixed;
    right: 0px;
    bottom: 50%;
    border-radius: 7px 0px 0px 7px;
    overflow: hidden;
}
#menu-right .menu-list{
    display: block;
    background-color: var(--color-p);
    color: #fff;
    font-size: 15px;
    padding: 10px;
    text-decoration: none;
    text-align: center;
}
#menu-right .menu-list:first-child{
    border-bottom: 1px solid #ddd;
}

.ctn-form-live{
    width: 800px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}