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

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

/* Polylang VI | EN */
.custom-language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
}

.custom-language-switcher .lang-item {
    text-decoration: none !important;
    text-transform: uppercase;
    color: #9ca3af;
    transition: color 0.2s ease;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.custom-language-switcher .lang-item.is-current {
    color: #00894a;
}

.custom-language-switcher .lang-item:not(.is-current):hover {
    color: #00894a;
}

.custom-language-switcher .lang-divider {
    display: block;
    width: 3px;
    height: 18px;
    background: #d1d5db;
    margin: 0 11px;
}

ul.header-nav.header-nav-main.nav-right > li {
    margin: 0 21px;
}

ul.header-nav.header-nav-main.nav-right > li > a {
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}

ul.header-nav.header-nav-main.nav-right > li.html_topbar_left {
    border-left: 1px solid #e5e7eb;
    padding-left: 30px;
    margin-left: 9px;
}

ul.header-nav.header-nav-main.nav-right > li.header-button-1 .button {
    border: 1px solid #bde0cc;
    background: #eff6f4;
    padding: 8px 16px;
    color: #073a77;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    /* 133.333% */
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

ul.header-nav.header-nav-main.nav-right > li.header-button-1 .button:hover {
    background: #028347;
    border: 1px solid #028347;
    color: #fff;
}

.header-main {
    background: #fff;
}

.home-1 .banner h4 {
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    /* 142.857% */
    letter-spacing: 1.4px;
    margin: 0 0 19px 0;
    padding-left: 40px;
    position: relative;
}

.home-1 .banner h4:after {
    content: '';
    position: absolute;
    width: 33px;
    height: 1px;
    background: #fff;
    left: 0;
    top: 9px;
}

.home-1 .banner h3 {
    font-size: 76px;
    font-style: normal;
    font-weight: 800;
    line-height: 86px;
    margin: 0 0 19px 0;
}

.home-1 .banner p {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    /* 155.556% */
    letter-spacing: 0.54px;
}

.home-2-col-1 > .col-inner {
    border-radius: 12px;
    background: #fff;
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 8px 10px -6px rgba(0, 0, 0, 0.1);
    margin-top: -64px;
}

.home-2 h3 {
    font-size: 30px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    margin: 0 0 5px 0;
}

.home-2 p {
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 15px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin: 0 0 10px 0;
}

.home-3 .banner {
    border-radius: 15px;
    overflow: hidden;
}

.home-3 .banner h3 {
    color: #63ce99;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    /* 142.857% */
    letter-spacing: 0.42px;
    margin: 0 0 4px 0;
}

.home-3 .banner p {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    /* 133.333% */
    letter-spacing: 0.36px;
    margin: 0;
    opacity: 0.7;
}

.home-3 h4 {
    color: #028347;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    /* 133.333% */
    letter-spacing: 1.2px;
    margin: 0 0 16px 0;
}

.home-3 h3 {
    font-size: 40px;
    font-style: normal;
    font-weight: 800;
    line-height: 51px;
    margin: 0 0 16px 0;
}

.home-3 p {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 150% */
    letter-spacing: 0.48px;
}

.home-3 p a {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    /* 150% */
    letter-spacing: 0.48px;
}

.home-4,
.home-7 {
    background: linear-gradient(292deg, #077860 -0.56%, #074c8c 61.91%, #063b78 100%);
}

.gb-heading h4 {
    color: #028347;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    /* 133.333% */
    letter-spacing: 1.2px;
    margin: 0 0 16px 0;
}

.gb-heading h2 {
    font-size: 40px;
    font-style: normal;
    font-weight: 800;
    line-height: 51px;
    margin: 0 0 30px 0;
}

.home-4 .gb-heading h2 {
    color: #fff;
}

.home-4 .gb-heading p {
    color: #d1d5db;
}

.gb-heading p {
    margin: 0 0 30px 0;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 142.857% */
    letter-spacing: 0.42px;
}

.home-4 .banner {
    border-radius: 15px;
    overflow: hidden;
}

.home-4 .banner h3 {
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px;
    margin: 0 0 16px 0;
}

.home-4 .banner p {
    color: #e5e7eb;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 150% */
    letter-spacing: 0.48px;
}

.home-4 .banner p a {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-right: 5px;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 15px;
    /* 150% */
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.home-4 .banner p a:hover {
    background: #073a77;
    border: 1px solid #073a77;
}

.home-5 .icon-box h3 {
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    margin: 0 0 14px 0;
}

.home-5 .icon-box p {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 150% */
    letter-spacing: 0.48px;
}

.home-6-row1 .col .col-inner {
    border-left: 4px solid #028347;
}

.home-6-row1 .col .col-inner p {
    color: #073a77;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    /* 142.857% */
    letter-spacing: 0.42px;
    margin: 0;
}

.home-6 img {
    border-radius: 15px;
}

/* =========================
   CONTACT FORM BÁO GIÁ
========================= */
.bao-gia-form {
    width: 100%;
    box-sizing: border-box;
}

/* 2 cột */
.bao-gia-form .form-row {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
}

.bao-gia-form .form-col {
    width: 50%;
}

/* Full width */
.bao-gia-form .form-full {
    width: 100%;
    margin-bottom: 16px;
}

/* Label */
.bao-gia-form label {
    display: block;
    color: #fff;
    margin-bottom: 10px;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    /* 133.333% */
    letter-spacing: 0.36px;
    text-transform: uppercase;
}

/* CF7 span */
.bao-gia-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Input */
.bao-gia-form input[type='text'],
.bao-gia-form input[type='email'],
.bao-gia-form input[type='tel'],
.bao-gia-form select,
.bao-gia-form textarea {
    width: 100%;
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 14px;
    height: 42px;
    font-size: 13px;
    font-family: inherit;
    box-sizing: border-box;
    outline: none;
    box-shadow: none;
}

/* Placeholder */
.bao-gia-form input::placeholder,
.bao-gia-form textarea::placeholder {
    color: #999;
    opacity: 1;
}

/* Focus */
.bao-gia-form input:focus,
.bao-gia-form select:focus,
.bao-gia-form textarea:focus {
    border-color: #0c9b57;
}

/* Select */
/* Select + arrow */
.bao-gia-form select {
    width: 100%;
    height: 42px;
    padding: 0 42px 0 14px;
    background-color: #fff;
    /* Ẩn arrow mặc định */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Arrow custom */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 10px 7px;
    cursor: pointer;
    color: #9ca3af;
}

/* Textarea */
.bao-gia-form textarea {
    height: 106px;
    min-height: 106px;
    padding: 12px 14px;
    resize: vertical;
}

/* Submit */
.bao-gia-form .form-submit {
    width: 100%;
}

.bao-gia-form input[type='submit'] {
    display: block;
    width: 100%;
    height: 43px;
    padding: 0 15px;
    background: #069447;
    color: #fff;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    /* 142.857% */
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.bao-gia-form input[type='submit']:hover {
    background: #057e3d;
}

/* Spinner CF7 */
.bao-gia-form .wpcf7-spinner {
    position: absolute;
}

/* Thông báo lỗi */
.bao-gia-form .wpcf7-not-valid-tip {
    color: #ffd2d2;
    font-size: 11px;
    margin-top: 4px;
}

/* Xóa margin thừa của CF7/theme */
.bao-gia-form p {
    margin: 0;
}

.footer-1 h3 {
    color: #fff;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    margin: 0 0 20px 0;
}

.footer-1 ul {
    list-style: none;
    margin: 0;
}

.footer-1 ul li,
.footer-1 ul li a {
    margin-left: 0;
    color: #9ca3af;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    /* 133.333% */
    letter-spacing: 1px;
}

.footer-1 ul li a:hover {
    color: #fff;
}

.absolute-footer {
    display: none;
}

.footer-1-col1 p {
    margin: 0;
    color: #6b7280;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 15px;
    /* 150% */
    letter-spacing: 1px;
}

.footer-1-col1 .col-inner {
    padding-top: 30px;
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .bao-gia-form .form-row {
        display: block;
        margin-bottom: 0;
    }

    .bao-gia-form .form-col {
        width: 100%;
        margin-bottom: 16px;
    }

    .home-1 .banner h3 {
        font-size: 38px;
        line-height: normal;
    }

    .home-2-col-1 > .col-inner {
        padding: 15px;
    }

    .home-2 h3 {
        font-size: 24px;
    }

    .home-3 h4,
    .gb-heading h4 {
        font-size: 12px;
        line-height: normal;
        margin: 0 0 10px 0;
    }

    .home-3 h3 {
        font-size: 30px;
        line-height: normal;
    }

    .gb-heading h2 {
        font-size: 30px;
        margin: 0;
        line-height: normal;
    }

    .home-4 .banner h3 {
        font-size: 28px;
        line-height: normal;
        margin: 0;
    }

    .home-4 .banner p {
        font-size: 16px;
        line-height: normal;
        margin: 5px 0;
    }

    .home-4 .banner p a {
        margin-bottom: 5px;
    }
}
