@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');


body {
    font-family: "Quicksand", sans-serif;
    font-size: 16px;
    line-height: 22px;
    background-image: url('../images/background.png');
}

:root {
    --primary-color: #9E5E29;
    --second-color: #054746;
    --gradient: linear-gradient(to right, #FAB878, #c78b52, #a06737, #FAB878);
}

.content-content li {
    margin-bottom: 10px;
}

.content-content img {
    max-width: 100%;
}

.content-content h1 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.content-content h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.content-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.content-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
}

.content-content h5 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.1;
}

.home-banner img {
    max-width: 100%;
}

.home-banner.top-content .item .image-left img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.home-banner.top-content .item .image-right img {
    width: 100%;
    height: 198px;
    object-fit: cover;
}

.home-banner.top-content .row .col-md-6 {
    padding-left: 2px;
    padding-right: 2px;
}

.home-banner.top-content .row {
    margin-left: -2px;
    margin-right: -2px;
}

.content-page {
    -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.12);
    background: #fff;
    padding: 35px;
}

.home-banner.top-content .item2 {
    margin-bottom: 4px;
}

.home-banner.top-content .item .nav-item {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px;
    z-index: 999;
}

.home-banner.top-content .item {
    position: relative;
}

.home-banner.top-content .item .nav-item .title a {
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    font-size: 27px;
    font-family: 'msjh-Bold';
}

.home-banner.top-content .item .nav-item .date {
    margin: 0;
    font-size: 12px;
    color: #fff;
}

.home-block-1 img {
    max-width: 100%;
}

.block-title h2 {
    font-size: 18px;
    font-weight: bold;
    border-bottom: 2px solid;
    padding-bottom: 9px;
}

.home-main {
    margin-top: 30px;
}

.home-block-1 .block-title {
    margin-bottom: 15px;
}

.aside-item .block-title {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: #000;
}

.home-block-1 .image img {
    height: 165px;
    object-fit: cover;
    width: 100%;
}

.home-block-1 .image {
    position: relative;
}

.category-absolute {
    background-color: #222222;
    padding: 3px 7px;
    color: #fff;
    font-size: 10px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.home-block-1 .title a {
    font-size: 15px;
}

.home-block-1 .title {
    line-height: unset;
    margin-top: 10px;
}

.home-block-1 .image .title a {
    color: #000;
}

img {
    max-width: 100%;
}

.home-block-2 .left-box img {
    width: 100%;
    height: 244px;
    object-fit: cover;
}

.home-block-2 .left-box .image img {
    position: relative;
}

.home-block-2 .left-box .image {
    position: relative;
}

.section-title a {
    margin-top: 13px;
    font-size: 21px;
    color: #000;
}

.section-title {
    line-height: unset;
    margin-top: 10px;
}

.flex-module1 img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.flex-module1 {
    display: flex;
    margin-bottom: 15px;
}

.flex-module1 .image {
    width: 30%;
}

.flex-module1 .nav-image {
    width: 70%;
    padding-left: 10px;
}

.flex-module1 .nav-image a {
    margin: 0;
    font-size: 15px;
    line-height: 22px;
    /* height: 44px; */
    overflow: hidden;
    color: #000;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    font-weight: 600;
}

.ctm-date {
    margin: 0;
    font-size: 12px;
    color: #999;
    margin-top: 7px;
}

.swiper-for-col .swiper-slide .item:first-child {
    margin-bottom: 30px;
}

.content-footer {
    background-size: cover;
    position: relative;
    padding: 45px 35px;
    /* padding-bottom: 5px; */
    opacity: 0.8;
    color: #fff;
}

.content-footer:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
}

.social-footer ul li img {
    width: 55px;
}

.social-footer ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.social-footer {
    display: flex;
    justify-content: end;
    align-items: end;
    height: 100%;
    padding-top: 50px;
    position: relative;
    z-index: 9;
}

.social-footer ul li {
    display: inline-block;
    margin-left: 10px;
}

.logo-footer {
    max-width: 100%;
    height: 150px;
}

.footer-address {
    position: relative;
    z-index: 9;
}

.content-footer p {
    margin-bottom: 5px;
    font-size: 16px;
    color: #fff;
}

.copy-right {
    background: #000;
    color: #ccc;
    padding: 14px 30px;
}

.page-title {
    font-size: 21px;
    margin-top: 16px;
    /* padding-left: 8px; */
    /* padding-right: 8px; */
    color: #333;
    margin-bottom: 10px;
    margin-top: 15px;
    font-weight: 600;
    display: flex;
}

.page-title svg {
    width: 23px;
    height: 23px;
    margin-right: 4px;
    position: relative;
    top: 2px;
    display: inline-block;
}

