.bg-main {
    background: var(--color-main);
}

.banner:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(32 44 69 / 50%);
}

@font-face {
    font-family: "SVN-Gilroy";
    src: url("../fonts/SVN-Gilroy Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SVN-Gilroy";
    src: url("../fonts/SVN-Gilroy Medium.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SVN-Gilroy";
    src: url("../fonts/SVN-Gilroy Regular.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SVN-Gilroy";
    src: url("../fonts/SVN-Gilroy Bold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SVN-Gilroy";
    src: url("../fonts/SVN-Gilroy XBold.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/*--------------------------------------------------------------------------
|  Header
--------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------
|  Main
--------------------------------------------------------------------------*/
.block_form_advise .title-section {
    color: yellow;
    text-align: center;
     animation: move linear 2000ms infinite;  
}
.block_form_advise .title-section > span{
    position: relative;
}

/*.block_form_advise .title-section span:before {*/
/*    content: "";*/
/*    display: inline-block;*/
/*    position: absolute;*/
/*    right: 0;*/
/*    width: 0;*/
/*    height: 100%;*/
/*    background: #f3f3f3;*/
/*    -webkit-animation: maquina 2s infinite alternate steps(98);*/
/*    animation: maquina 2s infinite alternate steps(98);*/
/*    z-index: 1;*/
/*}*/

@-webkit-keyframes maquina {
    from {
        width: 100%;
    }

    to {
        width: 0;
    }
}

@keyframes maquina {
    from {
        width: 100%;
    }

    to {
        width: 0;
    }
}
.swiper-wrapper .btn-submit.bg-primary {
    background: var(--color-main) !important;
    border-color: var(--color-main);
}

.swiper-wrapper .btn {
    text-transform: uppercase;
}

.title-section {
    font-size: 30px;
    color: #222;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.3;
}

.slogan {
    font-size: 1.6rem;
}

.item-category {
    padding: 15px 10px;
    background-color: #f8f8f8;
    position: relative;
    overflow: hidden;
    display: block;
    border-radius: 50px 10px 10px;
    transition: all .4s;
}

.item-category .title-category {
    color: black;
    font-weight: 600;
    text-transform: uppercase;
}

.item-category:hover {
    background-color: var(--color-main);
}

.item-category:hover .title-category {
    color: #fff;
}

.article-detail-home .article-description > p:first-child {
    position: relative;
    font-weight: bold;
    padding-bottom: 10px;
    font-size: 24px;
}

.article-detail-home .article-description > p:first-child:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 4px;
    background-color: var(--color-main);
}

.article-detail-home ul, .article-detail-home ol {
    list-style: none;
    padding-left: 15px;
    margin: 30px 0;
}

.article-detail-home ul li, .article-detail-home ol li {
    margin-bottom: 15px;
}

.article-detail-home ul img, .article-detail-home ol img {
    margin-right: 10px;
}

.image-detail-home .img {
    width: calc((100%/2) - 10px);
    float: left;
    border-radius: .25rem;
}

.image-detail-home:before {
    content: "";
    position: absolute;
    top: -35px;
    left: -15px;
    width: 100px;
    height: 100px;
    background-color: var(--color-main);
    z-index: 1;
    opacity: .8;
    border-radius: 50%;
}

.image-detail-home .img:before, .image-detail-home .img:after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.image_avatar {
    overflow: hidden;
}

.image_avatar:before {
    width: 200px;
    height: 200px;
    background-color: var(--color-main);
    bottom: -8%;
    right: -15%;
}

.image_avatar:after {
    width: 115px;
    height: 115px;
    background-color: var(--color-main);
    opacity: .8;
    top: -40px;
    left: -35px;
}

.image_list:before, .image_list:after {
    background-color: var(--color-main);
    width: 100px;
    height: 100px;
    z-index: -1;
}

.image_list:before {
    right: 0;
    top: 40px;
    transform: translateX(50%);
}

.image_list:after {
    bottom: -15px;
    left: -20px;
}

.btn-gradient {
    background-image: var(--gradient) !important;
    color: var(--white);
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    border-radius: 5px 15px 5px 5px;
}

.entire-video-banner {
    position: relative;
    padding-top: 27%;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}

.entire-video-banner .entire-content {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    color: var(--color-main);
    text-transform: capitalize;
    z-index: 4;
}

.entire-video-banner .entire-content .inner-category {
    font-size: 24px;
    margin-bottom: 10px;
}

.entire-video-banner .entire-content .inner-descript {
    font-size: 72px;
    line-height: 80px;
    font-weight: 600;
}

.entire-video-banner .btn-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    /*height: 100px;*/
    /*width: 100px;*/
    /*line-height: 100px;*/
    text-align: center;
    /*font-size: 70px;*/
    color: var(--white);
    cursor: pointer;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    /*border: 1px solid var(--white);*/
    z-index: 5;
}

.btn-video .effect-wave {
    border: 1px solid var(--white);
}

.entire-video-banner #entire-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
}

.entire-video-banner::after {
    content: '';
    background-color: rgb(32 44 69 / 50%);
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
}

.entire-video-banner .wrp-video-banner::after {
    content: '';
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAQAAAD8IX00AAAADklEQVR42mP4/58BAwAAJu4B/7J4cV8AAAAASUVORK5CYII=");
    background-size: 3px 3px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.product-item .inner-content {
    padding: 15px;
    background-color: var(--light);
    transition: all .4s;
}

 .product-item .inner-desc{
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    height: 85px;
}

/*.product-item .inner-desc > ul > li:nth-child(1), .product-item .inner-desc > ul > li:nth-child(1) > p {*/
/*    height: 40px;*/
/*    white-space: pre-wrap;*/
/*    overflow: hidden;*/
/*    text-overflow: ellipsis;*/
/*    -webkit-line-clamp: 3;*/
/*    -webkit-box-orient: vertical;*/
/*    display: -webkit-box;*/
/*}*/
/*.product-item .inner-desc > ul > li:nth-child(1) > p {*/
/*    height: 40px;*/
/*    white-space: pre-wrap;*/
/*    overflow: hidden;*/
/*    text-overflow: ellipsis;*/
/*    -webkit-line-clamp: 2;*/
/*    -webkit-box-orient: vertical;*/
/*    display: -webkit-box;*/
/*}*/
.product-item .read-more {
    color: var(--white);
    padding: 10px 15px;
    background-color: var(--color-highlight);
    font-size: 15px;
    border-radius: 5px;
}
.product-item:hover .read-more {
    background-color: var(--color-main);
}

.product-item:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 30px;
    background: var(--color-main);
    z-index: -1;
}

.product-item:hover .inner-content {
    transform: translateY(-15px);
    position: relative;
    z-index: 11;
}

.product-item img {
    transition: ease-in-out .5s;
}

.product-item:hover img {
    transform: scale(1.1);
}

.faq-main .title-section {
    font-size: 30px;
}

.card-header h5 button {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: #fff;
    border-radius: 0 20px 0 0;
    font-size: 21px;
    padding: .8rem;
}

.card-header h5 button.btn.btn-link {
    background-color: var(--color-main);
    color: white;
}

.card-header h5 button.btn.btn-link.collapsed {
    background-color: var(--color-highlight);
}

.card-body {
    font-size: 1.6rem;
}

.transition {
    transition: all .4s;
}

#counter .counter-value {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 0;
}

#counter .title {
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
}

#counter .item-count {
    text-align: center;
    padding: 25px 15px;
}

