﻿body {
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
    font-family: "Arial", sans-serif;
    background: var(--body-bg);
    color: var(--body-color)
}

a {
    text-decoration: none;
    color: var(--body-color)
}

    a:hover {
        color: var(--color-blue)
    }

img, svg {
    border: none;
    max-width: 100%;
    vertical-align: middle
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-weight: bold;
    line-height: 1.4;
}

p, figure, figcaption, blockquote, caption, fieldset, embed, object, applet, canvas, caption, iframe, strike, time, video {
    border: 0;
    margin: 0;
    padding: 0
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

strong {
    font-weight: bold
}

::after, ::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

:focus {
    outline: -webkit-focus-ring-color auto 0
}

.fa, .fab, .fad, .fal, .far, .fas {
    font-weight: 500
}

/* Bengin site-header*/
.site-header {
    position: relative;
    padding: 12px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1)
}

.header-container {
    max-width: var(--max-width-1200);
    position: relative;
    justify-content: space-between;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    margin: auto;
    align-items: center
}

.header-logo {
    display: inline-block;
    position: relative
}

    .header-logo img {
        height: 32px;
        display: inline-block
    }

.header-right {
    position: relative
}

.header-account-dropdown {
    display: inline-block;
    position: relative
}

.header-account-thumb {
    display: inline-block
}

    .header-account-thumb img {
        width: 32px;
        height: 32px;
        cursor: pointer;
        display: inline-block;
        border-radius: 100%
    }

.header-account-content {
    position: absolute;
    display: none;
    width: 200px;
    right: 0;
    background: var(--dropdown-bg);
    z-index: 99;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.30)
}

.ul-account-box {
    margin: 0;
    padding: 0
}

.header-account-open {
    display: block
}

.li-account-item {
    padding: 8px 0;
    list-style: none
}

.btn-menu-sidebar {
    cursor: pointer;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    color: var(--color-black);
    display: none;
    vertical-align: middle;
    border: solid 1px #e0e0e0;
    border-radius: 3px;
    margin-right: 10px;
}

@media only screen and (max-width:960px) {
    .site-header {
        position: sticky;
        top: 0;
        z-index: 999;
        background: #fff;
    }

    .header-container {
        padding: 0 16px;
    }

    .btn-menu-sidebar {
        display: inline-block;
    }
}
/* End site-header*/

/* Bengin menu */
/* mobile-menu */
.mobile-menu {
    position: fixed;
    background: var(--sb-menu-bg);
    transition: transform 0.3s ease-in-out;
    z-index: 9999
}

.mobile-menu-left {
    border-right: solid 1px var(--border-gray-default);
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    transform: translateX(-100%);
    overflow-y: auto;
    scrollbar-width: thin;
}

    .mobile-menu-left.mobile-menu-open {
        transform: translateX(0)
    }

.mobile-menu-right {
    border-left: solid 1px var(--border-gray-default);
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    transform: translateX(100%);
    overflow-y: auto;
    scrollbar-width: thin;
}

    .mobile-menu-right.mobile-menu-open {
        transform: translateX(0)
    }

.mobile-menu-top {
    border-bottom: solid 1px var(--border-gray-default);
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(-100%);
    max-height: 50vh;
    overflow-y: auto
}

    .mobile-menu-top.mobile-menu-open {
        transform: translateY(0)
    }

.mobile-menu-bottom {
    border-top: solid 1px var(--border-gray-default);
    bottom: 0;
    left: 0;
    width: 100%;
    transform: translateY(100%);
    max-height: 50vh;
    overflow-y: auto
}

    .mobile-menu-bottom.mobile-menu-open {
        transform: translateY(0)
    }

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999
}

    .mobile-menu-overlay.mobile-menu-overlay-active {
        display: block;
    }

.btn-sidebar-close {
    position: absolute;
    right: 16px;
    top: 8px;
    width: 36px;
    height: 36px;
    place-items: center;
    background: var(--bg-gray-default);
    display: grid;
    z-index: 9;
    border-radius: 100%;
    cursor: pointer;
    color: var(--color-black)
}

/* menu-mobi */
.site-nav-mobile {
    padding: 16px
}

.mobile-menu-list {
    margin: 0;
    padding: 0;
    list-style: none
}

.mobile-menu-item {
    position: relative;
    border-bottom: solid 1px var(--sb-menu-border);
    padding: 12px 0
}

.mobile-menu-link {
    padding-left: 32px;
    font-weight: bold;
    display: inline-block;
    max-width: 90%;
    position: relative
}

    .mobile-menu-link.active {
        color: var(--sb-menu-color-active)
    }

    .mobile-menu-link i {
        position: absolute;
        left: 0;
        top: 3px
    }

.mobile-menu-icon {
    background: url(../images/down3.svg) no-repeat center;
    background-size: 12px;
    cursor: pointer;
    display: inline-block;
    position: absolute;
    right: 0;
    width: 24px;
    height: 24px;
    z-index: 9;
    top: 12px
}

.mobile-menu-icon-active {
    background: url(../images/down3.svg) no-repeat center;
    background-size: 12px;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg)
}

.mobile-menu-sub {
    display: none;
    padding-left: 32px;
    margin: 8px 0 0 0;
}

.mobile-menu-sub-open {
    display: block
}

.mobile-menu-sub-item {
    padding: 8px 0;
    list-style: none
}

.mobile-menu-sub-link.active {
    color: var(--sb-menu-color-active)
}

/* site-nav */
.site-nav {
    background: var(--menu-bg); /*! margin-bottom: 30px */
}

.menu-sticky.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1)
}

.nav-container {
    max-width: var(--max-width-1200);
    margin: auto;
}

.menu-list {
    margin: 0 auto;
    padding: 0;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    align-items: center; /*	justify-content: space-between; */
}

.menu-item {
    position: relative;
    list-style: none
}

.menu-link {
    padding: 12px 14px;
    display: block;
    white-space: nowrap;
    color: var(--menu-color);
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
}

    .menu-link:hover {
        background: #02020270;
        color: var(--menu-color)
    }

    .menu-link.active {
        background: #02020270;
        color: var(--menu-color)
    }

.menu-sub {
    width: 300px;
    list-style: none;
    background: var(--menusub-bg);
    padding: 8px 0;
    margin: 0;
    display: none;
    position: absolute;
    z-index: 99;
    left: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 16px;
}

.has-sub:hover .menu-sub {
    display: block
}

.menu-sub-item {
    display: block;
    position: relative;
    padding: 7px 16px;
}

.menu-sub-link.active {
    color: var(--menu-color-active)
}

.sr-only {
    display: none
}

.menu-sub2 {
    width: 180px;
    list-style: none;
    background: var(--menusub-bg);
    padding: 8px 0;
    margin: 0;
    display: none;
    position: absolute;
    z-index: 99;
    left: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    top: 0
}

.has-sub2:hover .menu-sub2 {
    display: block
}

.menu-hidden {
    display: none
}

/* category-menu RPS dropdown */
.category-menu {
    display: flex;
    align-items: center;
    white-space: nowrap
}

.category-list {
    display: flex;
    list-style: none;
    gap: 10px;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0
}

.category-item {
    display: block;
    position: relative
}

