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

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

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
    font-weight: 300;
}
.row .col .col-inner *:last-child {
    margin-bottom: 0;
}
.header-nav-main.nav-divided>li>a {
    padding: 0;
}
.header-nav-main.nav-divided>li+li>a:after {
    background: #dcbd74;
    left: -0.8em;
}
.box-style {
    border: 4px solid #dcbd74;
    border-radius: 7px;
    padding: 30px;
    max-width: 450px;
}
.title-style::after {
    content: '';
    display: block;
    width: 147px;
    height: 19px;
    background: url('../../uploads/2024/07/border.png') no-repeat top center / cover;
    margin: 1em auto 0 auto;
}
@keyframes zoomDown {
    0% {
      transform: scale(1.15);
    }
    100% {
      transform: scale(1);
    }
}
.main-slider .img.is-selected img {
    animation: zoomDown 6s linear 0s normal both;
}

.banner-style
.banner-style__title {
    font-size: 1.5em;
    line-height: 1.3;
    margin-bottom: 1em;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.banner-style__title-number {
    font-size: 3.8em;
    display: block;
    color: #dcbd74;
    width: 20%;
    line-height: 1;
}
.banner-style__title-txt {
    width: 80%;
    padding-left: 15px;
}
.banner-style .text-inner *:last-child {
    margin-bottom: 0;
}
.banner-style .banner-bg .bg-fill {
    width: 60%;
    height: 100%;
}
.banner-style--ct .banner-bg .bg-fill {
    left: auto;
    right: 0;
}
.banner-style .text-box-content {
    border-radius: 10px 0 0 10px;
    border-right: #dcbd74 solid 4px;
}
.banner-style--ct .text-box-content {
    border-radius: 0 10px 10px 0;
    border-right: none;
    border-left: #dcbd74 solid 4px;
}
.slider-1 .slick-slide {
    padding: 0 25px;
}
.slider-1 img {
    height: 30vw;
    object-fit: cover;
    border-radius: 30px;
}
.slider-1 .slick-slide:nth-child(odd) {
    padding-top: 7em;
}
.title-1 {
    font-size: 1.1em;
}
.grid-style img {
    border-radius: 10px;
}
.preload {
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    background: #0D2B47;
    top: 0;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
/* body.has-preload {
    height: 100vh;
    overflow: hidden;
} */

/* Google chrome */
@-webkit-keyframes svg-text-anim {
40% {
    stroke-dashoffset: 0;
    fill: transparent;
    }
    60% {
    stroke-dashoffset: 0;
    fill: #dcbd74;
    }
    100% {
    stroke-dashoffset: 0;
    fill: #dcbd74;
    }
}

/* Most browsers */
@keyframes svg-text-anim {
40% {
    stroke-dashoffset: 0;
    fill: transparent;
    }
    60% {
    stroke-dashoffset: 0;
    fill: #dcbd74;
    }
    100% {
    stroke-dashoffset: 0;
    fill: #dcbd74;
    }
}

.contact-form__item {
    margin-bottom: 1.2em;
}
.contact-form__item:last-child {
    margin-bottom: 0;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding: 10px 0;
}
.contact-form textarea {
    resize: none;
    min-height: 70px;
}
.contact-form .wpcf7-spinner {
    display: none;
}
.contact-form input[type="submit"] {
    background: #dcbd74 !important;
    margin: 0;
    border-radius: 7px;
    color: #0D2B47;
}
.contact-form ::-ms-input-placeholder { /* Edge 12-18 */
    color: #fff;
}
.contact-form ::placeholder {
    color: #fff;
}
.slider-txt {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    color: #fff;
    font-size: 3.5em;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
}
.slider-txt *:last-child {
    margin-bottom: 0;
}
.main-slider::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}
.mobile-nav .nav-icon a {
    color: #dcbd74;
}
.slider-2 {
    padding: 5px;
    border: #dcbd74 solid 2px;
    border-radius: 7px;
}
.slider-2 .img img {
    border-radius: 7px;
}
.slider-2 .img .caption {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    padding: 25px 15px;
    text-align: center;
    text-transform: uppercase;
}
.slider-2 .flickity-page-dots {
    bottom: 8px;
}
.overview-col {
    padding-top: 30px;
}
.pos-col .row {
    margin: 0 !important;
}
.list-1 {
    list-style-type: none;
}
.list-1 li {
    margin-left: 0 !important;
    position: relative;
    padding-left: 30px;
}
.list-1 li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    background: url('../../uploads/2024/08/sun.png') no-repeat top center / cover;
    display: block;
}
.gg-map-wrap iframe {
    border-radius: 7px;
    border: 2px solid #dcbd74;
}
.grecaptcha-badge {
    display: none;
}
.preload__content {
    position: relative;
}
.preload__txt {
    position: absolute;
    top: -26%;
    left: 46%;
    opacity: 0;
    animation: fadeIn 2s forwards linear;
    animation-delay: 1s;
}
.preload__txt img {
    width: 89%;
}
.preload svg {
    max-width: 100%;
    height: auto;
}
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.main-video video {
    width: 100%;
    height: auto;
    display: block;
}
.header-main .nav > li > a {
    color: #dcbd74;
}
.main-video {
    position: relative;
}
.main-video iframe {
    width: 100%;
    height: 56.25vw;
}
.main-video__sound-btn {
    width: 50px;
    height: 50px;
    position: absolute;
    bottom: 3em;
    left: 2em;
    cursor: pointer;
    background: #0D2B47;
    border-radius: 50%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.main-video__sound-btn img {
    width: 55%;
}
.main-video__sound-on {
    display: none;
}
#gom-all-in-one {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
#phone-vr {
    order: 1;
}
#zalo-vr {
    order: 2;
}
#map-vr {
    order: 3;
}
.main-video__sound-subtitle {
    position: absolute;
    color: #fff;
    font-family: "Dancing Script", cursive;
    bottom: 3.2em;
    left: 1em;
    font-size: 2em;
}
.footer-wrapper p {
    margin-bottom: 0.5rem;
}
.footer-wrapper p:last-of-type {
    margin-bottom: 0;
}
.contact-p {
    position: relative;
    padding-left: 25px;
}
.footer-wrapper p i {
    margin-right: 10px;
    position: absolute;
    top: 3px;
    left: 0;
}
.main-video__mb {
    display: none;
}
.sound-btn-mb {
    display: none;
}
.ft-nav {
    list-style-type: none;
}
.ft-nav a {
    color: #fff;
}
.ft-nav li {
    margin-left: 0 !important;
}
.ft-nav li:last-child {
    margin-bottom: 0;
}

