/*
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.   ***************/

.header-nav-main a.nav-top-link {
    font-weight: 500;
}

.header-nav-main {
    display: flex;
    gap: 6px;
}

ul.nav.top-bar-nav.nav-right.nav-small.nav-divided {
    justify-content: flex-start;
}


li.html.custom.html_topbar_right {
    display: flex;
    margin-right: 0;
    margin-left: auto;
}

a.glink img {
    width: 34px !important;
}

.gtranslate_wrapper {
    display: flex;
    gap: 9px !important;
}


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


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

.section-footer {
    border-bottom: 1px solid #9595958f;
}

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


p.has-block.tooltipstered iframe {
    margin-bottom: -30px;
}


.num p {
    font-size: 95px;
    font-weight: 900;
    color: #fff;
    text-shadow: -1px -1px 0 #ccc, 1px -1px 0 #ccc, -1px 1px 0 #ccc, 1px 1px 0 #ccc;
    margin-bottom: -39px;
}

.row-5-count-up>.col {
    flex: 0 0 20%;
    max-width: 20%;
}

h5.post-title.is-large {
    color: #7F060F;
    font-size: 16px;

}

h5.post-title.is-large a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


h5.post-title.is-large {
    color: #7F060F;
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

h5.post-title.is-large:hover {
    color: #000;
}

.text-space p.uppercase {
    letter-spacing: 4px;
}


.img-radius img.attachment-large.size-large {
    border-radius: 4px;
}

.icon-box-check:hover img {
    animation: continuousRotateY 2s linear infinite;
    cursor: pointer;
}

.icon-box-check .icon-box-img:hover img {
    animation: continuousRotateY 2s linear infinite;
    cursor: pointer;
}

@keyframes continuousRotateY {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}



.row-doi-tac .img-inner.dark {
    display: flex;
    align-items: center;
    padding: 5px;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, .3);
    overflow: hidden;
}


.blog-small .flickity-prev-next-button .arrow,
.blog-smal .flickity-prev-next-button svg {
    display: none;
}


.box-image .image-cover a.plain {
    position: absolute;
    inset: 0;
    overflow: hidden;
    display: block;
}

.box-image .image-cover a.plain::before {
    content: '';
    position: absolute;
    top: 0;
    left: -85%;
    z-index: 10;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: left .9s cubic-bezier(.22, 1, .36, 1);
    pointer-events: none;
}

.box-image .image-cover a.plain:hover::before {
    left: 130%;
}

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

a.button.primary.is-default,
a.button.primary.is-outline {
    border-radius: 6px;
}


.my-breadcrumb {
    font-size: 16px;
    color: #222;
    margin-bottom: 18px;
}

.my-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.my-breadcrumb a:hover {
    cursor: pointer;
}

.my-breadcrumb .current {
    color: #777;
}


.cf7-contact-form {
    width: 100%;
}

.cf7-row {
    display: block;
    width: 100%;
    margin-bottom: 22px;
}

.cf7-two-col {
    display: flex;
    gap: 36px;
}

.cf7-col {
    flex: 1;
}

.cf7-contact-form input[type="text"],
.cf7-contact-form input[type="email"],
.cf7-contact-form input[type="tel"],
.cf7-contact-form textarea {
    width: 100%;
    border: 0;
    border-bottom: 2px solid #d9dde3;
    background: transparent;
    padding: 6px 0 12px 0;
    font-size: 18px;
    color: #222;
    outline: none;
    box-shadow: none;
    border-radius: 0;
    margin-bottom: -3px;
}

.cf7-contact-form textarea {
    min-height: 120px;
    resize: vertical;
    padding-top: 10px;
}

.cf7-contact-form ::placeholder {
    color: #8f98a3;
    font-size: 16px;
}

.cf7-contact-form input:focus,
.cf7-contact-form textarea:focus {
    border-bottom-color: #80000D;
}

.cf7-contact-form .wpcf7-form-control-wrap {
    display: block;
}

.cf7-actions {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.cf7-btn {
    border: 0;
    padding: 8px 16px;
    font-size: 16px;
    line-height: 1.2;
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
}

.cf7-btn-send {
    background: #0d6efd;
}

.cf7-btn-reset {
    background: #6c757d;
}

@media (max-width: 768px) {
    .cf7-two-col {
        flex-direction: column;
        gap: 18px;
    }
}

input.wpcf7-form-control.wpcf7-submit.has-spinner.cf7-btn.cf7-btn-send {
    border-radius: 6px;
}


ul.sub-menu.nav-dropdown.nav-dropdown-default {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: perspective(600px) rotateX(-75deg);
    transform-origin: top center;

    transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.23, 1, 0.32, 1), visibility 0.35s;

    min-width: 315px;
    background-color: #fafafa;
    border-radius: 0.25rem;
    box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.15);
    padding: 15px 0;
}

.menu-item-has-children:hover>ul.sub-menu.nav-dropdown.nav-dropdown-default,
.nav-top-link:hover>ul.sub-menu.nav-dropdown.nav-dropdown-default,
li:hover>ul.sub-menu.nav-dropdown.nav-dropdown-default {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: perspective(600px) rotateX(0deg);
}

