/*
Theme Name: Flatsome Child
Theme URI: univn.vn
Description: This is a child theme for Flatsome Theme
Author: Quang Hoa
Author URI: hoanqhd@gmail.com
Template: flatsome
Version: 3.0
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;
}
.uni-breadcrumbs {
	margin-bottom: 30px;
}
.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.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;
}
.nav-dropdown-default .nav-column li>a, .nav-dropdown.nav-dropdown-default>li>a {
    font-weight: bold;
    margin: 0;
    padding: 10px;
}
.nav-dropdown-default .nav-column li>a:hover, .nav-dropdown.nav-dropdown-default>li>a:hover {
    background-color: #000000;
    color: var(--primary-color);
}
.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: 250px;
}
.menu-item-design-default > .nav-dropdown.nav-dropdown-default ul { 
    background-color: #fff;
    min-width: 250px;
    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: 32px;height: 32px;cursor: pointer;display: block;z-index: 999;}
.nav-click span, .nav-click::after, .nav-click::before {content: '';background-color: #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:6px;right:0;width:30px;transform-origin:50% 50%}
.nav-click::after{top:23px;width:30px}
.nav-click span{top:15px;right:0;width:30px}
.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;
}
.off-canvas-left .mfp-content, .off-canvas-right .mfp-content {
    background-color: #FFF;
}
/*--------------------------------------------------------------
## 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;
    text-transform: uppercase;
}
.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;
    -webkit-box-orient: vertical;
    max-height: 2.8em;
    width: auto;
}
.widget_list_posts .post-meta {
    opacity: 1;
    font-size: 1em;
}
.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;
    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 {
    font-size: 1.5rem;
}
.entry-header h1.entry-title + .is-divider {
    display: none;
}
.entry-header-text-top {
    padding-bottom: 0;
}
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 input:not([type="submit"]), .wpcf7 textarea {
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #232323;
    box-shadow: none !important;
    padding-left: 0;
    padding-right: 0;
}
.wpcf7 input:not([type="submit"]):focus, .wpcf7 textarea:focus {
    border-bottom-color: var(--primary-color);
}
.wpcf7 .button {
    min-width: 100px;
    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 .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;
}
.footer-wrapper .widget-title {
    font-size: 1.125rem;
    text-transform: none;
}
.footer-wrapper .widget-title + .is-divider {
    max-width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}
.footer-wrapper .widget_recent_entries {
    text-transform: uppercase;
}
.footer-wrapper .widget_recent_entries li a {
    font-weight: bold;
}
.footer-wrapper .widget_list_posts .blog-post-inner .post-title {
    font-size: .75rem;
}
.footer-wrapper .widget_list_posts .blog-post-inner .post-title a {
    -webkit-line-clamp: 3;
    max-height: 4.2em;
}
@media (min-width: 850px) {
    .footer-wrapper .social-icons {
        display: flex;
        flex-wrap: wrap;
    }
    .footer-wrapper .social-icons a.icon:not(.button) {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        border-right: 1px solid rgba(255, 255, 255, 0.2);
        margin: 0;
        font-size: 18px;
    }
    .footer-wrapper .social-icons a.icon:not(.button):first-child {
        border-left: 1px solid rgba(255, 255, 255, 0.2);
    }
}
.absolute-footer {
    display: none;
    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;
}
.fs-12 {
    font-size: .75rem;
}
.dark, .dark p, .dark td {
    color: #FFF;
}
/**/
#top-bar {
    background: #0076ff;
    background: -moz-linear-gradient(left, #0076ff 0%, #1fd87c 100%);
    background: -webkit-linear-gradient(left, #0076ff 0%, #1fd87c 100%);
    background: linear-gradient(to right, #0076ff 0%, #1fd87c 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0076ff', endColorstr='#1fd87c',GradientType=1 );
}
.header-top .nav>li>a {
    font-size: .75rem;
}
.select-address {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1em;
}
.select-address__dropdown .selected {
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 3rem;
    padding: 5px 10px;
    cursor: pointer;
}
.select-address__options {
    position: absolute;
    left: 0;
    top: 30px;
    width: 168px;
    color: #000;
    background-color: #FFF;
    display: none;
    z-index: 1000;
    padding: 10px 0;
    -webkit-box-shadow: 0px 7px 5px 3px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 7px 5px 3px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 7px 5px 3px rgba(0, 0, 0, 0.1);
}
.select-address__options.active {
    display: block;
}
.select-address__options:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid #fff;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    position: absolute;
    top: -12px;
    left: 20px;
}
.select-address__options span {
    display: block;
    padding: 5px 10px;
    cursor: pointer;
}
.select-address__options span:hover {
    background-color: #000;
    color: #FFF;
}
.header-main {
    border-bottom: 2px solid #1ac890;
}
.header-main .nav>li>a {
    letter-spacing: 1px;
}
.header-main .header-button .button {
    font-size: .875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: normal;
    min-height: 3em;
}
.header-main .header-button .button:not(.icon) {
    padding: .6em 1em;
    letter-spacing: 1px;
}
.header-main .button.icon {
    min-width: 3em;
    min-height: 3em;
}
/* Home */
.banner-home .container {
    max-width: unset;
}
.banner-home .text-box {
    pointer-events: none;
}
.banner-home .text-box-content {
    transition: all .3s;
}
.banner-home:hover .text-box-content {
    padding-left: 30px;
}
.section-home .overlay {
    opacity: 0;
}
.section-home:hover .overlay {
    opacity: .7;
}
.section-home .banner-home:hover .overlay {
    opacity: 0;
}
/**/
.page-header-wrapper .page-title-inner {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 1em;
}
@media (min-width: 850px) {
    .page-header-wrapper .entry-title {
        font-size: 2.5rem;
    }
}
.page-header-wrapper .page-title-sub {
    margin-left: 0;
    opacity: 1;
}
.page-header-wrapper .page-title-sub .lead {
    font-size: 1rem;
}
.page-header-wrapper .dark .page-title-sub .lead {
    color: var(--primary-color);
}
.page-header-wrapper .title-content {
    display: none;
}
.featured-title {
    text-shadow: unset;
}
.page-wrapper {
    padding-top: 60px;
}
@media (max-width: 549px) {
    .medium-logo-left .logo {
        width: auto !important;
    }
    .medium-logo-left .flex-right {
        flex: 0 0 auto;
    }
}

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

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

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