/**
 * NukeViet Content Management System
 * @version 4.x
 * @author VINADES.,JSC <contact@vinades.vn>
 * @copyright (C) 2009-2021 VINADES.,JSC. All rights reserved
 * @license GNU/GPL version 2 or any later version
 * @see https://github.com/nukeviet The NukeViet CMS GitHub project
 */

/* Các tùy chỉnh CSS của giao diện nên để vào đây */
img {
    max-width: 100%;
}

.mt-3 {
    margin-top: 2rem;
}

.align-items-center {
    align-items: center;
}

h3,
.h3 {
    font-size: 16px;
}

.row {
    margin-left: -10px;
    margin-right: -10px;
    display: flex;
    flex-wrap: wrap;
}

.row>div {
    padding-left: 10px;
    padding-right: 10px;
}

.panel {
    border-radius: 15px;
    overflow: hidden;
}

.panel-heading {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 500;
    padding: 12px 20px 8px;
}

.nav>li>a {
    position: relative;
    display: block;
    padding: 10px;
}

.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
    border: none;
}

.navbar-default {
    background-color: transparent;
    border-color: transparent;
}

.navbar-default .navbar-nav>li>a {
    color: #222;
    text-transform: uppercase;
    font-weight: 500;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
    color: #0049af;
    background-color: transparent;
}

.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus {
    color: #0049af;
    background-color: transparent;
}

.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>.open>a:hover,
.navbar-default .navbar-nav>.open>a:focus {
    background-color: transparent;
    color: #0049af;
}


footer .box-copyright {
    background-color: #0b69c4;
    font-size: 12px;
    color: #fff;
    padding: 7px 0 2px;
    font-weight: 400;
}

footer .box-copyright>.wraper.container {
    display: flex;
    flex-wrap: wrap;
}

footer .box-copyright a {
    color: #fff;
}

.ml-auto {
    margin-left: auto;
}

footer .row {
    margin-left: -20px;
    margin-right: -20px;
}

footer .row>div {
    padding-left: 20px;
    padding-right: 20px;
}

#about-us {
    padding: 50px 0;
}

.box-section-title {
    text-align: center;
}

.box-section-title h2>span {
    position: relative;
}

.box-section-title h2>span::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #9d6e6d;
}

.box-section-title h3,
.box-section-title h2.single_title {
    font-size: 40px;
    margin-bottom: 15px;
    color: #004aad;
    text-transform: uppercase;
    font-family: unset !important;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.box-section-title h2.single_title {
    margin-bottom: 35px;
}

.section-title {
    font-size: 24px;
    margin-bottom: 0;
    color: #004aad;
    text-transform: uppercase;
    font-weight: 700;
}

.content-box {
    padding: 10px;
    font-size: 18px;
    letter-spacing: 0.65px;
    line-height: 1.75;
    text-align: justify;
}

.btn-cta {
    padding: 10px 20px;
    font-size: 16px;
    letter-spacing: 0.65px;
    line-height: 1.75;
    text-transform: uppercase;
    font-weight: 700;
    border: none;
}


/* section-news */
.section-news {
    margin-bottom: 30px;
}

.section-news h2 {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-news .first-new {
    padding-right: 15px;
}

.section-news .first-new img {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.section-news figure {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    background: #fff;
}

.section-news figure img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
}

.section-news h3 {
    font-size: 16px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    word-break: break-word;
    -webkit-line-clamp: 1;
    height: calc(21px * 1);
    line-height: 21px;
}

.section-news .first-new h3 {
    margin-top: 10px;
    margin-bottom: 5px;
}

.section-news p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    word-break: break-word;
    -webkit-line-clamp: 2;
    height: calc(21px * 2);
    line-height: 21px;
    color: #888;
    font-size: 15px;
    margin-top: 5px;
}

.section-news ul {
    padding: 0;
}

.section-news ul li {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.section-news ul li figure {
    width: 135px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    max-height: 86px;
    margin: 0;
}

.section-news ul li figure img {
    width: 100%;
}

.section-news ul li span.publtime {
    font-size: 14px;
}

.section-news ul li .info {
    width: calc(100% - 135px);
}

#home-products {
    background: #0049af;
    /* background: url(../images/bg-sp1.webp) no-repeat top center; */
    background-size: cover;
    padding: 50px 0;
    margin-bottom: 50px;
    margin-top: 20px;
}

#home-products h2 {
    color: #fff;
}

#home-products .pr-item-box {
    background-color: #fff;
    padding: 10px 10px 20px;
    border-radius: 10px;
}

#home-products .pr-item-box h3 {
    margin-top: 20px;
}

#home-products .pr-item-box .price,
#home-products .pr-item-box .money:not(.show) {
    margin-top: 5px;
    display: flex;
    text-align: center;
    width: 100%;
    justify-content: center;
    font-size: 14px;
}

#home-partners {
    background: url(../images/bg-partners.webp) no-repeat top center;
    background-size: cover;
    padding: 50px 0;
    margin-bottom: 50px;
    margin-top: 50px;
    position: relative;
}

#home-partners .list-partners-logo {
    justify-content: center;
    flex-wrap: wrap;
}

#home-partners .partner-logo {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-color: #fff;
}

#home-partners .partner-logo:hover img {
    animation-name: bounceIn;
    animation-duration: .75s;
}

#home-services .service-item {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background-color: #fff;
    transition: all 0.3s ease;
    aspect-ratio: 16 / 9;
    margin-bottom: 20px;
}

#home-services .service-item::after {
    position: absolute;
    top: 0;
    left: -85%;
    z-index: 10;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
}

#home-services .service-item:hover::after {
    transition: 1s;
    left: 100%;
}

#home-services .service-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

#home-services .service-item:hover img {
    transform: scale(1.1, 1.1);
}

#home-services .service-item h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    font-size: 18px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

@keyframes bounceIn {

    0%,
    20%,
    40%,
    60%,
    80%,
    to {
        animation-timing-function: ease-in-out
    }

    0% {
        opacity: 0;
        transform: scale3d(.3, .3, .3)
    }

    20% {
        transform: scale3d(1.1, 1.1, 1.1)
    }

    40% {
        transform: scale3d(.9, .9, .9)
    }

    60% {
        transform: scale3d(1.03, 1.03, 1.03);
        opacity: 1
    }

    80% {
        transform: scale3d(.97, .97, .97)
    }

    to {
        opacity: 1;
        transform: scaleX(1)
    }
}

.box-top-keywords {
    background-color: #fff;
    padding: 20px 0;
    color: #555;
}

.box-top-keywords h2 {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

.box-top-keywords p {
    font-size: 14px;
}