.category-link {
    text-decoration: none;
    padding: 8px 15px;
    border: solid 1px var(--border-gray-default);
    border-radius: 5px;
    display: block
}

    .category-link.active {
        background: var(--bg-gray-default)
    }

.category-sub {
    display: none;
    margin: 0;
    padding: 0;
    position: absolute;
    z-index: 99;
    left: 0;
    list-style: none;
    background: var(--menusub-bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 160px
}

.category-item:hover .category-sub {
    display: block
}

.category-sub-link {
    display: block;
    padding: 10px
}

    .category-sub-link.active {
        color: var(--menu-mobi-sub-color-active)
    }

.category-more { /*margin-left: auto; náº±m cá»‘ Ä‘á»‹nh bĂªn pháº£i*/
    margin-left: 10px;
    position: relative;
    display: none
}

.category-more-button {
    background: var(--bg-gray-default);
    border-radius: 5px;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px
}

.category-more-list {
    position: absolute;
    z-index: 99;
    margin: 0;
    padding: 0;
    top: 100%;
    right: 0;
    list-style: none;
    display: none;
    background: var(--menusub-bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 160px
}

.category-more-item .category-link {
    display: block;
    padding: 10px 15px;
    border: 0;
    border-radius: 0
}

.category-more-item a:hover {
    background: var(--bg-gray-default)
}

.hidden-category {
    display: none
}

/* menu-scroll */
.menu-scroll {
    background: var(--bg-red);
    -webkit-overflow-scrolling: touch;
    position: relative;
    overflow-y: hidden;
    overflow-x: auto;
    white-space: nowrap;
    display: flex;
    box-shadow: 0 2px 3px 0 rgba(32, 33, 36, 0.28);
    display: none
}

.menu-list-scroll {
    margin: 0;
    padding: 0;
    display: table;
    width: 100%;
}

.menu-item-scroll {
    display: table-cell;
    list-style: none;
    text-align: center;
}

.menu-link-scroll {
    display: block;
    text-align: center;
    padding: 12px 10px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
}

    .menu-link-scroll:hover {
        color: #fff;
        background: #821e1e;
    }

    .menu-link-scroll.active {
        border-bottom: solid 3px #ff3547;
        color: #ff3547
    }
/* End menu */

/* Bengin site-main */
.site-main {
    position: relative
}

.main-container {
    max-width: var(--max-width-1200);
    width: 100%;
    margin: auto
}

.grid-layout-cs {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.grid-layout-sc {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 20px;
}

.grid-layout-scs {
    display: grid;
    grid-template-columns: 220px 1fr 300px;
    gap: 20px;
}

.grid-layout-css {
    display: grid;
    grid-template-columns: 1fr 200px 300px;
    gap: 20px;
}

.content {
    position: relative;
}
/* aside */
.sidebar {
    position: relative;
}

.sidebar-header {
    position: relative;
    padding: 10px 16px;
    background: #dc3545;
    color: #fff;
}

@media only screen and (max-width:960px) {
    .main-container {
        padding: 0 16px
    }

    .grid-layout-cs,
    .grid-layout-sc,
    .grid-layout-scs,
    .grid-layout-css {
        grid-template-columns: 1fr;
    }

    .site-nav {
        display: none;
    }

    .menu-scroll {
        display: flex;
    }
}
/* End site-main */

/*  site-footer*/
.site-footer {
    position: relative;
    padding: 16px 0;
    color: var(--footer-color);
    background: var(--footer-bg);
}

.footer-container {
    max-width: var(--max-width-1200);
    margin: auto;
}

.footer a {
    color: var(--footer-color);
}

.footer-grid-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    display: grid;
    padding-bottom: 12px;
}

.footer-item {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .footer-item li {
        margin: 6px 0
    }

.footer-header {
    text-transform: uppercase;
    margin-bottom: 12px;
}

.footer-copyright p {
    margin: 5px 0;
}

.footer-item a {
    color: var(--footer-color);
}

.btn-theme-dark {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: inline-block;
    cursor: pointer
}

.btn-dark-mote {
    display: none
}

.btn-theme-dark.active .btn-light-mote {
    display: none
}

.btn-theme-dark.active .btn-dark-mote {
    display: inline-block
}

.footer-col {
    padding: 0 10px;
}

@media only screen and (max-width:960px) {
    .footer-container {
        padding: 0 16px
    }

    .footer-grid-4 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer-item {
        display: block
    }

    .footer-col {
        padding: 0 0;
    }

    .footer-col {
        padding: 0 0;
    }
}
/*End site-footer */


/*Bengen section */
.section {
    position: relative;
}

.section-1,
.section-2,
.section-3 {
    padding: 40px 0;
}
    .section-header {
        position: relative;
        margin-bottom: 30px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

.headding-title {
    display: flex;
    font-size: 36px;
    justify-content: center;
    gap: 12px;
    align-items: center;
}

    .headding-title i {
        font-size: 26px;
    }

.section-content {
    position: relative
}

.block {
    margin-bottom: 16px
}

    .block:last-child {
        margin-bottom: 0
    }

.rows {
    margin-bottom: 16px
}

    .rows:last-child {
        margin-bottom: 0
    }

.adv {
    position: relative;
    text-align: center;
}

    .adv img {
        max-width: 100%;
        display: inline-block;
        vertical-align: middle
    }

/* line-clamp */
.line-clamp-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical
}

.line-clamp-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical
}

.line-clamp-3 {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical
}

.line-clamp-4 {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical
}

.line-clamp-5 {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 5;
    display: -webkit-box;
    -webkit-box-orient: vertical
}

.word-break {
    word-break: break-word;
    word-break: keep-all;
    word-break: break-all
}

.underline {
    text-decoration: underline
}

.uppercase {
    text-transform: uppercase
}

.text-center {
    text-align: center
}

.text-left {
    text-align: left
}

.text-right {
    text-align: right
}

.color-blue {
    color: var(--color-blue)
}

.color-red {
    color: var(--color-red)
}

.color-orange {
    color: var(--color-orange)
}

.color-yellow {
    color: var(--color-yellow)
}

.color-green {
    color: var(--color-green)
}

.color-primary {
    color: var(--color-primary)
}

.color-success {
    color: var(--color-success)
}

.color-warning {
    color: var(--color-warning)
}

.color-danger {
    color: var(--color-danger)
}

.color-white {
    color: var(--color-white)
}

.color-black {
    color: var(--color-black)
}

.color-dark {
    color: var(--color-dark)
}

.color-gray {
    color: var(--color-gray-default)
}

.color-link {
    color: var(--color-blue);
    cursor: pointer
}
/* post  */
.post {
    position: relative
}

.post-thumb {
    position: relative;
    margin-bottom: 16px
}

.post-image {
    display: block;
    overflow: hidden;
    height: 0;
    position: relative;
    width: 100%;
    padding-bottom: 56.25%
}

    .post-image img {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        -o-object-position: center;
        object-position: center;
        -o-object-fit: cover;
        object-fit: cover;
        border-radius: 8px;
    }

.post-inner {
    flex: 1;
    display: grid;
    gap: 12px;
}

.post-summary {
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.meta-item {
    display: flex;
    align-items: center;
}

.meta-author {
    display: flex;
    align-items: center;
}

    .meta-author img {
        height: 24px;
        width: 24px;
        border-radius: 100%;
        margin-right: 8px;
        display: inline-block;
        position: relative;
    }

.meta-cat {
    padding: 5px 10px;
    border-radius: 5px;
    background: var(--bg-blue);
    color: var(--color-white);
}

    .meta-cat:hover {
        background: var(--bg-blue);
        opacity: 0.90;
        color: var(--color-white);
    }

.post-list.v-center {
    align-items: center;
}

/* xá»­ lĂ½ ná»n áº£nh má» */
.blur-image::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 9
}

.post-list {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: solid 1px var(--border-gray-default)
}

    .post-list:first-child {
        padding-top: 0;
    }

.post-list-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-top: 16px;
}
/* thumbnail */
.thumb-16x9 {
    padding-bottom: 56.25%
}

.thumb-5x3 {
    padding-bottom: 60%
}

.thumb-1x1 {
    padding-bottom: 100%
}

.thumb-l-240 {
    flex: 0 0 240px;
    margin-right: 24px;
    margin-bottom: 0
}

.thumb-l-140 {
    flex: 0 0 140px;
    margin-right: 16px;
    margin-bottom: 0
}

.thumb-l-100 {
    flex: 0 0 100px;
    margin-right: 16px;
    margin-bottom: 0
}

.thumb-r-240 {
    flex: 0 0 240px;
    order: 1;
    margin-left: 24px;
    margin-bottom: 0
}

.thumb-r-140 {
    flex: 0 0 140px;
    order: 1;
    margin-left: 16px;
    margin-bottom: 0
}

@media (max-width:800px) {
    .thumb-l-240 {
        flex: 0 0 140px;
        margin-right: 16px;
    }

    .thumb-r-240 {
        flex: 0 0 140px;
        margin-left: 16px;
    }

    .m-thumb-l-140 {
        flex: 0 0 140px;
        margin-right: 16px;
        margin-bottom: 0;
    }
}

/*Bengin table */
.table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%
}

    .table td, .table th {
        padding: 6px;
        border-top: solid 1px var(--table-border)
    }

