:root {
    --body-color: #8c8473;
    --fa-display: inline-flex;
    --icon-bg: #f7f6f3;
}

.image-upload img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}
.text-overflow-1l {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}
.text-overflow-2l {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.select2-container--default .select2-selection--single {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.25rem;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: auto;
    top: 25px;
}

.tox-statusbar__branding,
.tox-promotion,
.tox-statusbar__branding {
    display: none;
}

.exam-question-5 {
    width: 100%;
    counter-reset: dientu;
}

.exam-question-5 .item {
    position: relative;
}

.exam-question-5 .item::before {
    counter-increment: dientu;
    content: counter(dientu) ".";
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-weight: 600;
    font-size: 80%;
}
.exam-question-5 .item input {
    padding-left: 2.5rem;
}

.nav-tabs .nav-link.has-errors {
    color: #dc3545;
}
/*
.course-item .course-item-content .course-item-teacher img {
    object-fit: scale-down;
}

.course-description .teacher .avatar img {
    object-fit: scale-down;
}

.single-course-header .course-author img {
    object-fit: scale-down;
}

.object-fit-scale-down {
    object-fit: scale-down !important;
} */

#setting-avatar,
#feed-image,
#setting-cover {
    opacity: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.f-single .f-count {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.f-course ~ .f-count,
.f-media ~ .f-count {
    border-top: 0;
}

.comment-list {
    max-height: 30rem;
    resize: none;
    overflow-y: auto;
}

.f-single .f-text {
    max-width: max-content;
}

#formFeed .image-list img {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    padding: 2px;
    border: 1px solid #e1e1e1;
    border-radius: 0.5rem;
}

.flex-gap-0 {
    gap: 0 !important;
}
.fc-event-time,
.fc-event-title-container {
    display: none;
}

.teacher-follow a img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: scale-down;
}

.br-100 {
    border-radius: 100% !important;
}

.course-description .accordion-button::before {
    counter-increment: section;
    content: "";
}

.lesson-item .videos .video-add {
    padding: 0.75rem 1rem;
}
.exam-page .question-content .list-choices .item input:checked ~ label.correct {
    color: var(--success-color);
}
.exam-page
    .question-content
    .list-choices
    .item
    input:checked
    ~ label.correct:before {
    background-color: var(--success-color);
    border-color: var(--success-color);
    color: var(--white-color);
}
.exam-page .question-content .list-choices .item input:checked ~ label.wrong {
    color: var(--danger-color);
}
.exam-page
    .question-content
    .list-choices
    .item
    input:checked
    ~ label.wrong:before {
    background-color: var(--danger-color);
    border-color: var(--danger-color);
    color: var(--white-color);
}

.exam-page .question-content .sentent-item.correct select {
    color: var(--success-color);
}

.exam-page .question-content .sentent-item.wrong select {
    color: var(--danger-color);
}

.exam-question-5 .correct {
    background-color: #fff !important;
    border-color: var(--success-color);
}

.exam-question-5 .wrong {
    background-color: #fff !important;
    border-color: var(--danger-color);
}

.exam-question-7 .correct {
    background-color: #fff !important;
    border-color: var(--success-color);
}

.exam-question-7 .wrong {
    background-color: #fff !important;
    border-color: var(--danger-color);
}

.learning-page .page-header a:hover {
    color: #ffffff;
}

.learning-page .accordion .accordion-body ul li a::before {
    content: none;
}

.learning-page .page-header .close {
    background: none;
}

.curriculum-content .section-numb:before {
    content: "Phần/chuyên đề " counter(section) ": ";
}

.baihoc-numb:before {
    content: "Bài " counter(lesson);
}

.question-item-select i {
    display: none;
}

.select2-results__option--selected .question-item-select i {
    display: inline-block;
}
.Mucluc {
    padding-left: 1rem;
}
.Mucluc li {
    list-style-type: decimal;
}

.social-share-list a.youtube {
    background-color: #d00303;
}
.comment-item .btn-like {
    font-weight: 500;
    padding: 0.3rem 0.65rem 0.15rem;
    background: transparent;
    border-radius: 2rem;
    border: 1px solid var(--border-color);
}
.comment-item .btn-like i {
    color: var(--danger-color);
    font-weight: 400;
}
.comment-item .btn-like.liked,
.f-single .btn-like:hover {
    color: var(--danger-color);
}
.comment-item .btn-like.liked i {
    font-weight: 900;
}

.swal2-radio {
    flex-direction: column;
    align-items: start !important;
}
.wrs_tickContainer {
    display: none !important;
}
.exam-page .listQuestion a.selected {
    border-color: var(--success-color);
    background-color: var(--success-color);
    color: var(--white-color);
}

