* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Roboto';
    src: url('../../font/Roboto/Roboto-Regular.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto-light';
    src: url('../../font/Roboto/Roboto-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

:root {
    --black-color: #000;
    --black-main: #000;
    --paragrap-color: #252525;
    --main-color: #07693f;
    --white-color: #fff;
    --backgound-color: #043d24;
    --yellow-color: #eccc6a;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Roboto', sans-serif;
    position: relative;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--black-color);
    text-transform: uppercase;
    font-size: 3rem;
}

a {
    text-decoration: none;
    color: var(--main-color);
    transition: all .3s linear;
}

a:hover {
    text-decoration: none;
    color: #f1ad24;
}

p {
    color: var(--black-color);
    font-size: 1.8rem;
    font-family: 'Roboto-light', sans-serif;
}

ul {
    list-style: none;
    margin: 0;
}

.error {
    color: red;
}

.fs-15 {
    font-size: 15px;
}

.text-aling {
    text-align: center;
}

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

.pc-none {
    display: none;
}

.mr-bt100 {
    margin-bottom: 100px;
}

.mb-80 {
    margin-bottom: 80px;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.mb-30 {
    margin-bottom: 30px !important;
}

.mt-60 {
    margin-top: 60px !important;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.btn.btn-custom-sm {
    padding: 10px 20px;
    font-size: 1.4rem;
}

div#slider {
    z-index: 1;
}

.heading {
    font-size: 2.4rem;
    margin-bottom: 10px;
    line-height: 30px;
}

.heading-1 {
    font-size: 2.4rem;
    line-height: 30px;
}

.table-custom .thead-dark th {
    background-color: var(--main-color);
    border-color: var(--main-color);
    font-size: 1.5rem;
    padding: 12px 20px;
    text-transform: uppercase;
    font-weight: normal;
}

.table-custom tr td,
.table-custom tr th {
    padding: 14px 20px;
    font-size: 1.5rem;
}

.table-custom tr th {
    font-weight: 400;
}


/* Swiper */

.autoplay-progress {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    /* color: var(--swiper-theme-color); */
    color: var(--main-color);
}

.autoplay-progress svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 10;
    width: 100%;
    height: 100%;
    stroke-width: 4px;
    /* stroke: var(--swiper-theme-color); */
    stroke: var(--main-color);
    fill: none;
    stroke-dashoffset: calc(125.6 * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
}

.flex-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* .container {
    padding-right: 0;
    padding-left: 0;
} */

.title-main {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    /* overflow: hidden; */
}

.title-main::before {
    content: '';
    width: 60%;
    height: 5px;
    position: absolute;
    background-color: var(--yellow-color);
    bottom: -9px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 8px;
}

.product-home .title-main {
    color: var(--white-color);
}

.secssion-home {
    padding: 60px 0;
}

.heading-main {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    height: 46px;
}

.nav-breadcrumb {
    padding: 60px 0;
    background-image: url('../../img/banner-bg.jpg');
    border-top: 2px solid var(--yellow-color);
}

.nav-breadcrumb .breadcrumb {
    margin-bottom: 0;
    background-color: transparent;
}

.nav-breadcrumb .breadcrumb a {
    color: var(--yellow-color);
    font-size: 2rem;
}

.nav-breadcrumb .breadcrumb-item.active {
    color: var(--white-color);
    font-size: 2rem;
}

.pagination-main {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-main .page-link {
    font-size: 1.6rem;
    padding: 10px 20px;
}

.swiper.swiper-product {
    padding: 0px;
}

.swiper.swiper-product {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}

.swiper-product .swiper-slide {
    background-size: cover;
    background-position: center;
}

.swiper-product.mySwiper2 {
    height: 555px;
    width: 100%;
}

.swiper-product.mySwiper {
    height: 20%;
    box-sizing: border-box;
    padding: 10px 0;
}

.swiper-product.mySwiper .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
}

.swiper-product.mySwiper .swiper-slide-thumb-active {
    opacity: 1;
}

.swiper-product .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tab-content .nav-item {
    background-color: var(--main-color);
    padding: 7px 30px;
}

.tab-content .nav-link {
    font-size: 2rem;
    color: white !important;
}

.tab-content {
    margin-bottom: 20px;
}


.product-content {
    width: 800px;
    max-width: 100%;
    margin: 40px auto 0;
}

.content-main ul {
    list-style: initial;
    margin-left: 20px;
}

.content-main ol {
    list-style: auto;
    margin-left: 20px;
}

.content-main ul li,
.content-main ol li {
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: justify;
}

.content-main h2 {
    font-size: 2rem;
    margin: 20px 0;
}

.content-main h3 {
    margin-bottom: 10px;
}

.content-main img {
    max-width: 100%;
    height: auto !important;
}

.table-content {
    padding: 40px 20px;
    background-color: #f4f4f4;
    border-radius: 6px;
    margin-bottom: 16px;
    border: 2px solid #000;
}

.table-box {
    transition: all .3s linear;
    overflow: hidden;
}

.table-box-head {
    font-size: 2rem;
}

.table-box-content a {
    font-size: 1.6rem;
    color: #333;
    font-weight: 500;
}

.table-box-content li {
    margin: 10px 20px;
}

.table-box-content li:last-child {
    margin-bottom: 0;
}

.table-box-content ul {
    list-style: decimal;
    font-size: 1.6rem;
    font-weight: 500;
}

ul.sub-table {
    list-style: circle;
}

.table-box-content a:hover {
    color: #ec9300;
}

.table-box-content {
    height: 0;
    opacity: 0;
    transform: translateY(-100%);
    transition: all .5s linear;
}

.table-box-content.show-content {
    animation: showTableContent .5s linear forwards;
    height: 100%;
}

.table-box-content.hide-content {
    animation: hideTableContent .5s linear forwards;
}

@keyframes showTableContent {
    0% {
        height: 0;
        opacity: 0;
        transform: translateY(-100%);
    }

    50% {
        height: 50%;
        opacity: 0.5;
        transform: translateY(-50%);
    }

    100% {
        height: 100%;
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes hideTableContent {
    0% {
        height: 100%;
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        height: 50%;
        opacity: 0.5;
        transform: translateY(-50%);
    }

    100% {
        height: 0;
        opacity: 0;
        transform: translateY(-100%);
    }
}

.register {
    background-color: var(--yellow-color);
}

.register-left {
    display: flex;
    align-items: center;
}

.register-left span {
    display: block;
    font-size: 5rem;
    color: #0e7e42;
    line-height: 0;
}

.register-body {
    display: flex;
    justify-content: space-between;
}

.register-right form {
    display: flex;
}

.register-left p {
    margin: 0 0 0 20px;
    font-size: 2.6rem;
    text-transform: uppercase;
}

.register-body {
    display: flex;
    justify-content: space-between;
}

.register-right form {
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-right input {
    padding: 14px 24px;
    font-size: 1.6rem;
    margin-right: 10px;
    outline: none;
    border: none;
    width: 90%;
}

.register-right label {
    font-size: 1.8rem;
    display: block;
    line-height: 1;
    font-weight: 500;
    margin-bottom: 12px;
}

.register-right .btn {
    font-size: 1.4rem;
    padding: 14px 24px;
    text-transform: uppercase;
}

.register-left .register-des span {
    margin: 0 0 0 20px;
    font-size: 1.7rem;
    line-height: 1.2;
    display: block;
    width: 400px;
    color: #464646;
}

.card-title {
    font-weight: bold;
    font-size: 1.8rem;
}

.content-main {
    margin-bottom: 20px;
}

.content-main a {
    color: blue;
    font-weight: 600;
}

.content-main h1 {
    font-size: 2.4rem;
    margin: 20px 0;
}

.content-main p {
    text-align: justify;
    font-family: 'Roboto', sans-serif;
}

.content-main h1,
.content-main h2,
.content-main h3 {
    font-size: 2rem;
    margin: 20px 0;
    color: var(--main-color);
    position: relative;
}

.content-main h3 {
    text-transform: none;
    text-decoration: underline;
}

.content-main h4 {
    font-size: 1.8rem;
    text-transform: initial;
    margin-bottom: 10px;
    font-weight: 600;
    color: #1da76c;
}


.content-main h2::before {
    position: absolute;
    content: '';
    max-width: 30%;
    background: var(--yellow-color);
    height: 5px;
    width: 100px;
    bottom: -10px;
}

.content-main strong {
    font-weight: 600;
}

.content-main figure {
    background: #f0f0f0;
    width: 600px;
    max-width: 100%;
    margin: 20px auto;
}

.content-main figcaption {
    text-align: center;
    font-size: 18px;
    padding: 10px;
}

.content-main blockquote {
    font-style: italic;
    padding: 0 0 0 30px;
    margin: 1rem 0;
    border-left: 5px solid var(--main-color);
}

.content-main table {
    font-size: 18px;
}

.content-main a.share-social {
    font-weight: initial !important;
}

.mo-ta-danh-muc {
    margin-bottom: 20px;
    text-align: justify;
    max-height: 110px;
    overflow: hidden;
    transition: max-height 0.5s ease;
    position: relative;
}

.mo-ta-danh-muc h2,
.mo-ta-danh-muc h3 {
    margin: 20px 0px 10px 0;
    font-size: 20px;
    text-transform: none;
}

.mo-ta-danh-muc.mo-rong {
    max-height: 1000px;
    /* hoặc giá trị lớn hơn nếu nội dung dài hơn */
}

.view-btn {
    display: inline-block;
    margin-top: 10px;
    cursor: pointer;
    color: #007bff;
    font-weight: bold;
    border: none;
    background: none;
}

.show-content .btn-product {
    transform: translateX(0);
    left: 0;
    display: block;
    position: relative;
    margin-bottom: 20px;
}

.show-content .btn-product:focus {
    box-shadow: none;
}

.btn-current {
    border-radius: 20px;
    background: #357c59;
    color: #fff;
    padding: 9px 18px;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-current::after {
    position: absolute;
    content: '';
    background-image: linear-gradient(270deg, #008047 0%, #5FB621 100%);
    width: 0px;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    transition: width .3s ease-in-out;
    z-index: -1;
}

.btn-current:hover {
    color: #fff;
}

.btn-current:hover::after {
    width: 100%;
}
