/* bắt đâu định nghĩa các thuộc tính*/
:root {
    --primary-color: rgba(244, 133, 49, 0.9);
    --primary-color-footer: rgba(244, 133, 49, 0.5);
    --seconary-color: #9c3b0a;
    --seconary-focus-color: #722a06;
    --seconary-tran-color: #9c3b0acf;
    --third-color: #000000;
    --background-color: #ffffff;
    --background-second-color: #f7f7f7;
    --font-family: "Quicksand", sans-serif;
}
/* kết thúc định nghĩa các thuộc tính*/

/* bắt đầu custom bootstrap */
body {
    opacity: 0;
    transition: all ease 2ms;
    -webkit-transition: all ease 2s;
    -moz-transition: all ease 2s;
    -o-transition: all ease 2s;
}

    body.active {
        opacity: 1;
    }

    body, body * {
        font-family: var(--font-family);
    }

.body {
    min-height: 50rem;
    margin-bottom: 4rem;
}

.navbar {
    background-color: var(--primary-color) !important;
}

.nav-item {
    margin-right: 1rem;
}

.nav-link {
    font-weight: 600;
    color: var(--background-color);
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: all ease .3ms;
    -webkit-transition: all ease .3s;
    -moz-transition: all ease .3s;
    -o-transition: all ease .3s;
}

    .nav-link.active, .nav-link:hover, .nav-link:active, .nav-link:focus {
        color: var(--seconary-color) !important;
    }

    .nav-link i, .nav-link svg {
        font-size: 0.8rem;
        margin-right: 0.2rem;
    }

.dropdown-toggle-link, .button-link {
    outline: none;
    border: none;
    color: var(--primary-color);
}

    .dropdown-toggle-link:hover, .button-link:hover, .dropdown-toggle-link:active, .button-link:active, .dropdown-toggle-link:focus, .button-link:focus {
        color: var(--seconary-color);
    }

    .dropdown-toggle-link::after {
        display: none !important;
    }

    .dropdown-toggle-link img, .button-link img {
        width: 1.2rem;
        height: auto;
    }

.dropdown-menu-link .dropdown-item, .dropdown-menu-row .dropdown-item {
    color: var(--fourth-color);
    font-size: 0.9rem;
}

.dropdown-menu-row.show {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0.5rem;
    width: auto;
}

.dropdown-menu-row .dropdown-item {
    padding: 0.5rem 1rem;
}

.dropdown-menu-row img {
    width: 1.2rem;
    height: auto;
}

.drop-end > .dropdown-item {
    display: flex;
    align-items: center;
}

    .drop-end > .dropdown-item::after {
        display: inline-block;
        margin-left: auto;
        padding-left: 0.5rem;
        vertical-align: 0.5em;
        content: "";
        border-top: 0.3em solid transparent;
        border-right: 0;
        border-bottom: 0.3em solid transparent;
        border-left: 0.3em solid;
    }

.dropdown-menu li {
    position: relative;
}

.dropdown-menu .dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -7px;
    min-width: 15rem;
}

.dropdown-menu .dropdown-submenu-left {
    right: 100%;
    left: auto;
}

.dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
}

.offcanvas {
    max-width: 80%;
}

