﻿* {
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

body {
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
    color: #525252;
    /* min-width: min-content; */
}

.table {
    color: #525252;
}

.table thead th, .table th, .table td {
    text-align: center;
}

a {
    text-decoration: none !important;
}

canvas {
    width: 100%;
}

.container {
    max-width: 1240px;
}


@media(max-width: 412px) {
    #main-section .container {
        overflow-x: scroll;
    }
}



nav {
    max-height: 90px;
    overflow: hidden;
}

pre{
    font-size: inherit;
    color: inherit;
    font-family: inherit;
    overflow: hidden;
    white-space: pre-line;
    text-overflow: ellipsis;
}

.xq_bag {
    overflow: hidden;
    position: relative;
}

.xq_navbar {
    width: 100%;
    padding-inline-start: 0px;
    overflow: inherit;
}

.xq_navli {
    list-style: none;
    color: #333;
    text-align: center;
    margin: 0px 5px;
}

.xq_navli:hover>a {
    color: #0aa21a !important;
}


.xq_navli a {
    display: block;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    padding: 0px 5px !important;
}

.xq_move {
    height: 3px !important;
    transition: all .3s ease-in-out;
    position: absolute;
}

.button-hover div {
    background-color: white;
    width: fit-content;
    margin-left: 8px;
    margin-right: 8px;
    margin-top: 8px;
    margin-bottom: 8px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    border-style: solid;
    border-width: 1px;
    border-radius: 50px;
    border-color: #0aa21a;
    font-size: 15px;
}

.button-hover a {
    color: #0aa21a;
}

.button-hover span {
    margin: 10px;
}

.button-hover:hover div {
    background-color: #0aa21a;
}

.button-hover:hover a {
    color: white;
}

.full-page {
    width: 100%;
}

.box-banner {
    margin-top: 87px;
    height: 350px;
    /* min-height: 600px;
    height: calc(100vh); */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    background-position: center center;

}

.box-product-content {
    position: relative;
    top: 30%;

}

.product-center {
    text-align: center;
    /* width: fit-content; */
}

.product-center ul {
    display: inline-flex;
}

.product-center p {
    display: inline-flex;
    font-size: 35px;
    color: white;
}

.product-center div {
    display: inline-flex;
}

.list-group-item-product {
    display: block;
}

.pc-line {
    width: 70px;
    height: 3px;
    background-color: white;
    margin-bottom: 30px;
}

.dc-footer {
    background-color: #0aa21a;
    /* height: 200px; */
    width: 100%;
    color: white;
    position: relative;
    padding-top: 15px;
    padding-bottom: 15px;
}

.end-footer {
    background-color:  #047910;
    color: white;
    line-height: 46px;
    color: #8ed4bf;
    font-size: 13px;
    position: relative;
}

.copy-left {
    float: left;
}

.copy-right {
    float: right;
}

.big-text {
    font-size: 24px;
    font-weight: bold;
}

.small-text {
    font-size: 14px;
}

.qr-item {
    float: right;
    width: 120px;
    height: 150px;
    /* background-color: yellow; */
    padding: 5px;
}

.qr-item img {
    width: 100%;
}

.qr-item p {
    text-align: center;
    padding-top: 20px;
}

.icon-img {
    float: left;
    padding-right: 8px;
}

.main-body {
    padding-top: 20px;
    /* background-color: skyblue; */
}

.item-product {
    overflow: hidden;
    width: 100%;
    height: 360px;
    margin-top: 20px;
    /* background-color: royalblue; */
}

.span-1 {
    position: relative;
    padding: 20px;
}

.item-product img {
    max-width: 330px;
    height: 250px;
    overflow: hidden;
    margin: auto;
    display: block;
}

.c_hidden {
    height: auto;
    transition: all .3s ease;
}

.c_hidden h3 {
    font-size: 16px;
    margin-bottom: 0px;
    font-weight: bold;
    margin-top: 10px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    color: #171717;
    overflow: hidden;
}

.c_hidden h3::before {
    content: '';
    width: 100%;
    position: absolute;
    background: #e7e7e7;
    height: 1px;
    left: 0;
    right: 0;
    margin-left: 20px;
}

.mask {
    width: 100%;
    height: 100%;
    padding: 60px 40px;
    position: absolute;
    z-index: 5;
    left: 0;
    top: 101%;
    background-color: #0aa21a7d;
    background-size: cover;
    color: #fff;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
}

.item-product:hover .mask {
    top: 0;
}


