/*
Theme Name: WebNganh Child
Description: Website Design by Wordpress and Theme Flatsome
Author: UX Themes Web Nganh
Template: flatsome
Theme URI: https://webnganh.com/
Author URI: https://webnganh.com/
Description: WebNganh.Com - WebNganh.Vn - iFnt.Vn
Version: Code DevWp WebNganh
*/


/*************** ADD CUSTOM CSS HERE.   ***************/

@font-face {
    font-family: "Montserrat";
    src: url("/wp-content/themes/webnganh/fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Montserrat" !important;
}

.img_divide img {
    width: 117px;
    height: 17px;
}

.section_price .img_divide,
.row_header .img_divide {
    text-align: center;
}

.section_price th,
.section-toa-nha th {
    background-color: #c6862b;
    color: #ffffff;
    font-size: 14px;
    text-transform: none;
    font-weight: bold;
    letter-spacing: 0;
    text-align: left;
}

.section_price tr th,
.section_price tr td,
.section-toa-nha tr th,
.section-toa-nha tr td {
    padding: 20px 12px;
    border: 1px solid #e7e7e8;
}

.section_price tr:nth-child(even),
.section-toa-nha tr:nth-child(even) {
    background-color: #ffffff;
    /* Tô màu cho các hàng chẵn */
}

.section_price tr:nth-child(odd),
.section-toa-nha tr:nth-child(odd) {
    background-color: #fafafc;
    /* Tô màu cho các hàng chẵn */
}

.section-vi-tri .banner .text-box-content {
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #c6862b;
}

.section-vi-tri-du-an .border-col {
    border: 1px solid #c6862b;
    border-radius: 8px;
    background-color: #fafafc;
    max-width: 23%;
    margin: 10px !important;
    padding-bottom: 0px;
}

.section-thiet-ke .border-col {
    border: 1px solid #c6862b;
    border-radius: 8px;
    max-width: 30%;
    margin: 10px !important;
}

.text-normal {
    font-size: 14px;
}

.section-tien-do-hinh-anh a:hover,
.section-thiet-ke a:hover {
    text-decoration: none;
}

.section-tien-do-hinh-anh .tab,
.section-thiet-ke .tab {
    padding: 0px 80px;
    border-radius: 8px;
    background-color: #ffeed6;
}

.section-thiet-ke .tab {
    padding: 0px 40px;
}

.section-tien-do-hinh-anh .tab.active,
.section-thiet-ke .tab.active {
    background-color: #c6862b;
}

.section-tien-do-hinh-anh .tab a,
.section-thiet-ke .tab a {
    font-size: 20px;
    font-weight: 600;
    text-transform: none;
    color: #c6862b !important;
}


.section-tien-do-hinh-anh .tab-panels #tab_hình-ảnh .flickity-viewport,
.section-tien-docu .tab-panels #tab_tài-liệu-bán-hàng .flickity-viewport
{
	height: 600px !important;
}

.section-tien-do-hinh-anh .tab-panels #tab_hình-ảnh .flickity-viewport .col:nth-child(even),
.section-tien-do-hinh-anh .tab-panels #tab_tài-liệu-bán-hàng .flickity-viewport .col:nth-child(even)
{
    padding-top:50px;
}



.section-tien-do-hinh-anh .tab.active a,
.section-thiet-ke .tab.active a {
    color: #ffff !important;
}

.row_collapse {
    border: 1px solid #c6862b;
    border-radius: 8px;
}

.row_collapse .accordion-item .accordion-title {
    cursor: pointer;
    margin-bottom: 7px;
    padding: 7px 0;
    display: block;
    position: relative;
    text-transform: uppercase;
    padding-right: 45px;
}

.row_collapse .accordion .toggle {
    left: initial;
    right: 0px;
    top: -1px;
}

.row .accordion-title.active {
    background-color: initial;
    border-color: initial;
    color: initial;
    border-bottom: 1px dotted;
    border-top: none;
}

.product-gallery {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
}

#main-image {
    width: 100%;
    /* Đảm bảo ảnh chính chiếm hết chiều rộng của container */
    max-width: 500px;
    /* Đặt chiều rộng tối đa của ảnh chính */
    height: 337px;
    margin-bottom: 20px;
}

.thumbnail-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.thumbnail-block {
    width: 89px;
    /* Đặt chiều rộng cho mỗi thumbnail */
    height: auto;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.thumbnail-block img {
    height: 66px;
}

#main-image {
    border-radius: 8px;
}

.carousel .flickity-button {
    color: #000000;
}


/* Thiết lập chiều rộng và chiều cao cho mỗi slide */

.carousel .col {
    width: 90%;
    /* Kích thước mặc định của mỗi ảnh */
    transition: transform 0.5s, opacity 0.5s;
    /* Hiệu ứng chuyển động mượt mà */
    opacity: 0.6;
    /* Mờ các ảnh bên ngoài */
    transform: scale(0.9);
    /* Các ảnh ngoài có kích thước nhỏ hơn */
}

.carousel .col img {
    border-radius: 8px;
}


/* Khi ảnh ở giữa (active) */

.carousel .col.is-selected {
    transform: scale(1.2);
    /* Làm ảnh ở giữa lớn lên */
    opacity: 1;
    /* Ảnh ở giữa rõ hơn */
    border-radius: 8px;
}

p.txt-index-payment {
    font-size: 200%;
    color: #c6862b;
    font-weight: 700;
    margin: 0;
    word-wrap: break-word;
}

.detail-payment {
    display: flex;
    justify-content: center;
}

.detail-payment button,
.collapse-payment button {
    border: none;
    background: #142a75;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    outline: 0;
}

