/************************************/
/*** 	 01. Global Variables	  ***/
/************************************/

:root {
    --primary-color: #3a3a3c;
    --primary-color2: #2e363a;
    --primary-background: #3a3a3c;
    --primary-background2: #2e363a;
    --primary-background3: #bfbfbf;

    --odd-bg: #f3f3f3;

    --color-borderH: #818181;
    --color-btn-primary: #fff;

    /* #ec1c23; */
    --secondary-color: #f5f5f5;
    --text-color: #2e363a;
    --text-color2: #3a3a3c;

    --font-family-base: "Roboto", sans-serif;
    --font-family-megamenu: "Roboto", sans-serif;
    --font-family-slider: "Roboto", sans-serif;
    --font-family-heading: "Roboto", sans-serif;
    --font-family-senary: "Roboto", sans-serif;
    --font-family-septenary: "Roboto", sans-serif;

    --gradient-2: linear-gradient(
        to top right,
        var(--primary-background) 0%,
        var(--primary-background2) 51%,
        var(--primary-background) 100%
    ) !important;
}

/************************************/
/*** 	   02. General css		  ***/
/************************************/

body {
    font-family: var(--font-family-base);
    font-size: 16px;
    font-weight: normal;
    line-height: 1.7em;
    color: var(--text-color2);

    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

p {
    line-height: 1.7em;
    margin-bottom: 1.6em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: 700;
    line-height: 1.2em;
    color: var(--text-color2);
}

ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

figure {
    margin: 0;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: var(--text-color2);
}

a:hover {
    text-decoration: none;
    outline: 0;
}

a:focus {
    text-decoration: none;
    outline: 0;
}

html,
body {
    width: 100%;
    overflow-x: clip;
}

.content-body {
    padding-bottom: 50px;
    padding-top: 50px;
}

.content-body ul,
.content-body ol {
    padding-left: 20px;
    list-style: inherit;
}

/************************************/
/***     18. Blog Archive css     ***/
/************************************/

.page-blog {
    /* padding: 50px 0; */
}

.page-blog .post-item {
    height: calc(100% - 40px);
    margin-bottom: 40px;
}

.related .post-item {
    margin-bottom: 0px;
}

.page-blog .post-item .post-item-body {
    display: block;
}

.page-blog .post-item .post-item-content {
    width: 100%;
    margin-bottom: 20px;
}

.post-readmore-btn a {
    position: relative;
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-color);
    padding-right: 34px;
    transition: all 0.3s ease-in-out;
}

.post-readmore-btn a:hover {
    color: var(--primary-color);
}

.post-readmore-btn a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 24px;
    height: 24px;
    background-image: url(../images/arrow-accent.svg);
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    transform: translateY(-50%);
    transition: all 0.3s ease-in-out;
    z-index: 1;
}

.post-readmore-btn a:hover::before {
    transform: translateY(-50%) rotate(45deg);
    filter: brightness(0) invert(0);
}

/************************************/
/***      31. Responsive css      ***/
/************************************/

@media only screen and (max-width: 1366px) {
}

@media only screen and (max-width: 1024px) {
}

@media only screen and (max-width: 991px) {
}

@media only screen and (max-width: 767px) {
}

/* Bo sung */

.page-blog .post-item .post-item-body {
    /* text-align: center; */
}

.page-blog .post-item .post-item-content {
    margin-bottom: 10px;
}

.page-blog .post-item .desc {
    margin-bottom: 10px;
}

.data-list {
    padding: 50px 0;
}

#formPaginate .contact-form .filter-btn {
    height: 100% !important;
    margin-right: 0.5rem !important;
}

/* PRODUCT CSS*/

.price-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

.product-item {
    background-color: #fff;
    box-shadow: 0 0 3px #ccc;
    margin: 2px;
    position: relative;
}

.product-item .post-featured-image {
    /* margin-bottom: 10px; */
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
}

.product-item .post-item-body {
    padding: 20px;
}

/* .product-item .product-title a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
} */

.product-item .title {
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
}

.product-item .desc {
    font-size: 15px;
}

.product-item .desc,
.product-item .post-item-content {
    margin-bottom: 10px !important;
}

.product-item .post-featured-image figure a {
    border-radius: 20px !important;
}

.product-item .post-featured-image img {
    border-radius: unset !important;
}