/* New Tempalte Custom */
:root {
    --theme-color: #30B4FB;
    --theme-color-rgb: 48, 180, 251;
    --bs-primary: #30B4FB;
    --bs-primary-rgb: 48, 180, 251;
    --title-color: #0f2239;
    --bs-body-color: #4d5765;
    --bs-body-color-rgb: 77, 87, 101;
    --white-color: #fff;
    --title-font: "K2D", sans-serif;
    --body-font: "K2D", sans-serif;
}
body {
    font-family: var(--title-font);
}
.h1,
h1,
.h2,
h2,
.h3,
h3,
.h4,
h4,
.h5,
h5,
.h6,
h6 {
    font-family: var(--title-font);
    color: var(--title-color);
    text-transform: none;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 15px 0;
    letter-spacing: -0.03em;
}
p {
    font-family: var(--body-font);
    margin: 0 0 18px 0;
    color: var(--body-color);
    line-height: 1.75;
}

.header-links ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.header-links li {
    display: inline-block;
    position: relative;
    font-size: 16px;
    font-weight: 400;
}
.header-links li > i {
    margin-right: 10px;
}
.header-links li:not(:last-child) {
    padding: 0 20px 0 0;
    margin: 0 17px 0 0;
}
.header-links li:not(:last-child):before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    width: 1px;
    height: 16px;
    transform: translateY(-50%);
}
.header-links li,
.header-links span,
.header-links p,
.header-links a {
    color: #fff;
    font-family: var(--body-font);
}
.main-menu ul {
    margin: 0;
    padding: 0;
}

.main-menu > ul > li {
    margin: 0 1rem;
}
.main-menu ul li {
    list-style-type: none;
    display: inline-block;
    position: relative;
}
.main-menu ul li:last-child {
    margin-right: 0 !important;
}
.main-menu ul li:first-child {
    margin-left: 0 !important;
}
.main-menu a {
    display: block;
    position: relative;
    font-weight: 500;
    font-size: 16px;
    color: var(--title-color);
}

.header-button {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
}
.header-button .th-btn {
    height: 50px;
}

.category-menu-wrap {
    position: relative;
    height: 100%;
    padding: 0;
    display: flex;
    border: 1px solid #d0dbe9;
    border-radius: 50px;
}
.icon-btn {
    display: inline-block;
    width: var(--btn-size, 50px);
    height: var(--btn-size, 50px);
    line-height: var(--btn-size, 50px);
    font-size: var(--btn-font-size, 16px);
    background-color: var(--icon-bg, #ffffff);
    color: var(--title-color);
    text-align: center;
    border-radius: 50%;
    border: none;
    position: relative;
}
.th-header .icon-btn {
    --btn-size: 45px;
    line-height: 43px;
    border: 1px solid #d0dbe9;
    transition: 0.4s;
}
.icon-btn .badge {
    position: absolute;
    width: fit-content;
    display: inline-block;
    text-align: center;
    background-color: var(--bs-danger);
    color: var(--white-color);
    padding: 0.35em 0.55em;
    border-radius: 50%;
    top: -5px;
    right: -5px;
    font-weight: 400;
}
.ml-20 {
    margin-left: 20px;
}

.category-menu-wrap .search-form {
    display: flex;
}
.category-menu-wrap .search-form input {
    background: transparent;
    border: 0 !important;
    padding-right: 10px;
    padding-left: 15px;
    height: 50px;
}
.category-menu-wrap .search-form input:hover,
.category-menu-wrap .search-form input:focus,
.category-menu-wrap .search-form input:active {
    border: 0;
    outline: 0;
}
.category-menu-wrap .search-form button {
    border: none;
    width: auto;
    height: 50px;
    line-height: 50px;
    background-color: transparent;
    color: var(--title-color);
    padding-right: 15px;
    display: inline-block;
    border-radius: 0;
}

.th-btn {
    position: relative;
    z-index: 2;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    display: inline-flex;
    border: none;
    text-align: center;
    background-color: var(--theme-color);
    color: var(--white-color);
    font-family: var(--title-font);
    box-shadow: 6px 6px 25px 0px #ffffff4d inset;
    border-radius: 50px;
    font-weight: 600;
    padding: 12px 20px;
    min-width: 150px;
    height: 60px;
}
.th-btn:before {
    background-color: var(--title-color);
    border-radius: 50px;
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-100%, 0) rotate(10deg);
    transform-origin: top left;
    transition: 0.3s transform ease-out;
    will-change: transform;
    z-index: -1;
}
.th-btn:hover::before,
.th-btn.active::before {
    transform: translate(0, 0);
}
.avatar {
    object-fit: cover;
    aspect-ratio: 1;
    flex-shrink: 0;
    border-radius: 50%;
}

