/*
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.   ***************/
@font-face {
    font-family: 'UTMAvoBold';
    src: url('/wp-content/themes/flatsome-child/fonts/UTMAvoBold.eot');
    src: url('/wp-content/themes/flatsome-child/fonts/UTMAvoBold.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/flatsome-child/fonts/UTMAvoBold.woff2') format('woff2'),
        url('/wp-content/themes/flatsome-child/fonts/UTMAvoBold.woff') format('woff'),
        url('/wp-content/themes/flatsome-child/fonts/UTMAvoBold.ttf') format('truetype'),
        url('/wp-content/themes/flatsome-child/fonts/UTMAvoBold.svg#UTMAvoBold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'utm_avo';
    src: url('/wp-content/themes/flatsome-child/fonts/UTMAvo.eot');
    src: url('UTMAvo.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/flatsome-child/fonts/UTMAvo.woff2') format('woff2'),
        url('/wp-content/themes/flatsome-child/fonts/UTMAvo.woff') format('woff'),
        url('/wp-content/themes/flatsome-child/fonts/UTMAvo.ttf') format('truetype'),
        url('/wp-content/themes/flatsome-child/fonts/UTMAvo.svg#UTMAvo') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body,p,a,h1,h2,h3,h4,h5,h6 {
	font-family: utm_avo !important;

}
body {
	font-size: 14px;

}
#logo img {
    scale: 1.5;
    margin-top: -15px;
}
.archive .product-small:hover .box-text-products {
	display: block;}
.archive .box-text-products {
	display: none;
	background: #00000052;
	color: white;
	margin-bottom: 10px;
	padding: 20px 0 40px;
	position: absolute;
	bottom: 0;
}
p.woocommerce-result-count,
.woocommerce-ordering {
	display: none;
}
.archive .box-text-products a{
	color: white
}
.section-footer .wpcf7-email{
	width: 60%;
	float: left;
}
.section-footer .wpcf7-not-valid-tip{
	width: 100%;
	float: left;
}
.section-footer li a{
	font-size: 14px;
	color: #fff;
}
.section-footer li:before{
	content: "\f0da";
	font-family: fontawesome !important;
	padding-right:5px;
}

ul.menu>li+li, .widget>ul>li+li {
	border-top: none
}
.header-nav-main .nav-dropdown-default li:hover{
	background: var(--primary-color);
}
.header-nav-main .nav-dropdown-default{
	padding: 0px;
	background: black;
	border:none;
}
.header-nav-main .nav-dropdown-default li a{
	color: white;
}
.header-main .nav > li > a{
	padding: 5px 10px;
}
.wpcf7-textarea{
	min-height: 94px !important;
}
.row-form .large-4{
	padding-left:5px;
	padding-right:5px;
}
.row-form {
	margin-left: 0px !important;
	margin-right: 0px !important;
}
.hotline-inner a {
	color: #fff;
	font-weight: 500;
}
.hotline-inner {
	width: 260px;
	margin: 0 auto;
	font-size: 20px;
	padding: 6px 0px 5px 40px;
	color: #1d1108;
	font-weight: bold;
	background: url(images/icon-phone.png) no-repeat 4px 5px;
	background-size: 32px auto;
}
.hotline {
	background: var(--primary-color);
	width: auto;
	margin: 0 auto;
	position: fixed;
	z-index: 33333;
	bottom: 18pt;
	left: 0;
	border-radius: 0 10px 10px 0;
}
.related .box-text-products a{
	color: white;
}
.related .box-text-products{
	display: none;
	background: #00000052;
	color: white;
	position: absolute;
    margin-bottom: 10px;
    bottom: 0;
    padding: 20px 0 40px;
}
.related .product-small:hover .box-text-products{
	display: block !important;
}
.product-section-title-related {
	margin-left: 0px;
}
.header-nav-main .icon-angle-down{
	display: none;
}
.nav-dropdown-default .nav-column li>a, .nav-dropdown.nav-dropdown-default>li>a{
	border-bottom: none;
}
.box-category .box-text{
	margin-top:20px;
}
.box-category h5.header-title{
	background-color: var(--primary-color);
	display: inline-block;
	color: #fff;
	display: inline;
	padding: 10px 25px;
	/* margin-top: 20px; */
	text-transform: inherit;
}
.section-doi-tac .box-image{
	border: 1px solid #f1e8d6;
}
.section-doi-tac .box-image img{
	min-height: 83px;
}
h3.title-home{
	margin-bottom: 30px;
	font-size: 25px;
	font-family: 'UTMAvoBold' !important;
	font-weight: bold !important;
	color: var(--primary-color);
	text-align: center;
}
.page-title-inner h2.entry-title{
	font-size: 20px;
}
.section-banner .page-title-inner{
	padding: 10px;
	min-height: 46px;
}
.section-banner .page-title{
	margin-top: -46px;
	background-color: #00000033;
}
.woocommerce-tabs .product-tabs {
	display: none;
}
.page-title-inner .product-categories{
	border-top: 1px solid #f1e8d6;
	padding:8px;
	border-bottom: 1px solid #f1e8d6;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.page-title-inner .product-categories li a{
	text-transform: uppercase;
	padding: 0px 20px;
	font-weight: 600;
}
.shop-container .product-small.box .box-image {
	padding-top: 56.25%;
}
.page-title-inner ul.product-categories > li {
	display: inline-block;
	list-style: none;
	margin-bottom: 0;
}
.page-title-inner .widget>ul>li+li{
	border-top:none;
}
.category-page-row,.category-page-row .row-small{
	max-width: 1660px !important;
}
.category-page-title .shop-page-title{
	text-align: center;
	text-transform: uppercase;
}
.category-page-title .woocommerce-breadcrumb {
	display: none;
}
h5.post-title{
	font-family: 'UTMAvoBold' !important;

}
#content .div-text{
	padding-top: 6% !important;
	background: #DFDFDF;
	padding-left: 20px !important;
	padding-right: 20px !important;
	padding-bottom:20px !important;
}
.col-title .number:after {
	content: ".";
	position: absolute;
	width: 12px;
	height: 12px;
	left: -10px;
	bottom: 14px;
	overflow: hidden;
	background: #fff;
	border-radius: 100%;
	opacity: 1 !important;
}
.col-title .number:before {
	content: "";
	position: absolute;
	width: 120px;
	border-top: 1px solid;
	bottom: 20px;
	left: -130px;
	overflow: hidden;
	opacity: 1 !important;
}
.box-text .is-divider{
	display: none;
}
.col-dark .number:after {
	background: black;
}
.col-dark .number{
	opacity: 1 !important;
	color: black !important;
}
.col-title .number{

	opacity: 0.7;
	font-size: 150px;
	font-family: sans-serif;
	text-align: right;
	line-height: 1;
	position: relative;
	top: -25px;
	display: inline-block;
	float: right;
}

