/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: Quang Hoa
Author URI: hoanqhd@gmail.com
Template: flatsome
Version: 3.20.1
Text Domain: shtheme
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.uppercase, h6, th, span.widget-title {
    letter-spacing: 0;
}
td, th {
    font-size: 1em;
}
td {
    color: inherit;
}
b, strong, .nav-dropdown .menu-item-has-children>a, .nav-dropdown .nav-dropdown-col>a, .nav-dropdown .title>a {
    font-weight: bold;
}
.text-box .text {
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
}
.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.button:not(.icon, .is-small, .is-smaller, .is-xsmall, .is-xxsmall, .is-large, .is-larger, .is-xlarger, .is-xxlarger, .is-xxxlarger), button, input[type=button], input[type=reset], input[type=submit] {
    font-size: 1em;
}
.button, input[type=submit], input[type=submit].button, input[type=reset].button, input[type=button].button {
    font-weight: bold;
    letter-spacing: 0;
}
.button.is-outline, input[type=submit].is-outline, input[type=reset].is-outline, input[type=button].is-outline {
    border-width: 1px;
}
.button.is-outline {
    color: inherit;
    line-height: calc( 2.5em - 2px );
}
select, .select-resize-ghost, .select2-container .select2-choice, .select2-container .select2-selection {
    padding-right: 1.6em;
}
.box-text {
    font-size: 1em;
}
.breadcrumbs {
    font-size: .875rem;
    text-transform: none;
}
.breadcrumbs a {
    color: inherit;
}
.mfp-bg {
    background-color: rgba(0, 0, 0, .7);
}
.mfp-bg.mfp-ready {
    opacity: 1;
}

/*--------------------------------------------------------------
## Header 
--------------------------------------------------------------*/
.nav-dark .is-outline, .dark .nav>li>a, .dark .nav>li.html, .dark .nav-vertical li li.menu-item-has-children>a, .dark .nav-vertical>li>ul li a, .nav-dropdown.dark>li>a, .nav-dropdown.dark .nav-column>li>a, .nav-dark .nav>li>a, .nav-dark .nav>li>button {
    color: #FFF;
}
.nav>li>a, .nav-dropdown>li>a, .nav-column>li>a {
    color: inherit;
}
.nav-column>li>a, .nav-dropdown>li>a, .nav-vertical-fly-out>li>a, .nav>li>a {
    color: inherit;
}
.header .nav>li>a {
    font-size: .875rem;
}
.header-top .nav-uppercase>li>a {
    text-transform: none;
}
.nav-uppercase>li>a {
    letter-spacing: 0;
}
.header .nav-dropdown {
    color: inherit;
}
.nav-dropdown-has-arrow li.has-dropdown:before {
	border-width: 12px;
}
.nav-dropdown-has-arrow li.has-dropdown:after {
    border-width: 10px;
    margin-left: -9px;
}
.nav-dropdown-has-border .nav-dropdown {
	border-width: 1px;
}
.menu-item-design-default > .nav-dropdown.nav-dropdown-default {
    padding: 0;
    display: block;
}
.menu-item-design-default > .nav-dropdown.nav-dropdown-default>li.nav-dropdown-col, 
.menu-item-design-default > .nav-dropdown.nav-dropdown-default>li.image-column {
    display: block;
    width: 100%;
    border-right: none;
}
.menu-item-design-default > .nav-dropdown.nav-dropdown-default li {
    position: relative;
}
.menu-item-design-default > .nav-dropdown.nav-dropdown-default .menu-item-has-children>a, 
.menu-item-design-default > .nav-dropdown.nav-dropdown-default .title>a, 
.menu-item-design-default > .nav-dropdown.nav-dropdown-default .nav-dropdown-col>a {
    font-size: 1em;
    font-weight: normal;
    color: inherit;
    text-transform: none;
}
.menu-item-design-default > .nav-dropdown.nav-dropdown-default {
    min-width: 210px;
}
.menu-item-design-default > .nav-dropdown.nav-dropdown-default ul { 
    background-color: #fff;
    min-width: 210px;
    top: 0;
    left: 100%; 
    position: absolute; 
    -webkit-box-shadow: 1px 1px 15px rgba(0,0,0,0.15);
    box-shadow: 1px 1px 15px rgba(0,0,0,0.15);
    z-index: 99999; 
    opacity: 0; 
    visibility: hidden;
    -moz-transition: 0.2s ease-in-out; 
    -o-transition: 0.2s ease-in-out; 
    -webkit-transition: 0.2s ease-in-out; 
    transition: 0.2s ease-in-out; 
}
.menu-item-design-default > .nav-dropdown.nav-dropdown-default li:hover > ul { 
    opacity: 1; 
    visibility: visible; 
}
.menu-item-design-default > .nav-dropdown.nav-dropdown-default .nav-dropdown-col .menu-item-has-children {
    margin-top: 0;
}

