.header-menu-01 {
    background-color: var(--color-highlight);
}

.home .header-menu-01 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 2;
    background-color: transparent;
}

.header-menu-01 > .container > .row > div {
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-cate-home {
    width: 4.3rem;
    height: 4.3rem;
    line-height: 4.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgb(102, 92, 124);
}
.icon-cate-home i {
    color: white;
    font-size: 20px;
}

.icon-cate-home {
    position: absolute;
    margin-top: -23px;
    right: 25px;
    z-index: 3;
}

.courses_box-img:before {
    content: '';
    opacity: 0;
    width: 100%;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 2;
    transition: 0.5s;
    background: rgba(203, 181, 139, 0.82);
}

.cate-hover-khung:hover .courses_box-img:before, .product-item:hover .courses_box-img:before {
    opacity: 1;
}

.cate-hover-khung .title a {
    font-size: 24px;
    color: black;
    font-weight: 600;
}

.cate-hover-khung .description {
    /*white-space: pre-wrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.cate-hover-khung:hover, .product-item:hover {
    margin-top: -15px;
    transition: 0.6s;
}

.cate-hover-khung:hover .icon-cate-home {
    -webkit-transform: rotate(44deg);
    -ms-transform: rotate(44deg);
    transform: rotate(44deg);
}

.btn-xem-them a {
    font-size: 1.6rem;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 500;
    border: 2px solid var(--color-highlight);
    padding: 1rem 4rem;
    color: var(--color-highlight);
}

.btn-xem-them a:hover {
    color: var(--white);
    background-color: var(--color-highlight);
    border-color: var(--color-highlight);
}

.article-item .article-title:before {
    position: absolute;
    content: '';
    bottom: 0px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-highlight);
}

.item-article-page .inner-content {
    position: absolute;
    bottom: 0px;
    padding: 10px 40px 30px 40px;
    color: white;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, black 100%);
    width: 100%;
}

.item-article-page .inner-content a {
    color: white;
}

.item-article-page .article-title:before {
    background-color: white !important;
}

.event_date {
    width: 100%;
    background: #665c7c;
    float: left;
    text-align: center;
    border-radius: 2px;
}

.cus-post-date-article {
    border: 1px dashed #8d84a0;
    margin: 12px 12px;
    padding: 6px 3px;
    color: white;
}

.bg-img-counter {
    -webkit-background-size: cover;
    background-size: cover;
    padding: 100px 0;
}

.cus-img-title-counter {
    color: white;
    display: flex;
}

.img-counter-so img {
    max-width: 65px;
    width: 62px;
    object-fit: cover;
}

.img-counter-so {
    margin-right: 15px;
}

.tile-counter-so {
    font-size: 40px;
}

.description-counter-so {
    font-size: 23px;
}

.img-counter-so {
    margin-top: 15px;
}

footer {
    background: #2d2d2d;
    padding: 60px 0 100px;
    color: #c4c4c4;
}

.footer-menu-section ul li a {
    color: #c4c4c4;
}
.footer-menu-section ul li a:hover {
    color: var(--color-highlight);
}

.title-footer {
    font-size: 24px;
    color: white;
}

footer .logo-section img {
    height: 15rem;
}

.bg-form-dk-tuyen-sinh .form-control {
    border: 2px solid #ccc;
    height: auto;
    padding: 15px 10px 15px 10px;
}

.rounded-10 {
    border-radius: 10px !important;
}

.flex-atrr-tg-cout {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    margin-bottom: 10px;
}

.typing-container {
    font-weight: bold;
    margin-bottom: 20px;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid var(--color-highlight);
    width: 0;
    animation: typing 3s steps(16, end) 1s infinite alternate, blink 0.7s step-end infinite;
    text-align: center;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 16ch;
        /* "Xin chào" = 8 ký tự */
    }
}

@keyframes blink {
    0%, 100% {
        border-color: transparent;
    }

    50% {
        border-color: var(--color-highlight);
    }
}

.img-zoom-in-out {
    transform-origin: center center;
    animation: zoom 20s infinite;
    max-width: 100%;
}

@keyframes zoom {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
        /* equals 105% */
    }

    100% {
        transform: scale(1);
    }
}

.product-content-detail label {
    width: 110px;
}
.support .invalid-feedback {
    position: absolute;
    bottom: -26px;
}

@media (max-width: 1000px) {
    .logo-section img {
        height: 10rem;
    }

    .header-mb-01 > .container > .row > div {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .menu-section > ul > li:hover > a {
        color: var(--color-highlight) !important;
    }
}

@media (min-width: 768px) and (max-width: 1050px) {
    
    .header-tablet-01 > .container > .row > div {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .menu-section .active {
        color: var(--color-highlight) !important;
    }
    
    .swiper-slide--wrap {
        top: 70%;
        transform: translateY(-70%);
        max-width: 760px;
    }  
    
    .swiper-slide--description {
        margin: 20px 0 20px 0;
    }
    
    .cate-hover-khung .title a {
        font-size: 20px;
    }
    
    .img-counter-so img {
        width: 50px;
    }
    
    .tile-counter-so {
        font-size: 30px;
    }
    
    .description-counter-so {
        font-size: 18px;
    }
    
    .img-counter-so {
        margin-right: 8px;
    }
}

@media (max-width: 767px) {
    
    .is-mobile .swiper-slider-main .swiper-slide img {
        min-height: 25rem;
        object-fit: cover;
    }
    
    .menu-section .active {
        color: var(--color-highlight) !important;
    }

    .swiper-slide--tile {
        font-size: 2.5rem;
    }

    .swiper-slide--description {
        font-size: 1.6rem;
        margin: 10px 0 10px 0;
    }

    .img-counter-so img {
        max-width: 55px;
        width: 50px;
    }

    .item-article-page .inner-content {
        padding: 10px 20px 20px 20px;
    }

    .description-counter-so {
        font-size: 16px;
    }

    .tile-counter-so {
        font-size: 30px;
    }

    .bg-img-counter {
        padding: 40px 0;
    }

    footer {
        padding: 40px 0 30px;
    }
    
    .cus-post-date-article {
        margin: 5px 5px;
        padding: 6px 3px;
    }
}