.div-no-padding{
	padding-bottom: 0px;
}
.section-footer p{
	margin-bottom: 4px;
	font-size: 15px;
}
.section-footer .wpcf7-submit{
	background: black !important;
}
.absolute-footer {
	border-top: 1px solid #fff;
}
.section-footer h4.title-footer{
	color: white;
	text-transform: uppercase;
	font-size: 16px;
}
/*MÃ u sáº¯c button*/
.social-button, .social-icons .button.icon:not(.is-outline), .social-icons .button.icon:hover {
	background-color: currentColor !important;
	border-color: currentColor !important;
}
.button.facebook,.button.facebook:not(.is-outline), .button.facebook:hover {
	color: #fff;
	background-color: #446084;
	border-color: #446084;
}
.button.twitter,.button.twitter:not(.is-outline), .button.twitter:hover {
	color: white !important;
	background : #2478ba !important;
	border-color: #2478ba;
}
.button.email,.button.email:not(.is-outline), .button.email:hover {
	color: #fff;
	background-color: black !important;
	border-color: black !important;
}
.button.pinterest,.button.pinterest:not(.is-outline), .button.pinterest:hover {
	color: #fff !important;
	background-color: #cb2320  !important;
	border-color: #cb2320  !important;
}

.button.google-plus,.button.google-plus:not(.is-outline), .button.google-plus:hover {
	color: #fff !important;
	background-color: #dd4e31 !important;
	border-color: #dd4e31  !important;
}
.button.linkedin,.button.linkedin:not(.is-outline), .button.linkedin:hover {
	color: #fff !important;
	background-color: #0072b7 !important;
	border-color: #0072b7     !important;
}

.blog-single .entry-meta {
	border-bottom: 1px dashed #ededed;
	padding: 5px 0;
}
.entry-header-text .entry-divider {
	display: none;
}
h1.entry-title{
	font-size: 24px !important;
}
.form-footer input[type=submit] {
    display: inherit;
}
.title-bg {
	background-image: none !important;
}



footer.entry-meta {

	border-top: none !important;
	border-bottom: 1px dashed #ececec !important;

}