.btn-close {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.nav-list {
    list-style: none;
    padding: 0rem;
    margin: 0rem;
}

    .nav-list li {
        padding: 0.5rem;
    }

        .nav-list li .nav-item {
            text-decoration: none;
            color: var(--seconary-color);
            font-weight: 600;
            transition: all ease 0.3ms;
            -webkit-transition: all ease 0.3s;
            -moz-transition: all ease 0.3s;
            -o-transition: all ease 0.3s;
        }

            .nav-list li .nav-item:hover, .nav-list li .nav-item:active, .nav-list li .nav-item:focus {
                color: var(--seconary-color);
            }

        .nav-list li.active, .nav-list .accordion-button.active {
            background-color: var(--seconary-color-op-03);
            color: var(--seconary-color);
        }

            .nav-list li.active a {
                color: var(--seconary-color);
            }

.nav-list {
    list-style: none;
    padding: 0rem;
    margin: 0rem;
}

    .nav-list li {
        padding: 0.5rem;
    }

    .nav-list .accordion-item {
        border: none;
        border-radius: 0px;
    }

    .nav-list .accordion-button {
        border-radius: 0px;
        padding: 0px;
        text-transform: uppercase;
        color: var(--seconary-color);
        background: var(--background-color);
        font-size: 1rem;
        border: none;
        box-shadow: none;
        text-decoration: none;
        padding: 0.75rem 0;
        border-radius: 0 !important;
    }

        .nav-list .accordion-button::after {
            width: 1rem;
            height: 1rem;
            background-size: 1rem;
        }

    .nav-list a.accordion-button::after {
        display: none;
    }

    .nav-list .accordion-body {
        padding-top: 0;
        padding-bottom: 0;
        padding-right: 0;
    }

.modal-title {
    font-weight: bold;
    color: var(--seconary-color);
}

.form-label {
    font-weight: 600;
    color: var(--third-color);
}

.form-control {
    font-weight: 600;
    color: var(--third-color);
}

    .form-control.is-valid, .was-validated .form-control:valid {
        border-color: gray;
    }

.btn-primary {
    background-color: var(--seconary-color);
    border: none;
    outline: none;
}

    .btn-primary:hover, .btn-primary:focus, .btn-primary:active {
        background-color: var(--seconary-focus-color) !important;
    }

.btn-link {
    color: var(--seconary-color);
}

    .btn-link:hover, .btn-link:active, .btn-link:focus {
        color: var(--seconary-focus-color) !important;
    }

.m-r-4 {
    margin-right: 1rem;
}

.btn-secondary {
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--seconary-color) !important;
    color: var(--background-color) !important;
    border: mediumpurple;
    outline: none;
}

.dropdown-menu .dropdown-item {
    cursor: pointer !important;
}

.btn-secondary::after {
    display: none;
}
/* kết thúc custom bootstrap */

/* bắt đầu nav sub */
.header-fix {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    width: 100%;
}

header {
    background-image: url(../resource/background1.jpg);
    background-repeat: repeat;
    background-position: 50% 0;
    background-size: auto;
    top: -100%;
    transition: all ease .6ms;
    -webkit-transition: all ease .6s;
    -moz-transition: all ease .6s;
    -o-transition: all ease .6s;
}

.nav-sub {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 5rem;
}

    .nav-sub .logo {
        height: 5rem;
    }

        .nav-sub .logo img {
            height: 100%;
        }

.nav-sub-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
}

.nav-sub-item-icon {
    width: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .nav-sub-item-icon img {
        max-width: 90%;
    }

.nav-sub-item {
    display: flex;
    flex-direction: column;
}

    .nav-sub-item .title {
        font-size: 1.1rem;
        font-weight: bold;
    }

    .nav-sub-item .content {
        font-size: 1.1rem;
        color: var(--seconary-color);
        font-weight: bold;
        text-decoration: none;
    }

.btn-login {
    background-color: var(--seconary-color);
    border: none;
    outline: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--background-color) !important;
    transition: all ease .3ms;
    -webkit-transition: all ease .3s;
    -moz-transition: all ease .3s;
    -o-transition: all ease .3s;
}

    .btn-login:hover, .btn-login:active, .btn-login:focus {
        background-color: var(--seconary-focus-color);
    }

    .btn-login i, .btn-login svg {
        font-size: 1rem;
    }

.btn-menu-mobile {
    display: none;
    background-color: var(--seconary-color);
    border: none;
    outline: none;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--background-color) !important;
    transition: all ease .3ms;
    -webkit-transition: all ease .3s;
    -moz-transition: all ease .3s;
    -o-transition: all ease .3s;
}

    .btn-menu-mobile:hover, .btn-menu-mobile:active, .btn-menu-mobile:focus {
        background-color: var(--seconary-focus-color);
    }

nav[aria-label="breadcrumb"] {
    margin-top: 0.5rem;
}

