/*
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-face {
    font-family: 'SVN-Gilroy';
    src: url('assets/fonts/SVN-Gilroy Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Gilroy';
    src: url('assets/fonts/SVN-Gilroy Thin Italic.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

/* XLIGHT - 200 */
@font-face {
    font-family: 'SVN-Gilroy';
    src: url('assets/fonts/SVN-Gilroy Xlight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Gilroy';
    src: url('assets/fonts/SVN-Gilroy Xlight Italic.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

/* LIGHT - 300 */
@font-face {
    font-family: 'SVN-Gilroy';
    src: url('assets/fonts/SVN-Gilroy Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Gilroy';
    src: url('assets/fonts/SVN-Gilroy Light Italic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

/* REGULAR - 400 */
@font-face {
    font-family: 'SVN-Gilroy';
    src: url('assets/fonts/SVN-Gilroy Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Gilroy';
    src: url('assets/fonts/SVN-Gilroy Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* MEDIUM - 500 */
@font-face {
    font-family: 'SVN-Gilroy';
    src: url('assets/fonts/SVN-Gilroy Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Gilroy';
    src: url('assets/fonts/SVN-Gilroy Medium Italic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

/* SEMIBOLD - 600 */
@font-face {
    font-family: 'SVN-Gilroy';
    src: url('assets/fonts/SVN-Gilroy SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Gilroy';
    src: url('assets/fonts/SVN-Gilroy SemiBold Italic.otf') format('opentype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

/* BOLD - 700 */
@font-face {
    font-family: 'SVN-Gilroy';
    src: url('assets/fonts/SVN-Gilroy Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Gilroy';
    src: url('assets/fonts/SVN-Gilroy Bold Italic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* EXTRABOLD - 800 */
@font-face {
    font-family: 'SVN-Gilroy';
    src: url('assets/fonts/SVN-Gilroy XBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Gilroy';
    src: url('assets/fonts/SVN-Gilroy XBold Italic.otf') format('opentype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

/* HEAVY/BLACK - 900 */
@font-face {
    font-family: 'SVN-Gilroy';
    src: url('assets/fonts/SVN-Gilroy Heavy.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Gilroy';
    src: url('assets/fonts/SVN-Gilroy Heavy Italic.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* Nếu muốn dùng Black thay vì Heavy thì đổi lại file bên dưới */
@font-face {
    font-family: 'SVN-Gilroy';
    src: url('assets/fonts/SVN-Gilroy Black.otf') format('opentype');
    font-weight: 950;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Gilroy';
    src: url('assets/fonts/SVN-Gilroy Black Italic.otf') format('opentype');
    font-weight: 950;
    font-style: italic;
    font-display: swap;
}

/* Áp dụng font cho toàn site */
html,
body>* {
    font-family: 'SVN-Gilroy', sans-serif !important;
}


h1,
h2,
h3,
h4,
h5,
h6,
.heading-font,
.off-canvas-center .nav-sidebar.nav-vertical>li>a,
.nav>li>a {
    font-family: 'SVN-Gilroy', sans-serif !important;
}

.expandable-search-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.expandable-search-form {
    max-width: 100%;
}

.expandable-search-inner {
    display: flex;
    align-items: center;
    border: 1px solid #2F89F9;
    border-radius: 999px;
    padding: 2px 16px 14px 20px;
    width: 72px;
    transition: width 0.3s ease;
    cursor: text;
    overflow: hidden;
}

.expandable-search-form:hover .expandable-search-inner,
.expandable-search-inner:focus-within {
    width: 100%;
}


.expandable-search-inner input[type=search]::placeholder {
    color: transparent;
}

.expandable-search-inner input[type=search] {
    box-shadow: unset;
    border: unset;
    background: unset;
    padding-top: 14px;
    padding-left: 18px;
}


.expandable-search-wrapper:hover .expandable-search-inner,
.expandable-search-inner:focus-within {
    width: 245px;
}


.expandable-search-icon {
    font-size: 34px;
    line-height: 1;
    color: #2F89F9;
    font-weight: 100;
}

.expandable-search-field {
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    padding: 0 0 0 8px;
    flex: 1;
    min-width: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.expandable-search-form:hover .expandable-search-field,
.expandable-search-inner:focus-within .expandable-search-field {
    opacity: 1;
}

.expandable-search-submit {
    display: none;
}


.absolute-footer.dark {
    display: none;
}

.icon-footer {
    margin-bottom: -17px;
}

.section-footer .social-icons i {
    color: #fff;
}


.btn-grad {
    background: linear-gradient(90deg, #175ef7 0%, #5296f1 100%);
    color: #fff;
    padding: 8px 28px;
    border-radius: 99px;
    display: inline-block;
    font-weight: 300;
    text-align: center;
    transition: 0.3s ease;
}

.btn-grad:hover {
    cursor: pointer;
}

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


.btn-xanh {
    border: 3px solid #2674ff;
    transition: 0.3s ease;
}


.btn-xanh:hover {
    background: linear-gradient(90deg, #175ef7 0%, #5296f1 100%);
}


.text-libre>* {
    font-family: Libre Bodoni, serif !important;
    font-weight: 100 !important;
}

.icon-box-arrow .icon-box-img img {
    filter: brightness(0) invert(1) brightness(2);
    margin-top: 25px;
}

.icon-box.featured-box.icon-box-arrow {
    display: flex;
    align-items: center;
}


.text-box-ok h2 {
    margin-bottom: 32px;
}

.icon-box-arrow p {
    margin-top: 29px;
}

.icon-box.featured-box.icon-box-arrow {
    display: flex;
    align-items: center;
    margin-bottom: 0px;
    margin-top: -34px;
}


.banner-radius,
.banner-radius .banner-bg.fill {
    border-radius: 22px;
}


.text-count h2 {
    margin-bottom: -3px;
}

.box-overlay.dark .box-text,
.box-shade.dark .box-text {
    text-shadow: unset;
}


.img-box-doi-ngu .box-text.text-left {
    background: #2f89f991;
    padding: 40px;
    border-radius: 0px 0px 32px 32px;
}

.img-box-doi-ngu,
.img-box-doi-ngu .box-image {
    border-radius: 32px;
}

.img-box-doi-ngu .overlay {
    background: unset;
}



.cf7-vietduc-form {
    max-width: 480px;
    margin: 0;
    font-family: inherit;
}

.cf7-vietduc-form .cf7-group {
    margin-bottom: 26px;
}

.cf7-vietduc-form label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #2F89F9;
}

.cf7-vietduc-form .required {
    color: #e05353;
}

.cf7-vietduc-form .cf7-line {
    position: relative;
}

.cf7-vietduc-form .cf7-line .wpcf7-form-control {
    width: 100%;
    border: none;
    border-bottom: 1px solid #000;
    border-radius: 0;
    padding: 4px 0 8px;
    background: transparent;
    font-size: 14px;
    color: #333;
    box-shadow: none;
}

.cf7-vietduc-form .cf7-line textarea.wpcf7-form-control {
    min-height: 60px;
    resize: vertical;
}

.cf7-vietduc-form .cf7-line .wpcf7-form-control::placeholder {
    color: #b9aa9e;
}

.cf7-vietduc-form .cf7-line .wpcf7-form-control:focus {
    outline: none;
    border-bottom-color: #014f47;
}

.cf7-vietduc-form .cf7-icon {
    position: absolute;
    right: 0;
    bottom: 8px;
    font-size: 20px;
    color: #014f47;
    pointer-events: none;
}

.cf7-vietduc-form .cf7-submit-wrap {
    margin-top: 10px;
}

.cf7-vietduc-form .wpcf7-submit {
    display: inline-block;
    padding: 10px 40px;
    border-radius: 999px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all .25s ease;
    border: 3px solid #2674ff;
    background: #0237a8;
}

.cf7-vietduc-form .wpcf7-submit:hover {
    background: linear-gradient(90deg, #175ef7 0%, #5296f1 100%);

    transform: translateY(-1px);
}

.cf7-vietduc-form .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #e05353;
    margin-top: 4px;
}


.cf7-group.field-name .cf7-line::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 22px;
    width: 22px;
    height: 22px;
    background-size: 22px;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%232F89F9' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'><path d='M320 312C386.3 312 440 258.3 440 192C440 125.7 386.3 72 320 72C253.7 72 200 125.7 200 192C200 258.3 253.7 312 320 312zM290.3 368C191.8 368 112 447.8 112 546.3C112 562.7 125.3 576 141.7 576L498.3 576C514.7 576 528 562.7 528 546.3C528 447.8 448.2 368 349.7 368L290.3 368z'/></svg>");
}

.cf7-group.field-phone .cf7-line::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 22px;
    width: 22px;
    height: 22px;
    background-size: 22px;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%232F89F9' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'><path d='M224.2 89C216.3 70.1 195.7 60.1 176.1 65.4L170.6 66.9C106 84.5 50.8 147.1 66.9 223.3C104 398.3 241.7 536 416.7 573.1C493 589.3 555.5 534 573.1 469.4L574.6 463.9C580 444.2 569.9 423.6 551.1 415.8L453.8 375.3C437.3 368.4 418.2 373.2 406.8 387.1L368.2 434.3C297.9 399.4 241.3 341 208.8 269.3L253 233.3C266.9 222 271.6 202.9 264.8 186.3L224.2 89z'/></svg>");
}



.cf7-group.field-message .cf7-line::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 50px;
    width: 22px;
    height: 22px;
    background-size: 22px;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%232F89F9' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'><path d='M535.6 85.7C513.7 63.8 478.3 63.8 456.4 85.7L432 110.1L529.9 208L554.3 183.6C576.2 161.7 576.2 126.3 554.3 104.4L535.6 85.7zM236.4 305.7C230.3 311.8 225.6 319.3 222.9 327.6L193.3 416.4C190.4 425 192.7 434.5 199.1 441C205.5 447.5 215 449.7 223.7 446.8L312.5 417.2C320.7 414.5 328.2 409.8 334.4 403.7L496 241.9L398.1 144L236.4 305.7zM160 128C107 128 64 171 64 224L64 480C64 533 107 576 160 576L416 576C469 576 512 533 512 480L512 384C512 366.3 497.7 352 480 352C462.3 352 448 366.3 448 384L448 480C448 497.7 433.7 512 416 512L160 512C142.3 512 128 497.7 128 480L128 224C128 206.3 142.3 192 160 192L256 192C273.7 192 288 177.7 288 160C288 142.3 273.7 128 256 128L160 128z'/></svg>");
}



.col-background {
    position: relative;
    z-index: 1;
}

.col-background::before {
    content: "";
    position: absolute;
    inset: 0;
    /* top:0; right:0; bottom:0; left:0 */
    background-image: url('/wp-content/themes/flatsome-child/assets/img/bg-dang-ky-tu-van%20(1).png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.img-logo-footer img {
    filter: brightness(0) invert(1);
}

ul.nav.header-nav.header-bottom-nav.nav-left {
    display: flex;
    gap: 28px;
}


ul.nav.header-nav.header-bottom-nav.nav-left li {
    margin: 0 3px;
}


div#wide-nav {
    width: 100vw;
}

.nav.header-nav.header-bottom-nav.nav-left.nav-size-medium.nav-spacing-xlarge.nav-uppercase>li>a {
    padding: 10px 24px;
    border-radius: 999px;
    transition: 0.3s ease;
    display: inline-block;
}

.nav.header-nav.header-bottom-nav.nav-left.nav-size-medium.nav-spacing-xlarge.nav-uppercase>li:hover>a,
.nav.header-nav.header-bottom-nav.nav-left.nav-size-medium.nav-spacing-xlarge.nav-uppercase>li>a:hover {
    background: linear-gradient(90deg, #175ef7 0%, #5296f1 100%);
    color: #fff !important;
}


.header.show-on-scroll,
.stuck .header-main {
    height: 90px !important;
    background: #fff;
}


.header-nav-main a.nav-top-link {
    font-family: Libre Bodoni, serif;
    font-weight: 400;
    font-size: 16px;
    color: #0051CA;
}

.header-nav-main a.nav-top-link:hover {
    cursor: pointer;
    color: unset !important;
}


.header-button a.button.plain.is-outline {
    border: 1px solid #fff;
}


.header-button a.button.plain.is-outline span {
    color: #fff;
    font-weight: 100 !important;
    padding: 7px 0px;
}

.header-button a.button.plain.is-outline:hover {
    background: linear-gradient(90deg, #175ef7 0%, #5296f1 100%);
    border: unset;
}


.my-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #f5f5f5;
    font-size: 14px;
}

.my-breadcrumb a {
    text-decoration: none;
    color: #818181;

}

.my-breadcrumb a:hover {
    text-decoration: underline;
}

.my-breadcrumb-current {
    font-weight: 600;
    color: #2F89F9;
    padding: 0px 20px 0px 10px;
}

.my-breadcrumb-sep {
    opacity: 0.6;
    padding: 3px 8px;
}

.my-breadcrumb-home .dashicons {
    font-size: 16px;
    padding: 2px 23px 0px;
}


.col-bg-about {
    position: relative;
    z-index: 1;
}

.col-bg-about::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/themes/flatsome-child/assets/img/bg-ab.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}


.img-box-proud:hover img {
    filter: brightness(0) saturate(100%) invert(48%) sepia(81%) saturate(1883%) hue-rotate(185deg) brightness(96%) contrast(94%);
    cursor: pointer;
}

.img-box-proud:hover h3 {
    color: #2F89F9 !important;
}


.img-box-proud h3 {
    min-height: 50px;
}


.col-img-radius img {
    border-radius: 22px;
}


.btn-cus {
    background: linear-gradient(90deg, #175ef7 0%, #5296f1 100%);
}

.btn-cus:hover {
    background: linear-gradient(90deg, #175ef7 0%, #5296f1 100%) !important;
    cursor: pointer;
}


.tab-cus ul.nav.nav-line-bottom.nav-normal {
    display: flex;
    justify-content: center;
    gap: 30px;
}


.tab-cus span {
    color: #545454;
    font-weight: 100;
}

.tab-cus .nav-line-bottom>li>a:before {
    bottom: 7px;
    top: auto;
    height: 1px;
}

.tab-cus .nav>li.active>a span,
.tab-cus .nav>li.current>a span,
.tab-cus .nav>li>a.active span,
.tab-cus .nav>li>a.current span,
.tab-cus .nav>li>a:hover span {
    color: #2F89F9;
}


i.icon-angle-down,
.nav-dropdown-has-arrow li.current-dropdown.has-dropdown:after,
.nav-dropdown-has-arrow li.current-dropdown.has-dropdown:before {
    display: none;
}

ul.sub-menu.nav-dropdown.nav-dropdown-default {
    margin-top: 10px;
    border-radius: 12px;
    --tw-bg-opacity: 1;
    background-color: rgb(246 246 246 / var(--tw-bg-opacity));
    padding-left: 10px;
    padding-right: 10px;
    padding: 10px;
    left: 0px;
}

.nav-dropdown li.active>a,
.nav-dropdown>li>a:hover {
    color: #2F89F9;
}

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



.text-content {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 10px;
}

.text-content::-webkit-scrollbar {
    width: 6px;
}

.text-content::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 10px;
}

.text-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}





.blog-promo-tags {
    margin: 18px 0 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-promo-tags .promo-tag {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    background: #e0f3ee;
    color: #000;
    --tw-bg-opacity: 1;
    background-color: rgb(240 253 251 / var(--tw-bg-opacity));
    border: 1px solid #CAB989;
}

.promo-line {
    margin: 2px 0;
    font-size: 14px;
}

.promo-short-list {
    margin: 10px 0 16px;
    padding-left: 18px;
}

p.promo-line {
    color: #000;
    margin-bottom: 8px;
}

.blog-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    margin-top: 12px;
}

.blog-meta-row .cat-label {
    margin: 0;
}

.blog-meta-row .post-meta-date {
    white-space: nowrap;
    font-size: 12px;
}


h5.post-title.is-large a {
    font-size: 18px;
    font-family: Libre Bodoni, serif;
    color: #000;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    text-overflow: ellipsis;
}


h5.post-title.is-large a:hover {
    color: #2F89F9;
}

.promo-short-list li {
    margin-left: 0px !important;
}


.promo-short-list li::marker {
    color: #DCDCDC;
}


.col.post-item .btn-xanh {
    border-radius: 99px;
}

.col.post-item .box-image {
    border-radius: 12px;
}


.col.post-item>.col-inner {
    background-color: #fff;
    height: 100%;
    border-radius: 12px;
    padding: 20px 20px 20px;
}


.blog-divide .col.post-item>.col-inner {
    background-color: #fff;
    height: 100%;
    border-radius: 12px;
    padding: 20px 20px 10px;
    --tw-border-opacity: 1;
    border-color: rgb(246 246 246 / var(--tw-border-opacity));
    border-width: 1px;
    border-style: solid;
}


.blog-divide .col.post-item:hover .image-cover {
    opacity: .6;
}

.col.post-item .image-cover {
    transition: all 0.3s ease;
}



.uu-dai-box {
    background: #f8f1df;
    border-radius: 16px;
    padding: 28px 30px 30px;
    font-size: 15px;
    line-height: 1.6;
}

.uu-dai-title {
    font-size: 26px;
    line-height: 1.3;
    margin: 0 0 16px;
    font-family: Libre Bodoni, serif;
    color: #000;
}

.uu-dai-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.uu-dai-tag {
    padding: 4px 14px;
    border-radius: 999px;
    border: 1px solid #e1d7b9;
    font-size: 13px;
    background: #fffaf0;
}

.uu-dai-divider {
    border-bottom: 1px solid #e5dfcf;
    margin: 10px 0 18px;
}

.uu-dai-line {
    margin: 4px 0;
}

.uu-dai-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-top: 22px;
    border-radius: 999px;

    border: none;
}

.uu-dai-btn:hover {
    filter: brightness(1.05);
}

.uu-dai-line strong {
    font-weight: 900 !important;
}



h1.entry-title {
    font-family: Libre Bodoni, serif;
    font-weight: 400;
    font-size: 32px;
    color: #0051CA;
}


.blog-vertical .col-inner {
    padding: 0px 12px !important;
}


.page-wrapper {
    padding-bottom: 0px;
    padding-top: 30px;
}

.row.row-large.row-divided {
    align-items: flex-start;
}

.row.row-large.row-divided .post-sidebar {
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

i.icon-menu {
    color: #0237a8;
}

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

    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .img-box-proud .image-cover {
        height: auto;
        padding-top: 144px !important;
    }


    .store-name {
        margin: 0 0 10px;
        font-size: 23px !important;
        font-weight: 600;
        color: #000;
        font-family: Libre Bodoni, serif;
    }


    .store-locator-right iframe {
        height: 420px;
    }

    .store-map-wrapper {
        border-radius: 0px !important
    }

    .tab-cus {
        width: 100%;
    }

    .tab-cus .nav {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .tab-cus .nav li a {
        display: inline-block;
        padding: 8px 6px;
        white-space: nowrap;
    }
}