.table-bordered, .table-bordered td, .table-bordered th {
    border: solid 1px var(--table-border)
}

.table-striped tbody tr:nth-of-type(2n+1) {
    background-color: var(--table-bg-striped)
}

/*Bengin Form */
.form-group {
    position: relative;
    margin-bottom: 16px;
}

    .form-group:last-child {
        margin-bottom: 0
    }

/* TĂ¹y chá»‰nh Checkbox */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 16px; /* TÄƒng kĂ­ch thÆ°á»›c cho dá»… nhĂ¬n */
    height: 16px;
    border: 2px solid var(--checkbox-border);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    margin: 0;
    padding: 0;
    top: 2px;
    transition: all 0.3s ease; /* ThĂªm hiá»‡u á»©ng khi hover hoáº·c thay Ä‘á»•i tráº¡ng thĂ¡i */
}

    /* Khi checkbox Ä‘Æ°á»£c chá»n */
    input[type="checkbox"]:checked {
        background-color: var(--checkbox-checked-bg);
        border-color: var(--checkbox-checked-border);
    }

        /* Dáº¥u checkmark cho checkbox khi Ä‘Æ°á»£c chá»n */
        input[type="checkbox"]:checked::after {
            content: 'âœ”';
            position: absolute;
            top: -1px;
            left: 2px;
            color: var(--checkbox-checked-color);
            font-size: 12px;
            line-height: 12px;
        }

    /* Khi checkbox bá»‹ disabled */
    input[type="checkbox"]:disabled {
        background-color: #f0f0f0;
        border-color: #ddd;
        cursor: not-allowed;
    }

        /* Khi checkbox bá»‹ disabled vĂ  Ä‘Ă£ checked */
        input[type="checkbox"]:disabled:checked::after {
            color: #888; /* Dáº¥u checkmark má» hÆ¡n khi disabled */
        }

/* TĂ¹y chá»‰nh radio button */
input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 16px; /* TÄƒng kĂ­ch thÆ°á»›c cho dá»… nhĂ¬n */
    height: 16px;
    border: 2px solid var(--radio-border);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    margin: 0;
    padding: 0;
    top: 2px;
    transition: all 0.3s ease; /* ThĂªm hiá»‡u á»©ng khi hover hoáº·c thay Ä‘á»•i tráº¡ng thĂ¡i */
}

    /* Khi radio button Ä‘Æ°á»£c chá»n */
    input[type="radio"]:checked {
        border-color: var(--radio-checked-border);
    }

        /* Dáº¥u trĂ²n cho radio khi Ä‘Æ°á»£c chá»n */
        input[type="radio"]:checked::after {
            content: '';
            position: absolute;
            top: 2px;
            left: 2px;
            width: 8px; /* TÄƒng kĂ­ch thÆ°á»›c dáº¥u trĂ²n cho dá»… nhĂ¬n */
            height: 8px;
            background-color: var(--radio-checked-bg);
            border-radius: 50%;
        }

    /* Khi radio button bá»‹ disabled */
    input[type="radio"]:disabled {
        background-color: var(--radio-disabled-bg);
        border-color: #ddd;
        cursor: not-allowed;
    }

        /* Khi radio button bá»‹ disabled vĂ  Ä‘Ă£ checked */
        input[type="radio"]:disabled:checked::after {
            background-color: var(--radio-disabled-checked-bg);
        }
/* type date */
input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

button {
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    font-family: arial;
}

.input:-webkit-autofill, .textarea:-webkit-autofill, .select:-webkit-autofill {
    box-shadow: 0 0 0 1000px white inset
}

.input::-ms-clear {
    display: none
}

.select::-ms-expand {
    display: none;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0
}

.input {
    border-radius: 5px;
    font-family: Arial;
    outline: none;
    display: inline-block;
    background-color: var(--input-bg);
    border: solid 1px var(--input-border);
    color: var(--color-black);
    padding: 0 10px;
    font-size: 14px;
    line-height: inherit;
    font-weight: normal;
    height: 40px;
}

.select {
    border-radius: 5px;
    font-family: Arial;
    outline: none;
    display: inline-block;
    background-color: var(--select-bg);
    border: solid 1px var(--select-border);
    color: var(--color-black);
    padding: 0 10px;
    font-size: 14px;
    line-height: inherit;
    font-weight: normal;
    height: 40px;
}

.textarea {
    border-radius: 5px;
    font-family: Arial;
    outline: none;
    display: inline-block;
    background-color: var(--textarea-bg);
    border: solid 1px var(--textarea-border);
    color: var(--color-black);
    font-size: 14px;
    font-weight: normal;
    resize: vertical;
    padding: 10px
}

    .input:focus, .select:focus, .textarea:focus {
        border-color: #007bff;
        outline: none;
    }

.label {
    display: block;
    position: relative;
    margin-bottom: 6px
}

.btn {
    display: inline-block;
    cursor: pointer;
    font-size: 14px;
    padding: 0 16px;
    outline: none;
    border-radius: 5px;
    height: 40px;
    line-height: 40px;
    border: solid 1px var(--btn-border);
    color: var(--btn-color);
}

.btn-default {
    background-color: var(--btn-default);
}

    .btn-default:hover {
        color: #fff;
        background-color: #0b5ed7;
        border-color: #0b5ed7;
    }