.hero-section {
    background: url("../images/bg-1.jpg") no-repeat center / cover, #fcfbf5;
    position: relative;
    width: 100%;
    overflow: hidden;
}
.hero-section .hero-content-text {
    padding: 120px 0 200px;
}
.hero-section .hero-content-text .hero-subtitle {
    color: var(--theme-color);
    margin-bottom: 2px;
    font-size: clamp(1.25rem, 2vw, 2rem);
    font-weight: 400;
    text-transform: uppercase;
    line-height: normal;
    margin-top: -0.3em;
    letter-spacing: -0.03em;
}
.hero-section .hero-content-text .hero-title {
    margin-bottom: 15px;
    font-size: 60px;
    line-height: 1.167;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: -0.03em;
}
.hero-section .hero-content-text .hero-text {
    max-width: 597px;
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.75;
}
.hero-imgs {
    position: relative;
    z-index: 1;
}
.hero-imgs:before {
    content: "";
    width: 800px;
    height: 800px;
    background: linear-gradient(
        180deg,
        rgba(255, 170, 59, 0.2) -8.05%,
        rgba(252, 251, 245, 0) 82.2%
    );
    border-radius: 50%;
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.hero-imgs > img {
    object-fit: cover;
}
.hero-imgs .img1 {
    position: absolute;
    left: 0;
    top: 20%;
}
.hero-imgs .img1 .arrow1 {
    position: absolute;
    bottom: 100%;
    right: 90%;
}
.hero-imgs .img2 {
    position: absolute;
    bottom: 20%;
    left: -10%;
}
.hero-imgs .img3 {
    position: absolute;
    top: 31%;
    left: 66%;
}

.hero-section .hero-social {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: -183px;
    transform: translate(0, -50%) rotate(-90deg);
    display: inline-flex;
    gap: 52px;
}
.hero-social a {
    display: inline-block;
    color: var(--title-color);
    font-weight: 500;
    font-size: 16px;
    font-family: var(--title-font);
    text-transform: uppercase;
    position: relative;
}
.hero-social a:after {
    content: "";
    position: absolute;
    left: -12px;
    top: 50%;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    transform: translate(0, -50%);
    background: var(--theme-color);
}

.section-padding {
    padding-top: 120px;
    padding-bottom: 120px;
}
.sec-header {
    margin-bottom: 60px;
}
.sec-header .sec-title {
    font-size: 40px;
}
.sec-header .sub-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--theme-color);
    font-family: var(--title-font);
    text-transform: uppercase;
    display: inline-block;
    background: linear-gradient(
        90deg,
        rgba(var(--bs-primary-rgb), 0.12) 0%,
        rgba(225, 242, 255, 0) 98.44%
    );
    letter-spacing: 4px;
    border-radius: 50px;
    padding: 8px 10px 8px 20px;
    margin-bottom: 12px;
}
.checklist {
    padding-left: 0;
    list-style: none;
    text-align: left;
    margin-bottom: 0;
}
.checklist li {
    font-family: var(--body-font);
    color: var(--title-color);
    font-weight: 400;
    padding-left: 35px;
    margin-bottom: 14px;
    position: relative;
}
.checklist li:before {
    content: "\f14a";
    font-size: 24px;
    font-family: "Font Awesome 6 Pro";
    line-height: 1;
    font-weight: 900;
    color: var(--theme-color);
    position: absolute;
    left: 0;
    transition: 0.3s ease-in-out;
}
.img-box {
    position: relative;
    z-index: 1;
    text-align: center;
}
.img-box:before {
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(255, 170, 59, 0.2) -8.05%,
        rgba(252, 251, 245, 0) 82.2%
    );
    border-radius: 50%;
    position: absolute;
    top: 0px;
    bottom: 0;
    left: -20px;
    z-index: -1;
}
.img-box .img1 {
    position: absolute;
    top: 0;
    left: -50px;
}
.img-box .img2 {
    position: absolute;
    top: -15px;
    left: 165px;
}
.img-box .img3 {
    position: absolute;
    top: 37%;
    left: 52%;
    transform: translate(-50%, -50%);
}