.product-item .product-flags {
    position: absolute;
    z-index: 1;
    margin: 0;
    top: 15px;
    left: 15px;
    font-size: 12px;
    line-height: 20px;
    pointer-events: none;
    padding: 0;
    display: flex;
    align-items: center;
}

.product-item .product-flags .product-flag.discount {
    color: #fff;
    background: var(--primary-background);
    margin-right: 6px;
    padding: 2px 8px 0;
    text-align: center;
}

/* NEWS */
.page-blog .post-item {
    height: 100%;
}

/*Post */

.form-control:not(textarea),
.filter-button .btn-primary {
    height: calc(2.5rem - 2px);
}

/** POST Css */

.blog-item {
    border-top: 1px solid #eaeaea;
    padding: 1.875rem 0;
}

.blog-item .blog-image-container {
    position: relative;
    display: flex;
}

.blog-item .title {
    margin-bottom: 20px;
    margin-top: 10px;
}

.blog-item .title a {
    font-size: 24px;
    line-height: 30px;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.blog-item .title a:hover {
    color: var(--primary-color);
}

.blog-item .blog-image {
    margin-bottom: 0.625rem;
    max-width: 55%;
}

.blog-item .blog-meta {
    flex: 1;
    position: initial;
    padding-left: 40px;
    padding-top: 10px;
}

.blog-item .blog-shortinfo {
    margin-bottom: 10px !important;
}

.blog-item .more {
    font-size: 12px;
    line-height: 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #332f2c;
    padding: 0 0 6px;
    position: relative;
    display: inline-flex;
    align-items: center;
    background-color: transparent !important;
    transition: 0.25s all ease-in-out;
    border: 0;
}

.blog-item .more:hover a {
    color: var(--primary-color);
}

.blog-item ul.post-date .icon {
    color: var(--text-color2);
}
/* 
.blog-item .more::after {
    content: '\f178';
    font-family: "Fontawesome 6 Pro";
    font-weight: 400;
    margin-left: 10px;
    font-size: 16px;
    margin-top: -3px
}

.rtl .blog-item .more::after {
    margin-right: 10px;
    margin-left: inherit
} */

.more::before {
    content: "";
    width: 60px;
    height: 1px;
    background-color: #8d9396;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: 0.25s all ease-in-out;
}

.more:hover::before {
    width: 100%;
    background-color: var(--primary-background);
}

@media (min-width: 568px) {
    .filter-row {
        display: flex;
        justify-content: end;
    }

    .filter-button .btn-primary {
        border-radius: 3px !important;
        /* display: flex;
        text-align: center;
        align-items: center;
        justify-content: center; */
        width: 100%;
    }
}

@media (max-width: 567px) {
    .filter-item {
        padding: 0 !important;
    }

    .filter-row .filter-item + .filter-item {
        margin-top: 10px;
    }

    .filter-button .btn-primary {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .blog-item .blog-image-container {
        flex-wrap: wrap;
    }

    .blog-item .blog-image-container .blog-image {
        width: 100%;
        max-width: 100%;
    }
}

/* Custom */

.btn-primary {
    border-radius: 3px !important;
}

.breadcrumb-bg {
    padding: 150px 0;
    /* margin-bottom: 20px !important; */
}

body#index .breadcrumb-bg {
    display: flex !important;
    align-items: center;
}

body#index .breadcrumb-bg *,
#wrapper .breadcrumb li::after {
    color: #fff !important;
}

.breadcrumb-item + .breadcrumb-item::before {
    display: none !important;
}

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

.main-body .container::after {
    display: none;
}

.blog-item {
    border-top: 0 !important;
    padding: 0 !important;
}

.list-post > div {
    margin-bottom: 30px;
}

.breadcrumb-bottom-area {
    padding-bottom: 40px;
}

/** Contact page */

.page-contact-us {
    padding: 30px 0 50px;
}

.contact-info-item .icon-box {
    background-color: transparent !important;
    align-items: start !important;
    margin-right: 0 !important;
}

.contact-info-item:hover .icon-box::before {
    background: unset;
    content: none;
}

.google-map-iframe,
.google-map-iframe iframe {
    height: 600px;
    width: 100%;
}

.google-map-iframe iframe {
    filter: grayscale(1);
    transition: all 0.4s ease-in-out;
}

.google-map-iframe iframe:hover {
    filter: grayscale(0);
}

/* HEADER CSS */

