/*
Theme Name: Blocksy Child
Theme URI: https://creativethemes.com/blocksy/
Template: blocksy
Author: CreativeThemes
Author URI: https://creativethemes.com
Description: Blocksy is a fast, modern WordPress theme with advanced WooCommerce support and full compatibility with the block editor.
Tags: accessibility-ready,blog,block-patterns,e-commerce,wide-blocks,block-styles,grid-layout,one-column,two-columns,three-columns,four-columns,right-sidebar,left-sidebar,translation-ready,custom-colors,custom-logo,custom-menu,featured-images,footer-widgets,full-width-template,theme-options,threaded-comments
Version: 2.1.14.1759375476
Updated: 2025-10-02 10:24:36

*/
/*---- css chung ----*/
::selection {
    color: #000 !important;
    background: #fabc11 !important;
}
/* css mouse cursor */
.antra-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    contain: layout style size;
    pointer-events: none;
    will-change: transform;
    -ms-transition: opacity .3s,color .4s;
    -o-transition: opacity .3s,color .4s;
    -moz-transition: opacity .3s,color .4s;
    -webkit-transition: opacity .3s,color .4s;
    transition: opacity .3s,color .4s
}

.antra-cursor:before {
    background: #fabc11;
}

.antra-cursor:before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    display: block;
    width: 40px;
    height: 40px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    -ms-transform: scale(0);
    -o-transform: scale(0);
    -moz-transform: scale(0);
    -webkit-transform: scale(0);
    transform: scale(0);
    -ms-transition: transform .3s ease-in-out,opacity .1s,-webkit-transform .3s ease-in-out,-moz-transform .3s ease-in-out,-o-transform .3s ease-in-out;
    -o-transition: transform .3s ease-in-out,opacity .1s,-webkit-transform .3s ease-in-out,-moz-transform .3s ease-in-out,-o-transform .3s ease-in-out;
    -moz-transition: transform .3s ease-in-out,opacity .1s,-webkit-transform .3s ease-in-out,-moz-transform .3s ease-in-out,-o-transform .3s ease-in-out;
    -webkit-transition: transform .3s ease-in-out,opacity .1s,-webkit-transform .3s ease-in-out,-moz-transform .3s ease-in-out,-o-transform .3s ease-in-out;
    transition: transform .3s ease-in-out,opacity .1s,-webkit-transform .3s ease-in-out,-moz-transform .3s ease-in-out,-o-transform .3s ease-in-out
}

.antra-cursor:is(.-normal) {
    mix-blend-mode: normal
}

.antra-cursor:is(.-normal):before {
    background: currentColor
}

.antra-cursor:is(.-text) {
    mix-blend-mode: normal;
}

@supports (mix-blend-mode: exclusion) {
    .antra-cursor.-exclusion,.antra-cursor.-opaque {
        mix-blend-mode:exclusion
    }
}

@supports (mix-blend-mode: exclusion) {
    .antra-cursor.-exclusion:before,.antra-cursor.-opaque:before {
        background:#fff
    }
}


.antra-cursor:is(.-text) .antra-cursor-text {
    opacity: 1;
    -ms-transform: scale(1);
    -o-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1)
}

.antra-cursor:is(.-text):before {
    background: currentColor
}

.antra-cursor:is(.-inverse) {
    color: #fff
}

.antra-cursor:is(.-visible):before {
    -ms-transform: scale(.2);
    -o-transform: scale(.2);
    -moz-transform: scale(.2);
    -webkit-transform: scale(.2);
    transform: scale(.2)
}

.antra-cursor:is(.-visible):is(.-active):before {
    -ms-transform: scale(.23);
    -o-transform: scale(.23);
    -moz-transform: scale(.23);
    -webkit-transform: scale(.23);
    transform: scale(.23);
    -webkit-transition-duration: .2s;
    -moz-transition-duration: .2s;
    -o-transition-duration: .2s;
    transition-duration: .2s
}