.breadcrumb .breadcrumb-item {
    color: var(--third-color);
}

    .breadcrumb .breadcrumb-item a {
        color: var(--seconary-color);
    }
/* kết thúc nav sub */

/* bắt đầu footer */
footer {
    background-image: url(../resource/background2.png);
    background-color: var(--primary-color-footer);
    width: 100%;
    overflow: hidden;
}

.footer-col {
    padding: 1rem 1rem;
}

    .footer-col .logo {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0rem 1rem 1rem 1rem;
    }

        .footer-col .logo img {
            width: 50%;
        }

    .footer-col .desc {
        color: var(--third-color);
        font-weight: 600;
        text-align: justify;
    }



    .footer-col .title {
        text-transform: uppercase;
        color: var(--third-color);
        font-weight: bold;
        font-size: 1.2rem;
        position: relative;
        display: flex;
        width: fit-content;
        padding: 0 0 0.5rem 0;
        min-width: 6rem;
    }

        .footer-col .title::before {
            content: " ";
            height: 0.25rem;
            width: 50%;
            background-color: var(--seconary-color);
            display: block;
            position: absolute;
            bottom: 0;
            left: 0;
        }

        .footer-col .title::after {
            content: " ";
            height: 0.1rem;
            width: 50%;
            display: block;
            position: absolute;
            background-color: var(--seconary-color);
            bottom: 0.05rem;
            right: 0px;
        }






    .footer-col .ls-menu {
        list-style-type: none;
        padding: 0;
        margin-top: 1rem;
    }

        .footer-col .ls-menu li {
            margin-top: 0.5rem;
            transition: transform 0.4s;
        }

            .footer-col .ls-menu li:hover, .footer-col .ls-menu li:active, .footer-col .ls-menu li:focus {
                transform: translateX(0.5rem);
            }

        .footer-col .ls-menu a {
            color: var(--third-color);
            text-decoration: none;
        }

        .footer-col .ls-menu i, .footer-col .ls-menu svg {
            font-size: 0.8rem;
            margin-right: 0.5rem;
        }

    .footer-col #fb-root {
        margin-top: 1rem;
    }

.footer-copy-right {
    background-color: var(--seconary-color);
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--background-color);
    text-align: center;
}
/* kết thúc footer */

/* băt đầu sử dụng chung */
.animationScale img {
    transition: transform 0.8s ease;
}

.animationScale:hover img, .animationScale:focus img, .animationScale:active img {
    transform: scale(1.1);
}

.transition {
    transition: all ease 0.3ms;
    -webkit-transition: all ease 0.3s;
    -moz-transition: all ease 0.3s;
    -o-transition: all ease 0.3s;
}

.possion-btn-user {
    left: auto !important;
    right: 0 !important;
}

.box-shadow {
    box-shadow: rgb(0 0 0 / 18%) 0px 3px 8px;
}

.animate {
    animation-duration: 0.3s;
    -webkit-animation-duration: 0.3s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
}

.relative {
    position: relative;
}

.over-flow-hide {
    overflow: hidden !important;
}

.d-flex-1 {
    display: flex;
    flex: 1;
}