#counter .item-count:hover {
    background-color: var(--color-main);
    color: var(--white);
    border-radius: 50px 10px 10px;
    cursor: pointer;
}

.line-af:after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 4px;
    background-color: var(--color-main);
}

.section-teacher .title-section {
    font-size: 3.5rem;
}

.img-position{
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid var(--color-main);
    z-index: 1;
    width: 100px;
    height: 100px;
    overflow: hidden !important;
}

.item-comment {
    padding: 0px;
    margin-top: 7rem;
}

.info-comment {
    font-size: 1.6rem;
    padding-top: 5rem !important;
}

.tab-product .product-tab{
    margin-top: -75px;
}

.product-tab .block-tab.nav .nav-item {
    width: 205px;
    float: left;
    text-align: center;
}

.product-tab .block-tab.nav .nav-item .nav-link {
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
}

.product-tab .block-tab.nav .nav-item .nav-link:hover,
.product-tab .block-tab.nav .nav-item .nav-link.active {
    background-color: var(--color-main);
    color: var(--white);
}
.product-tab .block-tab.nav .nav-item:nth-child(2) .nav-link:hover,
.product-tab .block-tab.nav .nav-item:nth-child(2) .nav-link.active {
    background-color: #f6c500;
    color: var(--white);
}
.product-tab .block-tab.nav .nav-item:nth-child(3) .nav-link:hover,
.product-tab .block-tab.nav .nav-item:nth-child(3) .nav-link.active {
    background-color: #5e4f9a;
    color: var(--white);
}
.product-tab .block-tab.nav .nav-item:last-child .nav-link:hover,
.product-tab .block-tab.nav .nav-item:last-child .nav-link.active {
    background-color: var(--color-highlight);
    color: var(--white);
}

