/*
Theme Name: Flatsome Child
Description: Child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.19.6
*/

/*************** ADD CUSTOM CSS HERE ***************/
@font-face {
    font-family: 'Ganh';
    src: url('./assets/fonts/ganh/') format('woff2'),
        url('./assets/fonts/ganh/Ganh-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ganh';
    src: url('./assets/fonts/ganh/Ganh-Thin.woff2') format('woff2'),
        url('./assets/fonts/ganh/Ganh-Thin.woff') format('woff');
    font-weight: 100 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TNH Xuong';
    src: url('./assets/fonts/TNH-Xuong/TNHXuong.woff2') format('woff2'),
        url('./assets/fonts/TNH-Xuong/TNHXuong.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}



:root {
    --fs-color-black: #000;
    --fs-color-white: #fff;
    --fs-color-grey: #ccc;
    --FontAwesome: 'Font Awesome 7 Pro';
}

body {
    font-family: 'Ganh', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading-font {
    font-family: 'TNH Xuong', sans-serif;
}

p {
    margin-bottom: 15px;
}

.dark,
.dark p,
.dark td {
    color: var(--fs-color-white);
}

.pb-3 {
    padding-bottom: 30px;
}

.pb-4 {
    padding-bottom: 40px;
}

.pb-5 {
    padding-bottom: 50px;
}

.is-small,
.is-small.button {
    font-size: 14px;
}

.last-reset> :not(style):last-of-type {
    margin-bottom: 0 !important;
}

.last-reset img.size-full.alignnone {
    margin-bottom: 0;
}

.select-resize-ghost,
.select2-container .select2-choice,
.select2-container .select2-selection,
input[type='date'],
input[type='email'],
input[type='number'],
input[type='password'],
input[type='search'],
input[type='tel'],
input[type='text'],
input[type='url'],
select,
textarea {
    box-shadow: none;
    color: var(--fs-color-black);
    font-size: 1em;
    height: 40px;
    padding: 0 12px;
}

input[type='email']:focus,
input[type='number']:focus,
input[type='password']:focus,
input[type='search']:focus,
input[type='tel']:focus,
input[type='text']:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
    color: var(--fs-color-black);
}

.button,
button,
input[type='button'],
input[type='reset'],
input[type='submit'] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.5;
    min-height: 40px;
    padding: 0 10px;
}

.button span {
    line-height: 1.5;
}

.button i,
button i {
    top: 0;
    vertical-align: middle;
}

.button.icon {
    min-width: 2.25em;
    min-height: 2.25em;
}

.cart_totals .button {
    display: flex;
    align-items: center;
}

.button.white {
    color: var(--fs-color-base) !important;
}

.box a {
    display: inline-flex;
}

.box .box-text {
    font-size: 1em;
}

.box .add-to-cart-button a {
    display: inline-flex;
    width: fit-content;
}

.box-blog-post .is-divider {
    display: none;
}

form {
    margin-bottom: 0;
}

.col-child-left>.col-inner {
    margin-left: 0 !important;
    margin-right: auto !important;
}

.col-child-center>.col-inner {
    margin-left: auto !important;
    margin-right: auto !important;
}

.col-child-right>.col-inner {
    margin-left: auto !important;
    margin-right: 0 !important;
}

.off-canvas-left .mfp-content,
.off-canvas-right .mfp-content {
    background-color: var(--fs-color-white);
}

.off-canvas:not(.off-canvas-center) .nav-vertical li>a {
    color: var(--fs-color-black);
    font-size: 16px;
    font-weight: 500;
    text-transform: capitalize;
}

h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

[data-line-height=l] {
    line-height: 1.8 !important;
}

[data-line-height=xl] {
    line-height: 2 !important;
}

.show-all-items .flickity-slider>.row:not(.is-selected) {
    opacity: 1;
}

.gap-6 .flickity-slider>div {
    padding: 0 30px
}

.gap-6 .slider {
    margin-left: -30px;
    margin-right: -30px;
}

.show-for-home {
    display: none
}

.home .show-for-home {
    display: block
}

.video-button-wrapper .open-video {
    background: #fff;
    position: relative
}

.video-button-wrapper .open-video:before {
    content: '';
    position: absolute;
    inset: 2px;
    border: 4px solid #000;
    border-radius: 50%;
}

.video-button-wrapper .open-video i {
    color: #000;
    font-size: 1.125em !important;
}

/*************** HEADER ***************/
#header #masthead .flex-right {
    max-width: 330px
}

/*************** END HEADER ***************/



/*************** FOOTER ***************/
#footer .ux-menu .ux-menu-link__link {
    padding-bottom: 16px;
    padding-top: 16px;
}

