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

/*************** ADD CUSTOM CSS HERE.   ***************/
h1,h2,h3,h4,h5,h6 {
    text-wrap: inherit;
    margin-bottom: auto;
}
.bg-giaiphap1 {
    border-radius: 30px;
    overflow: hidden;
}
.bg-giaiphap1 .section-bg-overlay{
    background-image: linear-gradient(269deg, rgba(30, 85, 175, 0) 25%, #242F65 40% 90%, #242F65 100%);
    opacity: 0.7 !important;
}
/* Text ban đầu nằm ẩn dưới */
.col-dichvu .box-overlay .box-text.text-center{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.5s ease;
}
/* Khi hover vào box thì text trượt lên giữa */
.col-dichvu .box-overlay:hover .box-text.text-center {
    bottom: 45%;
    right: 0;
    transform: translate(-50%, 50%);
    opacity: 1;
    background: transparent;
}
.from_the_dv_excerpt {
    display: none !important;
}
.col-dichvu .box-overlay:hover .from_the_dv_excerpt {
    display: inherit !important;
    font-size: 13px;
}
a.button.secondary.lowercase.bt-ctdichvu{
    display: inline-block !important;
    color: #fff;
}
.col-dichvu .box-overlay:hover .bt-ctdichvu{
    display: inline-block !important;
    font-size: 13px;
}
.col-dichvu .overlay{
    background-image: linear-gradient(179deg, rgba(30, 85, 175, 0) 50%, #1E55AF 90%, #1E55AF 100%);
    opacity: 0.7 !important;
}


.bn-listdv .dsdichvuhome ul{
    max-height: 350px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #999 #e0e0e0;
}
.bn-listdv .dsdichvuhome ul li{
    position: relative;
    margin: 0;
    padding-left: 25px;
}
.bn-listdv .dsdichvuhome ul::-webkit-scrollbar {
    width: 6px;
}
.bn-listdv .dsdichvuhome ul::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}

.bn-listdv .dsdichvuhome ul::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 10px;
}
.bn-listdv .dsdichvuhome ul li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 20px;
  height: 20px;
  background-image: url('/wp-content/themes/webvip/images/icon-list.png');
  background-size: contain;
  background-repeat: no-repeat;
}

.button span {
    font-weight: 500;
}
.banner-home2{background-color: transparent;}
.menuthuonghieu {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: flex-end
}
.menuthuonghieu .ux-menu-link.flex.menu-item a {
    padding: 5px 15px;
    border-radius: 10px;
    min-height: auto;
    border: 1px solid #2570EB;
    color: #2570EB;
}
.box-text .button {
    text-transform: none;
    margin: 0;
    font-size: 15px;
    display: block !important;
    text-align: right;
    color: #0F172A;
}
.flickity-slider {
    text-align: center;
    background: #d3d3d3;
}
.webvipduan-slider img {
    width: auto !important;
    max-height: 720px !important;
    margin: 0 auto;
}
/* css slide ACF */
@media (max-width: 479px) {
    .flickity-prev-next-button {
        width: 30px !important;
        height: 30px !important;
    }
    .flickity-prev-next-button.previous {
        left: 5px !important;
    }
    .flickity-prev-next-button.next {
        right: 5px !important;
    }
}
.slider-wrapper .slider {

}

.mfp_portfolio_item_inner_txt {
    
}
.slide img {

}
.flickity-prev-next-button {
    display: block !important;
    opacity: 1 !important;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
}
.flickity-prev-next-button.previous {
    left: 10px;
}
.flickity-prev-next-button.next {
    right: 10px;
}
.flickity-prev-next-button .flickity-button-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    color: #fff;
    width: 35px;
    height: 32px;
}
.flickity-prev-next-button.previous {
    left: -28px;
}
/* css slide ACF */

@media (min-width: 992px) {
    .flickity-slider {
        text-align: center;
        background: transparent !important;
    }
    .banner h3 {
        line-height: 40px;
    }
    
}
.testimonialhome>.col .col-inner {
    background: url(/wp-content/themes/webvip/images/icon-testimonial.png) right top no-repeat
}
.icon-box-img.testimonial-image.circle {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto
}

.icon-box-img.testimonial-image.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%
}