/* Header Template Element */
.nav-click {position: relative;width: 18px;height: 12px;cursor: pointer;display: block;z-index: 999;}
.nav-click span, .nav-click::after, .nav-click::before {content: '';background: #000;position: absolute;height: 2px;transition: all .3s ease-in-out;pointer-events: none;}
.nav-dark .nav-click span, .nav-dark .nav-click::after, .nav-dark .nav-click::before {background-color: #FFF;}
.nav-click::after,.nav-click::before{top:0;right:0;width:18px;transform-origin:50% 50%}
.nav-click::after{top:11px;width:18px}
.nav-click span{top:6px;right:0;width:18px}
.nav-click + .menu-title {display: block;margin-left: .5em}
.has-off-canvas .current-lightbox-clicked .nav-click span{opacity:0}
.has-off-canvas .current-lightbox-clicked .nav-click::before{width:70%;left:17%;transform:rotate3d(0,0,1,45deg);top:43%}
.has-off-canvas .current-lightbox-clicked .nav-click::after{width:70%;left:15%;transform:rotate3d(0,0,1,-45deg);top:41%}
.off-canvas:not(.off-canvas-center) .nav-vertical li>a {
    font-size: .875rem;
}
/*--------------------------------------------------------------
## Widget 
--------------------------------------------------------------*/
/* Widget Recent Posts */
.sidebar .widget_recent_entries ul li { padding: 5px 10px; border-bottom: 1px solid #cccccc; }
.sidebar .widget_recent_entries ul li:last-child { border-bottom: none; }
.sidebar .widget_recent_entries ul li .post-date { display: block; }

/* Widget Recent Posts */
.widget_list_posts .post-item {
    padding-bottom: 0;
}
.widget_list_posts .post-item:not(:last-child) .col-inner {
    margin-bottom: 20px;
}
.widget_list_posts .blog-post-inner .post-title {
    font-size: .875rem;
    margin: 0 0 5px 0;
}
.widget_list_posts .blog-post-inner .post-title a {
    line-height: 1.4;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 2.8em;
    width: auto;
}
.widget_list_posts .from_the_blog_excerpt {
    font-size: .875rem;
}
.widget_list_posts .box-vertical {
    display: flex;
}
.widget_list_posts .box-vertical .box-image {
    flex: 0 0 30%;
}
.widget_list_posts .box-vertical .box-text {
    padding: 0 0 0 20px;
}
.widget_list_posts__alignright .box-vertical .box-text {
    order: -1;
    padding: 0 20px 0 0;
}

/* Widget Information */
.widget_information ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.widget_information ul li {
    padding: 3px 0 3px 1.2em;
    position: relative;
}
.widget_information ul li + li {
	border-top: none;
}
.widget_information ul li.hidden_icon {
    padding-left: 0;
}
.widget_information ul li.hidden_icon i {
    display: none;
}
.widget_information li i {
    font-size: 0.75em;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: .75em;
    width: 1em;
    text-align: center;
}
.widget_information li.label-company {
    padding-left: 0;
    text-transform: uppercase;
    font-weight: bold;
}
.widget_information li.label-company i {
    display: none;
}

/*--------------------------------------------------------------
## Shortcode 
--------------------------------------------------------------*/
/* Shortcode Blog */
.sh-blog-shortcode .element .entry-thumb .image-zoom {
    padding-top: 56%;
}
.sh-blog-shortcode .element .entry-content {
    margin: 0;
    padding: 0;
    font-size: 0.9375rem;
}
.sh-blog-shortcode .element .entry-content p {
    margin-bottom: 10px;
}
.sh-blog-shortcode .element .entry-meta {
    opacity: .7;
    font-style: italic;
    margin-bottom: 5px;
    font-size: .875rem;
}
.sh-blog-shortcode .element .entry-meta i {
    margin-right: 5px;
}
.sh-blog-shortcode .element .entry-title {
    margin: .5em 0 .5em;
    font-size: 1rem;
    font-weight: 600;
}
.sh-blog-shortcode .element .entry-title a {
    color: inherit;
    line-height: 1.4em;
    width: auto;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    max-height: 2.8em;
}
.sh-blog-shortcode .element .entry-description {
    text-align: justify;
    line-height: 1.4;
    font-size: 0.9375rem;
}
.sh-blog-shortcode.style-1 .post-inner {
    display: flex;
}
.sh-blog-shortcode.style-1 .entry-thumb {
    flex: 0 0 25%;
    margin-right: 15px;
}
.sh-blog-shortcode.style-1 .entry-title {
    margin: 0 0 5px 0;
}
.sh-blog-shortcode.style-5 .post-inner {
    display: flex;
}
.sh-blog-shortcode.style-5 .entry-thumb {
    flex: 0 0 30%;
    margin-right: 15px;
}
.sh-blog-shortcode.style-5 .entry-title {
    margin-top: 0;
}
.sh-blog-shortcode.style-6 .first-element-layout .entry-title {
    margin: 15px 0 10px 0;
}
.sh-blog-shortcode.style-6 .second-element-layout .element:not(:last-child) {
    margin-bottom: 15px;
}
.sh-blog-shortcode.style-6 .second-element-layout .element:last-child {
    margin-bottom: 0;
}
.sh-blog-shortcode.style-6 .second-element-layout .post-inner {
    overflow: hidden;
}
.sh-blog-shortcode.style-6 .second-element-layout .post-inner {
    display: flex;
}
.sh-blog-shortcode.style-6 .second-element-layout .entry-thumb {
    flex: 0 0 30%;
    margin: 0 20px 0 0;
}
.sh-blog-shortcode.style-6 .second-element-layout .entry-thumb .image-zoom {
    padding-top: 62%;
}
.sh-blog-shortcode.style-6 .second-element-layout .entry-title {
    margin-top: 0;
    font-size: .875rem;
}
.sh-blog-shortcode.style-7 .first-element-layout .element .entry-thumb {
    flex: 0 0 30%;
    margin-right: 20px;
}
.sh-blog-shortcode.style-7 .first-element-layout .element .entry-title {
    margin: 0 0 5px 0;
}
.sh-blog-shortcode.style-7 .second-element-layout {
    margin-bottom: 20px;
}
.sh-blog-shortcode.style-7 .second-element-layout .element {
    margin-bottom: 5px;
}
.sh-blog-shortcode.style-7 .second-element-layout .element .entry-title {
    margin: 0;
}
.sh-blog-shortcode.style-7 .second-element-layout .element .entry-title a:before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    background: #337ab7;
    border-radius: 50%;
    position: relative;
    top: -2px;
    margin-right: 5px;
}
.sh-blog-shortcode.style-8 .element .post-inner {
    position: relative;
}
.sh-blog-shortcode.style-8 .element .entry-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 10px;
}
.sh-blog-shortcode.style-8 .element .entry-title {
    font-size: .875rem;
    line-height: 20px;
    margin: 0;
}
.sh-blog-shortcode.style-8 .element .entry-title a {
    display: block;
}
/* Shortcode Title Product */
.uni-titlepro ul li {
    margin-left: 0;
    display: block;
}
.uni-titlepro .open-subcat {
    white-space: nowrap;
    cursor: pointer;
}
@media (min-width: 850px) {
    .uni-titlepro {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
    }
    .uni-titlepro .open-subcat {
        display: none;
    }
    .uni-titlepro ul li {
        display: inline-block;
    }
    .uni-titlepro li + li {
        margin-left: 30px;
    }
}
@media (max-width: 849.98px) {
    .uni-titlepro__main {
        display: flex;
        justify-content: space-between;
    }
    .uni-titlepro ul {
        display: none;
        overflow: hidden;
        margin-left: -5px;
        margin-right: -5px;
    }
    .uni-titlepro ul li {
        float: left;
        width: 50%;
        padding-left: 5px;
        padding-right: 5px;
    }
    .uni-titlepro ul li:last-child {
        width: 100%;
    }
}
/* Shortcode Custom Menu */
.uni_custom_menu ul.menu li {
    border: none;
}
/* UX Shortcode */
.ux-menu-link__link {
    min-height: unset;
}
/* Category */
.blog-post-inner .post-title {
    font-size: 1rem;
    margin: .5em 0 1em;
}
.blog-post-inner .is-divider {
    display: none;
}
.blog-post-inner .from_the_blog_excerpt {
    font-size: .875rem;
}
/* Single Post */
.entry-header h1.entry-title, h1.page-title {
    font-size: 1.875rem;
    color: var(--fs-color-primary);
}
.entry-header h1.entry-title + .is-divider {
    display: none;
}
.entry-header-text-top {
    padding-bottom: 0;
}
.entry-category a, .entry-meta a {
    color: inherit;
}
.entry-category a:hover, .entry-meta a:hover {
    color: var(--fs-color-primary);
}
ul.links li {
    margin: 0 .4em !important;
}
.nav-pagination>li>span, .nav-pagination>li>a {
    border: none;
    border-radius: 6px;
    height: 2.25em;
    line-height: 2.25em;
}
/* Wpcf7 */
.wpcf7-form {
    margin-bottom: 0;
}
.wpcf7 .button {
    min-width: 10em;
    margin-bottom: 0;
}
.wpcf7 .wpcf7-response-output {
    border-radius: 0;
}
.wpcf7-not-valid-tip, .wpcf7 form .wpcf7-response-output {
    font-size: .9em;
}
.wpcf7 form .wpcf7-response-output {
    margin: 1em 0 1em;
}
.wpcf7 .flex-row + .wpcf7-response-output {
    margin-top: 3em !important;
}
.wpcf7 .wpcf7-spinner {
    display: none !important;
}
/* Template - Header */
.header-cart-title {
    line-height: 1.2;
}
.header li.cart-item > a {
    display: inline-flex;
    flex-direction: row-reverse;
}
.header li.cart-item span+.image-icon {
    margin-left: 0;
    margin-right: 10px;
}
/* Footer */
.footer-wrapper .widget {
    margin-bottom: 0;
}
.section-footer {
    background: url(assets/img/home_footer.png);
}
.section-footer .ux-menu-link__link {
    padding-left: 1.75em;
}
.section-footer .ux-menu-link__link::before {
    content: '';
    width: 1.5em;
    height: 1.5em;
    background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2225%22%20viewBox%3D%220%200%2024%2025%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url(%23clip0_4001_256)%22%3E%3Cpath%20d%3D%22M10%2017.9102L15%2012.9102L10%207.91016V17.9102Z%22%20fill%3D%22%23161616%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_4001_256%22%3E%3Crect%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22white%22%20transform%3D%22translate(0%200.910156)%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
}
.section-footer .ux-menu-link__link:hover {
    color: var(--fs-color-primary);
}
.absolute-footer {
    padding: 10px 0 10px;
}
.absolute-footer.dark {
    color: #FFF;
}
@media (min-width: 850px) {
    .footer-secondary {
        padding: 0;
    }
}

/*--------------------------------------------------------------
## Custom Css 
--------------------------------------------------------------*/
.p-0 p, .p-last-0 p:last-of-type {
    margin-bottom: 0;
}
.dark, .dark p, .dark td {
    color: #FFF;
}
.white {
    background-color: #FFF !important;
    color: #000 !important;
}
.white.is-outline:hover {
    color: #000 !important;
}
.res-text,
.widget-area .res-text,
[class*="large-"] .res-text,
[class*="medium-"] .res-text,
[class*="small-"] .res-text {
    font-size: inherit;
}
.uni-slider-button .flickity-prev-next-button {
    width: 40px !important;
    opacity: .8 !important;
}
.uni-slider-button .flickity-prev-next-button svg {
    border-radius: 50%;
    background: #FFF;
    padding: 30% !important;
    width: 40px !important;
    height: 40px !important;
}
.uni-slider-button .flickity-prev-next-button .arrow, .uni-slider-button .flickity-prev-next-button svg {
    fill: var(--primary-color);
}
.slider-nav-push.uni-slider-button:not(.slider-nav-reveal) .flickity-prev-next-button {
    margin-top: -40px;
}
.button-main {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 3em;
    line-height: normal;
}
.social-icons a.icon:not(.button), .social-icons .button {
    margin-left: .5em;
    margin-right: .5em;
}
.social-icons a:first-of-type {
    margin-left: 0 !important;
}
.social-icons a:last-of-type {
    margin-right: 0 !important;
}
.accordion-title {
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: bold !important;
    margin-bottom: .3em;
}
.accordion-title.active {
    background: none;
}
.accordion .toggle {
    opacity: 1;
    color: var(--primary-color) !important;
}
.accordion-inner {
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
}
/**/
.header-bottom {
    box-shadow: 0 5px 8px rgba(0, 0, 0, .2);
}
.header-bottom .nav>li>a {
    font-size: 1rem;
}
/**/
.slider-partners .col {
    padding-bottom: 0;
}
.slider-partners .box-image {
    position: relative;
    width: 100%;
    padding-top: 50%; /* 2:1 ratio (1/2 = 50%) */
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-partners .box-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
.slider-partners .flickity-prev-next-button {
    bottom: unset;
    top: 50%;
    margin-top: -20px;
}
.recent-blog-posts a {
    color: #000;
}
.recent-blog-posts a:hover {
    color: var(--fs-color-primary);
}
@keyframes play {
    0% {
        transform: scale(.9)
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent;
    }

    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 transparent
    }
}
.cta {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 25px;
    bottom: 30px;
    z-index: 99;
}
.button-contact a {
    display: block;
    width: 50px;
    border-radius: 50%;
/*    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);*/
}
.button-contact__phone img {
    box-shadow: 0 0 0 0 #c30a07;
}
.button-contact__zalo img {
    box-shadow: 0 0 0 0 #0091FF;
}
.button-contact__mesenger img {
    box-shadow: 0 0 0 0 #0866FF;
}
.button-contact img {
    border-radius: 50%;
    animation: play 2s ease infinite;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}
.button-contact:first-child img {
    border-radius: 99px;
}
.button-contact + .button-contact {
    margin-top: 16px;
}
@media (max-width: 549px) {
    .cta {
        left: 15px;
/*        bottom: 120px;*/
    }
    .button-contact + .button-contact {
        margin-top: 10px;
    }
    /*.button-contact a {
        width: 55px;
    }*/
}

/*--------------------------------------------------------------
## Responsive 
--------------------------------------------------------------*/
@media (max-width: 1199px) {
	
}

@media (max-width: 849px) {
    
}

@media (max-width: 549px) {
    
}