#footer .absolute-footer.dark {
    color: hsla(0, 0%, 100%, 1);
}

.absolute-footer {
    font-size: .875em;
}

#footer .absolute-footer .container {
    max-width: 1330px;
}

/*************** END FOOTER ***************/


/*************** LANDING 1 ***************/

.guide-section .guide-boxs-row .one-box-col .box {
    background-color: #E0C091;
    border-radius: 16px;
    margin-top: 31%;
}

.guide-section .guide-boxs-row .one-box-col .box .box-image {
    overflow: visible;
    text-align: center;
}

.guide-section .guide-boxs-row .one-box-col .box .box-image img {
    max-width: 90%;
    margin: -30% auto 0
}

.guide-section .guide-boxs-row .one-box-col .box .box-text {
    padding: 10px 30px;
}

.guide-section .guide-boxs-row .one-box-col .box .box-text h4 {
    font-size: 1.77824vw;
    color: #541400;
}

.guide-section .guide-boxs-row .one-box-col .box .box-text p {
    font-size: 1.412134vw;
}

.guide-section .guide-boxs-row .three-box-col .box.box-vertical {
    direction: rtl;
}

.guide-section .guide-boxs-row .three-box-col .box.box-vertical+.box.box-vertical {
    margin-top: 30px;
}

.guide-section .guide-boxs-row .three-box-col .box.box-vertical .box-image {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
}

.guide-section .guide-boxs-row .three-box-col .box.box-vertical .box-text {
    padding: 6px 30px;
    max-width: 80%;
    background-color: #E0C091;
    border-radius: 16px;
}

.guide-section .guide-boxs-row .three-box-col .box .box-text h4 {
    font-size: 1.62134vw;
    color: #541400;
}

.guide-section .guide-boxs-row .three-box-col .box .box-text p {
    font-size: 0.78452vw;
}

.guide-section .guide-boxs-row .three-box-col .box.box-vertical:nth-child(3) .box-image {
    width: 35% !important;
}

.hanh-trinh-slider .flickity-slider>.img {
    position: relative;
    margin-right: 6vw;
}

.hanh-trinh-slider .flickity-slider>.img:after {
    content: '';
    display: inline-block;
    width: 2vw;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: #893D1B;
    position: absolute;
    right: -3vw;
    top: 50%;
    transform: translateY(-50%) translateX(50%);
}