.entry-content img{
	width: auto !important
}
.duong-line {
	background: rgba(0,0,0,0) url(/wp-content/uploads/2022/11/line.png) repeat scroll 0 0;
	height: 12px;
	margin-top: 5px;
	overflow: hidden;
}
.related-post h7{
	font-weight: bold;
	font-size: 18px;
	float: left;
	margin: -8px 20px 0 0;
}
.title-related {
    position: relative;
    display: flex;
}

.title-related::after {
    position: absolute;
    top: 15px;
    right: 0;
    background: red;
    width: 100%;
    height: 12px;
    display: block;
    background: rgba(0,0,0,0) url(/wp-content/uploads/2022/11/line.png) repeat scroll 0 0;
    content: '';
}
.title-related h3 {
    display: inline;
    background: #fff;
    position: relative;
    z-index: 2;
    padding-right: 20px;
    width: auto;
}
.relatedcat .from_the_blog_excerpt {
    display: none;
}
.relatedcat .box-text {
	text-align: center;
	padding: 15px 15px 20px;
	transition: all 0.4s ease;
	background: #fff;
}
.relatedcat .col.post-item .col-inner {
	box-shadow: rgba(0, 0, 0, 0.24) 0px 2px 5px;
	background: #fff;
	height: 100%;
	border-radius: 4px;
}
.relatedcat .col.post-item .col-inner:hover .box-text {
	transform: translateY(-15px);
}
.popup-form {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    display: none;
}
.form-div {
    /*max-width: 350px;*/
    color: #000;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin: 0 auto;
    position: relative;
}
.form-div .wpcf7-spinner {
	/*display: none;*/
}
 .form-div input[type=submit] {
    width: 100%;
}
 .wpcf7-response-output {
	background: #fff;
}
.form-div input {
	box-shadow: none;
}
 .form-div h3 {
	margin-bottom: 20px;
	text-align: center;
}
 .form-div span {
	text-align: center;
	display: block;
	margin-bottom: 10px;
}
.form-div a {
	display: inline-block;
	padding: 6px 20px;
	border-radius: 999px;
	background-color: var(--primary-color);
	color: #fff;
}
.form-div .hotline-form {
	display: flex;
	justify-content: center;
}

.close-form {
	background: red;
	color: #fff;
	width: 35px;
	height: 35px;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 5px;
	right: 5px;
	cursor: pointer;
	display: none;
}
.popup-form.show {
	display: flex;
}
.footer-wrapper .wpcf7-response-output {
	background: transparent !important;
	margin-top: 0px !important;
}


@media(max-width: 855px){
	#content .div-text{
		margin: 10px;
		text-align: center;
	}
	h3.title-home {
		margin-bottom: 17px;
		font-size: 18px;}
	.section-tin-tuc .box-image{
		margin-right: 9px;
		width: 30% !important;
		/*float: left;*/
	}
	.section-tin-tuc .box-image .image-cover {
		padding-top: 100% !important;
	}
	.section-tin-tuc .box-text{
		padding-top:0px;
		margin-right: 0px;
		/* width: 66%; */
		padding-bottom: 0px;
		/*padding-left: 124px;*/
		padding-right: 2px;
/*		display: block;
	  	display: -webkit-box;
	  	-webkit-line-clamp: 2;   số dòng hiển thị 
	  	-webkit-box-orient: vertical;
	  	overflow: hidden;
	  	text-overflow: ellipsis;*/
	}
	.section-home-banner .banner{
		padding-top:400px !important;
	}
	.section-banner .page-title {
		margin-top: -66px;
		background-color: #00000033;
	}
	.section-khung{
		padding-top:0px !important;
		padding-bottom:0px !important;
	}
}



@media only screen and (max-width: 550px) {
	/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.section-tin-tuc .from_the_blog_excerpt  {
		display: block;
	  	display: -webkit-box;
	  	-webkit-line-clamp: 2;  /* số dòng hiển thị */
	  	-webkit-box-orient: vertical;
	  	overflow: hidden;
	  	text-overflow: ellipsis;
	  	margin-bottom: 7px;
	}
	.footer-wrapper .wpcf7-response-output {
		margin-top: 3em !important;
	}
	.wpcf7-spinner {
		display: none;
	}
	.section-footer .col:nth-child(2) {
		margin-top: 15px
	}
	.section-tin-tuc .col.post-item {
		margin-bottom: 10px
	}
	.section-tin-tuc .box-image .image-cover {
		padding-top: 75% !important;
	}
	.section-tin-tuc .box-image {
	    float: left;
	}
}