.mask h3 {
    font-size: 28px;
    line-height: 1;
    font-weight: normal;
    margin-bottom: 15px;
    font-family: arial;
    overflow: hidden;
    text-overflow: ellipsis;
    /* white-space: nowrap; */
    color: #fff;
}

.mask-tit {
    color: #fff;
    font-size: 20px;
    font-weight: normal;
    /* margin-bottom: 35px; */
    line-height: 24px;
    overflow: hidden;
    text-align: center;
}

.sub-tit {
    color: #fff;
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 35px;
    height: 168px;
    line-height: 24px;
    overflow: hidden;
}

.page-link {
    color: #0aa21a;
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #0aa21a;
    border-color: #0aa21a;
}

.list-new {
    width: 100%;
}


.list-new .item-new {
    position: relative;
    overflow: hidden;
    margin-top: 10px;
    margin-bottom: 10px;
    height: 100px;
    background-color: white;
}

@media(min-width: 566px) {
    .list-new .item-new {
        margin-bottom: 20px;
        height: 220px;
    }
}


@media(min-width: 823px) {
    .list-new .item-new {
        margin-bottom: 20px;
        height: 220px;
    }
}

.list-new .img-box {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
}

.list-new .odd-li .img-box {
    float: right;
}

.list-new .even-li .img-box {
    float: left;
}

.list-new .odd-li .content-inew {
    float: left;
}

.list-new .even-li .content-inew {
    float: right;
}


.img-box:hover .fig {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
}

.fig {
    height: 100%;
    transition: 600ms;
    -webkit-transition: 600ms;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
    background: #eee;
    overflow: hidden;
    width: 100%;
}

.up-screen {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transition: all 0.4s ease 0s;
}

.up-screen .bg-box {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.4;
}

.img-box:hover .up-screen {
    opacity: 1;
}


.content-inew {
    /* width: 58%; */
    height: 100%;
    position: relative;
    padding-top: 10px;
}

.list-new .item-new.odd-li .content-inew {
    margin-left: 3%;
}

.list-new .item-new.even-li .content-inew {
    margin-right: 3%;
    right: 0;
}


.title-new {
    margin-bottom: 5px;
    font-size: 20px;
    line-height: 24px;
    height: 24px;
    overflow: hidden;
    font-weight: bold;
    margin-left: -2px;
}

@media (min-width: 768px) {
    .title-new {
        font-size: 24px;
        line-height: 46px;
        height: 46px;
        margin-bottom: 0.5em;
    }
}

.title-new a {
    color: #222222;
    transition: color 0.3s ease 0s;
    font-size: 18px;
}

.list-new .item-new:hover a {
    color: #0aa21a;
}

.list-new .item-new.odd-li::after {
    content: "";
    background: #0aa21a;
    height: 45px;
    width: 3px;
    left: 0;
    display: block;
    position: absolute;
    top: 28px;
    transition: all .45s;
}

.list-new .item-new.odd-li:hover:after {
    content: "";
    background: #0aa21a;
    height: 100%;
    top: 0px;
}

.list-new .item-new.even-li::after {
    content: "";
    background: #0aa21a;
    height: 45px;
    width: 3px;
    display: block;
    right: 0px;
    position: absolute;
    top: 28px;
    transition: all .45s;
}

.list-new .item-new.even-li:hover:after {
    content: "";
    background: #0aa21a;
    height: 100%;
    top: 0px;
}

.list-new .item-new:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transition: all .45s;
}


.list-new .date-inew {
    font-size: 12px;
    color: #999;
    margin-bottom: 2px;
    margin-top: 0px;
    /* line-height: 36px; */
    display: block;
}

@media (min-width: 768px) {
    .list-new .date-inew {
        font-size: 14px;
        margin-bottom: 10px;
    }
}

.list-new .body-inew {
    color: #666;
    opacity: 0.8;
    display: block;
    line-height: 24px;
    font-size: 12px;
    margin-top: 2px;
    height: 100px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .list-new .body-inew {
        font-size: 14px;
        margin-top: 10px;
    }
}

.detail_tintuc {
    padding-top: 20px;
    padding-bottom: 10px;
    padding-left: 30px;
    padding-right: 30px;
    background-color: white;
}

.detail_tintuc *{
    max-width: 100%;
}

.detail_tintuc>div, .detail_tintuc>p {
    width: 100%;
}

.detail_tintuc iframe{
    float: none;
    width: 750px;
    height: 527px;
}