.dong-san-pham .flickity-slider .img img {
    max-height: 550px;
    object-fit: contain;
}
.tien-ich .flickity-slider .img img {
    max-height: 550px;
    object-fit: contain;
}

.legal-project {
    max-width: 900px;
    margin: 0 auto;
}
.legal-project-item {
    display: flex;
    flex-wrap: wrap;
    margin-left: 0 !important;
    padding: 0 65px 15px 65px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.23);
    margin-bottom: 15px;
}
.legal-project-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.legal-project-item__label {
    max-width: calc(100% - 90px);
}
.legal-project-item__link-wrap {
    margin-left: auto;
}
.legal-project-item__link {
    font-style: italic;
    display: inline-block;
    color: #73bf41 !important;
    text-decoration: underline;
}


/* Footer Info */

.ft-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.ft-info-item {
    width: calc(33.33% - 20px);
}
.ft-info__phone-link {
    display: inline-flex;
    align-items: center;
}
.ft-info__phone-icon {
    width: 30px;
    height: 30px;
    background: #73bf41;
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.ft-info__phone-txt {
    max-width: calc(100% - 30px);
    padding-left: 10px;
    font-weight: 700;
}
.ft-info-item__title {
    color: #73BF41;
}
.ft-info__map-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
}
.ft-info__social-link {
    display: inline-block;
}
.ft-info__social-link img {
    width: 40px;
}
.ft-info__map-wrap--ct-style {
    column-gap: 15px;
}
.ft-info__map-wrap--ct-style-2 {
    column-gap: 10px;
}
.ft-info__map-wrap--ct-style-2
.ft-info__social-link img {
    width: 30px;
}

