.container {
    background-color: var(--white);
}

.color-hightlight {
    color: var(--red);
}
.banner img {
    max-height: 25rem;
    object-fit: contain;
}

.head-block {
    border-bottom: 2px solid var(--red);
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
}

.head-block .title-cate {
    background-color: var(--red);
    color: var(--white);
    margin-bottom: 0 !important;
    padding: 3px 5px;
    font-size: 18px !important;
}

.title-vertical {
    color: var(--color-main);
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
}

.title-vertical:before, .title-vertical:after {
    content: "";
    position: absolute;
}

.title-vertical:before {
    bottom: 0;
    left: 0;
    width: 100px;
    height: 2px;
    background-color: var(--color-main);
}

.title-vertical:after {
    bottom: -4px;
    left: 15px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid var(--color-main);
}

/*Bai viet theo danh muc doc*/
.article-first .article-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.article-first .article-item:before {
    content: " ";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 1;
    bottom: 0;
    left: 0;
    background: -moz-linear-gradient(bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.85) 100%);
    background: -webkit-gradient(linear, left bottom, left bottom, color-stop(60%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.85)));
    background: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.85) 100%);
    background: -o-linear-gradient(bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.85) 100%);
    background: -ms-linear-gradient(bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.85) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.85) 100%);
}

.article-first .inner-image {
    margin-bottom: 0;
}

.article-first .inner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding: 15px;
    color: var(--white);
}

.article-first .article-title {
    margin-bottom: 5px;
}

.article-first .article-title a {
    color: var(--white);
    font-size: 18px;
}

.article-first .article-description {
    display: none;
}

/*Bai viet theo danh muc doc*/
/*Module tab - Dich vu*/
.bl_tab_ar > .container > .row > div:first-child .tab-article {
    margin-right: -10px;
    width: calc(100% + 10px);
}

.bl_tab_ar > .container > .row > div:last-child .tab-article {
    margin-left: -10px;
    width: calc(100% + 10px);
}

.tab-article {
    /* border-bottom: 2px solid #ccc; */
    /* margin-bottom: 20px; */
}

.tab-article .title-tab {
    font-size: 18px;
    color: var(--color-main);
    position: relative;
    padding-bottom: 7px;
}

.tab-article .title-tab:before {
    content: "";
    position: absolute;
    bottom: -2px;
    width: 100px;
    height: 2px;
    background-color: black;
}

.tab-article .nav-tab-article .nav-item {
    background-color: var(--color-main);
}

.tab-article .nav-tab-article .nav-item:nth-child(odd) {
    background-color: var(--color-highlight);
}

.tab-article .nav-pills .nav-link {
    padding: 1rem;
    color: white;
    font-weight: 600;
    padding-left: 15px !important;
}

.tab-article .nav-pills .nav-link.active, .tab-article .nav-pills .show>.nav-link {
    /* padding: 0; */
    background-color: transparent;
}

/*Module tab - Dich vu*/
/*Module tin moi*/
.article-item .article-title a {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.article-small .article-title a {
    font-size: 14px;
}

/*Module tin moi*/
/*Module hoi dap cong chung*/
.article-qa .article-title {
    line-height: 1.4;
    font-weight: 500;
}

.article-qa .article-title a {
    font-size: 14px;
    color: var(--red);
}

.article-qa .article-entry-info > span {
    font-size: 12px;
}

/*Module hoi dap cong chung*/
/*Module hinh anh van phong*/
.box-gallery {
    margin: 0 -5px !important;
}

.rti-30 {
    padding-top: 30%;
}

.slick-track {
    margin: unset;
}

/*Module hinh anh van phong*/
.cus-link-xem-them-home {
    color: black;
}

.article-title-out-standing a {
    font-weight: 600;
    color: black;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 1.6rem;
}

.tab-dich-vu-home .head-block {
    display: none;
}

.cate-block-vertical .article-item.clearfix {
    margin-bottom: 0;
}

.cate-block-vertical > .row > div .row > div:nth-child(1) {
    margin-bottom: 15px;
}

.title-footer {
    color: var(--color-main);
    text-transform: capitalize;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
    font-size: 18px;
    border-bottom: 2px solid #ccc;
}

.title-footer:before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 2px;
    background-color: var(--black);
}

@media (max-width: 992px) {
    .container {
        max-width: 1170px;
    }
}

@media (max-width: 576px) {
    .d-xs-table {
        margin: auto;
        width: 100%;
    }

    .p-xs-0 {
        padding: 0;
    }
}

/*fife page new*/
body {
    background-color: #dbdbdb;
    max-width: 1200px;
    margin: auto;
}

.setting-menu > .row {
    margin: 0;
    background-color: var(--color-main);
    border-bottom: 2px solid var(--color-highlight);
}
.entire-action-header .btn-action-header:hover {
    color: #bbbbbb;
}

.entire-action-header {
    position: relative;
}
.entire-action-header .form-dropdown {
    position: absolute;
    padding: 10px;
    background-color: var(--white);
    width: 350px;
    top: 100%;
    left: auto;
    right: 0;
    z-index: 1000;
    margin-bottom: 0;
    -webkit-animation: nav_menu_anim_close 0.3s both;
    -o-animation: nav_menu_anim_close 0.3s both;
    animation: nav_menu_anim_close 0.3s both;
    -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    filter: opacity(0);
    visibility: hidden;
    -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.15);
}

.entire-action-header:hover .form-dropdown {
    -webkit-animation: nav_menu_anim_open 0.3s both;
    -o-animation: nav_menu_anim_open 0.3s both;
    animation: nav_menu_anim_open 0.3s both;
    opacity: 1;
    filter: opacity(1);
    visibility: visible;
    pointer-events: unset;
}