.team-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0px 5px 30px 0px rgba(76, 88, 104, 0.1);
    margin-top: 24px;
}
.team-card .team-img {
    overflow: hidden;
}
.team-card .team-img img {
    width: 100%;
    height: auto;
    transition: 0.4s ease-in-out;
    aspect-ratio: 330 / 250;
    object-fit: cover;
    object-position: center top;
}
.team-card:hover .team-img img {
    transform: scale(1.08);
}
.team-card .team-content {
    padding: 30px 30px 15px 30px;
}
.team-card .team-title {
    font-size: 22px;
    margin-bottom: 0;
    margin-top: -0.23em;
    font-weight: 600;
}
.team-card .team-desig {
    color: var(--theme-color);
    display: block;
    font-family: var(--title-font);
    font-size: 14px;
}
.team-card .team-info {
    border-top: 1px solid #eee;
    padding: 15px 30px;
    display: flex;
}
.team-card .team-info span {
    position: relative;
    padding-right: 1rem;
    margin-right: 1rem;
    font-size: 14px;
    font-family: var(--body-font);
}
.team-card .team-info span i {
    margin-right: 8px;
    color: var(--theme-color);
    font-size: 115%;
}
.team-card .team-info span:not(:last-child):after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    height: 14px;
    width: 1px;
    background: #b3c1d3;
    transform: translate(-50%, -50%);
}

.about-section,
.offline-section,
.teacher-section,
.testi-section {
    position: relative;
    z-index: 0;
    overflow: hidden;
}
.about-section .shape-1 {
    position: absolute;
    z-index: -1;
    right: 76px;
    bottom: 120px;
}
.offline-section .shape-1 {
    position: absolute;
    z-index: -1;
    top: -40%;
    right: -35%;
}
.teacher-section .shape-1 {
    position: absolute;
    z-index: -1;
    top: 10%;
    right: -7%;
}
.teacher-section .shape-2 {
    position: absolute;
    z-index: -1;
    bottom: 10%;
    left: -2%;
}
.testi-section .shape-1 {
    position: absolute;
    z-index: -1;
    top: 20%;
    right: 10%;
}
.testi-section .shape-2 {
    position: absolute;
    z-index: -1;
    bottom: 15%;
}
.testi-section .shape-3 {
    position: absolute;
    z-index: -1;
    top: 15%;
    right: 2%;
}

.opacity-10 {
    opacity: 10% !important;
}
.jump {
    animation: jumpAni 7s linear infinite;
}
.spin {
    animation: spin 15s linear infinite;
}

.counterWrapper {
    background: var(--title-color);
    box-shadow: 22px 25px 40px 0px #ffffff26 inset;
    border-radius: 1rem;
    min-height: 200px;
    padding: 1rem;
    position: relative;
}

@keyframes jumpAni {
    0% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
}
@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.auth-page {
    font-family: var(--body-font);
}

@media (min-width: 1400px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1400px;
    }
}

@media (max-width: 767px) {
    .hero-section .hero-content-text {
        text-align: center;
    }
    .hero-section .hero-content-text .hero-subtitle {
        font-size: 24px;
    }
    .hero-section .hero-content-text .hero-title {
        font-size: 40px;
    }
    .hero-section .hero-social {
        display: none;
    }
    .sec-header .sec-title {
        font-size: 28px;
    }
    #section-cats .cat-item {
        padding: 1rem 1.25rem;
        font-size: 14px;
    }
    .section-padding {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .testimonials.owl-theme .owl-nav {
        bottom: 6.5rem;
        gap: 200px;
    }
    .testimonials-quote {
        margin-bottom: 1rem;
        text-align: center;
    }
    .owl-carousel .owl-item .testimonials-quote img {
        display: inline-block;
        width: 48px !important;
        height: 48px !important;
    }
    .testimonials-item .testimonials-content {
        font-size: 14px;
    }
    .testimonials-item .testimonials-author {
        gap: 1rem;
        font-size: 14px;
    }
    .testimonials-item .testimonials-author .name {
        font-size: 18px;
    }
}

@media (max-width: 575px) {
    .hero-section .hero-content-text {
        padding: 80px 0;
    }
    .hero-section .hero-content-text .hero-subtitle {
        font-size: 20px;
    }
    .hero-section .hero-content-text .hero-title {
        font-size: 30px;
    }
    .hero-imgs > img {
        transform: scale(1.1);
        transform-origin: center bottom;
    }
    .hero-imgs .img1 {
        left: -30px;
        top: 10%;
    }
    .hero-imgs .img2 {
        bottom: 13%;
        left: 60%;
    }
}

.form-control,
.form-select {
    padding: 0.75rem 1rem;
}
.form-control:focus {
    border-color: color-mix(in srgb, var(--bs-primary) 50%, #fff);
}
.btn {
    --bs-btn-padding-x: 1rem;
    --bs-btn-padding-y: 0.75rem;
}
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: color-mix(in srgb, var(--bs-primary) 92%, #000);
    --bs-btn-hover-border-color: color-mix(
        in srgb,
        var(--bs-primary) 88%,
        #000
    );
    --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: color-mix(in srgb, var(--bs-primary) 88%, #000);
    --bs-btn-active-border-color: color-mix(
        in srgb,
        var(--bs-primary) 84%,
        #000
    );
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}