.btn-blue {
    background-color: var(--btn-blue);
    border: solid 1px var(--btn-blue);
    color: #fff
}

    .btn-blue:hover {
        color: #fff;
        background-color: #0b5ed7;
        border-color: #0b5ed7
    }

.btn-red {
    background-color: var(--btn-red);
    border: solid 1px var(--btn-red);
    color: #fff
}

    .btn-red:hover {
        color: #fff;
        background-color: #d90000;
        border-color: #d90000
    }

.btn-orange {
    background-color: var(--btn-orange);
    border: solid 1px var(--btn-orange);
    color: #fff
}

    .btn-orange:hover {
        color: #fff;
        background-color: #ff9238;
        border-color: #ff9238
    }

.btn-green {
    background-color: var(--btn-green);
    border: solid 1px var(--btn-green);
    color: #fff
}

    .btn-green:hover {
        color: #fff;
        background-color: #00a225;
        border-color: #00a225
    }

.btn-dark {
    background-color: var(--btn-dark);
    border: solid 1px var(--btn-dark);
    color: #fff
}

    .btn-dark:hover {
        color: #fff;
        background-color: #626262;
        border-color: #626262
    }

.btn-blue-outline {
    border: solid 1px var(--btn-blue);
}

    .btn-blue-outline:hover {
        color: #fff;
        background-color: #0b5ed7;
        border-color: #0b5ed7
    }

.btn-red-outline {
    border: solid 1px var(--btn-red);
}

    .btn-red-outline:hover {
        color: #fff;
        background-color: #d90000;
        border-color: #d90000
    }

.btn-orange-outline {
    border: solid 1px var(--btn-orange);
}

    .btn-orange-outline:hover {
        color: #fff;
        background-color: #ff9238;
        border-color: #ff9238
    }

.btn-green-outline {
    border: solid 1px var(--btn-green);
}

    .btn-green-outline:hover {
        color: #fff;
        background-color: #00a225;
        border-color: #00a225
    }

.btn-dark-outline {
    border: solid 1px var(--btn-dark);
}

    .btn-dark-outline:hover {
        color: #fff;
        background-color: #626262;
        border-color: #626262
    }

.full {
    width: 100%
}
/* text form */
.text-danger {
    text-align: right;
    color: var(--color-red);
    padding-top: 6px;
    font-style: italic;
    font-size: 12px
}

.text-success {
    text-align: right;
    color: var(--color-green);
    padding-top: 6px;
    font-style: italic;
    font-size: 12px
}
/* tgl-switch */
.tgl-switch {
    display: none
}

    .tgl-switch + .tgl-slider {
        display: inline-block;
        vertical-align: middle;
        width: 36px;
        height: 20px;
        background: #ccc;
        border-radius: 20px;
        position: relative;
        cursor: pointer;
        transition: background 0.3s ease
    }

        .tgl-switch + .tgl-slider::after {
            content: "";
            position: absolute;
            width: 16px;
            height: 16px;
            background: white;
            border-radius: 50%;
            left: 2px;
            top: 50%;
            transform: translateY(-50%);
            transition: left 0.3s ease
        }

    .tgl-switch:checked + .tgl-slider {
        background: var(--checkbox-checked-bg)
    }

        .tgl-switch:checked + .tgl-slider::after {
            left: 50%
        }


/* checkbox css */
.label-custom {
    display: flex;
    flex-wrap: wrap;
}

.input-checkbox-hiden {
    position: absolute;
    z-index: -1;
    height: 1px;
    width: 1px;
    display: none
}

.input-checkbox-icon {
    position: relative;
    top: 2px;
    height: 16px;
    width: 16px;
    border-radius: 3px;
    border: 2px solid var(--checkbox-border);
    margin-right: 8px
}

.input-checkbox-hiden:checked ~ .input-checkbox-icon {
    background-color: var(--checkbox-checked-bg);
    border: solid 2px var(--checkbox-checked-border)
}

.input-checkbox-hiden:not([disabled]):checked ~ .input-checkbox-icon, .input-checkbox-hiden:checked:focus ~ .input-checkbox-icon {
    background-color: var(--checkbox-checked-bg)
}

.input-checkbox-hiden:disabled ~ .input-checkbox-icon {
    background-color: #f0f0f0;
    border: solid 2px var(--checkbox-border);
    cursor: not-allowed;
}

.input-checkbox-icon:after {
    content: '';
    position: absolute;
    display: none
}

.input-checkbox-hiden:checked ~ .input-checkbox-icon:after {
    display: block
}

.input-checkbox-icon:after {
    left: 4px;
    top: 0;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg)
}

.input-checkbox-hiden:disabled ~ .input-checkbox-icon:after {
    background-color: #f0f0f0;
    border-color: #999;
    cursor: not-allowed;
}

/* radio css */
.radio-checkbox-hidden {
    position: absolute;
    display: none;
    z-index: -1;
    height: 1px;
    width: 1px
}

.radio-checkbox-icon {
    position: relative;
    top: 2px;
    height: 16px;
    width: 16px;
    border-radius: 100%;
    border: 2px solid var(--radio-border);
    margin-right: 8px
}

.radio-checkbox-hidden:checked ~ .radio-checkbox-icon {
    background-color: var(--radio-checked-bg);
    border-color: var(--radio-checked-border);
}

.radio-checkbox-hidden:not([disabled]):checked ~ .radio-checkbox-icon, .radio-checkbox-hidden:checked:focus ~ .radio-checkbox-icon {
    background-color: var(--radio-checked-bg);
    border-color: var(--radio-checked-border);
}

.radio-checkbox-hidden:disabled ~ .radio-checkbox-icon {
    background-color: #f0f0f0;
    border-color: #ddd;
    cursor: not-allowed;
}

.radio-checkbox-icon:after {
    content: '';
    position: absolute;
    display: none
}

.radio-checkbox-hidden:checked ~ .radio-checkbox-icon:after {
    display: block
}

.radio-checkbox-hidden:disabled ~ .radio-checkbox-icon:after {
    border-color: #999
}

.radio-checkbox-icon:after {
    left: 4px;
    top: 0;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg)
}

.checkbox-inner {
    display: grid
}

/* show, hidden password js */
.toggle-password {
    position: absolute;
    right: 2px;
    height: 36px;
    width: 30px;
    text-align: center;
    display: grid;
    place-items: center;
    top: 2px;
    z-index: 9;
    cursor: pointer
}

.password-wrapper {
    position: relative;
}

.password-hiden {
    display: inline-block;
}

.password-show {
    display: none;
}

.toggle-password.showpass .password-show {
    display: inline-block;
}

.toggle-password.showpass .password-hiden {
    display: none;
}

/* floating-label*/
.floating-label {
    position: absolute;
    left: 12px;
    top: 10px;
    color: #999;
    background: var(--bg-white);
    padding: 0 5px;
    transition: 0.3s ease-in-out;
    pointer-events: none;
    font-size: 14px;
}
/* Khi input cĂ³ focus hoáº·c cĂ³ ná»™i dung */
.floating-placeholder:focus + .floating-label, .floating-placeholder:not(:placeholder-shown) + .floating-label {
    transform: translate(0, -1.5em) scale(0.9);
    font-size: 12px;
    color: var(--color-blue);
    top: 10px;
    border-radius: 8px;
}