.timeline-section .timeline-item-row>.col>.col-inner {
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.timeline-section .timeline-item-row .year-text {
    font-family: 'TNH Xuong', sans-serif;
    color: var(--fs-color-primary);
    white-space: nowrap;
    font-size: 32px;
    transform: rotate(-90deg) translateX(-92px);
    width: 40px;
}

.timeline-section .timeline-item-row .year-text p {
    margin: 0;
}

.timeline-section .timeline-item-row .banner .button {
    font-family: 'TNH Xuong', sans-serif;
    min-height: unset;
    background-color: #E0C091;
    color: var(--fs-color-primary);
}

.timeline-section .timeline-slider .slider {
    padding-bottom: 50px;
}

.timeline-section .timeline-slider .flickity-button {
    opacity: 1;
    height: auto;
    bottom: 0;
    top: auto;
}

.timeline-section .timeline-slider .flickity-button.previous {
    left: 32%;
}

.timeline-section .timeline-slider .flickity-button.next {
    left: auto;
    right: 32%;
}

.flickity-prev-next-button {
    color: var(--fs-color-primary);
}

.khau-vi-slider .flickity-slider>div:not(.col) {
    transition: transform 1s, opacity 1s, box-shadow 1s;
}

.khau-vi-slider .slider {
    margin-left: -15px;
    margin-right: -15px;
}

.khau-vi-slider .row.lightbox-multi-gallery {
    margin-left: 0;
    margin-right: 0;
}


/*************** END LANDING 1 ***************/


/*************** END LANDING 3 ***************/
.landing-3-hero-section .img .overlay {
    height: 30%;
    top: auto;
    background: linear-gradient(to top, rgb(0 0 0 / 60%), transparent);
}

.thoi-bao-section .box.box-vertical .box-text {
    padding: 0 0 0 20px;
    vertical-align: text-top;
}

.thoi-bao-section .thoi-bao-row-item>.col.large-6 .box .box-text .text {
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.thoi-bao-section .slider {
    padding-bottom: 50px
}

.thoi-bao-section .slider .flickity-button {
    bottom: 0;
    top: auto;
    margin-top: 0;
    opacity: 1;
}


.thoi-bao-section .slider .flickity-button.previous {
    left: 30%
}

.thoi-bao-section .slider .flickity-button.next {
    right: 30%;
    left: auto
}

/*************** END LANDING 3 ***************/

@media only screen and (min-width: 850px) {
    .row-5-cols>.col {
        max-width: 20%;
        flex-basis: 20%
    }
}

@media only screen and (max-width: 849px) {

    /*************** ADD TABLET CSS HERE ***************/
    #header.transparent .header-main {
        height: 150px;
    }

    #header #logo {
        width: 108px;
    }

    .guide-text-col {
        padding-left: 0;
        padding-right: 0;
    }

    .guide-text-col>.col-inner {
        padding: 10px 15px;
        background-color: #e0c091;
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .guide-text-col>.col-inner .title-text {
        width: 200px;
    }

    .guide-text-col>.col-inner .content-text {
        flex: 1
    }

    h2 {
        font-size: 2em;
    }

    .guide-section .guide-boxs-row .three-box-col .box.box-vertical .box-text {
        border-radius: 8px;
    }

    .guide-section .guide-boxs-row .one-box-col .box {
        border-radius: 8px;
    }

    .guide-section .guide-boxs-row .one-box-col .box .box-text h4 {
        font-size: 18px;
    }

    .guide-section .guide-boxs-row .one-box-col .box .box-text p {
        font-size: 14px;
    }

    .guide-section .guide-boxs-row .three-box-col .box .box-text h4 {
        font-size: 18px;

    }

    .guide-section .guide-boxs-row .three-box-col .box .box-text p {
        font-size: 14px;

    }

    .guide-section .guide-boxs-row .three-box-col .box.box-vertical+.box.box-vertical {
        margin-top: 35px;
    }

    .guide-section .guide-boxs-row .three-box-col .box.box-vertical .box-image {
        width: 25% !important;
    }

    .guide-section .guide-boxs-row .three-box-col .box.box-vertical:nth-child(3) .box-image {
        width: 30% !important;
    }

    .timeline-section {
        background-color: #fff !important;
    }

    .khoi-text img.size-full.alignnone {
        max-width: 55%;
    }


}

@media only screen and (max-width: 549px) {

    /*************** ADD MOBILE ONLY CSS HERE ***************/
    #footer .ux-menu .ux-menu-link__link {
        font-size: 12px;
        padding-bottom: 12px;
        padding-top: 12px;
    }

    .absolute-footer {
        font-size: .75em;
    }

    h2 {
        font-size: 1.5em;
    }

    .guide-text-col>.col-inner .title-text {
        width: 120px;
    }

    [data-line-height=xl] {
        line-height: 1.5 !important;
    }

    .guide-section .guide-boxs-row .box.box-vertical {
        display: table;
    }

    .guide-section .guide-boxs-row .box.box-vertical .box-image {
        direction: ltr;
        display: table-cell;
        vertical-align: middle;
    }

    .guide-section .guide-boxs-row .box.box-vertical .box-text {
        direction: ltr;
        display: table-cell;
        vertical-align: middle;
    }

    .guide-section .guide-boxs-row .three-box-col .box.box-vertical .box-text {
        padding: 4px 12px;
    }

    .guide-section .guide-boxs-row .one-box-col .box .box-text {
        padding: 10px 20px;
    }

    .guide-section .guide-boxs-row .one-box-col .box .box-text h4 {
        font-size: 16px;

    }

    .guide-section .guide-boxs-row .one-box-col .box .box-text p {
        font-size: 12px;
    }

    .guide-section .guide-boxs-row .three-box-col .box .box-text h4 {
        font-size: 14px;
    }

    .guide-section .guide-boxs-row .three-box-col .box .box-text p {
        font-size: 10px;
    }

    .guide-section .guide-boxs-row .three-box-col .box.box-vertical+.box.box-vertical {
        margin-top: 18px;
    }

    .guide-section .guide-boxs-row .three-box-col .box.box-vertical .box-image {
        width: 28% !important;
    }

    .guide-section .guide-boxs-row .three-box-col .box.box-vertical:nth-child(3) .box-image {
        width: 32% !important;
    }

    .small-pb-half {
        padding-bottom: 15px !important;
    }

    .small-pb-half-small {
        padding-bottom: 10px !important;
    }

    .small-pb-0 {
        padding-bottom: 0 !important;
    }

    .timeline-section .timeline-slider .slider {
        padding-bottom: 0;
        padding-right: 90px;
    }

    .timeline-section .timeline-slider .flickity-button.next {
        display: block;
        right: 50px;
        top: 0;
    }

    .timeline-section .timeline-item-row .year-text {
        font-size: 24px;
        transform: rotate(-90deg) translateX(-66px);
        width: 36px;
    }

    .khoi-text {
        font-size: 0.625rem !important;
    }

    .vertical-for-small.box {
        display: table;
        width: 100%;
    }

    .vertical-for-small.box .box-image {
        direction: ltr;
        display: table-cell;
        vertical-align: top;
    }

    .vertical-for-small.box-vertical .box-image {
        width: 30% !important;
    }

    .vertical-for-small.box .box-text {
        direction: ltr;
        display: table-cell;
    }

}


@media only screen and (max-width: 399px) {
    .guide-section .guide-boxs-row .one-box-col .box {
        margin-top: 33%;
    }

    .guide-section .guide-boxs-row .three-box-col .box .box-text h4 {
        font-size: 15px;
    }

    .guide-section .guide-boxs-row .three-box-col .box .box-text p {
        font-size: 8px;
    }
}

.is-xxxlarge {
    font-size: 2.5em
}

.is-xxlarge {
    font-size: 2em
}

.is-xlarge {
    font-size: 1.875em
}

.is-larger {
    font-size: 1.5em
}

.is-large {
    font-size: 1.125em
}

.is-small,
.is-small.button {
    font-size: .875em
}

.is-smaller {
    font-size: .75em
}

.is-xsmall {
    font-size: .625em;

}

.is-xxsmall {
    font-size: .5em;
}

@media(max-width: 549px) {
    .is-xxxlarge {
        font-size: 2em
    }

    .is-xxlarge {
        font-size: 1.875em
    }

    .is-xlarge {
        font-size: 1.5em
    }

    .is-larger {
        font-size: 1.25em
    }

    .is-large {
        font-size: 1em
    }
}