/*
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-family:Arial,sans-serif;
}
p,li{
	font-family: "Open Sans",sans-serif;
}
@font-face {
	font-family: Arial;
	src: url(./fonts/arial.ttf) format('truetype');
}
@font-face {
	font-family: Arial;
	src: url(./fonts/arialbd.ttf) format('truetype');
	font-weight:700;
}
@font-face{
	font-family: UTM Avo;
	src:url(./fonts/UTMAvo.ttf) format('truetype');
	font-weight:500;
	font-style:normal;
}
@font-face{
	font-family: UTM Avo;
	src:url(./fonts/UTMAvoBold.ttf) format('truetype');
	font-weight:bold;
	font-style:normal;
}
/*--------------------------------------------------------------
# CSS
--------------------------------------------------------------*/
.header .header-nav li.mega-menu, .home-product .box-left{
	width: 240px;
	max-width: 240px;
	flex-basis:240px;
}
.section .home-slide, .home-product .box-right{
	max-width:calc(100% - 240px);
	flex-basis:calc(100% - 240px);
}
.wpcf7 form{
	margin-bottom:0;
}
.form-contact{
	font-size:14px;
}
.form-contact .wpcf7-submit{
	width: 100%;
    background: #2c6fa9;
    color: #fff;
    border: none;
    height: 40px;
    text-transform: uppercase;
    font-weight: 400;
}
.form-contact .wpcf7-form-control{
	box-shadow: inset 0 1px 2px rgb(0 0 0 / 10%)!important;
}
.toggle{
	opacity:1!important;
}
.hoi-dap a{
	font-size:16px;
	color: #f7921e;
}
.hoi-dap i{
    background: #f7921e;
    color: #fff;
    width: 26px;
    line-height: 26px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;	
	font-size:18px;
}
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header-top ul li{
	margin:0 1em;
}
.header-top ul li a{
	color: #fff!important;
	font-size:13px;
	text-transform: none;
}
.header-wrapper .header-block .icon-box-text p{
	font-size:12px;
}
.header-wrapper .header-block .icon-box-text p:last-child{
	font-size:14px;
	font-weight:bold;
}
.header-bottom-nav li{
	position:relative;
}
.header-bottom-nav > li .sub-menu{
	border:none;
	box-shadow: 0 0 20px rgb(0 0 0 / 15%);
	background-color: #f7921e;
	padding:0;
}
.header-bottom-nav > li .sub-menu .sub-menu{
	position: absolute;
	left: 100%;
	top:0;	
	display:none;
}
.header-bottom-nav > li .sub-menu li{
    display: block;
    width: 100%;
}
.header-bottom-nav > li .sub-menu li:hover .sub-menu{
	display:block;
}
.header-bottom-nav > li .sub-menu li+li{
	border-top:1px dashed #fff;
}