.search-section .btn-submit {
    padding: 0 0.75rem !important;
    font-size: 13px;
}

.slider-section .inner-title {
    font-size: 30px;
    position: relative;
    padding-bottom: 5px;
    color: var(--white);
    text-transform: uppercase;
}

.btn-submit {
    background: var(--red);
    color: var(--white);
    text-transform: uppercase;
    text-align: center;
    border-radius: 0px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.btn-slide {
    font-weight: 600;
    border-radius: 5px;
    text-transform: unset;
}

.cus-home-post-date {
    font-size: 1.2rem;
    color: gray;
}

/*Css by Thuongkt*/

.menu-top-cs .menu-section > ul > li > a {
    color: #333;
    text-transform: inherit;
}

.menu-top-cs .menu-section > ul > li:hover > a {
    background: none;
    color: var(--color-main);
}

.setting-menu > .row > div {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.text-marquee {
    margin: 0.8rem 0;
    font-size: 1.6rem;
    color: var(--color-main);
    font-weight: bold;
    display: block;
}

.article_img img {
    object-fit: cover;
    height: 15rem;
    max-width: 23rem;
}

.color-gray {
    color: #7F7F7F;
}

.bg-main {
    background-color: var(--color-main);
}

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

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

.categories_custom {
    align-items: center;
    border: none;
    outline: none;
    cursor: pointer;
    width: 100%;
    padding: 0.5rem;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    /* transition: 0.2s ease; */
    background-color: #0092cb;
    color: #fff;
    text-align: left;
}

.categories_custom:hover {
    background-color: var(--red);
}

.category_name {
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
}

.article_name:hover a {
    text-decoration: underline;
    color: var(--color-main);
}

.article_name_short:hover a {
    color: #696969;
    text-decoration: underline;
}

.statistical img {
    width: 2rem;
}
.article_name , .article_name_short{
    font-size: 1.4rem;
}
footer .entire-map {
    padding-top: 50%;
}
footer .container {
    background: var(--color-main);
}
.entire-info-website h1 {
    font-size: 1.6rem;
}

.form_comment label {
    display: block;
    margin-bottom: 8px;
}
.form_comment input, .form_comment select, .form_comment textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form_comment .btn-submit {
    padding: 10px 15px;
    background-color: var(--color-main);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.form_comment .btn-submit:hover {
    background-color: #14536c;
}
.link-tab-product {
   display: none;
}

.link-tab-product.active{
    display: inline-block !important;
}
/*End css*/

@media (max-width: 1000px) {
    .menu-section > ul > li > a {
        font-size: 12px;
        width: 100%;
    }
    .menu-section .menu-link {
        line-height: 3rem;
        height: 3rem;
    }
}

@media (max-width: 768px) {
    .slider-section .inner-title {
        font-size: 17px;
    }
    
    .cus-link-xem-them-home {
        display: none;
    }

    .view-small .inner-image {
        width: 11rem;
        float: left;
        margin-right: 0rem;
    }

    .tab-article {
        text-align: center;
    }
}

@media (max-width: 320px) {
    .menu-section, .menu-vertical--nav {
        position: fixed;
        width: 29rem;
        top: 0;
        bottom: 0;
        left: 0;
        height: 100%;
        z-index: 1100;
        background-color: #fff;
        overflow: auto;
        -webkit-transition: all 0.8s ease-in-out;
        transition: all 0.8s ease-in-out;
        -webkit-transform: translate3d(-29rem, 0, 0);
        -moz-transform: translate3d(-29rem, 0, 0);
        -ms-transform: translate3d(-29rem, 0, 0);
        -o-transform: translate3d(-29rem, 0, 0);
        transform: translate3d(-29rem, 0, 0);
        -webkit-transition: transform 0.3s cubic-bezier(0.65, 0.05, 0.51, 0.82);
        transition: transform 0.3s cubic-bezier(0.65, 0.05, 0.51, 0.82);
        -webkit-box-shadow: -0.1rem 0 0.3rem rgba(0, 0, 0, 0.2);
        -moz-box-shadow: -0.1rem 0 0.3rem rgba(0, 0, 0, 0.2);
        box-shadow: -0.1rem 0 0.3rem rgba(0, 0, 0, 0.2);
    }
    
    .menu-section, .menu-vertical--nav {
        position: fixed;
        width: 29rem;
        top: 0;
        bottom: 0;
        left: 0;
        height: 100%;
        z-index: 1100;
        background-color: #fff;
        overflow: auto;
        -webkit-transition: all 0.8s ease-in-out;
        transition: all 0.8s ease-in-out;
        -webkit-transform: translate3d(-29rem, 0, 0);
        -moz-transform: translate3d(-29rem, 0, 0);
        -ms-transform: translate3d(-29rem, 0, 0);
        -o-transform: translate3d(-29rem, 0, 0);
        transform: translate3d(-29rem, 0, 0);
        -webkit-transition: transform 0.3s cubic-bezier(0.65, 0.05, 0.51, 0.82);
        transition: transform 0.3s cubic-bezier(0.65, 0.05, 0.51, 0.82);
        -webkit-box-shadow: -0.1rem 0 0.3rem rgba(0, 0, 0, 0.2);
        -moz-box-shadow: -0.1rem 0 0.3rem rgba(0, 0, 0, 0.2);
        box-shadow: -0.1rem 0 0.3rem rgba(0, 0, 0, 0.2);
    }
}

/*CSS by quyettq*/
.article-item .inner-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}