:root {
    --font-size: 14px;
    --font-size-small: 12px;
    --font-size-medium: 16px;
    --btn-font-size: 16px;
    --bg-color: #BA002D;
    --border-color: #830222;
    --bg-color-hover: #830222;
    --text-color: #BA002D;
    --text-color-hover: #830222;

}

body,
ul,
li {
    margin: 0;
    padding: 0;
    list-style: none;
}

body {
    font: 400 var(--font-size)/21px 'SF-Pro', Helvetica, Arial, sans-senif;
    background: #fff;
    line-height: 23px;
    color: #000;
}

a,
a:focus,
a:visited,
a:active {
    text-decoration: none;
    color: #000;
    cursor: pointer;
}

a:hover {
    cursor: pointer;
    color: var(--text-color-hover);
    text-decoration: none;
    -webkit-transition: all .4s ease 0s;
    transition: all .4s ease 0s
}

img {
    max-width: 100%
}

.cursor-pointer {
    cursor: pointer;
}

.text-color {
    color: var(--text-color);
}

.font-size-medium {
    font-size: var(--font-size-medium);
}

.font-size-small {
    font-size: var(--font-size-small);
}

h1 {
    font-size: calc(var(--font-size) + 10px);
}

h2 {
    font-size: calc(var(--font-size) + 8px);
}

.text-right {
    text-align: right;
}

/* Begin Header */
.top-bar {
    background-color: var(--bg-color);
    padding: 0.7rem 0 0.7rem;

    & .lang {
        & a {
            color: #fff;
            font-size: var(--font-size);
            padding: 0.25rem;
            width: 30px;
            height: 30px;

            &.active,
            &:hover {
                background-color: var(--bg-color-hover);
                border-color: var(--border-color);
            }
        }
    }

    & .box-search {
        & form {
            background-color: var(--bg-color-hover);

            & .text-search {
                background-color: transparent;
                border-color: transparent;
                font-size: var(--font-size);
                color: #fff;

                &:focus,
                &:active,
                &:visited {
                    box-shadow: none;
                    outline: none
                }

                &::placeholder {
                    color: #fff;
                    opacity: 1;
                    /* Firefox */
                }

                &::-ms-input-placeholder {
                    /* Edge 12 -18 */
                    color: #fff;
                }
            }

            & .btn-search {
                color: #fff;
                padding: .275rem .75rem;
            }
        }
    }
}

.top-navigation {
    & .top-menu {
        & li.nav-item {
            position: relative;

            &>a {
                font-weight: 500;
                padding-right: 18px;
                position: relative;

                &::after {
                    content: "\f282";
                    font-family: "bootstrap-icons";
                    position: absolute;
                    right: 0;
                    font-size: 12px;
                }

            }

            & a:hover {
                color: var(--text-color-hover);
            }

            & ul {
                position: absolute;
                top: 100%;
                left: 0;
                z-index: 1000;
                display: none;
                min-width: 100%;
                margin: 5px 0 0;
                text-align: left;
                list-style: none;
                background-color: #fff;
                -webkit-background-clip: padding-box;
                background-clip: padding-box;
                border: 1px solid rgba(0, 0, 0, .15);
                border-radius: 4px;
                -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
                box-shadow: 0 6px 12px rgba(0, 0, 0, .175);

                & li {
                    padding: 5px .75rem;
                    position: relative;

                    &.has-sub {
                        &>a::after {
                            content: "\f231";
                            font-family: "bootstrap-icons";
                            position: absolute;
                            right: 5px;
                            font-size: 12px;
                        }
                    }

                    & a {
                        white-space: nowrap;
                    }

                    & ul {
                        left: 100%;
                        top: 0;
                        margin-top: 0;
                    }
                }
            }

            &.active {
                &>a {
                    font-weight: bold;
                    color: var(--text-color-hover);
                }
            }
        }

    }

    & .mobile {
        & a {
            display: block;
            border: 1px solid var(--bg-color);
            line-height: 0;
            color: var(--text-color);
            border-radius: 3px;

            & i {
                font-size: 32px;
            }
        }
    }
}