.testimonial-meta.pt-half {
    color: #000
}
.header-main .nav > li > a {
    line-height: 16px;
    font-weight: 500;
}
.box_video_full .overlay{
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.6) 30%, rgba(15, 23, 42, 0) 80%);
    background-color: transparent;
}
.bannerwhy{
    border-radius: 15px;
    overflow: hidden;
}
.cf7-two-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.cf7-column {
  flex: 1;
  min-width: 250px; /* Đảm bảo không quá nhỏ */
}

@media (max-width: 768px) {
  .cf7-two-columns {
    flex-direction: column;
  }
}
.form-flat-lienhe label{
    font-size: 16px;
    padding-bottom: 5px;
}
.nav-dropdown-default {
    padding: 0px;
}
.nav-column>li>a, .nav-dropdown>li>a, .nav-vertical-fly-out>li>a, .nav>li>a {
    color: #000;
}
.box_video_full.is-full-height {
    position: relative;
    width: 100%;
    height: calc(100vh - 110px) !important;
    overflow: hidden;
}
.box_video_full.is-full-height video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}
li.html.custom.html_topbar_left {
    color: #fff;
}
.header-social-icons .social-icons,.header-contact li a {
    color: #fff !important;
}
.logo img {

}
.stuck #logo img {

}

@media (min-width: 992px) {
    .quytrinhhome .quytrinhs {
        flex: 0 0 20%;
        max-width: 20%;
    }
}
.sec-quytrinh{}
.quytrinhs .icon-box-img {
    position: absolute !important;
    top: -50px;
    background: #fff;
    padding: 10px;
    border: 1px solid #d3d3d3;
    border-radius: 15px;
}
.quytrinhs .icon-box-text.last-reset {
    padding-top: 70px;
}

.cstitle .container.section-title-container {
    margin: 0;
    max-width: 100%;
}
.cstitle h3.section-title.section-title-center {
    padding: 0;
    margin: 0;
}
.cstitle .section-title-center span {
    margin: 0 75px;position: relative;
}
.cstitle .section-title-center span::after {
    content: "";
    width: 32px;
    height: 32px;
    background: url(/wp-content/uploads/2025/02/Icon_kasai-2.png);
    position: absolute;
    right: -52px;
    top: 8px;
}
.cstitle .section-title-center span::before {
    content: "";
    width: 32px;
    height: 32px;
    background: url(/wp-content/uploads/2025/02/Icon_kasai-2.png);
    position: absolute;
    left: -52px;
    top: 8px;
}
.cstitle .section-title b {
    background-color: #fff;
    display: block;
    flex: 1;
    height: 1px;
    opacity: initial;
    color: #fff;
}
.textlienhe::after {
    content: "";
    position: absolute;
    bottom: -30px;
    right: 30px;
    width: 0;
    height: 0;
    border-top: 30px solid #ab0102;
    border-right: 30px solid transparent;
}
.textlienhe {
    position: relative;
}
.absolute-footer.dark {
    color: #fff;
}
a#js-hide-all-icon-e {
    display: none !important;
}
.doitachome .col-inner{
    display: flex;
    justify-content: center;
    align-items: center;}
.doitachome .img-inner img{}
.slidereview .flickity-viewport{min-height: 255px;}
.pt-half {
    padding-top: 0;color: #000;
}
.reviewtitle h3{padding-left: 15px;}
.page-wrapper {
    padding-bottom: 30px;
    padding-top: 30px;
}
.tab-quytrinh ul.nav.nav-line.nav-uppercase.nav-size-normal.nav-center{
    padding-bottom: 80px;
}
.tab-quytrinh li.has-icon{
    background: transparent;
    border: 2px solid #ab0102;
    padding: 0px 25px;
    border-radius: 15px;
    margin-right: 20px;
}
.tab-quytrinh li.has-icon.active{
    background: #ab0102;
    padding: 0px 25px;
    border-radius: 15px;
    margin-right: 20px;
}

.tab-quytrinh li.has-icon.active a {
    color: #fff;
    font-size: 14px;
    text-transform: inherit;
}
.tab-quytrinh li.has-icon a::before {
    display: none;
}