.tabBlock-tabs {
    list-style: none;
    padding: 0;
    margin: 45px 0 40px 0;
    position: relative;
}

.tabBlock-tabs:after {
    content: "";
    background: #ddd;
    width: 100%;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: 0;
}

.tabBlock-tabs li {
    display: inline-block;
    font-size: 22px;
    margin-inline: 20px;
    position: relative;
    padding-bottom: 20px;
    cursor: pointer;
}

.tabBlock-tabs li.is-active:after, .tabBlock-tabs li:hover:after {
    background: #000;
    transition: 0.4s;
}

.tabBlock-tabs li:after {
    content: "";
    width: 100%;
    height: 2px;
    background: transparent;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: 0.4s;
    z-index: 9;
}

.content-tab-block {
    width: 75%;
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
    border-radius: 15px;
    margin-top: 60px;
    padding-inline: 50px;
    padding-bottom: 25px;
}

.tabBlock {
    display: flex;
    justify-content: center;
}

.pagination {
    justify-content: center;
}

.pagination > li a,
.pagination > li span {
    color: #000;
    display: block;
    border: 1px solid #c7c7c7;
    border-radius: 4px;
    color: #132432;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    padding: 3px;
    min-width: 32px;
    background-color: transparent;
    height: 32px;
    text-align: center;
}

.pagination > li {
    margin: 4px;
}

.pagination li > a:hover,
.pagination li > span:hover,
.pagination li > a:focus,
.pagination li > span:focus {
    color: #85C6F2;
    border-color: #85C6F2;
    background-color: #CEE8FA;
}

.pagination .active > a,
.pagination .active > span {
    color: #fff;
    border-color: #000 !important;
    background-color: #000 !important;
}

.course-info img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.course-info span {
    display: flex;
    align-items: center;
}

.course-info {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    margin-top: 0;
}

.course-item-title a {
    font-size: 17px;
}

.course-item-info .box-action img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.course-item-info .box-action {
    border-top: 1px solid #ebebeb;
    padding-top: 15px;
    text-align: right;
    margin-top: 20px;
}

.course-item-info .box-action a {
    background: #000;
    border-radius: 25px;
    padding-block: 8px;
    padding-inline: 13px;
    display: inline-flex;
    width: auto;
    align-items: center;
}

.course-item-info .box-action a span {
    padding-left: 5px;
}

.course-item {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    margin-bottom: 20px;
}

.course-item-details {
    padding: 16px;
}

.home-block-1 {
    margin-bottom: 25px;
}

.item .desc {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    margin-top: 10px;
}

.hover-zoom:hover img {
    transform: scale(1.1);
    transition: 0.4s;
}

.hover-zoom img {
    transition: 0.4s;
}

.hover-zoom {
    overflow: hidden;
}

.list-ads {
    margin-bottom: 20px;
}

.list-ads img {
    width: 100%;
}

a.toggle.hc-nav-trigger.hc-nav-1 svg {
    width: 24px;
    height: 24px;
}

a.toggle.hc-nav-trigger.hc-nav-1 svg path {
    fill: #000;
}

a.toggle.hc-nav-trigger.hc-nav-1 {
    top: 50%;
    transform: translateY(-50%);
}

.hc-offcanvas-nav .nav-content > .nav-close:first-child a, .hc-offcanvas-nav .nav-title + .nav-close a.has-label, .hc-offcanvas-nav li.nav-close a, .hc-offcanvas-nav .nav-back a {
    background: #fff;
    border-top: unset;
    border-bottom: unset;
}

.hc-offcanvas-nav .nav-container, .hc-offcanvas-nav .nav-wrapper, .hc-offcanvas-nav ul {
    background: #fff;
}

.hc-offcanvas-nav .nav-item-link, .hc-offcanvas-nav li.nav-close a, .hc-offcanvas-nav .nav-back a {
    padding: 14px 17px;
    font-size: 14px;
    color: #000;
    z-index: 1;
    background: rgba(0, 0, 0, 0);
    border-bottom: 1px solid #ddd;
    transition: background .1s ease;
}

li.nav-item.search svg path {
    fill: #000;
}

.hc-offcanvas-nav .nav-close-button span::before, .hc-offcanvas-nav .nav-close-button span::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-top: 2px solid #000;
    border-left: 2px solid #000;
}

.hc-offcanvas-nav .nav-wrapper > .nav-content > ul:first-of-type > li:first-child:not(.nav-back):not(.nav-close) > .nav-item-wrapper > .nav-item-link {
    border-top: 1px solid #ddd;
}

.block-posts-single .page-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
    padding-left: 0;
    line-height: 26px;
}

.block-posts-single .date {
    margin-bottom: 13px;
}