.title-group {
    display: flex;
    justify-content: center;
    flex-direction: row;
    text-align: center;
    color: var(--seconary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 3rem;
    font-size: 2rem;
}

.owl-product {
    position: relative;
}

    .owl-product .owl-product-btn-action {
        outline: none;
        border: 1px solid var(--background-color);
        color: var(--background-color);
        position: absolute;
        top: 35%;
        z-index: 99;
        border-radius: 50%;
    }

        .owl-product .owl-product-btn-action.left {
            left: 1rem;
        }

        .owl-product .owl-product-btn-action.right {
            right: 1rem;
        }

        .owl-product .owl-product-btn-action:hover, .owl-product .owl-product-btn-action:active, .owl-product .owl-product-btn-action:focus {
            background-color: var(--seconary-color);
            border-color: var(--seconary-color);
        }

.slider-product-item {
    text-decoration: none;
    color: var(--seconary-color);
}

    .slider-product-item .image {
        border-radius: 1rem;
        overflow: hidden;
        position: relative;
    }

        .slider-product-item .image img {
            border-radius: 1rem;
            width: 100%;
        }

        .slider-product-item .image .action {
            display: flex;
            flex-direction: row;
            justify-content: center;
            text-align: center;
            background-color: var(--seconary-tran-color);
            color: var(--background-color);
            padding: 0;
            height: 0;
            overflow: hidden;
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            opacity: 0;
        }

    .slider-product-item:hover .image .action, .slider-product-item:active .image .action, .slider-product-item:focus .image .action {
        padding: 0.5rem 1rem;
        height: auto;
        opacity: 1;
    }

    .slider-product-item .title {
        text-align: center;
        display: flex;
        justify-content: center;
        margin-top: 0.5rem;
        font-weight: bold;
        color: var(--seconary-color);
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

.slider-news-item {
    text-decoration: none;
    color: var(--seconary-color);
    margin-top: 2rem;
}

    .slider-news-item .image {
        border-radius: 1rem;
        overflow: hidden;
        position: relative;
    }

        .slider-news-item .image img {
            border-radius: 1rem;
            width: 100%;
        }

        .slider-news-item .image .action {
            display: flex;
            flex-direction: row;
            justify-content: center;
            text-align: center;
            background-color: var(--seconary-tran-color);
            color: var(--background-color);
            padding: 0;
            height: 0;
            overflow: hidden;
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            opacity: 0;
        }

    .slider-news-item:hover .image .action, .slider-news-item:active .image .action, .slider-news-item:focus .image .action {
        padding: 0.5rem 1rem;
        height: auto;
        opacity: 1;
    }

    .slider-news-item .title {
        text-align: center;
        display: flex;
        justify-content: center;
        margin-top: 0.5rem;
        font-weight: bold;
        color: var(--seconary-color);
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .slider-news-item .desc {
        text-align: justify;
        justify-content: center;
        margin-top: 0.5rem;
        color: var(--third-color);
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
    }

    .slider-news-item .button {
        display: flex;
        align-items: center;
        background-color: var(--primary-color);
        margin-top: 1rem;
        color: var(--background-color);
        width: auto;
    }

        .slider-news-item .button i, .slider-news-item .button svg {
            margin-left: 0.5rem;
        }

.pro-list-item {
    margin-top: 1rem;
    width: 100%;
}

.product-detail .image {
    width: 100%;
}

    .product-detail .image img {
        width: 100%;
        border-radius: 1rem;
    }

.product-detail .title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--seconary-color);
}

.product-detail .desc {
    font-size: 1rem;
    color: var(--third-color);
    font-style: italic;
}

.product-detail .content {
    font-size: 1rem;
    color: var(--third-color);
}

.product-detail .binh-chon {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
}

    .product-detail .binh-chon .binh-chon-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        cursor: pointer;
        padding: 0.2rem 0;
    }

        .product-detail .binh-chon .binh-chon-item * {
            cursor: pointer;
        }

        .product-detail .binh-chon .binh-chon-item input {
            display: none;
        }

        .product-detail .binh-chon .binh-chon-item .check {
            border: 1px solid var(--seconary-color);
            width: 1.2rem;
            height: 1.2rem;
            display: flex;
            justify-content: center;
            align-items: center;
            color: var(--seconary-color);
            border-radius: 50%;
            margin-right: 0.5rem;
            padding: 0.2rem;
        }

            .product-detail .binh-chon .binh-chon-item .check i, .product-detail .binh-chon .binh-chon-item .check svg {
                display: none;
            }

        .product-detail .binh-chon .binh-chon-item .title {
            font-weight: 400;
            font-size: 1.1rem;
            margin: 0;
        }

        .product-detail .binh-chon .binh-chon-item:hover .title, .product-detail .binh-chon .binh-chon-item:active .title, .product-detail .binh-chon .binh-chon-item:focus .title {
            color: var(--primary-color);
        }

        .product-detail .binh-chon .binh-chon-item:hover .check, .product-detail .binh-chon .binh-chon-item:active .check, .product-detail .binh-chon .binh-chon-item:focus .check {
            border-color: var(--primary-color);
        }

            .product-detail .binh-chon .binh-chon-item:hover .check svg, .product-detail .binh-chon .binh-chon-item:active .check svg, .product-detail .binh-chon .binh-chon-item:focus .check svg {
                display: block;
                color: var(--primary-color);
            }

        .product-detail .binh-chon .binh-chon-item.active .check svg {
            display: block;
        }