/* End Footer Info */


/* News */
.news-banner {
    background: url('../../uploads/2025/07/eco-bg-5.png') no-repeat top center / cover;
    padding: 45px 15px;
}
.news-banner__title {
    color: #fff;
    margin: 0;
    text-align: center;
}
.news-layout {
    padding: 60px 0;
}
.news-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.news-item {
    width: calc(33.33% - 20px);
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.news-item__content {
    padding: 15px;
}
.news-item__title {
    font-size: 18px;
    color: #73bf41;
}
.news-item__excerpt p:last-of-type {
    margin-bottom: 0;
}
.news-item__details {
    color: #00A1DB;
    margin-top: 10px;
}
.news-item__details i {
    color: #73bf41;
    margin-left: 5px;
}
.wp-pagenavi {
    margin-top: 30px;
}
/* End News */


.yellow-txt {
    color: #dcbd74;
}
.dancing-script {
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-style: normal;
}
.pd-bt-0 {
    padding-bottom: 0;
}
.mg-bt-0 {
    margin-bottom: 0;
}

@media only screen and (max-width: 1400px) {
    .slider-txt {
        font-size: 3em;
    }
}

@media only screen and (max-width: 1100px) {
    .banner-style__title-number {
        font-size: 2.9em;
    }
    .slider-1 .slick-slide {
        padding: 0 15px;
    }
    .slider-1 .slick-slide:nth-child(odd) {
        padding-top: 4em;
    }
    .slider-txt {
        font-size: 2.8em;
    }
}

@media only screen and (max-width: 849px) {
    .banner-style .text-box {
        font-size: 14px;
    }
    .banner-style .banner-bg .bg-fill {
        width: 80%;
    }
    .banner-style__title-number {
        font-size: 3.4em;
        width: 86px;
    }
    .banner-style__title-txt {
        width: calc(100% - 86px);
    }
    .slider-1 .slick-slide:nth-child(odd) {
        padding-top: 2em;
    }
    .slider-txt {
        font-size: 2.3em;
    }
    .box-style {
        padding: 15px;
    }
    .pos-col__intro-col,
    .pos-col__map-col,
    .pos-col__convenient-col {
        padding-left: 0;
        padding-right: 0;
    }
    .legal-project-item {
        padding-left: 30px;
        padding-right: 30px;
    }
    .news-item {
        width: calc(50% - 15px);
    }
}

@media only screen and (max-width: 750px) {
    .preload__txt img {
        width: 22.1vw;
    }
    .preload__txt {
        top: -6vw;
    }
}

@media only screen and (max-width: 549px) {
    .banner-style .banner-bg .bg-fill {
        width: 100%;
    }
    .banner-style .banner-style__title {
        font-size: 1.25em;
    }
    .banner-style__title-number {
        width: 75px;
    }
    .banner-style__title-txt {
        width: calc(100% - 75px);
    }
    .slider-1 img {
        height: 65vw;
    }
    .slider-txt {
        font-size: 1.8em;
    }
    .main-slider img {
        height: 65vw;
        object-fit: cover;
    }
    .slider-2 img {
        height: 80vw;
        object-fit: cover;
    }
    .box-style {
        max-width: 100%;
    }

    .main-video {
        margin-top: 90px;
    }
    .main-video__sound-btn {
        bottom: 15px;
        left: 15px;
        width: 40px;
        height: 40px;
    }
    .header.transparent .header-bg-color {
        background-color: #3e6423;
    }
    .main-video__sound-subtitle {
        bottom: 1em;
        left: auto;
        right: 1em;
        font-size: 1.4em;
    }
    .main-video video {
        display: none;
    }
    .main-video__mb {
        display: block;
    }
    .sound-btn-pc {
        display: none;
    }
    .sound-btn-mb {
        display: flex;
    }
    .legal-project-item {
        padding-left: 0;
        padding-right: 0;
    }

    .ft-info-item {
        width: 100%;
        text-align: center;
    }
    .ft-info__map-wrap {
        justify-content: center;
    }

    .news-item {
        width: 100%;
    }

}