.home-banner {
    margin-bottom: 25px;
}

.page-category-article .page-title {
    text-align: center;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: 700;
}

.post-item-info .post-item-details {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    padding: 15px;
}

.post-item-info .post-item-details .post-item-title a {
    font-size: 19px;
    font-weight: 500;
}

.post-item-info .post-item-details .post-item-title {
    line-height: 22px;
}

.post-item-info .post-item-details .post-data {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.post-item-info .post-item-details .post-item-actions {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ddddddab;
    padding-top: 15px;
}

.post-item-info .post-item-details .post-item-actions > a {
    font-size: 14px;
    /* font-weight: 600; */
}

.post-item-info .post-item-details .post-item-actions svg {
    width: 20px;
    height: 20px;
}

.post-item-info .post-item-details .post-item-actions .date {
    display: flex;
}

.post-item-info .post-item-details .post-item-actions .date span {
    font-size: 14px;
    margin-left: 6px;
}

.post-list .post-item {
    margin-bottom: 25px;
}

.home-block-2 {
    margin-bottom: 30px;
}

.home-main .box-item {
    margin-bottom: 30px;
}

.home-main .box-item .flex-module1:last-child {
    margin-bottom: 0;
}

.home-main .box-item .flex-module1:first-child {
    margin-top: 15px;
}

.home-main .box-item .flex-module1 img {
    border-radius: 5px;
}

.home-main .box-item .title {
    margin-top: 0;
}

.lock-message {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 10px;
    /* font-weight: bold; */
    font-size: 15px;
}

.lock-message svg {
    width: 19px;
    height: 19px;
    margin-right: 7px;
    position: relative;
    top: -2px;
}

.member-login .member-content {
    width: 400px;
    display: inline-block;
    text-align: center;
    border: 1px solid;
    padding: 30px 10px 35px 10px;
}

.member-login {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.member-login .member-content .member-btn {
    width: 85%;
    display: inline-block;
}

.member-login .member-content .message-login {
    margin-bottom: 15px;
}

.member-login .member-content .message-login svg {
    position: relative;
    top: -2px;
}

.member-login .member-content .member-btn a {
    display: block;
    padding-block: 10px;
}

.message-full-course {
    margin-top: 10px;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 10px;
}

.member-login .member-content .member-btn a.btn-regis {
    border: 1px solid #3498db;
    margin-bottom: 10px;
    color: #3498db;
    transition: 0.4s;
}

.member-login .member-content .member-btn a.btn-regis:hover {
    background: #3498db;
    color: #fff;
    transition: 0.4s;
}

.member-login .member-content .member-btn a.btn-login {
    border: 1px solid;
    background: #000;
    color: #fff;
    transition: 0.4s;
}

.member-login .member-content .member-btn a.btn-login:hover {
    transition: 0.4s;
    border-color: #000;
    background: transparent;
    color: #000;
}

.preview-content {
    text-align: justify;
    margin-top: 25px;
}

.post-time {
    margin-bottom: 15px;
    font-size: 13px;
    font-weight: 500;
}

.post-time .time {
    margin-right: 10px;
}

.post-time .by {
    text-decoration: underline;
}

.search-data {
    display: flex;
    margin-bottom: 20px;
}

.search-data button {
    background: #000;
    border: unset;
    outline: unset;
}

.must-regis-cources .action a {
    background: #000;
    margin-top: 15px;
    display: inline-block;
    padding-block: 10px;
    color: #fff;
    padding-inline: 15px;
    font-size: 15px;
    border: 1px solid;
    transition: 0.4s;
}

.must-regis-cources .action a:hover {
    background: transparent;
    color: #000;
    transition: 0.4s;
}

.items-video ul {
    list-style: none;
    padding: 0;
}

.items-video ul img {
    width: 20px;
    margin-right: 11px;
}

.items-video ul li:not(:last-child) a {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.items-video ul li a {
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}

.video-title {
    font-weight: 700;
    font-size: 20px;
}

.data-video .item .title {
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    border: 1px solid #ddddddd1;
    padding: 11px 10px;
    cursor: pointer;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    margin: 0;
}

.data-video {
    margin-top: 15px;
}

.data-video .item.active .title {
    background: #e7f1ff;
}

.data-video .item .title .total-time {
    font-size: 13px;
    display: inline-block;
    margin-left: 10px;
    background: #ddd;
    padding: 5px 10px;
    border-radius: 12px;
}

.data-video .item {
    margin-bottom: 15px;
}

.data-video .item .items-video {
    padding-inline: 10px;
    border: 1px solid #ddd;
    border-top: 0;
    padding-top: 15px;
}

.data-video .item .items-video .time-video img {
    width: 15px;
    height: 15px;
    margin: 0;
    position: relative;
    top: -1px;
}

.category-page .page-title {
    margin-bottom: 30px;
}

.logo-header > * {
    display: block;
    color: #000;
    /* text-align: center; */
    font-weight: bold;
    font-size: 37px;
    line-height: normal;
}

.content-content iframe {
    max-width: 100%;
}

@media (max-width: 767px) {
    .content-content img {
        height: auto !important;
    }

    .content-content iframe {
        /*height: 300px!important;*/
    }

    .search-data {
        margin-top: 20px;
    }

    .logo-header {
        text-align: center;
    }

    header#header .header-wrap .mobile {
        right: 15px!important;
    }
}

@media (max-width: 1024px) {
    .banner-header {
        display: none;
    }
    header .header-wrap {
        background: #fff;
    }

    li.nav-item.search {
        display: none;
    }
    a.click-search svg path {
        fill: #000;
    }

    .mobile .search {
        display: inline-block;
        margin-right: 15px;
    }

    .mobile .search svg {
        width: 19px;
        height: 19px;
    }

    .hc-nav-trigger.hc-nav-1 {
        top: unset !important;
        transform: unset !important;
        position: unset!Important;
    }

    header .header-wrap .logo-header span {
        color: #000;
        text-align: left;
        font-size: 23px;
    }

    header#header .header-wrap {
        padding-inline: 20px;
        padding-block: 15px;
        position: relative;
    }

    header#header .header-wrap .mobile {
        display: inline-flex!important;
        position: absolute;
        right: 45px;
        width: auto;
        top: 50%;
        transform: translateY(-50%);
        z-index: 999;
    }
}