.antra-cursor:is(.-pointer):before {
    -ms-transform: scale(0);
    -o-transform: scale(0);
    -moz-transform: scale(0);
    -webkit-transform: scale(0);
    transform: scale(0)
}

.antra-cursor:is(.-text):before {
    background: #000;
    opacity: .8;
    backdrop-filter: blur(10);
    -ms-transform: scale(1.5);
    -o-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -webkit-transform: scale(1.5);
    transform: scale(1.5)
}

.antra-cursor:is(.-text):is(.-active):before {
    -ms-transform: scale(1.6);
    -o-transform: scale(1.6);
    -moz-transform: scale(1.6);
    -webkit-transform: scale(1.6);
    transform: scale(1.6);
    -webkit-transition-duration: .2s;
    -moz-transition-duration: .2s;
    -o-transition-duration: .2s;
    transition-duration: .2s
}

.antra-cursor:is(.-opaque):before {
    -ms-transform: scale(1.5);
    -o-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -webkit-transform: scale(1.5);
    transform: scale(1.5)
}

.antra-cursor:is(.-opaque):is(.-active):before {
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    transform: scale(1.2)
}

.antra-cursor:is(.-lg):before {
    -ms-transform: scale(2);
    -o-transform: scale(2);
    -moz-transform: scale(2);
    -webkit-transform: scale(2);
    transform: scale(2)
}

.antra-cursor:is(.-hidden):before {
    -ms-transform: scale(0);
    -o-transform: scale(0);
    -moz-transform: scale(0);
    -webkit-transform: scale(0);
    transform: scale(0)
}

.antra-cursor-text {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 30px;
    height: 30px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    opacity: 0;
    color: #fff;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    letter-spacing: -.01em;
    -ms-transform: scale(0) rotate(10deg);
    -o-transform: scale(0) rotate(10deg);
    -moz-transform: scale(0) rotate(10deg);
    -webkit-transform: scale(0) rotate(10deg);
    transform: scale(0) rotate(10deg);
    -ms-transition: opacity .4s,transform .3s,-webkit-transform .3s,-moz-transform .3s,-o-transform .3s;
    -o-transition: opacity .4s,transform .3s,-webkit-transform .3s,-moz-transform .3s,-o-transform .3s;
    -moz-transition: opacity .4s,transform .3s,-webkit-transform .3s,-moz-transform .3s,-o-transform .3s;
    -webkit-transition: opacity .4s,transform .3s,-webkit-transform .3s,-moz-transform .3s,-o-transform .3s;
    transition: opacity .4s,transform .3s,-webkit-transform .3s,-moz-transform .3s,-o-transform .3s
}
/*---- css trang gioi thieu ----*/
.form-title .elementor-heading-title {
    padding-left: 15px;
    border-left: 6px solid rgba(217, 162, 0, 1);
}
/*--- css trang chu ----*/
.tagline .elementor-heading-title {
    display: inline-flex;
    padding-left: 8px;
    border-left: 4px solid rgba(217, 162, 0, 1);
}

.form-footer .frm-fluent-form .ff-t-container {
    gap: 0;
}

.desc-blog  {
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    visibility: visible;
    text-overflow: ellipsis;
    overflow:hidden;
    -webkit-box-orient: vertical;
}

/*--- css project ---*/
.elementor-element.box-project .elementor-cta__content {
    height: 71px;
    align-items: flex-start;
    align-content: flex-start;
}

.box-project .elementor-cta__content .elementor-cta__title {
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    visibility: visible;
    text-overflow: ellipsis;
    overflow:hidden;
    -webkit-box-orient: vertical;
}

.grid-grouping {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}
.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.grid-item:hover img {
    transform: scale(1.05);
}
.grid-item.item1 {
    grid-column: span 2;
    grid-row: span 2;
}
.remaining-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    border-radius: 10px;
}

/*--- Form yêu cầu ------*/
.section-check .ff-el-input--content {
    display: flex;
    flex-wrap: wrap;
}

.section-check .ff-el-input--content .ff-el-form-check {
    flex: 50%;
}