/* End Header */
/* Slider */
.overlay-images {
    overflow: hidden;

    & .images {
        border: 1px solid #ddd;
        border-radius: 3px;
        -moz-transition: all .4s ease-out;
        -o-transition: all .4s ease-out;
        -webkit-transition: all .4s ease-out;
        -ms-transition: all .4s ease-out;
        transition: all .4s ease-out;
        -webkit-backface-visibility: hidden;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center bottom;
        padding-top: 100%
    }
}

.owl-navi {
    & .owl-prev {
        position: absolute;
        left: 0;
        top: 50%;
        display: inline-flex;
        margin-top: -25px;
        padding: 14px 15px 14px 5px;
        text-indent: 1px !important;
        color: #fff;
        background-color: var(--bg-color);
        opacity: .7;

        &:before {
            content: "\f12c";
            font-family: "bootstrap-icons";
            font-size: 40px;
            transition: all .3s;
            position: relative;
            left: 5px;
        }

        &:hover {
            opacity: 1;

            &:before {
                left: 0;
            }
        }
    }

    & .owl-next {
        position: absolute;
        right: 0;
        top: 50%;
        display: inline-flex;
        margin-top: -25px;
        padding: 14px 5px 14px 15px;
        text-indent: 1px !important;
        color: #fff;
        background-color: var(--bg-color);
        opacity: .7;

        &:before {
            content: "\f135";
            font-family: "bootstrap-icons";
            font-size: 40px;
            transition: all .3s;
            position: relative;
            right: 5px;
        }

        &:hover {
            opacity: 1;

            &:before {
                right: 0;
            }
        }
    }

    & .disabled {
        background: #ddd !important;
        opacity: .9;
        color: #333;
    }
}

.owl-navi,
.nav-dots {
    & .owl-dots {
        position: absolute;
        bottom: 5px;
        right: 0;
        width: 100%;
        text-align: center;

        & .owl-dot {
            width: 10px;
            height: 10px;
            background: var(--bg-color);
            display: inline-block;
            margin-left: 5px;
            border-radius: 15px;
            transition: all .3s;

            &.active {
                background: var(--bg-color-hover);
                width: 30px;
            }
        }
    }
}

/* Slider */
/* Footer */
.box-footer {
    margin-top: 3.5rem;

    & .box-scroll-top {
        background-color: #8E8E93;
        padding: 14px;
        color: #fff;

        & i {
            font-size: 18px;
        }

        &:hover {
            cursor: pointer;
        }
    }

    & .footer {
        background-color: #68686D;
        color: #fff;

        & h2 {
            margin-bottom: 15px;
        }

        & p {
            margin-bottom: 10px;
        }
    }
}