.swiper-vision--tile {
    font-size: 1.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.reputation-main {
    background-size: cover;
    padding: 6rem 0;
    background-position: center;
    background-repeat: no-repeat;
}

.reputation-info {
    color: white;
}

.reputation--tile {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.swiper-commitment--tile {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 1rem 0;
}

.bg-commit {
    background: #f7fafc;
}

.gallery-item:hover .wrp-effect-album:before {
    content: "\f00e";
    font-family: 'Font Awesome 6 Pro';
    font-weight: 300;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: rgb(0 0 0 / 40%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.view-small .product-item:before {
    display: none;
}

.view-small .product-item:hover .inner-content {
    transform: translateY(0);
}
/*--------------------------------------------------------------------------
|  Footer
--------------------------------------------------------------------------*/
.entire-info-website {
    color: white;
}

.title-footer {
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 30px;
    font-size: 2.4rem;
}

.footer-menu-section ul {
    margin-bottom: 0;
}

.footer-menu-section ul li {
    margin-bottom: 12px;
}

.footer-menu-section ul li:last-child {
    margin-bottom: 0;
}

.footer-menu-section ul li a {
    color: var(--light);
}
/*--------------------------------------------------------------------------
|  Responsive
--------------------------------------------------------------------------*/

.is-mobile  .swiper-slide--tile {
    font-size: 2rem;
    /*display: none;*/
}
.is-mobile .swiper-slide--wrap .cus-btn-mobile {
    display: inline-block;
    font-weight: 400;
    /*color: #212529;*/
    text-align: center;
    vertical-align: middle;
    user-select: none;
    /*background-color: transparent;*/
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
    font-size: 11px !important;
    line-height: 1.5;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.is-mobile .item-category {
    margin-bottom: 3rem;
}

.is-mobile .title-section {
    font-size: 2.5rem;
}

@media (max-width: 500px) {
    .is-mobile .product-tab .block-tab.nav .nav-item {
        text-align: center;
        flex: 0 0 50%;
        max-width: 50%;
    }
    
     .is-mobile .tab-product .product-tab {
        margin-top: 0;
    }
    
    .is-mobile  .image-detail-home {
        margin-top: 3rem;
    }
    
    .row-mobile > .container > .row > div {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .image-detail-home .img:before, .image-detail-home .img:after, .image-detail-home:before {
        display: none;
    }
}



.title-product-2dong .product-title {
    white-space: pre-wrap;
    	overflow: hidden;
   	 text-overflow: ellipsis;
    	-webkit-line-clamp: 2;
    	-webkit-box-orient: vertical;
    	display: -webkit-box;
    height: 60px !important; 
}
.can-giua-doi-ngu-gt .swiper-wrapper {
    justify-content: center;
}
.section-teacher > .row {
    align-items: center;
}

@media (max-width: 500px) {
.article-detail-home .article-description > p {
    text-align: center;
}
.article-detail-home .article-description > p:first-child:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 70px;
    height: 4px;
    background-color: var(--color-main);
}
 .head {
    text-align: center;
}
.line-af:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 70px;
    height: 4px;
    background-color: var(--color-main);
}
.item-teacher {
    padding: 30px;
}

}
.topbar-section.social-section * {
    color: white;
}


.bg-form-home {
    background-color: var(--color-main);
    padding: 30px;
    margin: 0px 80px;
    border-radius: 15px;
}
.is-mobile .bg-form-home {
    margin: 15px  10px;
}
.comment--description {
    font-size: 14px;
    min-height: 230px;
}
.article-item.article-item-video {
    border-radius: 5px;
    background: #f3f3f3;
    border-radius: 10px;
    overflow: hidden;
}

.article-item.article-item-video .inner-content {
    text-align: center;
    padding: 10px;
}

.article-item.article-item-video .inner-content .article-title {
    font-weight: 600;
}