.section-check .ff-el-input--content .ff-el-form-check-label span {
    color: #fff;
}

/*---- page bảng giá xây dựng ----*/


.price-table {
    text-align: right;
}

.form-pricing .heading-h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 40px;
    color: #fff;
}

form#form-pricing-data .tt1 {
    color: #cfa55d;
    margin-bottom: 0;
    margin-top: 20px;
}

.form-pricing .form-wrapper {
    margin: 0 auto 60px;
    padding: 30px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.form-pricing .form-wrapper .wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-pricing .form-wrapper .group {
    flex: 25%;
    display: flex;
    flex-direction: column;
}

.form-pricing .form-wrapper .group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-pricing .form-wrapper .group select,
.form-pricing .form-wrapper .group input[type="text"] {
    padding: 6px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
    color: #000;
}

.form-pricing .form-wrapper .group select:focus,
.form-pricing .form-wrapper .group input[type="text"]:focus {
    border-color: #007bff;
    outline: none;
}

.form-pricing .form-wrapper .group-radio {
    width: 100%;
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #000;
}

.form-pricing .form-wrapper .group-radio .radio-item {
    display: flex;
    align-items: center;
}

.form-pricing .form-wrapper .group-radio input[type="radio"] {
    margin-right: 8px;
}

.form-pricing .form-wrapper .group-submit {
    text-align: center;
    margin-top: 30px;
}

.form-pricing .form-wrapper .group-submit .link-global,
.form-pricing .form-wrapper .group-submit button {
    display: inline-block;
    background-color: #000;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-pricing .form-wrapper .group-submit .link-global:hover,
.form-pricing .form-wrapper .group-submit button:hover {
    background-color: rgba(255, 203, 46, 1);
}

/* Kết quả bảng */
.form-pricing .table-wrapper {
    overflow-x: auto;
}

.form-pricing .table-result {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    background-color: #ffcb2e;
}

.form-pricing .table-result th,
.form-pricing .table-result td {
    border: 1px solid #c79d5d;
    padding: 12px 15px;
    color: #ffffff;
    font-size: 14px;
}

.form-pricing .table-result th {
    background-color: #282e33;
    font-size: 1rem;
}

.form-pricing .table-result td {
    background-color: #282e33;
}

/* Class cho kích thước cột */
.form-pricing .table-result .td-small:first-child {
    width: 40px;
}

.form-pricing .table-result .td-medium {
    width: 37.5%;
}

/* Class cho text alignment */
.form-pricing .table-result .text-center {
    text-align: center;
}

/* Class cho font weight */
.form-pricing .table-result .f-bold {
    font-weight: bold;
}

.unit-price-input {
    margin-bottom: 20px;
    padding: 15px;
    background: #2c2c2c;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.unit-price-input label {
    font-weight: bold;
    color: #fff;
    margin: 0;
}

.unit-price-input input {
    padding: 8px 12px;
    border: 1px solid #555;
    border-radius: 4px;
    font-size: 16px;
    width: 200px;
    background: #3c3c3c;
    color: #fff;
}

.table-result {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #2c2c2c;
    border: 1px solid #daa520;
}

.table-result thead {
    background: #2c2c2c;
    color: #fff;
}

.table-result th {
    padding: 15px 10px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #daa520;
    background: #2c2c2c;
}

.table-result td {
    padding: 12px 10px;
    border: 1px solid #daa520;
    background: #2c2c2c;
    color: #fff;
}

.category-header {
    background: #2c2c2c !important;
    font-weight: bold;
    color: #fff;
}

.category-header td {
    padding: 10px;
    border: 1px solid #daa520;
    background: #2c2c2c;
}

.total-row {
    background: #2c2c2c !important;
    font-weight: bold;
}

.total-row td {
    padding: 15px 10px;
    border: 1px solid #daa520;
    background: #2c2c2c;
    color: #fff;
}

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

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.f-bold {
    font-weight: bold;
}

.td-small {
    width: 8%;
}

.td-medium {
    width: 23%;
}

/* Text alignment cho các cột */
.table-result th:nth-child(1),
.table-result td:nth-child(1),
.table-result th:nth-child(2),
.table-result td:nth-child(2) {
    text-align: left;
}

.table-result th:nth-child(3),
.table-result td:nth-child(3),
.table-result th:nth-child(4),
.table-result td:nth-child(4),
.table-result th:nth-child(5),
.table-result td:nth-child(5) {
    text-align: right;
}

.table-wrapper {
    overflow-x: auto;
}

@media (max-width: 768px) {
    .table-result {
        font-size: 14px;
    }
    
    .table-result th,
    .table-result td {
        padding: 8px 5px;
    }
    
    .unit-price-input {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .unit-price-input input {
        width: 100%;
    }
}

/* Các điểm nhỏ để responsive */
@media (max-width: 768px) {
    .form-pricing .form-wrapper .group {
        flex: 1 1 100%;
    }

    .heading-h2 {
        font-size: 35px;
    }

    .antra-cursor { display: none !important; }
}

/*---- css phân trang ---*/
.elementor-pagination .page-numbers.current {
    background: #fabc11;
    padding: 8px 14px;
}

/*---- css icon social -----*/
#button-contact-vr {
    right: 10px !important;
}

/* Lightbox thumbnails (moved from inline style) */
.lightbox-overlay {
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.95);
    display:none;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:12px;
    z-index:9999
}

.lightbox-image {
    max-width:90vw;
    max-height:70vh;
    object-fit:contain
}
.lightbox-thumbs {
    display:flex;
    gap:8px;
    overflow-x:auto;
    max-width:90vw;
    padding:6px 4px
}

.lightbox-thumbs .lb-thumb {
    border:2px solid transparent;
    background:none;
    padding:0;
    cursor:pointer
}

.lightbox-thumbs .lb-thumb.active {
    border-color:#fff
}

.lightbox-thumbs img {
    width:70px;
    height:70px;
    object-fit:cover;
    display:block;
    border-radius:4px
}

.lightbox-nav.prev,.lightbox-nav.next {
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    font-size:28px;
    color:#fff;
    cursor:pointer;
    user-select:none;
    padding:12px
}

.lightbox-nav.prev {left:18px}

.lightbox-nav.next {right:18px}

.close-lightbox {
    position:absolute;
    top:12px;
    right:16px;
    font-size:30px;
    color:#fff;
    cursor:pointer
}

/* Mobile tuning for lightbox thumbnails */
@media (max-width: 767.98px) {
    .lightbox-thumbs {
        gap:10px;
        padding:8px 6px;
        max-width:100vw;
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:thin; /* Firefox */
        scrollbar-color:rgba(255,255,255,.4) transparent;
    }
    .lightbox-thumbs .lb-thumb { flex:0 0 auto; }
    .lightbox-thumbs img { width:88px; height:88px; }

    .form-pricing .heading-h2 {
        font-size: 1.4rem;
    }
}

/* WebKit scrollbar styling for the thumbnail rail */
.lightbox-thumbs::-webkit-scrollbar { height:8px; }
.lightbox-thumbs::-webkit-scrollbar-track { background:transparent; }
.lightbox-thumbs::-webkit-scrollbar-thumb { background:rgba(255,255,255,.3); border-radius:4px; }
.lightbox-thumbs::-webkit-scrollbar-thumb:hover { background:rgba(255,255,255,.5); }

/*--- css trang thước lỗ ban ----*/
#loban .khoan-h.xau {
    color: #141414;
}

#loban .khoan .sodo.xau .sodo1,
#loban .khoan .sodo.xau .sodo2,
#loban .khoan .sodo.xau .sodo3,
#loban .khoan .sodo.xau .sodo4,
#loban .khoan .sodo.xau .sodo5,
#loban .khoan .sodo.xau .sodo6,
#loban .khoan .sodo.xau .sodo7,
#loban .khoan .sodo.xau .sodo8
{
    color: #141414;
}
