/*
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.   ***************/
body {font-size: 16px;}
pre, blockquote, form, figure, p, dl, ul, ol {
    margin-bottom: 0.6em;
}
th, td{border-bottom: unset;font-size: 16px;}

body::not(.home) .header-main,
body::not(.page-id-20) .header-main{background-image: url('assets/img/image-header.png'); background-repeat: no-repeat; background-size: cover;}

.nav-spacing-large > li{margin: 0 8px;}

#breadcrumbs{padding: 10px 0;border-bottom: 1px solid #cccccc7d;}
#breadcrumbs a{color: #008081; padding: 0 7px;}
#breadcrumbs a:first-child{padding-left: 0px;}
#breadcrumbs span.breadcrumb_last{color: #d39d2b;padding-left: 7px;}

.header-cart-link{background-color: #b78d45;padding: 0 15px !important;}
.header-nav.header-nav-main{-webkit-box-pack: space-evenly;-ms-flex-pack: space-evenly;justify-content: space-evenly;}
.header-inner .flex-col.flex-right{width: 390px;}
.header-search-form-wrapper .searchform .search-field{background: transparent;color: #fff;opacity: 1;}

.mt-2{margin-top: 0.5rem;}
.mt-3{margin-top: 1rem;}
.mt-4{margin-top: 1.5rem;}

.d-inline-block{display: inline-block;}

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

.row-footer{border-bottom: 1px solid #ccc;}

.title-double-linev1 .section-title b {background-color: unset;background-image: url('assets/img/linev1.png');background-repeat: no-repeat;height: 7px;width: 33px;opacity: 1;}
.title-double-linev1 .section-title b:first-child{background-position: right;}

.lienhe-subfooter .wpcf7 .wpcf7-submit{width: 100%;margin: 0; background-color: #005354;}
.lienhe-subfooter .wpcf7 .wpcf7-spinner{display: none;}

.footer-wrapper, .footer-wrapper a{color: #fff;}
.footer-wrapper .footer-address ul{list-style: none; padding: 0;}
.footer-wrapper .footer-address ul li{margin-left: 0;}
.footer-wrapper .list-dmsp ul li span{color: #fff;}
.footer-wrapper i{color: #b78d45}
.footer-primary{padding: 7.5px 0;}

.title-linev0{font-size: 26px;font-weight: bold;position: relative;text-transform: uppercase;position: relative;-js-display: flex;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-orient: horizontal;-webkit-box-direction: normal;-ms-flex-flow: row wrap;flex-flow: row wrap;-webkit-box-align: center;-ms-flex-align: center;align-items: center;-webkit-box-pack: justify;-ms-flex-pack: justify;justify-content: space-between;}
.title-linev0 a.viewmore-products,
.title-linev0 a.viewmore-products i{font-size: 14px;font-weight: normal;}
.title-linev0 .section-title-normal,
.title-linev0 .section-title-normal span{border-bottom: unset;}
.title-linev1 h3,
.title-linev2{font-size: 31px;font-weight: 500;position: relative;}
.title-linev1 span:after,
.title-linev0 span:after{content: ''; background-image: url('assets/img/linev1.png');height: 7px;width: 33px;display: inline-block;margin-left: 15px;}
.title-linev2 span:after{content: ''; background-image: url('assets/img/linev2.png');height: 7px;width: 288px;display: inline-block;margin-left: 15px;}
.title-bg{font-size: 21px; color: #343938;background-color: #dcb15a;padding: 0 10px;position: relative;bottom: 10px;}
.title-bg p{margin-bottom: 0;}


.intro-slider .slider-nav-outside .flickity-page-dots{bottom: -20px;}
.intro-slider .slider-nav-light .flickity-page-dots .dot.is-selected {background-color: #b78d45;}


/*Page giới thiệu*/
.page-id-20 #dark-breadcrumbs{display: none;}
.box-image-intro{position: relative;}
.box-image-intro.box-label .box-text.text-center{margin: 4% 0;}
.box-image-intro .box-image-intro-image{max-width: 706px;}
.box-image-intro .box-image-intro-subtitle b{color: #fff; opacity: 1;-webkit-box-flex: unset;-ms-flex: unset;flex: unset;width: 83px;}
.box-image-intro .box-image-intro-subtitle b:first-child{margin-left: auto;}
.box-image-intro .box-image-intro-subtitle b:last-child{margin-right: auto;}
.box-image-intro .box-image-intro-title{margin-bottom: 10px;}
.box-image-intro .box-image-intro-title h1{font-size: 28px;line-height: 38px;color: rgba(214,161,81,1);font-weight: 500;}
.col-intro-custom:before{content: ''; background-image: url('assets/img/col-linebefore.png');width: 225px;height: 370px;position: absolute;left: 0;}
.col-intro-custom:after{content: ''; background-image: url('assets/img/col-lineafter.png');width: 225px;height: 370px;position: absolute;right: 0;bottom: 30px;}


/*Page Liên hệ*/
.page-template .wpcf7-form i{color: #d39d2b;}
.page-template .wpcf7-form label i > span{font-size: 14px;margin-bottom: 5px;display: inline-block;font-weight: 500;}
.page-template .wpcf7-form .wpcf7-submit{background-color: #025757;font-size: 17px;/*border-radius: 25px*/;display: block;margin: 0 auto;}


/*Woocommerce*/
.product-title.product_title.entry-title{padding-bottom: .5em;border-bottom: 1px solid #ececec;}
.related-products-wrapper .box-text p,
.product-title.woocommerce-loop-product__title{font-size: 16px;font-weight: bold;}
#shop-sidebar .widget_nav_menu .widget-title{background-color: #008081; color: #fff;width: 100%;display: block;text-align: center;font-size: 18px;padding: 10px;border-radius: 10px 10px 0 0;}
#shop-sidebar .widget_nav_menu ul.menu > li > a{font-size: 15px; text-transform: uppercase; color: #008081; font-weight: 500;background-color: #f3f3f3;padding: 5px 15px;display: block;}
#shop-sidebar .widget_nav_menu ul.menu ul.sub-menu{display: block;border-left: unset;margin-left: 0;padding-left: 0;}
#shop-sidebar .widget_nav_menu ul.menu ul.sub-menu > li{padding: 5px 25px;border-bottom: 1px solid #ccc;}
#shop-sidebar .widget_nav_menu ul.menu ul.sub-menu > li:last-child{border-bottom: unset;}
#shop-sidebar .widget_nav_menu ul.menu ul.sub-menu > li > a{font-size: 15px;font-weight: 500;position: relative;}
#shop-sidebar .widget_nav_menu ul.menu ul.sub-menu > li > a:before{content: '\f101';font-family: 'Font Awesome 5 Pro';margin-right: 10px;}
.quantity input[type="number"]{height: 45px;max-width: 2.8em;width: 2.8em;}
.single_add_to_cart_button{background-color: #b78d45 !important; border-radius: 6px;height: 45px;}
.button.buy_now{width: 100%;margin-right: 0;background-color: #008081; height: 45px;line-height: 45px;border-radius: 6px;}
.custom_policy_products{padding-top: .5em;margin-bottom: 1em;border-top: 1px solid #ececec;}
.product-short-description table{margin-bottom: 0.5em;}
.product-short-description table ul,
.product-short-description table ul li{margin-bottom: 0;}
.product-template-default .pixta-price ins span.amount{font-size: 24px;color: red;}


.widget .is-divider,
.widget .toggle,
.badge-container{display: none;}
#secondary span.widget-title{background-color: rgb(0, 128, 129);display: block;padding: 12px;color: #fff;text-align: center;border-radius: 10px;margin-bottom: 20px;}
#secondary .widget{margin-bottom: 2.5em;}
.widget .textwidget ul li{margin-bottom: 0; border-bottom: 1px solid #ececec;}
.widget .textwidget ul li:last-child{border-bottom: unset;}
.widget .textwidget ul li a{display: block;padding: 6px 0;-webkit-box-flex: 1;-ms-flex: 1;flex: 1;}


.heading-news{margin-bottom: 15px;}
.heading-news a{background-color: rgb(0, 128, 129);padding: 5px 20px;text-transform: uppercase;}
.heading-news a:hover{color: #fff;}

.blog-home p{color: #333;}

.visible-home{display: none;}
body.home .visible-home{display: block;}



@media (min-width: 1024px) {
	.grid-custom .large-2{max-width: 21.5%;-ms-flex-preferred-size: 21.5%;flex-basis: 21.5%;}
	.grid-custom .large-3{max-width: 21.5%;-ms-flex-preferred-size: 21.5%;flex-basis: 21.5%;}
	.grid-custom .large-5{max-width: 35.5%;-ms-flex-preferred-size: 35.5%;flex-basis: 35.5%;}
	.grid-custom.row-small > .col {padding-left: 6px; padding-right: 6px;padding-bottom: 12px;}
}

@media (min-width: 768px) {
	.price-wrapper .price ins{margin-right: 5px;}
}

.nav-pagination > li > .current,
.nav-pagination > li > a:hover{border-color: #008081 !important;background-color: #008081 !important;}
.shop-page-title {display: none;}
.shop-container .woocommerce-products-header__title.page-title:after{content: '';background-image: url('assets/img/linev1.png');height: 7px;width: 33px;display: inline-block;margin-left: 15px;}


@media (min-width: 1200px) {
	.row-5 .col.large-3{max-width: 20%;-ms-flex-preferred-size: 20%;flex-basis: 20%;}

	.row-footer .col.large-3:nth-child(1){max-width: 30%;-ms-flex-preferred-size: 30%;flex-basis: 30%;}
	.row-footer .col.large-3:nth-child(2){max-width: 21%;-ms-flex-preferred-size: 21%;flex-basis: 21%;}
	.row-footer .col.large-3:nth-child(3),
	.row-footer .col.large-3:nth-child(4){max-width: 24.5%;-ms-flex-preferred-size: 24.5;flex-basis: 24.5%;}
}
 
@media (max-width: 810px) {
	.header-cart-link{background-color: transparent;}
	.header-cart-link i{color: #fff;}
}

@media (max-width: 576px) {
	.title-linev1 span::after,
	.title-linev2 span::after{content: unset;}
	.col-intro-custom::before,
	.col-intro-custom::after {content: unset;}
}