/*Blog*/
.box.box-text-bottom.box-blog-post.has-hover {
    background: #f2f2f2;
    border-radius: 15px;
    border: 1px solid #d3d3d3;
}
.box-text.text-left {
    padding: 15px;
}
.widget .is-divider {
    margin-top: .66em;
    display: none;
}
.product-hotline,.product-policises-wrapper {
    background: var(--mainColor2);
    border: 2px dotted #dbdbdb;
    line-height: 30px;
    padding: 5px 10px;
}
.badge.post-date.badge-outline {
    width: 90px;
    height: 60px;
}
span.post_comments.op-7.block.is-xsmall {
    display: none;
}
.flex-row.recent-blog-posts.align-top.pt-half.pb-half {
    padding-top: 15px;
}
.recent-blog-posts a {
    font-size: 14px;
}
.type-post h1.entry-title {
    text-align: left
}
.type-post .article-inner.has-shadow .entry-header-text-top {
    padding-top: 0;
    padding-bottom: 0
}
.type-post .entry-divider {
    
}
.entry-header-text.entry-header-text-top.text-left {
    padding-top: 0;
    padding-bottom: 0;
}
.entry-content {
    padding-top: 5px;
}
#toc_container p.toc_title {
    text-align: left;
}
.blog-wrapper>.archive-page-header {
    /*
    background: url(/wp-content/uploads/2024/07/bg-breadcrumb.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    margin-bottom: 20px;
    min-height: 334px;
    display: flex;
    align-items: center;
    position: relative;
    */
}
/*Blog*/

/*DỰ ÁN*/
/*Danh sách dự án*/
.breadcrumb .separator {
    margin-left: 10px;
    margin-right: 5px
}
.mfp_portfolio_item_inner {
    position: relative;
    border: 1px solid #d3d3d3;
    border-radius: 10px;
    overflow: hidden;
}
.mfp_portfolio_item_inner a img {
    width: 100% !important;
    height: 355px !important;
    object-fit: cover;
}
.mfp_portfolio_item_inner_txt {
    padding: 15px;
    position: absolute !important;
    bottom: 0 !important;
    padding: 10px !important;
    width: 100%;
}
h4.mfp_portfolio_title {
    text-align: center;
}
.mfp_portfolio_title a {
    font-size: 15px;color: #fff;
}
.mfp_portfolio_tem {
    margin: 0;
}
p.mfp_portfolio_excerpt {
    font-size: 14px;
    padding-top: 10px;
}
.mfp_portfolio_read_more {
    display: block;
    padding: 0;
    background-color: transparent;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    text-align: left;
    margin-top: 10px;
    color: #3B82F6 !important;
}


/*chi tiết dự án*/
h1.tieudeduan {
    font-size: 22px;
    margin-bottom: 15px;
}
.webvipduan-slider img {
    width: 100%;
}
.webvipduan-slider_thumb .col {
    max-height: 110px;
    overflow: hidden;
}
.webvipduan-slider_thumb .col img {
    max-height: 110px;
    object-fit: cover;
}
.galleryduan {
    padding: 0 0 20px;
}
.box_meta_single_content {
    background-color: #020617;
    color: #fff;
    display: flex;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.box_meta_single_content .item {
    flex: 0 0 20%;
    padding: 10px 3px;
    display: flex;
    align-items: center;
    border-left: 1px solid #f3f3f3;
    font-size: 14px;
    gap: 10px;
}
.box_meta_single_content .item img {
    width: 45px;
    margin-right: 5px;
    margin-left: 5px;
}
.box_meta_single_content .fw-b {
    letter-spacing: -.5px;font-weight: bold;
}
.fs-12 {
    font-size: 12px;
}
.duan-single-page {
    font-size: 18px;
}
/*widget DỰ ÁN*/
.widget-title,.sidebar_title {
    background-color: #020617;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 10px;
    margin-bottom: 10px;
    display: block
}
.sidebar_list_post .item img {
    width: auto;
    height: 100%;
    object-fit: cover;
}
.sidebar_list_post .item {
    display: flex;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    gap: 10px;
}
.sidebar_list_post .item .thumb {
    flex: 0 0 110px;
}
/*DỰ ÁN*/
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .banner h1, .banner h2, .banner h3 {
        line-height: 30px;
    }
    .bn-listdv .dsdichvuhome ul{
        max-height: 300px;
    }
}