/*
Theme Name: Flatsome Child
Description: NamKiem developed for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.13.1
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
#wrapper, #main {
	background-color: #f0f0f0;
}
.section1,.section1 .col,.section2,.section2 .col.large-12,.section3,.section3 .col,.section4,.section4 .col,.section5,.section5 .col,.section6,.section7{
	padding-bottom : 0px !important;
}

.header-main {
	box-shadow: 0 1px 5px 5px rgba(0,0,0,.1);
}
.stuck .header-main .nav > li > a {
	line-height: 30px;
}
.header-wrapper.stuck{
	background : #fff;
}
.header-search-form{
	padding : 0px !important;
}
.header-search-form input[type='search']{    padding: 7px;
	font-size: 14px;
	color: #b5b5b5 !important;
	border-radius: 8px;
	height: 41px;
	background: #ffffff !important;
	border: 1px solid #efc872;
}
.header-main .icon-search:before{color: #e7c88b}
.TextCaptions {
	display: flex;
	padding: 10px 0 !important;
}
.TextCaptions .item{
	border-right: 1px solid #e0e0e0 !important;
	font-size: 14px;
	color: #8b6920;
	text-align: center;
	line-height: 1.2;
	max-width: 20%;
	flex-basis: 20%;
}
.TextCaptions .item:last-child{
	border-right : none !important;
}
.TextCaptions .item.is-selected{
	color: #e12e24;
}
.heading-title {color: #e12e24;
	text-align: center;
	padding: 8px;
	text-transform: uppercase;
	border-bottom: 1px solid #b2b2b2;
	margin-bottom: 17px;
	font-size : 1.5rem;
	line-height: 2.5rem;
}
.section2 .icon-box{
	box-shadow: 0 0 3px 2px rgba(0,0,0,.1);
	background-image: url(/wp-content/uploads/2020/09/bg-category.png);
	background-size: cover;
	padding: 8px 15px 10px 0px;
}
.section2 .icon-box-text{
	text-align: left;
	padding-left: 20px;
}
.section2 .icon-box-text h3,.box-1 .box-text h3{
	margin-bottom : 46px;
}
.section2 .icon-box-img img {
	height: 160px;
	max-height: 160px;
}
.nut-bao-gia{width: 160px;
	max-width: 160px;
	text-align: center;
	padding: 1px 20px;
	color: #5f5f5f !important;
	background-color: #fdfdfd !important;
	font-size: 16px;
	border-radius: 8px !important;
	box-shadow: 3px 4px 3px 1px rgb(0 0 0 / 8%);
	border: none !important;
	font-weight: normal;
	letter-spacing: 0;
	font-weight: bold;
}
.section2 .cot12 .box-1{
	box-shadow: 0 0 3px 2px rgba(0,0,0,.1);
	background: url(/wp-content/uploads/2020/09/bg-category-02.png);
	background-size: cover;
	padding: 8px 15px 10px 0px;
}
.section2 .box-1 .box-image{
	width: 58%;
	float: right;
}
.section2 .box-1 .box-text{
	float: left;
	width: 42%;
	padding-bottom: 0px !important;
}
.product-small.box{
	background-color: #fff;
	padding: 7px;
	box-shadow: 0 0 3px 2px rgba(0,0,0,.1);
}
.product-small.box .product-title{
	padding-bottom: 5px;
	font-size: 14px;
	color: #4d4d4d;
	line-height: 1.3;

	overflow : hidden;
	margin-bottom: 5px;
}
.product-small.box bdi{
	font-size: 17px;
	color: #e12e24;
	font-weight: 700;
	padding-bottom: 12px;
}
.section3 .row-slider{
	padding : 0 10px !important;
}
.section3 .flickity-prev-next-button{
	opacity : 1;
	color: #d8d8d8;
	top: 70%;
}
.section3 .flickity-prev-next-button.previous {
	transform: translateX(0%);
	left: 1%;
}
.section3 .flickity-prev-next-button.next {
	transform: translateX(0%);
	right: 1%;
}
.slider-nav-circle .flickity-prev-next-button svg, .slider-nav-circle .flickity-prev-next-button .arrow {
	border: 1px solid currentColor;
	background: #b88e32;
	color: white;
}
.slider-nav-circle .flickity-prev-next-button:hover svg, .slider-nav-circle .flickity-prev-next-button:hover .arrow {
	background-color: #d8d8d8;
	border-color: #d8d8d8;
	fill: #fff !important;
}
.section4 .tabbed-content{
	flex-flow: row-reverse;
}
.section4 .tabbed-content .nav{
	width: 35%;
	max-width: 35%;
}
.section4 .tabbed-content .tab-panels{
	width: 65%;
	max-width: 65%;
	border-left: none;
	padding: 0 20px 20px;
}.section4 .tabbed-content .nav li:hover a{color:#e12e24}
.product-small.box .product-title{margin-bottom:10px}
.product-small.box .product-title a{color: #785a1c;
	font-size: 16px;}
.product-small.box .product-title a:hover{color:#e12e24}
.section4 .tabbed-content .nav li{padding-top:2px;padding-bottom:3px;
	min-height: 80px;
	background-size: 130px !important;
	padding-left: 130px;
}
.section4 .tabbed-content .nav li a{    color: #785a1c;
	font-size: 16px;padding: 15px 20px ;	text-align: left;
	padding-left: 10px;
}
.section4 .tabbed-content .nav>li.active>a{
	color: #e12e24;
}
.section4 .tabbed-content .nav li:first-child{
	background: url(/wp-content/uploads/2020/09/thay-man-hinh-samsung-a30-300x169-1.jpg) no-repeat left;
}
.section4 .tabbed-content .nav li:nth-child(2){
	background: url(/wp-content/uploads/2020/09/thay-mat-kinh-xiaomi-redmi-note-300x169-1.jpg) no-repeat left;
}
.section4 .tabbed-content .nav li:nth-child(3){
	background: url(/wp-content/uploads/2020/09/thay-mat-kinh-apple-watch-serie-300x169-1.jpg) no-repeat left;
}
.section4 .tabbed-content .nav li:nth-child(4){
	background: url(/wp-content/uploads/2020/09/thay-nap-lung-iphone-11-pro-max-300x169-1.jpg) no-repeat left;
}
.section4 .tabbed-content .nav li:nth-child(5){
	background: url(/wp-content/uploads/2020/09/thay-mat-kinh-xiaomi-redmi-note-300x169-1.jpg) no-repeat left;
}
.section6 .cot2 .col-inner{
	padding: 30px;
	height: 100%;
	display: flex;
	flex-wrap: wrap;
	flex: 1;
	align-content: center;
	align-items: center;		
}
.nut-xem-them{
	font-weight : normal;
	font-size: 14px;
	border-radius: 8px !important;
	padding: 4px 23px;
}
.section6 .dot.is-selected{
	background-color: #f78e1e !important;
	border-color: #f78e1e;
}
.section6 .flickity-page-dots .dot {
	display: inline-block;
	width: 15px;
	height: 15px;
}
.section6 .slider-nav-light.slider-nav-dots-simple .flickity-page-dots .dot {
	opacity: 1;
}
.section7 .gallery-col .col-inner{
	padding : 13px;
}
.section7 .gallery-col .box-text{
	display : none;
}
.footer-section h3.title-sp{
	text-transform: uppercase;
	margin-bottom: 15px;
	font-size: 19px;
	font-weight: 700;
}
.footer-section .row2{
	border-top: 2px solid #ae862f;
	padding-top: 10px;
}
.footer-section .col{
	padding-bottom : 0px;
}
.footer-section .row1 .col ul,.footer-section .row1 .col ul li{
	margin-bottom : 0px;
}
.absolute-footer{background: #181818;
	color: #d4b267 !important;
	padding: 10px 0;
	border-top: 2px solid #efefef;
}
.is-divider{
	display : none;
}
.large-9.col{
	max-width: 70%;
	flex-basis: 70%;
	padding: 0 10px 10px;
}
.archive.category .large-9.col,.large-9.col article,.large-9.col .comments-area,.large-9.col .woocommerce-tabs,.large-9.col .row-khach-hang .large-12>.col-inner,.large-9.col .related,.large-9.col .shop-container{
	padding: 10px 12px !important;
	background-color: #fff;
}
.large-9.col .related{
	margin: 20px 0;
}
.archive .large-3.col,.post-sidebar.large-3.col,.product-footer .large-3.col{
	padding : 0 10px 10px;
	max-width: 30%;
	flex-basis: 30%;
}
.textwidget{
	padding: 20px;
	background-color: #fff;
	margin-bottom: 20px;
}
.textwidget .title {
	text-align: center;
	font-size: 24px;
}
.textwidget .button {
	width: 70%;
	margin: 0 auto;
	margin-bottom: 15px;
	text-align: center;
	padding-top: 10px;
	padding-bottom: 10px;
	border-radius: 5px;
	display: block;
}
.textwidget .button .btn {
	color: #fff;
	font-size: 22px;
	text-transform: initial;
	font-weight: 700;
	background-color: #e33933;
}
.single-product .product-info a.devvn_buy_now_style{display:none}a.devvn_buy_now_style{    background:#e33933}a.devvn_buy_now_style:hover, a.devvn_buy_now_style:focus{background:#ff0900}
.textwidget .button:hover{
	box-shadow : unset;
}
.textwidget .txt {
	text-align: center;
	font-size: 14px;
	color: #8b8b8b;
	line-height: 1.2;
}
.widget {
	background-color: #fff;
	margin-bottom: 20px;
}
span.widget-title {    border-bottom: 1px solid #dbdbdb;
	font-size: 18px;
	letter-spacing: 0;
	text-transform: uppercase;
	font-weight: bold;
	color: #e33933;
}
span.widget-title span,.widget-title.shop-sidebar{
	display: block;
	padding : 10px 15px;
}
.widget .recent-blog-posts {
	padding: 10px 5px 10px 15px;
}
.archive.category .col.post-item{
	padding : 0 5px 15px;
}
.archive.category .col.post-item .col-inner{
	padding : 0 8px 8px;
}
.archive.category .box-blog-post{
	padding: 10px;
	background: #f1f0f1;
	box-shadow: 0px 0px 5px -1px rgba(0,0,0,0.7);
	border-radius: 2px;
}.archive.category .box-blog-post h5:hover{color:#dc0800}
.archive.category .box-blog-post h5{
	padding-bottom: 10px;
	color: #000;
	height: 56px;
	overflow: hidden;font-size:20px
}
.blog-archive .page-title{font-size: 25px;}
.blog-single .entry-title{    font-size: 30px;}.entry-header-text {
	padding: 0;
}
.single-product .product-footer .col.large-9{
	display: inline-block;
}
.single-product .product-footer .col.large-3{
	max-width: 29%;
	flex-basis: 29%;
	display: inline-block;
	vertical-align: top;
}
.product-footer .woocommerce-tabs>.nav-line-grow, .product-footer .woocommerce-tabs>.nav-line:not(.nav-vertical) {
	margin-top: 0px;
}
.row-khach-hang .large-columns-3{
	margin-left : 0px !important;
	margin-right : 0px !important;
}
.row-khach-hang .gallery-col.col{
	padding : 0 5px 10px;
}
.row-khach-hang h3.title{
	font-size: 24px;
	line-height: 2.125rem;
	margin-bottom: 10px;
	padding-left: 5px;
}
.woocommerce-tabs .nav-line>li.active>a:before{
	opacity : 0;
}
.woocommerce-tabs ul li a{
	font-size: 1.5rem;
	text-transform: inherit;
}
div#reviews.woocommerce-Reviews,.devvn_prod_cmt{
	max-width: 100%;
	padding: 10px 12px;
	background-color: #fff;
	margin: 0 auto 20px;
}
.woocommerce #reviews #comments h2 {
	font-size: 24px;
}
#comments a.btn-reviews-now,.woocommerce #review_form #respond p.form-submit input#submit, .woocommerce #reviews #comments ol.commentlist #respond p.form-submit input#submit {
	background-color: #0072bc;
}.recent-blog-posts a{font-size:15px;}.recent-blog-posts a:hover, .product_list_widget .product-title:hover{color:#e33933}
span.devvn_num_reviews,span.btn-attach{
	color: #0072bc;
}
.single-product .image-tools.bottom.left {
	display: none;
}
.single-product .product-footer .container {
	padding-left: 0px;
	padding-right: 0px;
}
.single-product .product-main {
	padding-bottom : 20px;
}
.single-product .product-main .content-row{
	max-width: 1150px;
	background-color: #fff;
	padding: 10px 15px 25px;
}
.single-product .product-main .content-row .large-3.col {
	padding: 0;
	max-width: 22%;
	flex-basis: 22%;
}
.single-product .product-main .content-row .product-info{
	border-left: none;
	padding-left: 20px;
	padding-bottom : 0px;
}
table tr td{
	font-size: 15px;
	border: 1px solid #d0d0d0;
	text-align: center;
	color: #000;
}
.single-product .price-wrapper .price ,.single-product .cart{
	display: none;
}
.single-product h1.product-title{
	font-size: 1.5rem;
}
.single-product .box-info{
	display: flex;
	position: relative;
}
.single-product .box-info .box-left {
	width: 50%;
	margin-right: 18px;
	display: inline-block;
}
.single-product .box-info .box-right {
	width: 50%;
	display: inline-block;
}
.single-product .box-info .box-item {
	position: relative;
	border: 1px solid #d0d0d0;
	border-radius: 8px;
	padding: 20px 15px 20px 20px;
	margin-bottom: 20px;
}
.single-product .box-info h4.box-title {
	position: absolute;
	top: -12px;
	font-size: 18px;
	text-transform: uppercase;
	background-color: #fff;
	width: auto;color:#e33933
}
.single-product .box-info .box-item ul{
	margin-bottom : 0px;
}
.single-product .box-info .box-item ul li{
	font-size : 14px;
	background: url(/wp-content/uploads/2020/09/correct.png) no-repeat;
	list-style: none;
	padding-left: 20px;
	margin-left: 0px;
	background-position-y: 3px;
}
.single-product .box-info .box-item ul li a{
	color: #00aeff;
}
a.devvn_buy_now_style{
	margin-bottom : 0px;
}
ul.product_list_widget li {
	padding: 10px 0 5px 90px;
}
ul.product_list_widget li img {
	left: 15px;
}
.breadcrumbs{
	color: #4d4d4d;
	font-weight: normal;
	letter-spacing: 0;
	padding: 0;
	font-size: 14px;
	margin-bottom: 10px;
}
.breadcrumbs a {
	font-weight: normal;
	color: #4d4d4d;
	opacity: 1;
	font-size: 14px;
}.nut-bao-gia:hover{background:#e01f00 !important; color:white !important}
.devvn_readmore_flatsome a{background-color: #e01f00!important;}#comments a.btn-reviews-now{background-color: #e20800;}span.devvn_num_reviews, span.btn-attach {
	color: #946c15;
}button#devvn_cmt_submit, button#devvn_cmt_replysubmit {
	background: #e22000;
	color: white;
}
.related h3{color: #e33933;}
a.back-to-top{background:#d40000 !important; color:white !important; border:none !important}
.footer-section p{margin-bottom:5px}
.footer-section ul{margin-bottom:10px}
.footer-section ul li{line-height:17px; margin-bottom:10px !important}

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

	.off-canvas-left .mfp-content{
		background : #fff;
	}
	.off-canvas .nav-vertical>li>a{
		text-transform: inherit;
		color: #000;
		font-size: 16px;
	}
	.nav-sidebar.nav-vertical>li+li {
		border-top: 1px solid #e4e4e4;
	}
	.heading-title{
		font-size : 18px;
	}
	.TextCaptions {
		display: none;
	}
	.nut-xem-them{
		margin : 0 auto;
	}
	.section4 .tabbed-content {
		flex-flow: column-reverse;
	}
	.section4 .tabbed-content .nav {
		width: 100%;
		max-width: 100%;
	}
	.section4 .tabbed-content .tab-panels {
		width: 100%;
		max-width: 100%;
		padding: 0 0px 10px;
	}
	.section2 .cot12 .box-1 {
		box-shadow:unset;
		background : unset !important;
	}
	.section2 .box-1 .box-image {
		width: 36% !important;
		float: right;
	}
	.section2 .box-1 .box-text {
		padding-left: 20px;
	}
	.section4 .tabbed-content .nav li {
		min-height: 80px;
	}
	.section4 .tabbed-content .nav li a {
		padding: 30px 0;
		text-align: left;
		padding-left: 10px;
	}
	.section .nut-xem-them{
		margin : 15px 0;
	}
	.section7 .gallery-col{
		max-width: 25%;
		flex-basis: 25%;
	}
	.section7 .gallery-col .col-inner {
		padding: 3px;
	}
	.footer-section .col {
		padding-bottom: 20px;
	}
	.large-9.col {
		max-width: 100%;
		flex-basis: 100%;
		padding : 0px;
	}
	.archive .large-3.col, .post-sidebar.large-3.col, .product-footer .large-3.col {
		margin-top: 20px;
		padding: 0;
		max-width: 100%;
		flex-basis: 100%;
	}
	.single-product .product-main .content-row {
		padding: 0;
	}
	.single-product .product-main .content-row .large-3.col {
		padding: 20px;
		max-width: 100%;
		flex-basis: 100%;
		height: 100%;
	}
	.single-product .box-info {
		display: block;
	}
	.single-product .box-info .box-left {
		width: 100%;
		margin-right: 0px;
		display: block;
	}
	.single-product .box-info .box-right {
		width: 100%;
		display: block;
	}
	.row-khach-hang h3.title {
		font-size: 18px;
	}
	.row-khach-hang .gallery-col.col {
		max-width: 25%;
		flex-basis: 25%;
	}
	.widget_media_image{
		text-align : center;
		padding : 10px 0;
	}.icon-menu:before {
		color: #e7c88b;
	}
}
add_filter( 'gettext', 'dieuhau_translate_woocommerce_strings', 999 );

function dieuhau_translate_woocommerce_strings( $translated ) {

    // Từ thứ 1
    $translated = str_ireplace( 'ĐẶT HÀNG NGAY', 'TƯ VẤN NGAY', $translated );

    // Từ thứ 2
    $translated = str_ireplace( 'Category Archives: Tin tức', 'Tin tức', $translated );


    // ETC.
    return $translated;
}