.collapse-payment button {
    padding: 0 10px;
}

.detail-payment button:hover {
    color: #fff;
    background: #142a75;
}

.tbl-detail-payment table thead,
.tbl-payment table thead {
    background: #c6862b;
}

.devvn_laivay_muanha select,
.devvn_laivay_muanha input {
    height: 48px !important;
    margin-bottom: 0px;
}

.section-thiet-ke .col-left {
    border-right: 2px dotted;
}

.col-dang-ky input {
    border-radius: 8px;
}

.col-dang-ky .wpcf7-checkbox {
    display: flex;
    flex-direction: column;
}

.col-dang-ky label {
    color: white;
}

.col-dang-ky .wpcf7-submit {
    width: 100%;
    margin: 0px !important;
    background: #c6862b;
}

.col-dang-ky .wpcf7-response-output {
    border-color: #c6862b;
    color: white;
}

.pum-theme-274 .pum-content+.pum-close,
.pum-theme-lightbox .pum-content+.pum-close {
    position: absolute;
    height: 50px;
    width: 50px;
    left: 45%;
    right: auto;
    bottom: auto;
    top: auto;
    padding: 0px;
    color: #7b7b7b;
    font-weight: 100;
    font-size: 24px;
    line-height: 24px;
    border: none;
    border-radius: 26px;
    box-shadow: 0px 0px 15px 1px rgba(2, 2, 2, 0.75);
    text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.23);
    background-color: white;
    margin-top: 30px;
}

#popmake-285 {
    border-radius: 8px;
}

#popmake-285 .wpcf7 br {
    display: initial;
}

#popmake-285 .wpcf7 input {
    border-radius: 8px;
}


/*
#popmake-285 table {
    margin: 0px;
    border-radius: 8px;
    overflow: hidden;
}

#popmake-285 table tr:first-child {
    background-color: #c6862b;
    color: #ffffff;
}

#popmake-285 table td,
#popmake-285 table th {
    padding: 10px !important;
    border: 1px solid #d4d4d4;
}

*/

.section-overview .col-right p,
.section-overview .col-right ul {
    margin: 0.85em 0;
    font-size: 14px;
    line-height: 22px;
}

ul li {
    list-style-image: url("/wp-content/uploads/2025/01/stars-1.png");
}

.accordion .toggle i {
    font-size: 1em;
    transition: all .3s;
    background: #142a75;
    padding: 0px 5.5px 2px 5.5px;
    border-radius: 50%;
    color: #ffff;
}

.accordion .toggle i::before {
    content: "\2b" !important;
}

.accordion .active .toggle i {
    transform: rotate(45deg);
}

.accordion span {
    color: #142A75;
    font-weight: 600;
    text-transform: initial;
    font-size: 14px;
    line-height: 22px;
}

.accordion span:hover {
    text-decoration: none;
}

.stuck .header-main .nav>li>a,
.header-main .nav>li>a {
    text-decoration: none;
}

.header-main .nav>li>a {
    font-size: 14px;
    font-weight: 600;
    line-height: 17px;
    color: #142A75;
}

#header .header-wrapper .nav-top-link::before {
    top: 44px
}

#header .header-wrapper.stuck .nav-top-link::before {
    top: auto
}

.Section-cau-hoi a:hover {
    text-decoration: none;
}

.section-thiet-ke .tbl-payment {
    border-radius: 8px;
    overflow: hidden;
}

.section-thiet-ke .tbl-payment table {
    margin: 0;
}

.btn-payment {
    min-width: 398px;
}

.total-payment {
    border: 1px solid #C6862B;
    margin-top: 43px;
}

.carousel-img,
.carousel {
    position: relative;
    margin: 0 auto;
    max-width: 800px;
    /* Đặt chiều rộng tối đa cho slider */
}


/* Định vị nút điều hướng bên ngoài ảnh */

.flickity-button {
    position: absolute;
    top: 50%;
    color: white;
    /* Màu mũi tên */
    width: 40px;
    height: 40px;
    z-index: 10;
    display: block !important;
    /* Đảm bảo nút được hiển thị */
    visibility: visible !important;
    opacity: 1 !important;
    /* Đảm bảo nút ở trên carousel */
}


/* Nút trái */

.flickity-button.previous {
    left: -60px;
    /* Đẩy nút ra ngoài bên trái */
}


/* Nút phải */

.flickity-button.next {
    right: -60px;
    /* Đẩy nút ra ngoài bên phải */
}

.flickity-button:focus {
    outline: 0;
    box-shadow: none;
}

.flickity-button .flickity-button-icon {
    width: 100px;
    height: 100px;
    padding: 0;
}


/* Thay đổi nút khi hover */

.flickity-button:hover {
    background: none;
}


/* Nút bị vô hiệu hóa */

.flickity-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.tbl-detail-payment-wrapper {
    position: relative;
}

.tbl-detail-payment {
    height: 450px;
    overflow: hidden;
}

.blur-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    /* Chiều cao vùng bị mờ */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
}

.button-view,
.button-view1 {
    border-radius: 8px;
    padding: 5px 30px;
}

.button-view span,
.button-view1 span {
    color: #ffff
}

#payment_result tr:nth-child(odd) {
    background-color: #fff !important;
    color: #666 !important;
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .section-vi-tri-du-an .border-col {
        max-width: 100%;
    }
    .section-thiet-ke .border-col {
        max-width: 100%;
    }
    .section-tien-do-hinh-anh .tab {
        padding: 0px 60px;
    }
    .thumbnail-block {
        width: 75px;
    }
    .column-reverse {
        flex-direction: column-reverse;
    }
}


/* */


/* */