.label-floating-select {
    position: absolute;
    left: 12px;
    top: -8px;
    font-size: 12px;
    color: var(--color-blue);
    border-radius: 8px;
    background: var(--bg-white);
    padding: 0 5px;
}
/* End Form */

/* Bengin accordion */
.accordion {
    border-bottom: 1px solid var(--accordion-border);
}

.accordion-header {
    padding: 12px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
}


    .accordion-header:hover {
        background: var(--accordion-hover-bg);
    }

.accordion.open .accordion-header {
    background: var(--accordion-hover-bg);
}

.accordion-content {
    display: none;
    border-top: 1px solid var(--accordion-border);
}

.accordion.open .accordion-content {
    display: block;
}

.accordion-arrow {
    transition: transform 0.3s ease;
}

.accordion.open .accordion-arrow {
    transform: rotate(180deg);
}
/* End accordion */


/* Bengin breadcrumbs */
.nav-breadcrumb {
    margin-bottom: 12px
}

.breadcrumb {
    font-size: 14px;
}

    /* táº¡o dáº¥u phĂ¢n tĂ¡ch */
    .breadcrumb a + a::before,
    .breadcrumb a + span::before,
    .breadcrumb span + span::before {
        content: "›";
        color: #fff;
        padding: 0 4px;
    }

    /* link */
    .breadcrumb a {
        text-decoration: none;
        color: #fff;
    }

    /* last item */
    .breadcrumb span {
        color: #fff;
    }