.detail_tintuc img {
    padding-top: 20px;
    padding-bottom: 10px;
}

.content_box {
    position: relative;
    width: 1200px;
    padding-top: 20px;
    padding-left: 10px;
}

.common_img {
    position: relative;
    float: left;
    width: 100%;

}

.common_img img {
    position: relative;
    float: left;
    width: 100%;
    height: 100%;
}

.common_text {
    float: right;
}

.common_text p {
    position: relative;
    float: left;
    color: dimgray;
    font-size: 18px;
    padding-top: 10px;
}


.from_user {
    width: 100%;
}

.from_user>a>img {
    width: 60px;
    height: 60px;
}

.circle_img {
    border-radius: 50% !important;
}

.box_contact {
    padding: 16px;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.125);
    background-color: #f3f3f3 !important;

}

.btn_rounded {
    color: #0aa21a;
    border-color: #0aa21a;
    border-radius: 25rem;
}

.tag {
    padding: 2px 3px 4px;
    font-size: 80%;
    min-width: 20px;
    border-radius: 0;
}

.boss {
    background-color: #f44236;
}

.staff {
    background-color: #20b9ae;
}

.map-container-3 {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.map-container-3 iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.map-container-2 {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.map-container-2 iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.page_layout {
    padding: 10px;
}

.page_layout li {
    float: right !important;
    margin-bottom: 20px !important;
}

.admin-left {
    padding-left: 150px !important;
}

.admin-left>a {
    padding-left: 75px !important;
}

nav>ul>li>a {
    font-size: 12px;
}

@media (min-width: 768px) {
    nav>ul>li>a {
        font-size: 1rem;
    }
}


/******************* Timeline Demo - 4 *****************/
.main-timeline4 {
    overflow: hidden;
    position: relative
}

.main-timeline4:before {
    content: "";
    width: 5px;
    height: 100%;
    background: #333;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%)
}

.main-timeline4 .timeline-content:before,
.main-timeline4 .timeline:before {
    top: 50%;
    transform: translateY(-50%);
    content: ""
}

.main-timeline4 .timeline {
    width: 50%;
    padding-left: 100px;
    float: right;
    position: relative
}

.main-timeline4 .timeline:before {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 5px solid #333;
    position: absolute;
    left: -10px
}

.main-timeline4 .timeline-content {
    display: block;
    padding-left: 150px;
    position: relative
}

.main-timeline4 .timeline-content:before {
    width: 90px;
    height: 10px;
    border-top: 7px dotted #333;
    position: absolute;
    left: -92px
}

.main-timeline4 .year {
    display: inline-block;
    width: 120px;
    height: 120px;
    line-height: 100px;
    border-radius: 50%;
    border: 10px solid #794108;
    font-size: 30px;
    color: #794108;
    text-align: center;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, .4);
    position: absolute;
    top: 0;
    left: 0
}

.main-timeline4 .year:before {
    content: "";
    border-left: 20px solid #794108;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    position: absolute;
    bottom: -13px;
    right: 0;
    transform: rotate(45deg)
}

.main-timeline4 .inner-content {
    padding: 20px 0
}

.main-timeline4 .title {
    font-size: 24px;
    font-weight: 600;
    color: #794108;
    text-transform: uppercase;
    margin: 0 0 5px
}

.main-timeline4 .description {
    font-size: 14px;
    color: #6f6f6f;
    margin: 0 0 5px
}

.main-timeline4 .timeline:nth-child(2n) {
    padding: 0 100px 0 0
}

.main-timeline4 .timeline:nth-child(2n) .timeline-content:before,
.main-timeline4 .timeline:nth-child(2n) .year,
.main-timeline4 .timeline:nth-child(2n):before {
    left: auto;
    right: -10px
}

.main-timeline4 .timeline:nth-child(2n) .timeline-content {
    padding: 0 150px 0 0
}

.main-timeline4 .timeline:nth-child(2n) .timeline-content:before {
    right: -92px
}

.main-timeline4 .timeline:nth-child(2n) .year {
    right: 0
}

.main-timeline4 .timeline:nth-child(2n) .year:before {
    right: auto;
    left: 0;
    border-left: none;
    border-right: 20px solid #794108;
    transform: rotate(-45deg)
}

.main-timeline4 .timeline:nth-child(2) {
    margin-top: 110px
}

.main-timeline4 .timeline:nth-child(odd) {
    margin: -110px 0 0
}

.main-timeline4 .timeline:nth-child(even) {
    margin-bottom: 80px
}

.main-timeline4 .timeline:first-child,
.main-timeline4 .timeline:last-child:nth-child(even) {
    margin: 0
}

.main-timeline4 .timeline:nth-child(2n) .year {
    border-color: #01966a;
    color: #01966a
}

.main-timeline4 .timeline:nth-child(2) .year:before {
    border-right-color: #01966a
}

.main-timeline4 .timeline:nth-child(2n) .title {
    color: #01966a
}

.main-timeline4 .timeline:nth-child(3n) .year {
    border-color: #794108;
    color: #794108
}

.main-timeline4 .timeline:nth-child(3) .year:before {
    border-left-color: #794108
}

.main-timeline4 .timeline:nth-child(3n) .title {
    color: #794108
}

.main-timeline4 .timeline:nth-child(4n) .year {
    border-color: #01966a;
    color: #01966a
}

.main-timeline4 .timeline:nth-child(4) .year:before {
    border-right-color: #01966a
}

.main-timeline4 .timeline:nth-child(4n) .title {
    color: #01966a
}

@media only screen and (max-width:1200px) {
    .main-timeline4 .year {
        top: 50%;
        transform: translateY(-50%)
    }
}

@media only screen and (max-width:990px) {
    .main-timeline4 .timeline {
        padding-left: 75px
    }

    .main-timeline4 .timeline:nth-child(2n) {
        padding: 0 75px 0 0
    }

    .main-timeline4 .timeline-content {
        padding-left: 130px
    }

    .main-timeline4 .timeline:nth-child(2n) .timeline-content {
        padding: 0 130px 0 0
    }

    .main-timeline4 .timeline-content:before {
        width: 68px;
        left: -68px
    }

    .main-timeline4 .timeline:nth-child(2n) .timeline-content:before {
        right: -68px
    }
}

@media only screen and (max-width:767px) {
    .main-timeline4 {
        overflow: visible
    }

    .main-timeline4:before {
        height: 100%;
        top: 0;
        left: 0;
        transform: translateX(0)
    }

    .main-timeline4 .timeline:before,
    .main-timeline4 .timeline:nth-child(2n):before {
        top: 60px;
        left: -9px;
        transform: translateX(0)
    }

    .main-timeline4 .timeline,
    .main-timeline4 .timeline:nth-child(even),
    .main-timeline4 .timeline:nth-child(odd) {
        width: 100%;
        float: none;
        text-align: center;
        padding: 0;
        margin: 0 0 10px
    }

    .main-timeline4 .timeline-content,
    .main-timeline4 .timeline:nth-child(2n) .timeline-content {
        padding: 0
    }

    .main-timeline4 .timeline-content:before,
    .main-timeline4 .timeline:nth-child(2n) .timeline-content:before {
        display: none
    }

    .main-timeline4 .timeline:nth-child(2n) .year,
    .main-timeline4 .year {
        position: relative;
        transform: translateY(0)
    }

    .main-timeline4 .timeline:nth-child(2n) .year:before,
    .main-timeline4 .year:before {
        border: none;
        border-right: 20px solid #794108;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        top: 50%;
        left: -23px;
        bottom: auto;
        right: auto;
        transform: rotate(0)
    }

    .main-timeline4 .timeline:nth-child(2n) .year:before {
        border-right-color: #01966a
    }

    .main-timeline4 .timeline:nth-child(3n) .year:before {
        border-right-color: #794108
    }

    .main-timeline4 .timeline:nth-child(4n) .year:before {
        border-right-color: #01966a
    }

    .main-timeline4 .inner-content {
        padding: 10px
    }
}

.category-box-banner {
    margin: 0px;
}

@media(min-width:768px){
    .category-box-banner {
        margin: 0px -100px;
    }
}

.product-title-banner {
    display: none;
}

@media(min-width: 566px){
    .product-title-banner {
        display: block;
    }
}

@media(min-width: 823px){
    .product-title-banner {
        display: block;
    }
}

.body_card_pdf {
    position: relative;
    width: 100%;
    -webkit-box-flex: 0;
    margin: 0px auto;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    
}

@media(min-width: 823px){
    .body_card_pdf {
        padding-right: 15px;
        padding-left: 15px;
        -ms-flex: 0 0 66.66667%;
        flex: 0 0 66.66667%;
        max-width: 66.66667%;
    }
}


.table-custom-1 {
    background-color: white;
}

.table-custom-2 {
    background-color: rgba(0, 0, 0, 0.075);
}