/* .header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-icon-box {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: end;
}

.header-icon-box > div {
    width: auto !important;
}

.col_info {
    justify-content: end;
    text-align: right;
} */

header .main-menu {
    display: flex;
    justify-content: space-between;
}

.header-icon-box ul {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.main-menu .submenu .dropdown-sub {
    /* top: calc(100%); */
    left: -9999px;
    height: auto;
    font-weight: 300;
    color: #000;
    border: 0;
    min-width: 230px;
    padding: 20px;
    background-color: #fff;
    font-family: var(--font-family-megamenu);
    margin: 0;
    text-align: left;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    -moz-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.24);
    -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.24);
    -o-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.24);
    -ms-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.24);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.24);
    -webkit-transition: opacity 0.25s ease-in-out, visibility 0.25s ease-in-out,
        transform 0.25s ease-in-out;
    -moz-transition: opacity 0.25s ease-in-out, visibility 0.25s ease-in-out,
        transform 0.25s ease-in-out;
    -ms-transition: opacity 0.25s ease-in-out, visibility 0.25s ease-in-out,
        transform 0.25s ease-in-out;
    -o-transition: opacity 0.25s ease-in-out, visibility 0.25s ease-in-out,
        transform 0.25s ease-in-out;
    transition: opacity 0.25s ease-in-out, visibility 0.25s ease-in-out,
        transform 0.25s ease-in-out;
    transition: opacity 0.55s ease-in-out, visibility 0.15s ease-in-out,
        transform 0.15s ease-in-out;
    opacity: 0;
    visibility: hidden;
    display: block;
}

.main-menu .dropdown-sub {
    transform: translateY(120%) !important;
    opacity: 0;
}

.main-menu .submenu:hover .dropdown-sub {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
    left: 0;
    padding: 30px;
}

.main-menu .submenu.aligned-fullwidth:hover .dropdown-sub {
    width: 100vw !important;
    max-width: 100vw;
}

.main-menu .submenu:hover .dropdown-sub {
    transform: translateY(0%) !important;
    opacity: 1;
}

.main-menu .submenu .dropdown-sub .title {
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 26px;
    font-family: var(--font-family-heading);
    text-transform: none;
    color: var(--text-color2);
    font-weight: 400;
    padding: 0;
}

.main-menu .submenu .dropdown-sub .menu-list li a {
    color: var(--text-color2);
    padding: 0;
    font-weight: 400;
    font-size: 14px;
    line-height: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-menu .submenu .dropdown-sub .menu-list li {
    line-height: 25px;
    padding: 0;
    float: none;
}

.main-menu .submenu .dropdown-sub .menu-list li:hover a {
    color: var(--primary-color);
}

.main-menu .submenu.single-li {
    position: relative;
}

.main-menu .single-li .dropdown-sub {
    padding: 0 !important;
}

.main-menu .single-li .dropdown-sub li {
    padding: 0 10px;
}

.main-menu .single-li .dropdown-sub li + li {
    padding-top: 0;
    border-top: 1px solid #f1f1f1;
}

.cart-counter {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--primary-background);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    line-height: 16px;
}

@media (max-width: 990px) {
    .main-header .header-sticky .navbar-brand {
        width: calc(100% - 115px);
    }
}

/** New detail */

.sapo + .toc-block {
    margin-top: 15px;
}

.sapo {
    font-weight: 700;
}

/* Bo sung sau */
.contact-info-item {
    height: auto;
    overflow: hidden;
}

.contact-info-item .icon-box {
    float: left;
    width: 3.5rem;
}

.contact-info-item .contact-info-content h3 {
    font-size: 1.125rem;
    margin-bottom: 7px;
}