/* End*/
/* pagination */
.pagination {
    display: flex;
    justify-content: center;
}

    .pagination ul {
        margin: 0;
        padding: 0;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

        .pagination ul li {
            display: inline-block;
            list-style: none;
        }

.page-numbers {
    display: inline-block;
    text-align: center;
    border: solid 1px var(--pagination-border);
    background-color: var(--pagination-bg);
    color: var(--pagination-color);
    cursor: pointer;
    border-radius: 5px;
    min-width: 40px;
    height: 40px;
    line-height: 40px;
}

    .page-numbers:hover, .page-numbers.active {
        border: solid 1px var(--pagination-hover-border);
        background-color: var(--pagination-hover-bg);
        color: var(--pagination-hover-color);
    }
/* End*/

/* Bengin tabs */
.tabs {
    margin-bottom: 20px;
}

.tab-head {
    margin-bottom: 16px;
}

.tab-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-item {
    cursor: pointer;
    width: 50%;
    text-align: center;
    padding-bottom: 12px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
    border-bottom: solid 1px #e0e0e0;
}

    .tab-item[aria-selected="true"] {
        color: #dc3545;
        border-bottom: solid 2px #dc3545;
    }

/* End */


/* ======= GRID SYSTEM ======= */
.grid {
    display: grid;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px
}

.grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.grid-7 {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
}

.grid-8 {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
}

.grid-9 {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 20px;
}

.grid-10 {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 20px;
}

@media (max-width: 960px) {
    .grid-rps-1 {
        grid-template-columns: repeat(1, 1fr);
    }

    .grid-rps-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ======= FLEXBOX SYSTEM ======= */
.flex {
    display: flex;
    flex-wrap: wrap;
}
/* Báº­t Flexbox */
.flex-wrap {
    flex-wrap: wrap;
}
/* Äáº£m báº£o xuá»‘ng hĂ ng khi cáº§n */
.inline-flex {
    display: inline-flex;
}
/* Báº­t Flexbox dáº¡ng inline */
.flex-row {
    flex-direction: row;
}
/* Máº·c Ä‘á»‹nh: xáº¿p hĂ ng ngang */
.flex-row-reverse {
    flex-direction: row-reverse;
}
/* Xáº¿p hĂ ng ngang nhÆ°ng Ä‘áº£o ngÆ°á»£c */
.flex-column {
    flex-direction: column;
}
/* Xáº¿p hĂ ng dá»c */
.flex-column-reverse {
    flex-direction: column-reverse;
}
/* Xáº¿p hĂ ng dá»c nhÆ°ng Ä‘áº£o ngÆ°á»£c */

/* ====== CÄ‚N CHá»ˆNH TRá»¤C CHĂNH (ROW - THEO CHIá»€U NGANG) ====== */
.justify-start {
    justify-content: flex-start;
}
/* CÄƒn vá» trĂ¡i */
.justify-end {
    justify-content: flex-end;
}
/* CÄƒn vá» pháº£i */
.justify-center {
    justify-content: center;
}
/* CÄƒn giá»¯a */
.justify-between {
    justify-content: space-between;
}
/* CĂ¡c pháº§n tá»­ cĂ¡ch Ä‘á»u nhau */
.justify-around {
    justify-content: space-around;
}
/* CĂ¡c pháº§n tá»­ cĂ¡ch Ä‘á»u nhau vá»›i khoáº£ng trá»‘ng 2 bĂªn */
.justify-evenly {
    justify-content: space-evenly;
}
/* CĂ¡c pháº§n tá»­ cĂ¡ch Ä‘á»u nhau mĂ  khoáº£ng cĂ¡ch báº±ng nhau */

/* ====== CÄ‚N CHá»ˆNH TRá»¤C PHá»¤ (COLUMN - THEO CHIá»€U Dá»ŒC) ====== */
.items-start {
    align-items: flex-start;
}
/* CÄƒn trĂªn */
.items-end {
    align-items: flex-end;
}
/* CÄƒn dÆ°á»›i */
.items-center {
    align-items: center;
}
/* CÄƒn giá»¯a theo chiá»u dá»c */
.items-baseline {
    align-items: baseline;
}
/* CÄƒn theo dĂ²ng chá»¯ ngang */
.items-stretch {
    align-items: stretch;
}
/* GiĂ£n full chiá»u cao */

/* ====== CÄ‚N CHá»ˆNH RIĂNG CHO Tá»ªNG PHáº¦N Tá»¬ (ITEM) ====== */
.self-start {
    align-self: flex-start;
}
/* CÄƒn trĂªn riĂªng láº» */
.self-end {
    align-self: flex-end;
}
/* CÄƒn dÆ°á»›i riĂªng láº» */
.self-center {
    align-self: center;
}
/* CÄƒn giá»¯a riĂªng láº» */
.self-baseline {
    align-self: baseline;
}
/* CÄƒn theo dĂ²ng chá»¯ riĂªng láº» */
.self-stretch {
    align-self: stretch;
}
/* GiĂ£n full riĂªng láº» */


.flex-col {
    flex: 1 0 0%;
}
/* Cá»™t tá»± Ä‘á»™ng co giĂ£n (chia Ä‘á»u) */
.flex-col-auto {
    flex: 0 0 auto;
}
/* Chiá»u rá»™ng theo ná»™i dung */

/* Cá»™t cĂ³ tá»· lá»‡ cá»¥ thá»ƒ  */
.flex-col-1 {
    flex: 0 0 10%;
}

.flex-col-2 {
    flex: 0 0 20%;
}

.flex-col-3 {
    flex: 0 0 30%
}

.flex-col-4 {
    flex: 0 0 40%
}

.flex-col-5 {
    flex: 0 0 50%
}

.flex-col-6 {
    flex: 0 0 60%
}

.flex-col-7 {
    flex: 0 0 70%
}

.flex-col-8 {
    flex: 0 0 80%
}

.flex-col-9 {
    flex: 0 0 90%
}

.gap-8 {
    gap: 8px;
}

.gap-10 {
    gap: 10px;
}

.gap-12 {
    gap: 12px;
}

.gap-16 {
    gap: 16px;
}

.gap-20 {
    gap: 20px;
}

.gap-24 {
    gap: 24px;
}

.gap-32 {
    gap: 30px;
}

.gap-36 {
    gap: 30px;
}

.gap-48 {
    gap: 30px;
}

@media (max-width: 960px) {
    .flex-m {
        flex-direction: column;
    }
}
/*End section */


/*Bengin Home */
.section-slider {
    margin-bottom: 40px;
}

.section-noibat {
    margin-bottom: 40px
}

.section-kynang {
    background: #f9f5f0;
    padding: 40px 0;
}

.section-giaoduc {
    padding: 40px 0;
}

.section-lichsu {
    padding: 40px 0;
    background: #f9f5f0;
}

.section-news {
    padding: 40px 0;
}

#swiper_item1 img {
    width: 100%;
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 22px;
}

.swiper-button-next, .swiper-button-prev {
    width: 40px !important;
    height: 40px !important;
    background: #fff;
    border-radius: 100%;
}

    .swiper-button-next::after, .swiper-button-prev::after {
        font-size: 16px !important;
    }

.swiper {
    margin-bottom: 30px;
}

.swiper-button-next, .swiper-button-prev {
    color: #c81515 !important;
}


/* ======= GRID SYSTEM ======= */
.product-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.product-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.product-grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

/* post  */
.product {
    position: relative;
}

.product-thumb {
    position: relative;
}

.product-image {
    display: block;
    overflow: hidden;
    height: 0;
    position: relative;
    background: #f2f2f2;
    padding-bottom: 56.25%
}

    .product-image img {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        -o-object-position: center;
        object-position: center;
        -o-object-fit: cover;
        object-fit: cover
    }

.product-inner {
    display: grid;
    gap: 12px;
}

.product-summary {
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical
}

.product-meta {
    margin-bottom: 12px;
}

    .product-meta:last-child, .post-summary:last-child, .post-header:last-child {
        margin-bottom: 0;
    }

.product-list {
    border: solid 1px #e0e0e0;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

    .product-list:hover {
        border: solid 1px #d03939;
        box-shadow: 0 5px 20px 0 rgba(0,0,0,.15);
    }

    .product-list .product-inner {
        padding: 16px;
    }

    .product-list .product-title {
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        height: 46px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        font-size: 16px;
        font-weight: normal;
    }
/* thumbnail */
.product-16x9 {
    padding-bottom: 56.25%
}

.product-5x3 {
    padding-bottom: 60%
}

.product-1x1 {
    padding-bottom: 100%
}

.product-1x2 {
    padding-bottom: 140%
}

.product-l-240 {
    width: 240px;
    margin-right: 24px;
    margin-bottom: 0
}

.product-l-140 {
    width: 140px;
    margin-right: 16px;
    margin-bottom: 0
}

.product-r-240 {
    width: 240px;
    margin-left: 24px;
    margin-bottom: 0
}

.product-r-140 {
    width: 140px;
    margin-left: 16px;
    margin-bottom: 0
}

@media (max-width:800px) {

    .product-l-240 {
        width: 140px;
        margin-right: 16px;
    }

    .product-r-240 {
        width: 140px;
        margin-left: 16px;
    }

    .m-product-l-140 {
        width: 140px;
        margin-right: 16px;
        margin-bottom: 0;
    }
}

.product-price {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.price-label {
    color: #555;
    font-size: 0.95em;
    margin-right: 4px;
}

.price-original {
    text-decoration: line-through;
    color: #999;
}

.price-sale {
    color: #d60000;
    font-weight: bold;
}

.price-currency,
.price-unit {
    font-size: 0.9em;
    margin-left: 2px;
}

.price-discount {
    background: #ff3333;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85em;
}

.price-sold-out {
    color: #aaa;
    font-style: italic;
}

.price-flash {
    background: red;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.price-member {
    background: #0066cc;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
}

.price-bulk {
    background: #009944;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
}

.product-order {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    align-items: center;
}

.btn--buy-now {
    background-color: var(--btn-blue);
    border: solid 1px var(--btn-blue);
    color: #fff
}

    .btn--buy-now:hover {
        color: #fff;
        background-color: #0b5ed7;
        border-color: #0b5ed7
    }

.btn--add-cart {
    background-color: var(--btn-red);
    border: solid 1px var(--btn-red);
    color: #fff
}

    .btn--add-cart:hover {
        color: #fff;
        background-color: #d90000;
        border-color: #d90000
    }

.btn--wishlist {
    background-color: var(--btn-default);
}

    .btn--wishlist:hover {
        color: #fff;
        background-color: #0b5ed7;
        border-color: #0b5ed7;
    }

.position-tr {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

.position-tl {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

.position-br {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.position-bl {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
}

.list-cat-sub {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

    .list-cat-sub li {
        list-style: none;
    }

        .list-cat-sub li a {
            border: solid 1px var(--btn-red);
            padding: 4px 12px;
            border-radius: 6px;
            display: inline-block;
        }

            .list-cat-sub li a:hover {
                border: solid 1px var(--btn-red);
                background: var(--bg-red);
                color: #fff
            }

.headding-title i, .headding-title a {
    color: #dc3545;
}

.block-search {
    margin-bottom: 40px;
    padding: 0 16px;
}

.seach-input {
    margin: auto;
    max-width: 700px;
    position: relative;
}

.input.input-search-book {
    height: 48px;
    border-radius: 24px;
    border: solid 1px var(--btn-red);
    padding: 0 20px;
    font-size: 16px;
}

.btn-search-book {
    position: absolute;
    right: 4px;
    width: 40px;
    height: 40px;
    z-index: 9;
    cursor: pointer;
    text-align: center;
    line-height: 36px;
    top: 4px;
    background: #dc3545;
    color: #fff;
    border-radius: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}


.section.section-cat {
    margin-bottom: 60px;
}

.page-header {
    margin-bottom: 40px;
    background-color: #f9f5f0;
    padding: 30px 16px;
    position: relative;
    text-align: center;
    color: #fff;
}

    .page-header::before {
        position: absolute;
        content: "";
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background: #00000073;
    }

    .page-header .main-container {
        position: relative;
        z-index: 9;
    }

    .page-header .breadcrumb-item.active, .page-header .breadcrumb-item a {
        color: #fff !important;
    }

    .page-header .breadcrumb-item::after {
        content: "›";
        padding: 0 8px;
        color: #fff !important;
    }

    .page-header .breadcrumb-item:last-child::after {
        content: initial !important;
    }

.page-search {
    position: relative;
    display: inline-block;
    max-width: 640px;
    width: 100%;
    margin: auto;
}

.page-title {
    font-size: 36px;
    margin-bottom: 10px;
}

.list-menu-sub {
    padding: 0;
    margin: 0;
}

    .list-menu-sub li {
        list-style: none;
        padding: 7px 16px;
    }

.sidebar-header h3 {
    font-size: 16px;
    text-transform: uppercase;
}

.sidebar-item {
    margin-bottom: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    overflow: hidden;
}

.link-docsach {
    display: block;
    background: #f2f2f2;
    color: #666;
    font-size: 14px;
    padding: 5px 12px;
    text-align: center;
    border-radius: 8px;
}

.product-list:hover .link-docsach {
    background: #2768a2;
    color: #fff;
}

.view-more a i {
    margin-right: 10px;
}

.block-post-head {
    display: flex;
    margin-bottom: 24px;
    border-bottom: solid 1px #e0e0e0;
    padding-bottom: 24px;
}

.product-text {
    line-height: 1.6;
}

    .product-text .product-title {
        font-size: 26px;
        margin-bottom: 10px;
    }

    .product-text > div {
        margin: 5px 0
    }

.link-download {
    display: inline-block;
    background: #f2f2f2;
    color: #666;
    font-size: 14px;
    padding: 5px 12px;
    text-align: center;
    border-radius: 8px;
}

.block-post-head .product-image img {
    border-radius: 8px;
}

#swiper_noibat, #swiper_kynang, #swiper_giaoduc, #swiper_lichsu {
    padding-bottom: 20px;
}

.section-login {
    display: flex;
    height: 100vh;
    padding: 16px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.form-login {
    max-width: 480px;
    box-shadow: 0 0 6px 0 #999;
    border-radius: 10px;
    padding: 24px;
    background: #fff;
    width: 100%;
}

.logon-logo {
    text-align: center;
    margin-bottom: 30px;
}

    .logon-logo img {
        height: 36px;
    }

@media (max-width:800px) {
    .section-login {
        height: auto;
        align-items: initial;
    }

    .list-cat-sub {
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        display: flex;
        justify-content: normal;
    }

    .headding-title {
        font-size: 24px;
    }

        .headding-title i {
            font-size: 20px;
        }

    .page-title {
        font-size: 24px;
    }

    .page-header {
        padding: 16px 0;
        margin-bottom: 20px;
    }

    .breadcrumb {
        font-size: 12px;
    }

    .m-hidden {
        display: none !important
    }
}
/*End Home */



/*Bengin post-single */
.post-single .post-title {
    font-size: 32px;
}

.post-single .post-summary {
    overflow: hidden;
    text-overflow: initial;
    -webkit-line-clamp: initial;
    display: block;
    -webkit-box-orient: initial;
    font-size: 16px;
    margin-bottom: 16px
}

.post-single .post-thumb figcaption {
    position: absolute;
    background: #00000080;
    color: #fff;
    padding: 8px 12px;
    right: 0;
    bottom: 0;
    text-align: right;
}

.post-single .post-header {
    margin-bottom: 16px
}

.post-single .post-meta {
    margin-bottom: 16px
}

.post-share {
    margin-bottom: 16px;
    gap: 16px;
    display: flex;
    align-items: center;
    justify-content: right;
}

.share-label {
    font-weight: bold
}

.share-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 16px;
}

.share-item {
    height: 32px;
    width: 32px;
    display: grid;
    border: solid 1px var(--border-gray-default);
    place-items: center;
    border-radius: 100%;
}

.meta-single {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.col-share {
    justify-content: right;
    gap: 16px;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.col-meta {
    gap: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.post-author {
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
}

.author-thumb img {
    height: 40px;
    width: 40px;
    border-radius: 100%;
}

.author-name {
    font-weight: bold;
    font-size: 16px;
}

.author-summary {
    color: var(--color-gray-default);
}
/* .post-content */
.post-content {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px
}

    .post-content p {
        margin: 16px 0;
    }

    .post-content a {
        color: var(--color-link);
    }

        .post-content a:hover {
            color: var(--color-link-hover);
            text-decoration: underline
        }

        .post-content a[target] {
            background-color: yellow;
        }

    .post-content h2 {
        margin: 16px 0;
        font-size: 26px;
    }

    .post-content h3 {
        margin: 16px 0;
        font-size: 24px;
    }

    .post-content h4 {
        margin: 16px 0;
        font-size: 23px;
    }

    .post-content h5 {
        margin: 16px 0;
        font-size: 20px;
    }

    .post-content h6 {
        margin: 16px 0;
        font-size: 18px
    }

    .post-content blockquote {
        font-style: italic;
        margin: 16px 0px 16px 10%;
        position: relative;
        font-size: 18px;
        padding: 0 16px;
        border-left: solid 3px #1f971f;
        color: #1f971f;
    }

.figure-images {
    margin: 12px 0;
    text-align: center;
    position: relative;
}

    .figure-images img {
        max-width: 100%;
        height: auto
    }

    .figure-images figcaption {
        font-size: 12px;
        color: var(--color-gray-default);
        font-style: italic;
        margin-top: 10px
    }

.figure-table {
    overflow-x: auto;
    width: 100%;
    margin: 12px 0
}

    .figure-table table {
        max-width: 100%;
        border-collapse: collapse;
        border-spacing: 0;
        margin: 0 auto
    }

        .figure-table table th, .figure-table table td {
            border: solid 1px #aaa;
            padding: 4px;
        }

.figure-video {
    margin: 16px 0;
    position: relative;
}

.video-iframe {
    padding-top: 56.25%;
    height: 0;
    overflow: hidden;
}

    .video-iframe iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

.post-tags {
    display: flex;
    margin-bottom: 16px;
    gap: 16px;
}

.tags-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: bold;
    flex: 0 0 auto;
}

.tags-list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 6px;
    flex-wrap: wrap;
}

    .tags-list li a {
        border: solid 1px var(--border-gray-default);
        padding: 5px 12px;
        border-radius: 5px;
        display: block;
    }

.post-related {
    margin-bottom: 16px;
}

.related-title {
    font-size: 20px;
    font-weight: bold;
}

.related-list {
    margin: 0;
    padding-left: 16px;
    font-size: 16px
}

    .related-list li {
        margin: 6px 0;
        list-style: disc;
    }

.post-share.share-sticky {
    margin-left: -60px;
    z-index: 9;
    position: -webkit-sticky;
    position: sticky;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    top: 100px;
    display: flex;
    gap: 10px;
    flex-direction: column;
    width: 40px;
    float: left;
    margin-bottom: 16px;
}

    .post-share.share-sticky .share-list {
        flex-direction: column;
    }

.post-video {
    padding-top: 56.25%;
    height: 0;
    position: relative;
    overflow: hidden;
}

    .post-video iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

/*Bengin table-of-contents */
#table-of-contents {
    border: solid 1px var(--border-gray-default);
    border-radius: 5px;
    display: none;
}

.toc-heading {
    background: var(--bg-gray-default);
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toc-title {
    font-size: 14px;
    font-weight: bold;
}

.btn-toc-heading {
    color: var(--color-blue);
    cursor: pointer;
    font-size: 14px;
}

.toc-contents {
    padding: 16px;
}

    .toc-contents a {
        color: var(--body-color);
    }

#toc-list > li > a {
    font-weight: bold;
}

#toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

    #toc-list ol {
        margin: 0;
        padding-left: 16px;
    }

    #toc-list li {
        margin: 5px 0;
        list-style: none
    }

.toc-hidden {
    display: none;
}
/*End table-of-contents */

.block-list-link {
    display: flex;
    flex-wrap: nowrap;
    padding: 16px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.link-title {
    font-size: 18px;
    font-weight: bold;
}

.link-summary {
    font-size: 14px;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.file-pfd-books embed {
    width: 100%;
    height: 1000px;
}

.post.post-product {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 40px
}

.post.post-single {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 40px;
}

.form.box-lienhe {
    max-width: 640px;
    margin: auto;
}

.ten-tai-khoan {
    font-size: 16px;
    font-weight: bold;
    margin-top: 12px;
}

.photo-account-thumb img {
    width: 100px;
    height: 100px;
    display: inline-block;
    border-radius: 100%;
}

.editphoto {
    position: absolute;
    bottom: 0;
    color: #fff;
    background: #312b2bed;
    border-radius: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 14px;
    height: 32px;
    width: 32px;
    justify-content: center;
}

.photo-account-thumb {
    display: flex;
    justify-content: center;
    position: relative;
}

.post-list-sidebar {
    padding: 16px;
}

    .post-list-sidebar .post-title {
        font-size: 14px;
        font-weight: normal
    }

.xemthem {
    padding-top: 12px;
    text-align: right;
    font-style: italic;
}

.page-404 {
    text-align: center;
    font-size: 20px;
    margin: 60px 0;
}

    .page-404 img {
        border-radius: 10px;
    }

.block-timkiem {
    margin-top: 16px;
    font-size: 16px;
}

.banner-cat {
    margin-bottom: 24px;
    text-align: center;
}

    .banner-cat img {
        max-width: 100%;
        border-radius: 6px
    }

@media only screen and (max-width:960px) {
    .meta-single {
        gap: 12px;
        align-items: initial;
        flex-direction: column;
    }

    .post-content h2 {
        font-size: 22px;
    }

    .post-content h3 {
        font-size: 20px;
    }

    .post-content h4 {
        font-size: 18px;
    }

    .post-content h5 {
        font-size: 18px;
    }

    .post-content h6 {
        font-size: 16px
    }

    .post-share.share-sticky {
        display: none;
        margin: 0;
    }

    .product-text .product-title {
        font-size: 18px;
    }

    .thumb-l-140 {
        flex: 0 0 100px;
    }

    .post.post-product {
        padding: 0;
        box-shadow: none;
        border-radius: 0;
    }

    .post.post-single {
        padding: 0;
        box-shadow: none;
        border-radius: 0;
    }

    .post-single .post-title {
        font-size: 24px;
    }

    .swiper-prev1, .swiper-next1 {
        display: none !important
    }
}
/*End post article */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    position: relative;
    border-radius: 8px;
    text-align: center;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

.cropper-container {
    max-height: 400px;
}

#avatarPreview {
    max-width: 100%;
}

#cropBtn {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

    #cropBtn:hover {
        background-color: #0056b3;
    }

@-webkit-keyframes loading {
    from {
        -webkit-transform: rotate(0)
    }

    to {
        -webkit-transform: rotate(360deg)
    }
}

@-moz-keyframes loading {
    from {
        -moz-transform: rotate(0)
    }

    to {
        -moz-transform: rotate(360deg)
    }
}

.loading {
    width: 16px;
    height: 16px;
    -webkit-animation: 2s linear infinite loading;
    -moz-animation: 2s linear infinite loading
}
/*Bengin Popup */
.popup-bg {
    background: rgba(0,0,0,0.6);
    position: fixed;
    display: none;
    z-index: 999999;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    align-items: flex-start;
    justify-content: center;
}

.popup-wrapper {
    width: 100%;
    max-width: 1200px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
}

.popup-body {
    float: left;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
}

.popup-header {
    float: left;
    width: 100%;
    border-bottom: solid 0.5px #e0e0e0;
    padding: 12px 16px;
    background: #174f9a;
    color: #fff;
}

.popup-title {
    display: inline-block;
    font-weight: 700;
    font-size: 18px;
    padding-right: 36px;
}

.ic-loc {
    margin-right: 8px;
}

.close-popup {
    position: absolute;
    right: 4px;
    top: 6px;
    z-index: 9;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    border-radius: 100%;
    font-size: 20px;
    color: #fff;
}

    .close-popup:hover {
        color: #fff;
    }

.popup-content {
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    float: left;
    width: 100%;
    padding: 16px;
}

.popup-height {
    position: relative;
    max-height: 70vh;
    overflow-y: auto;
}

.entry-popup {
    float: left;
    width: 100%;
}

.popup-footer {
    background: #f9f9f9;
    float: left;
    width: 100%;
    position: relative;
    border-top: solid 1px #e0e0e0;
}

.close-popup.close-popup-footer {
    position: relative;
    right: 0;
    margin: 0;
    top: 0;
    border-radius: 0;
    height: 48px;
    line-height: 48px;
    float: left;
    width: 100%;
}

.close-popup.btn-cancel {
    float: left;
    width: 50%;
    height: 48px;
    line-height: 48px;
    position: relative;
    top: 0;
    right: 0;
    border-radius: 0;
    text-align: center;
}

.btn-continue {
    background: #4285f4;
    float: left;
    width: 50%;
    height: 48px;
    line-height: 48px;
    border-radius: 0 0 2px 0;
    position: relative;
    text-align: center;
    cursor: pointer;
    color: #fff;
}

.target-hidden {
    display: none !important;
}

.target-expanded {
    display: block !important;
}

.bgfafafa {
    background: #fafafa
}

.title-header {
    float: left;
    width: 100%;
    border-bottom: solid 1px #aaa;
    position: relative
}

.title-cat-po {
    font-size: 18px;
    font-weight: 700;
    padding-bottom: 12px;
    text-transform: uppercase;
    float: left;
}

.btntaive {
    float: right;
    background: #174f9a;
    color: #fff;
    height: 32px;
    line-height: 32px;
    padding: 0 16px;
    border-radius: 5px;
    position: relative;
    top: -5px;
}

    .btntaive .ic {
        margin-right: 6px
    }

    .btntaive:hover {
        color: #fff;
    }

.text-count {
    font-size: 14px;
    font-weight: 400;
}

.entry-popup.max-hight {
    max-height: 538px;
    overflow-y: auto;
}

.row-download {
    width: 100%;
    float: left;
    text-align: center;
    margin-bottom: 24px;
}

.alltaive {
    display: inline-block;
    background: #ec1c24;
    color: #fff;
    height: 40px;
    line-height: 40px;
    padding: 0 16px;
    border-radius: 6px;
    font-weight: 700;
}

    .alltaive .ic {
        margin-right: 8px
    }

    .alltaive:hover {
        color: #fff;
    }

.w3-bottom {
    position: relative;
    animation: animatebottom 0.4s;
}

.w-group {
    float: left;
    width: 84%;
}

    .w-group .label-item {
        margin-bottom: 5px;
    }

.input-ctrl {
    background: #f2f4f6;
    border-radius: 8px;
}
@-webkit-keyframes loading {
    from {
        -webkit-transform: rotate(0)
    }

    to {
        -webkit-transform: rotate(360deg)
    }
}

@-moz-keyframes loading {
    from {
        -moz-transform: rotate(0)
    }

    to {
        -moz-transform: rotate(360deg)
    }
}

.loading {
    width: 16px;
    height: 16px;
    -webkit-animation: 2s linear infinite loading;
    -moz-animation: 2s linear infinite loading
}
