/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
body {
	max-width: 100%;
	overflow: hidden;
}
#footer p {margin-bottom:5px;}
#footer ul {list-style:none; margin-bottom:0; margin-left:0;}
#footer li {margin-left:0; margin-bottom:5px;}
.header-bottom-nav > li > a {text-transform:uppercase;}
.page-title-bar {padding-top:30px; padding-bottom: 30px;}
form {margin-bottom:0;}
.wpcf7-spinner {display:none;}
.form-flat input:not([type=submit]) {height:34px; border-radius:5px; background:#fff;}
.header-bottom {border-bottom:1px solid #3786BC}
.gt-box .col-inner:hover {background-color:#fff !important;}
.gt-box .col-inner:hover p {color:#2C4499 !important;}
.danb-banner .box-da {display:none;}
.danb-banner:hover .box-da  {display:block;}
.danb-banner .bg-fill {border-radius:15px;}
.danb-banner .box-da .text-box-content {border-radius:0px 0px 15px 15px;}
.box-blog-post .is-divider {display:none;}
.da-hoanthanh .box-text {padding:15px;}
.da-hoanthanh .box-image {border-radius:12px 12px 0px 0px;}
.da-hoanthanh .box-text {border-radius:0px 0px 12px 12px;}
.da-hoanthanh .post-title {color:#157CA0; font-size:15px;}
.da-hoanthanh .post-item:hover .box-text {background:#D99028 !important;}
.da-hoanthanh .post-item:hover .post-title {color:#fff;}
.khachhang-col1 .col-inner {background:url(images/bg-box-1.png) center no-repeat; border-radius:20px; background-size:cover; display: grid;}
.khachhang-col2 .col-inner {background:url(images/bg-box-2.png) center no-repeat; border-radius:20px; background-size:cover; display: grid;}
.customer .col-inner {
    position: relative;
}
.customer .col-inner:before {
    content: '';
    width: 20px;
    height: 16px;
    background-image: url(images/quote.png);
    display: block;
    position: absolute;
    top: 20px;
    left: 20px;
}
.absolute-footer {display:none}
.archive .box-text {background:#f5f5f5; padding:20px;}
.archive .from_the_blog_excerpt {display:none;}
.archive .box-text .post-title {color:#157ca0}
.page-title-bar {text-align:center; background:#256ba2;  font-size:22px; color:#fff;}
.page-title-bar .breadcrumb {display:none;}
.page-title-bar .title {display:block; color:#fff; font-size:30px; font-weight:500; text-transform:uppercase; margin-bottom: 0}
.mb {margin-bottom:10px;}
.post-date {display:none;}
.button {
    font-weight: normal;
}
.button.btn-custom-1 {
    background-image: url(images/bg-button.png);
    background-color: transparent !important;
    background-size: 100% 100%;
    border-radius: 0;
    border: none;
    box-shadow: none;
    width: 176px;
    min-height: 40px;
    line-height: 40px;
}
.box-project-custom .box-text {
    max-width: 100%;
    border-radius: 0 0 15px 15px;
/*     background-image: linear-gradient(#000, #000, #000); */
    margin: -14.5% auto 0;
/*     background-image: linear-gradient(#00000000, #00000082, #000);
    background-color: transparent; */
}
@media(min-width: 850px) {
    .footer-wrapper .col-1 {
        max-width: 29%;
        flex-basis: 29%;
    }
    .footer-wrapper .col-3,
    .footer-wrapper .col-4 {
        max-width: 21%;
        flex-basis: 21%;
    }
}
.footer-wrapper .icon-box-left p {
    margin-bottom: 0;
}
.footer-wrapper .icon-box-left .icon-box-img {
    width: 14px !important;
}
.footer-wrapper .icon-box-left .icon-box-img+.icon-box-text {
    padding-left: 10px;
}
.success.is-link, .success.is-outline, .success.is-underline {
    color: #D99028;
}
.header:not(.transparent) .header-bottom-nav.nav > li > a {
    font-size: 16px;
}
.master-slider-parent {
    margin-bottom: 30px;
}

.popular_articles__block {
    background-image: url(images/bg-cat.png);
    background-size: cover;
    background-position: top center;
}
.cat-item h1,
.cat-item {
    margin-bottom: 25px;
}

.cat-item .heading,
.cat-item a {
    font-size: 25px;
    text-transform: uppercase;
    color: var(--primary-color);
}
.taxproject-post {
    margin-bottom: 30px;
}
.taxproject-post .col-item .product-thumb {
    overflow: hidden;
    border-radius: 10px;
}
.taxproject-post .col-item img {
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.5s ease-in-out;
}
.taxproject-post .col-item:hover img {
    transform: scale(1.1); /* Zoom ảnh lên 10% */
}
.taxproject-post .col-item .box_text {
    background-color: #FFF7EB;
    border-radius: 0 0 10px 10px;
    padding: 15px;
}
.taxproject-post .col-item .box_text h4 a {
    font-size: 16px;
    text-transform: uppercase;
    color: #157CA0;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}
ul.page-numbers {
    display: block;
    clear: both;
    margin: 0 auto;
}
.heading-single {
    text-align: center;
    font-size: 30px;
    color: var(--primary-color);
    text-transform: uppercase;
}
.single-project .article-inner {
    padding: 30px 0;
}
.heading-related {
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 0;
}
.project_finish_section {
    padding-top: 30px;
}
.project_finish_section .taxproject-post .col-item .box_text {
    background-color: rgb(240, 240, 240);
}
.project_finish_section .taxproject-post .col-item .box_text h4 {
    margin-bottom: 0;
}
.project_finish_section .taxproject-post .col-item .box_text h4 a {
    text-align: center;
    -webkit-line-clamp: 2;
    text-transform: none;
}
.project_finish_section .taxproject-post .col-item img {
    height: 260px;
}
.row-single-project {
    padding-top: 30px;
}
.post-sidebar .widget {
    padding: 20px 15px 10px 15px;
    border-radius: 10px;
    box-shadow: 2px 4px 7px 3px #00000012;
    margin-bottom: 20px;
}
.post-sidebar .widget span.widget-title {
    color: #fff;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #256BA2 8.15%, #12A0EC 100%);
    padding: 15px 10px;
    border-radius: 0 10px;
    font-size: 17px;
    display: block;
}
.widget .is-divider {
    display: none;
}
.project-col-right h3 {
    color: var(--primary-color);
}
.project-col-right ul li {
    list-style: none;
    position: relative;
    padding-left: 20px;
    margin-left: 0;
}
.project-col-right ul li:before {
    content: '\f105';
    font-family: Fontawesome;
    position: absolute;
    left: 0;
    top: 2px;
    color: #256ba2;
    font-size: 12px;
}
.button i, button i {
    top: 0;
}
/* */
body.nav-dropdown-has-border .nav-dropdown {
    border: none;
    padding: 0;
}
body.nav-dropdown-has-border .nav-dropdown a {
    padding: 10px !important;
    margin: 0 !important;
    border-radius: 0;
}
.post_comments  {
    display: none;
}

/* Sidebar */

/* */
.blog-single .article-inner > .entry-header {
    display: none;
}
/* */
.product-small.box ins *,
.product-small.box .price > .amount * {
    color: red;
    font-size: 16px;
}
.product-small.box del * {
    color: #333;
}
.product-small.box .product-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 22px;
    height: 44px;
}
.product-small.box .box-image img {
    height: 200px;
    object-fit: cover;
}
.slides-for {
    margin-bottom: 10px;
}
.slides-for img {
    width: 100%;
    border-radius: 10px;
    height: 400px;
    object-fit: cover;
}
.slides-nav .slick-list {
    margin: 0 -5px;
}
.slides-nav .slick-slide {
    padding: 0 5px;
}
.slides-nav img {
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
}
.frm-stick-sidebar {
    background: linear-gradient(90deg, #256BA2 8.15%, #12A0EC 100%);
    color: #fff;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    padding: 20px;
}
.frm-stick-sidebar h3 {
    color: #fff;
}
.frm-stick-sidebar p {
    font-size: 14px;
}

@media only screen and (min-width: 1024px) {
    .widget ul.menu > li {
        position: relative;
    }
    .widget ul > li.has-child:hover >.sub-menu{
        display:block !important;
    }
    .widget ul.menu ul.sub-menu {
        display: none !important;
        position: absolute;
        width: 100%; 
        left:99%;
        top: 0;
        z-index: 999;
        border: 1px solid #e1e1e1 !important;
        background: #fff;
        margin: 0;
        padding: 0;
    }
    .widget .toggle{
        transform: rotate(-90deg);
        margin-right: 10px;
    }
    .widget ul.menu>li li {
        padding: 2px 0;
        border-bottom: 1px solid #e1e1e1;
    }
}

@media only screen and (max-width: 480px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .blog-archive .post-sidebar.col {
        padding: 0 15px !important;
    }
    .heading-single {
        font-size: 25px;
    }
    .slides-for img {
        height: 270px;
    }
    .page-title-bar .title {
        font-size: 25px;
    }
}
/* */
@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
    50% {
        -webkit-transform: scale(1.1);
        transform: scale(1.1)
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

@keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1)
    }
    50% {
        -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1)
    }
    100% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1)
    }
}
.pulse {
    transition: all 150ms linear 0s;
    animation-name: pulse;
    -webkit-animation-name: pulse;
    animation-delay: 1s;
    -webkit-animation-delay: 1s;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
}

blockquote {

    font-size: 110%;
    color:#666;

    margin: 0 auto;
    border-left:0px;
    margin-left: 20px;
    padding-bottom: 50px;
}
blockquote h1 {
    font-size: 3rem;
}
blockquote p {
    font-style: italic;
    margin-bottom: 0;
}
blockquote p::before,
blockquote p::after {
    content: "“";
    font-family: Georgia;
    font-size: 6rem;
    margin: -3rem 0 0 -4rem;
    position: absolute;
    opacity: 0.5;
    color:var(--primary-color);
}
blockquote p::after {
    content: "”";
    margin: -2rem -3rem 0 0;
}
blockquote cite {
    font-size: 1.5rem;
}