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


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

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
}

.nav-spacing-xlarge>li {
    margin: 0px 20px;
}

h2.section-title.section-title-normal b {
    display: none;
}

.section-title-normal {
    border-bottom: unset;
    border-bottom: unset;
    font-size: 32px;
    font-weight: 600;
}

h2.section-title::before {
    left: 3.5px;
    top: 6.5px;
    height: 22px;
}

h2.section-title::before {
    content: '';
    position: absolute;
    width: 5px;
    left: 2.5px;
    top: 10px;
    bottom: 0px;
    transform: skew(-20deg);
    background-color: #dd3333;
    height: 25px;
}

.section-title-normal span {
    border-bottom: unset;
    padding-left: 20px;
    text-transform: none !important;
}

.section-title-container {
    margin-bottom: 0px;
}

.post-item .col-inner {
    padding: 12px;
    background: #fff;
    border-radius: 8px;
}

.flickity-page-dots .dot.is-selected {
    background-color: rgb(220, 164, 71);
    opacity: 1 !important;
}

.quan-tam .post-item .col-inner {
    padding: 12px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid rgb(220 164 71 / 50%);
}

.video-item {
    position: relative;
}

.video-item .is-outline {
    color: rgb(221 51 51);
}

.video-item .button.is-outline {
    border: 2px solid rgb(221 51 51);
}

.video-item .col-inner {
    background: #fff;
    border: 1px solid #D9D9D9;
    border-radius: 12px;
    padding: 10px;
}

.video-item .video-button-wrapper {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.header,
.header-wrapper {
    border-bottom: 0.5px solid #cccccc00 !important;
}


/* Tạo layout 3 cột */

.cf7-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Chia thành 3 cột */
    gap: 15px;
    /* Khoảng cách giữa các cột */
    align-items: center;
}


/* Căn chỉnh input */

.cf7-grid .wpcf7-form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 50px;
}

.wpcf7-spinner {
    display: none;
}

input.wpcf7-form-control.has-spinner.wpcf7-submit {
    line-height: 30px;
}


/* Nút gửi chiếm toàn bộ chiều rộng */

.cf7-column.full-width {
    grid-column: span 4;
    text-align: center;
}


/* Style cho nút gửi */

.cf7-column.full-width input[type="submit"] {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    width: auto;
}

.cf7-column.full-width input[type="submit"]:hover {
    background: #0056b3;
}


/* Responsive: Xuống 1 cột trên màn hình nhỏ */

@media (max-width: 768px) {
    .cf7-grid {
        grid-template-columns: 1fr;
        /* Chuyển thành 1 cột khi màn hình nhỏ */
    }
}

.post-sidebar.large-3.col {
    padding: 0 10px;
}

.post-sidebar .button span {
    display: inline-block;
    line-height: 1.6;
    font-weight: 400;
    font-size: 15px;
}

.post-sidebar a.button {
    width: 100%;
    display: block;
    letter-spacing: 0;
}

.sidebar-contact {
    border: 1px solid #EBEBEB;
    border-radius: 8px;
    padding: 32px;
}

.icon-team .icon-inner {
    width: 62px;
    height: 62px;
    border-radius: 50%;
}

.icon-team .icon-inner img {
    width: 100%;
    border-radius: 50%;
    height: 100%;
}

.footer-cta-btns-area {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 8000;
}

.footer-cta-btns {
    display: flex;
    padding: 8px;
    gap: 8px;
    background: #0066FF;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    flex-wrap: wrap;
    flex: 1;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, .2);
    border-radius: 6px;
    color: #fff !important;
    flex: auto;
    justify-content: center;
}

.footer-cta-btn .icon-box {
    width: 20px;
    height: 20px;
}

.footer-cta-btn:hover {
    background: var(--color-primary-600);
    color: #fff;
}

.footer-cta-btns-outer {
    display: flex;
    justify-content: center;
}

.footer-cta-btn-icon {
    -webkit-animation: tada 1.2s infinite;
    animation: tada 1.2s infinite;
}

@-webkit-keyframes tada {
    0% {
        transform: scaleX(1)
    }
    10%,
    20% {
        transform: scale3d(.9, .9, .9) rotate(-3deg)
    }
    30%,
    50%,
    70%,
    90% {
        transform: scale3d(1.3, 1.3, 1.3) rotate(3deg)
    }
    40%,
    60%,
    80% {
        transform: scale3d(1.3, 1.3, 1.3) rotate(-3deg)
    }
    to {
        transform: scaleX(1)
    }
}

@keyframes tada {
    0% {
        transform: scaleX(1)
    }
    10%,
    20% {
        transform: scale3d(.9, .9, .9) rotate(-3deg)
    }
    30%,
    50%,
    70%,
    90% {
        transform: scale3d(1.3, 1.3, 1.3) rotate(3deg)
    }
    40%,
    60%,
    80% {
        transform: scale3d(1.3, 1.3, 1.3) rotate(-3deg)
    }
    to {
        transform: scaleX(1)
    }
}

.product-card-box {
    transition: all .25s;
}

.product-card-box:hover {
    box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.1);
}

.ratio-thumb {
    position: relative;
    width: 100%;
    height: 0;
    overflow: hidden;
    display: block;
}

.border-gray {
    border-color: #D9D9D9;
}

.ratio-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}

.ratio-3x2 {
    padding-bottom: 66%;
}

.items-start {
    align-items: flex-start;
}

img:is([sizes="auto" i], [sizes^="auto," i]) {
    contain-intrinsic-size: 3000px 1500px;
}

.du-an {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.075);
}

.du-an .box-image img {
    border-radius: 12px;
}