/* Responsive table: thêm scroll ngang */
.content-content table {
    display: block;
    overflow-x: auto;
    /* white-space: nowrap; */
}

/* Responsive video iframe */
.content-content iframe {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16/9; /* Giữ tỷ lệ */
}

.content-content h1,
.content-content h2,
.content-content h3,
.content-content h4,
.content-content h5,
.content-content h6 {
    font-weight: 600;
    line-height: 1.3;
    margin: 1em 0 0.5em;
}


/* Responsive table: thĂªm scroll ngang */
.content-content table {
    display: block;
    /* overflow-x: auto; */
    /* white-space: nowrap; */
}

/* Responsive video iframe */
.content-content iframe {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16/9; /* Giá»¯ tá»· lá»‡ */
    display: inline-block;
}


/* Khi áº£nh náº±m trong Ä‘oáº¡n text Ä‘Æ°á»£c cÄƒn trĂ¡i */
.content-content p[style*="text-align:left"] img {
    display: inline-block;
    margin: 0 auto 1em 0;
}

.content-content img {
    display: inline-block;
    height: auto !important;
}

/* Khi áº£nh náº±m trong Ä‘oáº¡n text Ä‘Æ°á»£c cÄƒn giá»¯a */
.content-content p[style*="text-align:center"] img {
    display: inline-block;
    margin: 0 auto 1em auto;
}

/* Khi áº£nh náº±m trong Ä‘oáº¡n text Ä‘Æ°á»£c cÄƒn pháº£i */
.content-content p[style*="text-align:right"] img {
    display: inline-block;
    margin: 0 0 1em auto;
}

@media (max-width: 768px) {
    .content-content img {
        max-width: 100%;
        height: auto;
    }
}

.content-content table {
    width: 100%;
    border-collapse: collapse; /* gá»™p border thay vĂ¬ tĂ¡ch */
    margin: 1em 0;
    /* font-size: 15px; */
}

.content-content th,
.content-content td {
    border: 1px solid #808080; /* giá»‘ng border="1" */
    padding: 8px; /* thay cho cellpadding */
    text-align: left;
    vertical-align: middle;
}

.content-content th {
    background: #f5f5f5;
    font-weight: 600;
}

/* Náº¿u muá»‘n giá»¯ cellspacing (khoáº£ng cĂ¡ch giá»¯a Ă´) */
.content-content table.separate {
    border-collapse: separate;
    border-spacing: 5px; /* giá»‘ng cellspacing="5" */
}

/* Responsive: cho phĂ©p scroll ngang trĂªn mĂ n hĂ¬nh nhá» */
.content-content table {
    display: block;
    /* overflow-x: auto; */
    /* white-space: nowrap; */
}

.content-content blockquote {
    border-left: 4px solid #ccc;
    padding-left: 1em;
    color: #555;
    font-style: italic;
}

.content-page {
    min-height: 75vh;
}

input.remove-videodetector {
    display: none;
}
.post-item-photo img {
    height: 225px;
    object-fit: cover;
    width: 100%;
}