.header-bottom-nav > li .sub-menu a{
    margin: 0;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: normal;
    border-bottom: none;
    color: #fff;
    text-transform: none;
}
.header-bottom-nav > li .sub-menu a:hover{
	color: #ffffff;
    background-color: #008bab;
}
.header-hotline {
    background: url(./images/hotline.gif) no-repeat;
    background-size: 42px 42px;
    color: #ef1d2e;
    font-size: 20px;
}
.header-hotline2 {
    background: url(./images/hotline1-1.png) no-repeat 20px 0;
    border-left: 1px solid #ccc;
    padding-left: 20px;
    margin-left: 20px;
}
.header-hotline span {
    display: block;
    font-size: 14px;
    color: #000;
    line-height: 1;
    padding-left: 50px;
    font-weight: 600;
}
.header-hotline a {
    color: #f69524;
    display: block;
    padding-left: 50px;
	font-family: UTM Avo;
	font-weight:700;
}
.header-hotline2 span, .header-hotline2 a {
    padding-left: 60px;
}
.header li span.arrow::before {
	font-family: "Font Awesome 5 Free";
	display: inline-block;
	padding-right: 3px;
	vertical-align: middle;
	font-weight: 900;
	content: "\f0da";
	color:#fff;
}
.header li span.arrow {
    position: absolute;
    top: calc(50% - 10px);
    right: 0;
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

/* ul#mega_menu {display:block;} */
/* .home #content .slider-wrapper {
    width: 71%;
    float: right;
} */
/*--------------------------------------------------------------
# Search form
--------------------------------------------------------------*/
.searchform{
    overflow: hidden;
    border: 1px solid #ebebeb;
}
.searchform input[type='search'],.searchform .search_categories{
	box-shadow:none;
	border:none;
    height: 40px;	
	font-size:14px;
}
.searchform .search_categories{
    width: 170px!important;
    padding: 0 15px;
}
.searchform .search-form-categories{
	position:relative;
}
.searchform .search-form-categories:before{
	content: '';
    width: 1px;
    height: 20px;
    background: #ccc;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.searchform .submit-button{
    width: 40px;
    height: 40px;
}
.header .header-nav.header-nav-main{
	justify-content:space-between;
}


.list-category .icon-box{
    background: #fff;
    padding: 5px;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    align-items: center;	
}
.list-category .icon-box .icon-box-img img{
    object-fit:cover;
	height:68px;	
}
.list-category .icon-box .icon-box-text h3{
	font-size: 15px;
	font-weight: 500;
}
/*--------------------------------------------------------------
# Home product
--------------------------------------------------------------*/
.home-product .banner-cat{
	margin-bottom:30px;
}
.home-product .title-cat{
	border-bottom: 1px solid #ccc;
    position: relative;
    margin-bottom: 30px;
    font-weight: 600;
}
.home-product .title-cat a{
	color:#f69524;
}
.home-product .title-cat:before {
    position: absolute;
    content: "";
    width: 90px;
    height: 1px;
    bottom: -1px;
    background: #f69524;
}
.home-product .title-cat h2{
    text-transform: uppercase;
    font-size: 24px;
    margin-bottom: 10px;
}
.home-product .title-cat .child-cats {
    font-family: "Roboto",sans-serif;
}
.home-product .title-cat .child-cats a:first-child {
    padding-left: 0;
}
.home-product .title-cat .child-cats a {
    color: #333;
    display: inline-block;
    border-right: 1px solid #333;
    line-height: 1.2;
    padding: 0 6px;
    font-size: 14px;
    font-weight: 500;
}
.home-product .title-cat .child-cats a:hover {
	color: #164892;	
}
.home-product .title-cat .child-cats a:last-child {
    border-right: none;
}
.home-product .view-all{
    color: #fff;
	background-color:#f69524;
    text-transform: uppercase;
    line-height: 40px;
    padding: 10px 15px;
    border-radius: 4px;	
	font-size: 14px;
	font-weight:700;
}
/*--------------------------------------------------------------
# Home product selling
--------------------------------------------------------------*/
.product-small.box{
    border: 1px solid #ddd;	
	-webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.product-small.box:hover{
    -webkit-box-shadow: 0 0 15px -3px rgb(0 0 0 / 50%);
    -moz-box-shadow: 0 0 15px -3px rgba(0,0,0,.5);
    box-shadow: 0 0 15px -3px rgb(0 0 0 / 50%);	
}
.product-small.box:hover:after {
    position: absolute;
    border-bottom: 4px solid #2a879e;
    width: 100%;
    height: 0;
    content: "";
    bottom: 0;
    left: 0;
}
.product-small.box .box-text{
    overflow: hidden;
    padding: 15px;
    border-top: 1px solid #ddd;
}
.badge-container{
    margin: 0;
    top: 20px;
	font-size:14px;
}
.badge-container .badge-inner.on-sale{
    border-bottom-right-radius: 15px;
    border-top-right-radius: 15px;	
	padding: 0 10px;
}
.product-small.box .product-title a{
	color: #1F1F1D;
    height: 35px;
    overflow: hidden;
    font-size: 14px;	
	font-weight:600;
	display:block;
	margin-bottom: 5px;
}
.price-wrapper .price{
    display: flex;
    justify-content: space-around;
    align-items:center;
	flex-direction: row-reverse;
}
.price-wrapper .price span.amount{
    font-size: 22px;
    font-weight: 700;
}
.product-small.box .box-text .price-wrapper del span.amount{
	opacity:1;
    font-size: 14px;
    color: #494949;	
	display:block;
}
.product-small.box .box-text .price-wrapper ins span.amount{
	opacity:1;
}
.product-small.box .add-to-cart-button{
	text-align:center;
}
.product-small.box .add-to-cart-button a{
	height:38px;
	line-height: 28px;
    margin-right: 0;
    font-family: UTM Avo;
	font-size:14px;
    font-weight: 700;
    padding: 4px 16px;
	display:block;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.product-small.box .add-to-cart-button a:before{
    content: '\f217';
    font-family: "Font Awesome 5 Free";
    padding-right: 5px;
    font-size: 16px;
}
.product-small.box .add-to-cart-button a:hover{
	background-color: #2465c5;
}
.lb span{
    float: none;
    display: inline-block;
    padding: 3px 3px !important;
    line-height: 1.2;
    color: #ffffff;
    margin-left: 3px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 3px;
    margin-bottom: 3px;
    background-color: #FF6A00;
    white-space: nowrap;
    list-style: none !important;
    width: auto !important;	
}
.lb span.bc{
	background-color: #00aeef;	
}
.lb span.moi{
	background-color: #FF0000;	
}
.lb span.het-hang{
    background-color: #00aeef;
}

.home-partner .slick-slide, .footer .slick-slide{
	margin:0 10px;
}
/*--------------------------------------------------------------
# Home news
--------------------------------------------------------------*/
.home-design .wpcf7 .wpcf7-form-control{
	border:1px solid #9e000080;
}
.home-design .wpcf7 .wpcf7-submit{
	margin:0;
	border:none;
}
.home-design .wpcf7 form{
	margin-bottom:0;
}
.home-design .post-item .box-text{
	vertical-align:top;
}
.post-item .is-divider, .wpcf7 .wpcf7-spinner{
	display:none;
}
.wpcf7-form-control{
	box-shadow:none!important;
}

/*--------------------------------------------------------------
# Home dự án
--------------------------------------------------------------*/
.home-project .post-item > .col-inner{
    padding: 10px;
    border-radius: 5px;
    box-shadow: 2px 0 5px #c4c4c4;
    border-bottom: 2px solid #FFFFFF;
    text-align: center;
	background: #fff;
}
.home-why{
    background: url(/wp-content/uploads/2021/12/cl.png) no-repeat left top,url(/wp-content/uploads/2021/12/cr.png) no-repeat right top;
    background-size: 250px;	
}
/*--------------------------------------------------------------
# Category post
--------------------------------------------------------------*/
.blog-wrapper h1.entry-title, .blog-wrapper .page-title{
    text-transform: uppercase;
    font-size: 22px;
	font-weight:700;
    color: #f7921e;
}
.blog-wrapper .box-text{
    padding-top: 0;
    vertical-align: top;
}
.blog-wrapper .box-text .post-title{
	color: #008bab;
	font-size: 20px !important;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 25px;
    -webkit-line-clamp: 3;
    height: 45px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
	margin: 5px 0;
}
.blog-wrapper .box-text .from_the_blog_excerpt {
	font-size: 14px;	
}
.blog-wrapper .box-text .read-more button{
	font-weight: normal;
    font-size: 14px;
    background: #f7921e;
    border-radius: 3px;
    padding: 5px 8px;
    color: #fff;
    margin: 5px 0 0;
    line-height: unset;
    min-height: unset;
    text-transform: none;
}
.blog-wrapper.blog-archive .post-item > .col-inner, .blog-wrapper.blog-single article{
    overflow: hidden;
    padding: 15px;
    border: 1px solid #ccc;
    background: #fff;
    -webkit-box-shadow: 0 2px 10px -5px rgb(0 0 0 / 50%);
    -moz-box-shadow: 0 2px 10px -5px rgba(0,0,0,.5);
    box-shadow: 0 2px 10px -5px rgb(0 0 0 / 50%);
}
.blog-wrapper.blog-archive .post-item .post-meta{
	color:#6f6f6f;
	font-size:13px;
	opacity:1;
}

/*--------------------------------------------------------------
# Single post
--------------------------------------------------------------*/
.single .box-text .post-title a{
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 5px;
}
.single .related-posts{
	padding-top:25px;
}
.single .related-posts .box-image{
	padding: 10px;
    margin-bottom: 10px;
    -webkit-box-shadow: 0 2px 10px -5px rgb(0 0 0 / 50%);
    -moz-box-shadow: 0 2px 10px -5px rgba(0,0,0,.5);
    box-shadow: 0 2px 10px -5px rgb(0 0 0 / 50%);	
}
.single .related-posts .box-text .entry-meta{
    color: #6f6f6f;
    font-size: 13px;	
}

/*--------------------------------------------------------------
# Widget
--------------------------------------------------------------*/
.widget{
	font-size:14px;
}
.widget .is-divider, .blog-wrapper .is-divider{
	display:none;
}
.widget_post_view ul li{
	float: left;
    width: 100%;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: #bebebe dotted 1px;
	border-top:0!important;
    position: relative;
    overflow: hidden;	
}
.widget_post_view ul li .post-img{
    float: left;
    width: 90px;
    height: 75px;
    position: relative;
    overflow: hidden;
    margin-right: 10px;
	padding:0;
}
.widget_post_view ul li h4 a{
    font-size: 13px;
	font-weight: 400;
}
.widget_post_view ul li h4 span{
    font-size: 12px;
    font-weight: 400;
    color: #888;
    display: block;	
}
/* Widget Recent Posts */
.widget .list-post-item, .widget .product_list_widget{
	border: 1px solid #eaeaea;
    padding: 10px 10px;
    background: #fff;	
}

.widget .list-post-item li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f8f8f8;
}
.widget .list-post-item li+li {
	border-top:none;
}
.widget .list-post-item li:last-child {
    margin-bottom: 0;
}
.widget .list-post-item .post:after {
    clear: both;
}
.widget .list-post-item .alignleft {
    margin-right: 10px;
	width:auto;
	padding:0;
}
.widget .list-post-item .alignleft img, .widget .list-post-item .alignright img{
	width: 90px;
    height: 60px;
    object-fit: cover;
}
.widget .list-post-item .alignright {
    margin-left: 10px;
	width:auto;
}
.widget .list-post-item .aligncenter {
    text-align: center;
}
.widget .list-post-item h3{
	font-weight:normal;
	margin-bottom:0;
}
.widget .list-post-item h3 a{
	color: #333;
	font-size: 14px;
    line-height: 1.5;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.widget .list-post-item h3 span{
	font-size: 12px;
    display: block;
    color: #666666	
}

a.back-to-top{
	width:46px;
	height:46px;
	background: url(./images/toTop.png) no-repeat;
	z-index:9999;
    border: none!important;
	bottom: 245px;
	right: 27px;
}
/*--------------------------------------------------------------
# Breadcrumb
--------------------------------------------------------------*/
#breadcrumb{
    color: #000;
	font-size:14px;
}
#breadcrumb .breadcrumb-wrap{
    text-align: center;
    position: relative;
    padding: 80px 0px;
}
#breadcrumb a {
	color:#000;
}
#breadcrumb a > i {
    margin-left: 10px;
}
#breadcrumb i {
    margin-right: 10px;
}
#breadcrumb .title{
	text-transform: uppercase;
    font-size: 30px;
    font-weight: 500;
    color: #f7921e!important;
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer{
	border-top: 3px solid #2a879e;	
	font-size:14px;
}
#footer .footer-top .box-ft{
	max-width: 20%;
	flex-basis: 20%;	
}
#footer p+p{
	margin-bottom:8px;
}
#footer li{
	margin-left:0;
	list-style:none;
}
#footer .widget-title, #footer .box-ft:not(:first-child) h3{
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
	font-weight: 400;
	font-size: 20px;
	text-transform: uppercase;
	display:block;
}
#footer .widget-title::before, #footer .box-ft:not(:first-child) h3:before {
    content: '';
    width: 20%;
    height: 2px;
    background: #ee7807;
    position: absolute;
    bottom: -1px;
    left: 0px;
    border-radius: 1px;
}
#footer .widget-title::after,  #footer .box-ft:not(:first-child) h3:after{
    content: '';
    width: calc(80% - 2px);
    height: 2px;
    position: absolute;
    bottom: -1px;
    right: 0px;
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.5);
}
#footer .widget:nth-child(1) ul li:before,  #footer .box-ft:nth-child(1) ul li:before{
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 5px;	
}
#footer .widget:nth-child(1) ul li:before, #footer .box-ft:nth-child(1) ul li:before{
    content: "\f3cd";
}
#footer .widget:nth-child(1) ul li:nth-child(2)::before, #footer .box-ft:nth-child(1) ul li:nth-child(2)::before{
    content: "\f0e0";
}
#footer .widget:nth-child(1) ul li:nth-child(3)::before, #footer .box-ft:nth-child(1) ul li:nth-child(3)::before{
    content: "\f3c5";
}
#footer .widget:nth-child(1) ul li:nth-child(4)::before, #footer .box-ft:nth-child(1) ul li:nth-child(4)::before{
    content: "\f57d";
}

#footer .widget:nth-child(2) ul li:before,  #footer .box-ft:nth-child(2) ul li:before {
	content: "\f0da";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 5px;	
}
/* @media only screen and (min-width: 1366px) {
	.home #content .slider-wrapper {
    width: 65.1%;
    float: right;
    margin-right: 8.3%;
} */
/* 	#breadcrumb .breadcrumb-wrap {width: 78%;
    float: right;} */
/* }
@media only screen and (min-width: 1600px) {
.home #content .slider-wrapper {
    width: 55.7%;
    float: right;
    margin-right: 14.3%;
}
}
@media only screen and (min-width: 1900px) {
.home #content .slider-wrapper {
    width: 58.6%;
    float: right;
    margin-right: 12.44%;
}
} */
@media only screen and (max-width: 767px) {
	.home #content .slider-wrapper {width: 100%;float: initial}
	#mega-menu-title {display:none}
	#mega-menu-wrap.ot-vm-hover {
    width: 250px !important;
		background: none;
}
}
@media only screen and (max-width: 375px) {
	.product-small.box .box-text .price-wrapper ins span.amount {
		font-size: 15px;
	}	
	.product-small.box .box-text .price-wrapper del span.amount{
		font-size:12px;
	}
}