.contact-rich .title {
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.contact-info-content {
}

p {
    margin-bottom: 1rem;
    line-height: unset;
}

.nav-link {
    font-weight: 500;
}

.main-body {
    padding-bottom: 50px;
}

footer.back-black {
    background-color: var(--primary-background2) !important;
    background-image: unset !important;
}

.footer-bottom-area {
    border-top: 1px solid #54545478;
}

.menu-mobile-logo,
footer .logo-footer a {
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    display: block;
    width: fit-content;
}

footer .logo-footer a {
    text-align: center;
    margin: auto;
}

.footer-widget-list .text-light-gray {
    display: none;
}

.product-section .price-box * {
    line-height: 15px;
}

.product-section .price-box .price-old {
    font-size: 14px;
}

.footer-contact-icon .svg-icon svg {
    width: 25px;
    height: 25px;
    vertical-align: middle;
}

@media (max-width: 575px) {
    .footer-col-1 * {
        text-align: left;
        align-items: self-end;
        justify-content: start !important;
    }
}

footer iframe,
footer iframe * {
    width: 100% !important;
    height: auto !important;
}

select {
    appearance: auto !important;
    -webkit-appearance: auto !important;
    -moz-appearance: auto !important;
}

.breadcrumb-bg nav,
.breadcrumb-bg nav * {
    margin-bottom: 0;
}

@media (max-width: 990px) {
    .breadcrumb-bg {
        padding: 50px 0 !important;
    }

    .title-page {
        margin-bottom: 10px;
    }

    .breadcrumb .svg-icon svg {
        height: 15px;
        width: 15px;
    }
}

.blog-item .title {
    margin-bottom: 10px;
}

.blog-item .more:not(.project-section .more) {
    display: none;
}

.contact-page .page-contact-us {
    padding: 50px 0;
}

@media (max-width: 767px) {
    .contact-page .title {
        margin-bottom: 20px !important;
    }

    .contact-page hr {
        margin: 10px 0;
    }

    .contact-page .contact-us-form {
        margin-top: 30px;
    }

    .contact-page .contact-us-form label {
        margin-bottom: 5px;
        font-size: 1.125rem;
    }

    .contact-page .contact-us-form .row-gap-1 {
        row-gap: 10px !important;
    }

    .contact-page .contact-us-form .btn-primary {
        width: 100%;
    }
}

.header-icon-box ul li:first-child svg {
    height: 20px !important;
    width: 20px !important;
}

.header-icon-box li svg {
    height: 25px !important;
    width: 25px !important;
}

.navbar-toggle svg {
    width: 30px;
    height: 30px;
}

@media (max-width: 990px) {
    .main-header .header-sticky .navbar-brand {
        width: calc(100% - 130px);
    }

    .menu-mobile-content .menu-mobile-close {
        background-color: #fff;
    }
}

/** Dự án */

.project-item .title {
    color: var(--primary-color2);
    font-family: var(--font-family-heading);
    font-size: var(--title-item-module-font-size);
    line-height: var(--title-item-module-line-height);
    font-weight: 600;
}

.project-item .desc {
    margin-top: 15px;
    font-size: 14px;
    line-height: 22px;
}

.project-item .shadow-img {
    position: relative;

    transition: background-color 0.4s ease, transform 0.4s ease,
        box-shadow 0.4s ease;
}

.project-item .shadow-img:hover {
    position: relative;
    background-repeat: no-repeat !important;
    background-size: 100%;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.project-item .shadow-img:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 50px;
    bottom: -30px;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #00000059;
    z-index: 0;
    filter: drop-shadow(0px 10px 5px #000);
}
.project-item .shadow-img img {
    position: relative;
    height: 100%;
    width: 100%;
}

.eye-icon {
    /* display: flex;
    position: absolute;
    z-index: 0;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #00000054;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    opacity: 0; */
}

.project-image-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image-box .svg-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    color: #fff;
    background-color: #0000006e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 5px; */
}

.project-image-box .svg-icon * {
    width: 100%;
    height: 100%;
}

.project-item.from-list .image::after {
    background-color: #00000054;
    position: absolute;
    z-index: 0;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    transition: 0.3s;
    opacity: 0;
    content: "";
}

.project-item.from-list .image:hover::after {
    transition: 0.3s;
    opacity: 1;
}

.project-item.from-list .image .svg-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    color: var(--text-color2);
    opacity: 0;
}

.project-item.from-list .image .svg-icon svg {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    padding: 10px;
}

.project-item.from-list .image:hover .svg-icon {
    opacity: 1;
    background-color: unset;
}

.detail-page .project-item .title {
    margin-top: 30px;
    font-size: 20px;
    font-weight: 400;
    text-align: center;
}

.project-image-box.project-video .svg-icon {
    width: 80px;
    height: 80px;
}

.detail-page .content-body .project-image-box img {
    width: 100% !important;
    height: auto !important;
}

@media (max-width: 767px) {
    .project-image-box .svg-icon,
    .project-image-box.project-video .svg-icon {
        width: 50px;
        height: 50px;
    }
}

#loader .loading {
    color: #fff !important;
}
