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

/*************** ADD CUSTOM CSS HERE ***************/
* {
    font-family: "Poppins", sans-serif;
}

#top-bar .header,
#top-bar .header-inner,
#top-bar .top-bar,
#top-bar .container {
    width: 100vw !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}


#top-bar .nav-top-bar {
    width: 100vw;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}


#top-bar .nav-left {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}


#top-bar .section {
    width: 100vw;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}


#top-bar .row {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

#top-bar .col {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}


#top-bar .col-inner {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}


#top-bar .text {
    width: 100%;
    box-sizing: border-box;
}


#top-bar .social-icons {
    width: 100%;
    max-width: 100%;
    margin-left: -44px;
}

#top-bar .flex-left {
    justify-content: stretch !important;
    width: 100vw;
    margin-left: 0;
    margin-right: 0;
}

#top-bar .icon-box.featured-box.icon-box-left.text-left {
    margin-left: 115px;
}

.section-top-bar {
    height: 78px;
}


.section-bg-gradient {
    height: 45px;
    background-color: transparent;
    background-image: linear-gradient(135deg, #FFFFFF 32%, #F7F7F7 32%);
}

.dark .social-icons .button.is-outline,
.nav-dark .social-icons .button.is-outline {
    border-color: rgb(226, 116, 18) !important;
    background: rgb(226, 116, 18) !important;
}

ul.header-nav.header-nav-main.nav.nav-left {
    display: flex;
    justify-content: flex-start;
    gap: 39px;
}

ul.header-nav.header-nav-main.nav.nav-left a.nav-top-link {
    font-weight: 400 !important;
}


.section-footer iframe {
    filter: brightness(83%) contrast(100%) saturate(100%) blur(0px) hue-rotate(0deg);
    border-radius: 6px;
}


.section-footer input.wpcf7-form-control.wpcf7-email {
    border-radius: 4px;
}


.section-footer input.wpcf7-form-control.wpcf7-submit.has-spinner {
    width: 100%;
    border-radius: 4px;
    background: #e27412;
}

.section-footer span.ux-menu-link__text {
    color: #fff;
}

.section-footer span.ux-menu-link__text:hover {
    color: #e27412;
}

.section-footer .button.is-outline,
.section-footer input[type=button].is-outline,
.section-footer input[type=reset].is-outline,
.section-footer input[type=submit].is-outline {
    background-color: #fff;
    border: unset;
    padding: 4px 0px 0px 0px;
}

.section-footer .is-outline {
    color: #e27412;
}

.section-grad-ok {
    position: relative;
}

.section-grad-ok::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-image: linear-gradient(141deg, #bfbcbc8c 0%, #f0892e 49%);
    opacity: 0.92;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
    z-index: 1;
}

.section-grad-ok .section-content {
    position: relative;
    z-index: 2;
}



section.section.section-grad-vang {
    background-color: transparent;
    background-image: linear-gradient(123deg, #e27412 40%, #5d4129 0%);
    height: 45px !important;
}


.img-radius img {
    border-radius: 12px;
}



.text-number h2 {
    background-color: rgb(226, 116, 18);
    color: #fff;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    text-align: center;
    margin: 10px auto 26px;
    font-size: 1.5rem;
}

.col-appliances>.col-inner {
    transition: transform .2s;
    box-shadow: 0px 0px 10px 0px rgba(1.9999999999999567, 0.9999999999999784, 0.9999999999999784, 0.06);
}

.col-appliances>.col-inner:hover {
    transform: scale(1.05);
}

.section-appliances path {
    fill: #fff;
    transform: rotateY(0deg);
    transform-origin: center;
}


.section-appliances svg {
    display: block;
    left: 50%;
    position: relative;
    transform: translateX(-60%);
    width: calc(100% + 1.3px);
    margin-top: -91px;
    z-index: -1;
}

.text-under-banner svg {
    /* height: 156px; */
    display: block;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
    width: calc(100% + 1.3px);
    margin-top: -61px;
}

.text-under-banner {
    transform: rotate(0deg);
}

.text-under-banner path {
    fill: rgb(226 116 18 / 9%);
    transform: rotateY(360deg);
    transform-origin: center;
}



.acc-home .accordion-title {
    border: 1px solid #ddd;
    display: block;
    font-size: 110%;
    position: relative;
    transition: border .2s ease-out, background-color .3s;
    padding-left: 20px;
}

.acc-home .accordion-inner {
    border: 1px solid #ddd;
}

.acc-home .accordion-title.active {
    background-color: transparent;
    border-color: var(--fs-color-primary);
    color: rgb(226, 116, 18);
    font-weight: 700;
}

.acc-home.accordion .toggle {
    border-radius: 999px;
    height: 1.5em;
    left: AUTO;
    margin-right: 5px;
    position: absolute;
    top: .3em;
    transform-origin: 50% 47%;
    width: 2.3em;
    right: 0;
}

.col-index-under {
    position: relative;
    z-index: 0;
}

.col-index-above {
    position: relative;
    z-index: 99;
}

.col-3-icon-about .icon-box-img {
    background-color: rgb(226, 116, 18);
    border-radius: 50%;
    width: 50px !important;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.col-3-icon-about svg,
.col-3-icon-about path {
    width: 24px;
    height: 30px;
    fill: #fff !important;
    padding: 8px 0px 0px 0px;
}

.row-service-about .col-inner {
    min-height: 185px;
}


.banner-pre-footer-about {
    position: relative;
}

.banner-pre-footer-about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-image: linear-gradient(123deg, #02010100 48%, rgb(226, 116, 18) 13%);
    opacity: 0.2;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
    z-index: 1;
}

.banner-pre-footer-about .banner-layers {
    position: relative;
    z-index: 2;
}


.section-nghieng {
    background-color: transparent;
    background-image: linear-gradient(240deg, rgb(226, 116, 18) 60%, #FFFFFF 45% 45%);
}


.col-nghieng .col-inner {
    transition: transform 0.3s ease;
}

.col-nghieng .col-inner:hover {
    transform: scale(1.02);
}

.col-info-contact .icon-box {
    border-bottom: 1px dashed #fff;
    margin-bottom: 18px;
}

/* Cập nhật .cf7-flex để chia 2 cột */
.col-form-contact-page .cf7-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Mỗi p là 1 cột chiếm 50% */
.col-form-contact-page .cf7-flex p {
    flex: 1 1 50%;
    margin: 0;
}

/* Đảm bảo các input đơn cũng chỉ chiếm 100% chiều rộng cha */
.col-form-contact-page p:not(.cf7-flex p) {
    width: 100%;
}

/* Tất cả input/textarea đều 100% theo cha */
.col-form-contact-page input,
.col-form-contact-page textarea {
    width: 100%;
    box-sizing: border-box;
}


.nav-dropdown-default .nav-column li>a,
.nav-dropdown.nav-dropdown-default>li>a {
    border-bottom: unset;
    margin: 0 10px;
    padding-left: 0;
    padding-right: 0;
}

.nav-dropdown-default {
    padding: 0px;

}

.nav-dropdown {
    background-color: #fff;
    min-width: 131px;
}

.sub-menu li:hover {
    background-color: rgb(226, 116, 18);
}

.sub-menu li:hover>a {
    color: #fff;
}

.next-prev-thumbs li.has-dropdown:hover>.nav-dropdown,
.no-js li.has-dropdown:hover>.nav-dropdown,
li.current-dropdown>.nav-dropdown {
    left: -3px;
    max-height: inherit;
    opacity: 1;
    visibility: visible;
}


.col-details-service .col-inner {
    transition: all 0.3s ease;
}

.col-details-service:hover .col-inner {
    transform: scale(1.05);
    cursor: pointer;
}


.col-details-service:hover .col-inner .text,
.col-details-service:hover .col-inner .text * {
    color: #000 !important;
}

.col-details-service:hover .col-inner .is-border {
    border-bottom: 3px solid rgb(226, 116, 18) !important;
}


.nav-pagination>li>.current,
.nav-pagination>li>a:hover,
.nav-pagination>li>span:hover {
    background-color: rgb(226, 116, 18);
    border-color: rgb(226, 116, 18);
    color: #fff;
}


.blog-news-page .box-image {
    border-radius: 20px 20px 0px 0px;
}

.blog-news-page .box-text.text-left {
    background: #fff;
    box-shadow: 0px 12px 18px -6px rgba(35, 57, 102, 0.16);
    padding: 20px 30px;
    border-radius: 0px 0px 20px 20px;
    min-height: 210px;
}

.blog-news-page h5.post-title.is-large {
    color: rgb(226, 116, 18);
    font-size: 20px;
}

.blog-news-page a.button.secondary.is-default {
    border-radius: 4px;
}


.custom-search-form {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    max-width: 100%;
    /* Không vượt quá col chứa */
    width: 100%;
}

.custom-search-form .search-field {
    flex: 1;
    min-width: 0;
    padding: 10px 8px;
    border: 1px solid #e0e0e0;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
    outline: none;
    color: #555;
    box-sizing: border-box;
}

.custom-search-form .search-field::placeholder {
    color: #a0a0a0;
}

.custom-search-form .search-submit {
    white-space: nowrap;
    background-color: rgb(226, 116, 18);
    border: none;
    color: #fff;
    font-weight: 400;
    padding: 0px 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}


.blog-latest .image-cover {
    border-radius: 50%;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

.blog-latest .image-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.text-copyright-footer {
    transform: rotate(180deg);
}

.text-copyright-footer svg,
.text-copyright-footer path {
    width: calc(100% + 1.3px);
    height: 86px;
    background: rgb(226, 116, 18);
}


.absolute-footer {
    position: relative;
    z-index: 1;
}


.absolute-footer.dark {
    margin-top: -39px;
    z-index: 0;
    color: #fff;
}

.absolute-footer {
    background-color: rgb(24, 24, 24);
}

.absolute-footer::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path opacity="0.33" fill="%23E27412" d="M473,67.3c-203.9,88.3-263.1-34-320.3,0C66,119.1,0,59.7,0,59.7V0h1000v59.7 c0,0-62.1,26.1-94.9,29.3c-32.8,3.3-62.8-12.3-75.8-22.1C806,49.6,745.3,8.7,694.9,4.7S492.4,59,473,67.3z"></path><path opacity="0.66" fill="%23E27412" d="M734,67.3c-45.5,0-77.2-23.2-129.1-39.1c-28.6-8.7-150.3-10.1-254,39.1 s-91.7-34.4-149.2,0C115.7,118.3,0,39.8,0,39.8V0h1000v36.5c0,0-28.2-18.5-92.1-18.5C810.2,18.1,775.7,67.3,734,67.3z"></path><path fill="%23E27412" d="M766.1,28.9c-200-57.5-266,65.5-395.1,19.5C242,1.8,242,5.4,184.8,20.6C128,35.8,132.3,44.9,89.9,52.5C28.6,63.7,0,0,0,0 h1000c0,0-9.9,40.9-83.6,48.1S829.6,47,766.1,28.9z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    z-index: -1;
    transform: rotate(180deg);
}

.absolute-footer .container {
    position: relative;
    z-index: 2;
}

.absolute-footer .footer-primary {
    float: none !important;
    display: block;
    width: 100%;
}

.absolute-footer .copyright-footer {
    text-align: center !important;
    margin: 0 auto;
    width: 100%;
}

.custom-contact-form {
    margin: 0 auto;
}

.custom-contact-form .form-row,
.custom-contact-form .form-row-double {
    display: flex !important;
    gap: 2px;
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
}

.custom-contact-form .form-row.full-width {
    flex-direction: column !important;
}

.custom-contact-form .form-row-double {
    flex-wrap: nowrap !important;
    width: 1090px;
}

.custom-contact-form .form-row-double .wpcf7-form-control-wrap {
    flex: 1 !important;
    width: calc(49% - 1px) !important;
    max-width: calc(49% - 1px) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    display: inline-block !important;
}

.custom-contact-form .form-row.full-width .wpcf7-form-control-wrap {
    width: 100% !important;
    max-width: 100% !important;
}

.custom-contact-form input[type="text"],
.custom-contact-form input[type="email"],
.custom-contact-form input[type="tel"],
.custom-contact-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    background-color: #ffffff;
    transition: all 0.3s ease;
    box-sizing: border-box !important;
    outline: none;
    height: 50px;
}

.custom-contact-form textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.custom-contact-form input[type="submit"] {
    background-color: rgb(226, 116, 18);
    color: white;
    padding: 4px 30px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    min-width: 150px;
}



.custom-contact-form input[type="submit"]:active {
    transform: translateY(0);
}

/* Xử lý CSS mặc định của Contact Form 7 */
.custom-contact-form .wpcf7-form-control-wrap>* {
    width: 100% !important;
    box-sizing: border-box !important;
}




.col-form-home .custom-contact-form input[type="text"],
.col-form-home .custom-contact-form input[type="email"],
.col-form-home .custom-contact-form input[type="tel"],
.col-form-home .custom-contact-form textarea {
    height: 43px;
}

.col-form-home .custom-contact-form .form-row-double {
    flex-wrap: nowrap !important;
    width: 578px;
}

.cf7sr-g-recaptcha {
    margin-bottom: 24px;
}

.section-grad-ok,
.banner-truot {
    background: url(https://appliancehomeservicesllc.com/wp-content/uploads/2025/06/25.jpg);
    background-attachment: fixed;
}

#top-bar .icon-box .icon-box-text {
    width: fit-content;
    max-width: 310px;
    margin-left: 0;
}

#top-bar .icon-box.featured-box.icon-box-left.text-left {
    margin-left: 0
}

@media only screen and (max-width: 48em) {

    .section {
        padding-left: 10px;
        padding-right: 10px;
    }

    .header,
    .header-inner,
    .top-bar,
    .container {
        width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .custom-contact-form .form-row-double {
        flex-wrap: nowrap !important;
        width: unset;
    }

    .col-form-home .custom-contact-form .form-row-double {
        flex-wrap: nowrap !important;
        width: unset;
    }

    .custom-contact-form input[type="text"],
    .custom-contact-form input[type="email"],
    .custom-contact-form input[type="tel"],
    .custom-contact-form textarea {

        font-size: 13px;
    }

    i.icon-menu {
        color: #e27412;
    }

    .blog-latest .box-image {
        height: auto;
        margin: unset;
        overflow: hidden;
        position: relative;
        display: inline-flex;
    }

    .blog-latest .box-vertical .box-image {
        width: 70% !important;
    }



    .blog-latest .box-text {
        text-align: center;
    }
}