ul.sub-menu.nav-dropdown.nav-dropdown-default:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: perspective(600px) rotateX(0deg);
}


.nav-dropdown>li>a:hover {
    color: #80000D;
}



.col-services-bottom .ux-menu-link.flex.menu-item {
    position: relative;
    padding-left: 48px;
    min-height: 50px;
}

.col-services-bottom .ux-menu-link.flex.menu-item::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 19px !important;
    left: 19px !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background-color: #F4EFEF !important;
    box-shadow: inset 1px 1px #ccc !important;
    z-index: 1;
}

.col-services-bottom .ux-menu-link__link {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 8px 0;
}

.col-services-bottom .ux-menu-link__text:hover {
    color: #80000D !important;
}


.col-services-text>.col-inner {
    border-radius: 12px 12px 0px 0px;
}


.col-services-bottom>.col-inner {
    border-radius: 0px 0px 12px 12px;
    border-bottom: 1px solid #80000D;
}



a.button.primary.lowercase.expand.btn-xem {
    margin-bottom: 0px;
}

.col-bao-gia p {
    padding-top: 15px;
}

h1.entry-title {
    color: #80000D;
    font-size: 30px;
    text-transform: uppercase;
    border-bottom: 1px solid #80000D;
    padding-bottom: 29px;
}


.page-wrapper {
    padding: 0px;
}

.col.col-services.medium-9.small-12.large-9 {
    flex-basis: 100%;
    max-width: 100%;
}


span.widget-title.shop-sidebar {
    background: #80000d;
    padding: 22px 20px;
    color: #fff;
    display: flex;
    border-radius: 12px 12px 0px 0px;
}

.widget .is-divider {
    display: none;
}


ul.product-categories {
    padding-left: 40px;
    background: rgb(246, 246, 246);
    padding: 10px 10px 10px 40px;
    border-bottom: 1px solid #80000D;
    border-radius: 0px 0px 12px 12px;
}



ul.product-categories a {
    color: #000;
}


p.name.product-title.woocommerce-loop-product__title {
    color: #000;
    font-size: 18px;
}

.col-cam-ket .icon-box.featured-box.icon-box-left.text-left {
    position: relative;
    padding-left: 20px;
}

.col-cam-ket .icon-box.featured-box.icon-box-left.text-left::after {
    content: '';
    position: absolute;
    left: 18px;
    right: 0;
    bottom: 9px;
    border-bottom: 1px dotted #e5e5e5;
}

h1.product-title.product_title.entry-title {
    border-bottom: 0px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

nav.woocommerce-breadcrumb.breadcrumbs.uppercase {
    display: none;
}

#tab-description {
    position: relative;
}

#tab-description.product-desc-collapsed {
    max-height: calc(1.6em * 19);
    padding-left: 22px;
    overflow: hidden;
}

#tab-description.product-desc-collapsed::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
}

#tab-description.product-desc-expanded {
    max-height: none;
}

#tab-description.product-desc-expanded::after {
    display: none;
}

.bubble-btn {
    position: relative;
    margin: 22px auto 0;
    padding: 10px 30px;
    border-radius: 999px;
    border: 1px solid #80000D;
    background: #ffffff;
    color: #80000D;
    font-size: 13px;
    letter-spacing: .28em;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.bubble-btn__label,
.bubble-btn__arrow {
    position: relative;
    z-index: 2;
    font-size: 18px;
}

.bubble-btn:hover,
.bubble-btn.is-expanded {
    background: #80000D;
    color: #fff;
    border-color: #80000D;
}

.bubble {
    position: absolute;
    bottom: -14px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.9);
    opacity: 1;
    pointer-events: none;
}

.bubble-1 {
    left: 22%;
    animation: bubble-rise .9s linear infinite;
}

.bubble-2 {
    left: 48%;
    animation: bubble-rise 1.1s linear infinite;
}

.bubble-3 {
    left: 68%;
    animation: bubble-rise 1.3s linear infinite;
}

.bubble-4 {
    left: 34%;
    animation: bubble-rise 1.05s linear infinite;
}

@keyframes bubble-rise {
    0% {
        transform: translateY(0) scale(.5);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        transform: translateY(-260%) scale(1);
        opacity: 0;
    }
}

@media (max-width:768px) {
    #tab-description.product-desc-collapsed {
        max-height: calc(1.6em * 16);
    }

    .bubble-btn {
        padding: 9px 36px;
        letter-spacing: .16em;
        font-size: 12px;
    }
}

button.product-desc-toggle.bubble-btn {
    display: flex;
}


.col-icon-box-top-bar .img {
    width: 25% !important;
}


.img-add {
    margin-left: 50px;
}

.img-utube {
    margin-left: 20px;
}

.img-face {
    margin-left: 67px;
}

a.button.primary.lowercase.btn-phone {
    margin-right: -140px !important;
    padding: 8px 20px 5px;
    border: 1px solid #80000D;
    border-radius: 50px;
    color: #80000D;
    animation: blinkColor 1s infinite ease-in-out;
    transition: color 0.3s ease-in-out;
    background: #fff;
}


@keyframes blinkColor {

    0%,
    100% {
        color: #3B6695;
        border-color: #3B6695;
    }

    50% {
        color: #80000D;
        border-color: #80000D;
    }
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/


}