.danh-muc {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    background-color: var(--background-second-color);
}

    .danh-muc .title {
        font-size: 1rem;
        text-align: center;
        background-color: var(--seconary-color);
        color: var(--background-color);
        padding: 0.5rem;
        border-top-left-radius: 0.5rem;
        border-top-right-radius: 0.5rem;
    }

    .danh-muc ul {
        list-style-type: none;
        padding: 0 1rem;
    }

        .danh-muc ul li a {
            /* color: var(--seconary-color);
    text-decoration: none;*/

            color: var(--seconary-color);
            text-decoration: none;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            white-space: unset;
        }

        .danh-muc ul li:hover a, .danh-muc ul li:active a, .danh-muc ul li:focus a {
            color: var(--primary-color);
        }

.news-item {
    margin-top: 1rem;
}

    .news-item .image {
        width: 80%;
        border-radius: 0.5rem;
    }

        .news-item .image img {
            width: 100%;
            border-radius: 0.5rem;
        }

    .news-item .title {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        color: var(--seconary-color);
        font-size: 1.3rem;
        font-weight: 600;
    }

    .news-item .desc {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        color: var(--seconary-color);
        font-size: 1rem;
        font-style: italic;
        color: var(--third-color);
    }

.table-container {
    border-radius: 0.5rem;
    overflow: hidden;
}

    .table-container thead th {
        background-color: var(--seconary-color);
        color: var(--background-color);
    }
/* kết thúc sử dụng chung */

/* bắt đầu animation */
@keyframes navDropSlideUp {
    0% {
        transform: translateY(4rem);
        opacity: 0;
    }

    100% {
        transform: translateY(0rem);
        opacity: 1;
    }

    0% {
        transform: translateY(4rem);
        opacity: 0;
    }
}

@-webkit-keyframes navDropSlideUp {
    0% {
        -webkit-transform: translateY(4rem);
        -webkit-opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0rem);
        -webkit-opacity: 1;
    }

    0% {
        -webkit-transform: translateY(4rem);
        -webkit-opacity: 0;
    }
}

.navDropSlideUp {
    -webkit-animation-name: navDropSlideUp;
    animation-name: navDropSlideUp;
}
/* kết thúc animation */

/* owl-carousel */
.owl-carousel .item {
    position: relative;
}

    .owl-carousel .item .time {
        position: absolute;
        left: 0;
        top: 62%;
        text-align: center;
        width: 100%;
        font-weight: bold;
        /*color: var(--background-color);*/
        font-size: 1.5rem;
        color: #ffffff;
        text-shadow: 0px 1px 4px #e1c409
    }










.footer-col2 {
    padding: 1rem 1rem;
}

    .footer-col2 .title2 {
        /*color: var(--third-color);*/
        color: #9c3b0a;
        font-weight: bold;
        font-size: 2rem;
        position: relative;
        display: flex;
        width: fit-content;
        padding: 0 0 0.5rem 0;
        min-width: 6rem;
    }

        .footer-col2 .title2::before {
            content: " ";
            height: 0.25rem;
            width: 50%;
            background-color: var(--seconary-color);
            display: block;
            position: absolute;
            bottom: 0;
            left: 0;
        }

        .footer-col2 .title2::after {
            content: " ";
            height: 0.1rem;
            width: 50%;
            display: block;
            position: absolute;
            background-color: var(--seconary-color);
            bottom: 0.05rem;
            right: 0px;
        }






/* owl-carousel */