/* Footer */
/* Content */
.main-contents {
    & .box-main-header {
        background: url("../images/bg-header-about.jpg") no-repeat;
        background-size: cover;
        position: relative;
        color: #fff;

        & .header-title {
            & h1 {
                font-size: 1.5rem;
                font-weight: bold;
            }
        }

        &::before {
            content: "";
            background-color: #2A2A2A;
            opacity: .6;
            position: absolute;
            width: 100%;
            height: 100%;
            left: 0;
            top: 0;
            z-index: 1;
        }

        & .container {
            position: relative;
            z-index: 2;

            & .box-tabs {
                & .nav-tabs {
                    border: none;

                    & .nav-link {
                        color: #fff;
                        text-transform: uppercase;
                        border-radius: 0;
                        margin: 0;
                        white-space: nowrap;
                        font-size: var(--font-size);

                        &.active,
                        &:hover {
                            background-color: var(--bg-color);
                        }
                    }
                }

            }
        }
    }

    & .box-bg {
        position: relative;

        & .content {
            position: relative;
            z-index: 2;
        }

        &::before,
        &::after {
            content: "";
            position: absolute;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        &::before {
            background: url(../images/bg-right-top.png) no-repeat top right;
            top: 0;
            right: 0;
        }

        &::after {
            background: url(../images/bg-bottom-left.png) no-repeat bottom left;
            bottom: 0;
            right: 0;
        }
    }

    & .box-contents {
        & ul.list {
            padding-left: 26px;

            & li {
                list-style: 0;
                padding-left: 32px;
                margin-bottom: 20px;
                background: url(../images/radio.png) no-repeat 0 1px;

                & p {
                    margin-bottom: 10px;
                }
            }
        }

        & ul.list-disc {
            padding-left: 26px;

            & li {
                list-style: disc;
                margin-bottom: 10px;

                & p {
                    margin-bottom: 10px;
                }
            }
        }
    }

    & .box-pagination {
        & .pagination {
            border: none;
            margin-top: 20px;

            & .page-item {
                margin: 0 6px;

                & .page-link {
                    background-color: #F5F5F5;
                    border: none;
                    border-radius: 3px;
                    color: #000;
                    font-weight: bold;
                    padding: 5px 12px;
                    font-size: var(--font-size);
                }

                &.active,
                &:hover:not(.disabled) {

                    & .page-link {
                        background-color: var(--bg-color);
                        color: #fff;
                    }
                }
            }

            & .page-item:first-child {
                margin-right: 30px;
            }

            & .page-item:last-child {
                margin-left: 30px;
            }
        }

    }

    & .page-layout-1column {
        & p {
            margin-bottom: 10px;

            &.note-date {
                color: #535252;
            }
        }

        & .product-name {
            line-height: 23px;
        }

        & .view-more {
            font-weight: 500;
        }

        & .contact-info,
        & .contact-form {
            & .title {
                text-transform: uppercase;
                font-size: calc(var(--font-size) + 10px);
                text-align: center;
            }
        }

        & .contact-info {
            & .btn {
                font-size: var(--font-size);
                font-weight: 500;
                color: #fff;
                background-color: #3A977B;
                border-color: #3A977B;

                &:hover {
                    background-color: #276955;
                    border-color: #276955;
                }
            }
        }

        & .contact-form {
            & .form-label {
                font-size: var(--font-size-medium);
                font-weight: 500;
            }

            & .form-control {
                font-size: var(--font-size);
                padding: 18px;
                border-radius: 16px;

                &::placeholder {
                    color: #bababa;
                    opacity: 1;
                    /* Firefox */
                }

                &::-ms-input-placeholder {
                    /* Edge 12 -18 */
                    color: #bababa;
                }
            }

            & .btn-custom {
                background-color: var(--bg-color);
                padding: 12px 60px;
                font-size: calc(var(--font-size) + 8px);

                &:hover,
                &:active {
                    background-color: var(--bg-color-hover);
                }
            }
        }
    }

    & .box-breadcrumb {
        & .breadcrumb-item {
            font-weight: 500;

            & a {
                color: var(--text-color);
            }
        }

        & .breadcrumb-item+.breadcrumb-item::before {
            content: "\f285";
            font-family: "bootstrap-icons";
            color: var(--text-color);
        }
    }

    & .page-layout-2column {

        & .overview-contents {
            & p {
                margin-bottom: 10px;
            }

            & ul {
                padding-left: 26px;

                & li {
                    list-style: disc;
                    margin-bottom: 10px;

                    & p {
                        margin-bottom: 10px;
                    }
                }
            }

            & .item-rows:last-child {
                margin-bottom: 0 !important;
            }
        }

        & .site-bar {
            & .box-posts {
                & p {
                    margin-bottom: 5px;
                }

                & .caption {
                    line-height: 23px;

                    & a {
                        font-weight: bold;
                    }

                    & .note-date {
                        color: #535252;
                        margin: 0;
                        font-size: var(--font-size-small);
                    }
                }
            }

            & .box-categories {
                background-color: #F6F6F6;
                padding: 7px 15px;

                & ul {
                    & li {
                        padding: 7px 0;
                        font-weight: 500;

                        & a::before {
                            content: "\f285";
                            font-family: "bootstrap-icons";
                            font-size: 12px;
                            margin-right: 10px;
                            position: relative;
                            top: 1px;
                        }
                    }
                }
            }
        }

        & .list-parts {
            &>ul {
                padding-left: 10px;

                &>li {
                    list-style: none;
                    margin-bottom: 18px;

                    &>a {
                        color: var(--text-color);
                        font-weight: bold;
                        text-transform: uppercase;
                    }

                    &>ul {
                        margin-top: 10px;
                    }
                }

                &>li:last-child {
                    margin-bottom: 0;
                }
            }
        }

        & .product-info {

            & .product-name,
            & .product-title {
                color: #000;
                font-size: calc(var(--font-size) + 10px);
                font-weight: bold;
                margin-bottom: 20px;
            }

            & .product-title {
                margin-top: 30px;
            }

            & ul {
                padding-left: 30px;

                &>li {
                    list-style: disc;
                    margin-bottom: 10px;

                    &>ul {
                        margin-top: 10px;
                    }
                }

                &>li:last-child {
                    margin-bottom: 0;
                }
            }

            & .list-files {
                background-color: #F6F6F6;
                padding: 15px 15px 15px 0;

                & li {
                    list-style: none;
                    margin-bottom: 15px;

                    & i.bi {
                        font-size: 26px;
                        color: var(--bg-color);
                    }
                }
            }
        }
    }

}

.global-banner {
    & .global-name {
        font-size: 30px;
        font-weight: bold;
        margin-bottom: 30px;
    }
}

.global-contents {
    & .group-scroll-tab {
        & .btn-scroll-tab {
            background-color: #8E8E93;
            color: #fff;
            margin-bottom: 5px;
            font-size:var(--font-size);
            width: 100%;
            &:hover,
            &.active {
                background-color: var(--bg-color-hover);
            }
        }
    }
    & .group-content-tab {
        & .group-name {
            font-size: calc(var(--font-size) + 14px);
            font-weight: 500;
            margin: 30px 0;
        }

        & .accordion-item {
            margin-bottom: 10px;
            border: none !important;

            & .accordion-header {
                & .accordion-button {
                    padding-top: 25px;
                    padding-bottom: 25px;
                    background-color: #F6F6F7;
                    font-size: calc(var(--font-size) + 10px);
                    font-weight: 500;

                    &:not(.collapsed) {
                        background-color: var(--bg-color);
                        color: #fff;

                        &::after {
                            filter: brightness(0) invert(1);
                        }
                    }
                }

            }

            & .accordion-body {
                padding: 30px 0;

                & .global-link {
                    text-transform: uppercase;
                    color: var(--text-color);
                    font-size: var(--font-size-medium);
                }
            }
        }

    }
}

.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden
}

.embed-responsive::before {
    display: block;
    content: ""
}

.embed-responsive .embed-responsive-item,
.embed-responsive embed,
.embed-responsive iframe,
.embed-responsive object,
.embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0
}

.embed-responsive-21by9::before {
    padding-top: 48%
}

.embed-responsive-16by9::before {
    padding-top: 56.25%
}

.embed-responsive-4by3::before {
    padding-top: 75%
}

.embed-responsive-1by1::before {
    padding-top: 100%
}
/* Content */
.o_footer {
    background-color: transparent !important;
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dot-list {
  list-style: decimal; /* vẫn giữ số thứ tự 1., 2., 3. */
  padding-left: 30px;
}

.dot-list li {
  position: relative;
  padding-left: 12px; /* tạo khoảng cách cho chấm */
}

.dot-list li::before {
  content: "•";              /* thêm chấm tròn */
  position: absolute;
  left: 0;                   /* đặt chấm ở đầu dòng */
  color: black;              /* màu chấm */
  font-weight: bold;
}