/*
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.   ***************/
/*** category product ***/

.div-no-padding{
	padding-bottom: 0 !important;
}
.rm-mar-left li {
    margin-left: 0 !important;
}
.img-circle img {
    border-radius: 50% !important;
}
#mega_menu > li:last-child {
    background: #333333 !important;
	text-align: center;
}
#mega_menu > li:last-child a {
	color: #fff;
}
#mega_menu > li:last-child:hover a {
	color: #444444;
}
body.home #mega_menu {
	border-bottom: 5px solid black;
}
/*** end category product ***/
.product-small.box{
	border: 1px solid #ebebeb;
    border-radius: .25rem!important;
    background: #fff;
    overflow: hidden;
}
.product-small.box .box-text{
	padding: 10px;
}
.price del{
    color: #666;
}
.home .product-title,
.archive .product-title {
    height: 34px !important;
    font-weight: 300;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
}
.product-title a{
	margin-top: 0 !important;
}
.header-bottom {
	border-top: 1px solid #ccc;
	border-bottom: 3px solid #1b6793;
}
.main-color {
    color: #ec1f28;
}
/*input[type='search'] {
	font-size: 15px;
	height: 44px
}*/
#mega-menu-wrap {
	background: #333333;
	height: 46px
}
/*#wide-nav > .flex-row > .flex-left {
	max-width: 285px;
	min-width: 289px;
}*/
.nav>li>a
.nav>li>a {
	padding: 0;
	color: #383838
}
/*.nav>li>a:hover {
	background: red;
	color: white
}*/
.header-nav-main.nav>li {
	margin: 0 12px;
}
#wide-nav > .flex-row > .flex-left {
	margin-right: 0
}
/*.nav>li.active>a {
	background: red;
	color: white
}*/
#mega_menu > li > a {
	position: relative;
	padding-left: 15px;
	text-transform: uppercase;
	font-size: 13px;
	color: #444444;
	font-weight: bolder;
}
#mega_menu ul.sub-menu li a:hover {
	color: red
}
#mega_menu ul.sub-menu li a {
	color: #404040;
	padding-left: 0;
	padding-top: 5px;
	padding-bottom: 5px
}
#mega_menu ul.sub-menu > li {
	list-style: circle;
	margin-left: 30px
}
#mega_menu > li > ul.sub-menu {
	height: 329px;
	margin: 0;
	overflow: hidden;
	min-height: 200px
}
body.home #mega_menu {
	border-top: 3px solid red
}
.cat1 .tieu-de {
	padding: 12px 15px;
	color: #fff;
	margin-bottom: 15px;
	BACKGROUND: #444;
	HEIGHT: 40PX;
}
.cat1 .tieu-de h2 {
	font-size: 15px;
	font-weight: bold;
	line-height: 20px;
	margin: 0;
	color: white
}
.cat1 .box-text h5 {
	text-transform: none;
	letter-spacing: 0;
	font-size: 15px
}
.danh-muc .tieu-de-san-pham {
	border-bottom: 2px solid #2692d0;
	float: left;
	font-size: 15px;
	line-height: 19px;
	margin: 20px 0;
	position: relative;
	text-transform: uppercase;
	width: 100%;
}
.danh-muc .tieu-de-san-pham .tieu-de-trai {
	background: #2692d0;
	color: #fff;
	float: left;
	font-weight: bold;
	padding: 14px;
	position: relative;
}
.danh-muc .tieu-de-san-pham .xem-tat-ca {
	position: absolute;
	right: 0;
	text-transform: none;
	top: 28px;
}
.danh-muc .tieu-de-san-pham .xem-tat-ca a {
	color: #444;
	font-size: 13px;
}
.danh-muc .tieu-de-san-pham .tieu-de-trai a {
	color: #fff;
	text-decoration: none;
}
.danh-muc .tieu-de-san-pham .tieu-de-trai:before {
	background: url('images/icon-right-title.png');
	content: "";
	height: 47px;
	position: absolute;
	right: -50px;
	top: 0;
	width: 51px;
}
.box-text a:not(.button) {
	margin-top: 10px;
	margin-bottom: 10px;
	color: #3c3c3c;
	font-weight: bolder
}
span.amount {
	color: red
}
.cat1 .row .col {
	padding: 0 15px 0px;
}
.danh-muc .row .col {
	padding: 0 9.8px 15px;
}
.tin-tuc-y-kien .tieu-de-tin-tuc {
	color: #b0241f;
	font-weight: bold;
	margin: 30px 0;
	position: relative;
	text-align: center;
	float: left;
	width: 100%;
	font-size: 18px;
}
.tin-tuc-y-kien .tieu-de-tin-tuc:after {
	background: #444 none repeat scroll 0 0;
	bottom: -10px;
	content: "";
	height: 2px;
	left: calc(50% - 25px);
	position: absolute;
	width: 50px;
}
.box-blog-post .is-divider {
	display: none
}
.box-text {
	padding-top: 5px;
	padding-bottom: 5px;
}
.tin-tuc-y-kien .row .tieu-de {
	padding: 0 9.8px 0px;
}
.tin-tuc-y-kien .row .tieu-de .col {
	padding: 0 9.8px 0px;
}
.tin-tuc-y-kien .bai-viet .col {
	padding: 0 15px 10px;
}
.tin-tuc-y-kien .bai-viet .bai-viet-lien-quan .box-text h5 {
	font-weight: normal;
	font-size: 14px
}
.tin-tuc-y-kien .bai-viet .bai-viet-lien-quan .tieu-de-cot h3 {
	font-size: 14px;
	text-transform: none;
	border-top: 1px solid #bdbdbd;
	border-bottom: 1px solid #bdbdbd;
	line-height: 30px;
	font-size: 15px
}
.tin-tuc-y-kien .bai-viet .bai-viet-lien-quan .box-text {
	padding-top: 1px;
	padding-bottom: 1px;
}
.tin-tuc-y-kien .y-kien .row {
	padding-top: 20px;
	padding-left: 10px;
	padding-right: 10px
}
.absolute-footer.dark {
	border-top: 2px solid #0e7547
}
.footer-top .title-dang-ky h4 {
	border-left: 2px solid;
	border-right: 2px solid;
	color: #fff;
	font-size: 15px;
	position: relative;
	top: 15px;
}
.footer-top .title-form-dang-ky h5 {
	color: #fff;
	text-align: center;
	text-transform: uppercase;
	font-weight: normal;
	font-size: 14px
}
.form-flat .ho-ten {
	width: 40%;
	margin-right: 20px;
	float: left
}
.form-flat .sdt {
	width: 40%;
	margin-right: 20px;
	float: left
}
.form-flat .gui-di {
	width: 10%;
	float: left;
	text-align: left
}
.form-flat .clearboth {
	clear: both
}
.footer-center .logo-footer {
	background: #272727;
	padding: 10px 0;
	position: relative;
}
.footer-top .row .col {
	padding: 0 9.8px 0px;
}
input {
	margin-bottom: 0
}
.footer-center .logo-footer .text-center::before {
	background: #272727 none repeat scroll 0 0;
	border-top: 3px solid #2692d0;
	content: "";
	height: 30px;
	left: 0;
	position: absolute;
	top: -20px;
	width: 100%;
}
.footer-center .footer-menu li {
	list-style: none;
	float: left;
	padding: 19px;
	text-transform: uppercase;
}
.footer-center .footer-menu li a {
	color: white;
	font-size: 14px;
	font-weight: bold;
}
.footer-bottom .info-footer {
	background: #272727 url("images/bg-info-footer-1.png") no-repeat scroll center center;
	border-top: 1px solid #444;
	background-repeat: no-repeat;
	color: #999999;
	font-size: 12px;
	padding: 15px 20px;
	text-align: left;
	z-index: 99;
}
form {
	margin-bottom: 5px
}
/*.widget-title {
	border-left: 2px solid #fff;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	padding: 0 0 0 10px;
	margin: 0 0 15px 0;
	float: left;
	width: 100%;
}*/
.footer-bottom .colum li {
	color: white;
	list-style: circle;
	font-size: 14px;
	margin-left: 20px
}
.footer-bottom .row .col {
	padding-bottom: 10px;
	padding-top: 26px
}
.footer-bottom .row .col a {
	color: #bfbfbf
}
.breadcrumbs {
	text-transform: none;
	color: #222;
	font-weight: normal;
	letter-spacing: 0px;
	padding: 0;
	font-size: 13px;
}
.product-short-description {
	font-size: 14px
}
.product-main .product-title {
	font-size: 19px
}
/*.is-divider {
	display: none
}*/
.product-main span.amount {
	font-size: 18px
}
.product_list_widget .product-title {
	font-size: 14px
}
.product_list_widget span.amount {
	font-size: 14px
}
#product-sidebar .danh-muc .tieu-de-san-pham {
	border-bottom: 2px solid #0e7547;
	float: left;
	font-size: 15px;
	line-height: 19px;
	position: relative;
	text-transform: uppercase;
	width: 100%;
	margin: 0
}
#product-sidebar .danh-muc .tieu-de-san-pham .tieu-de-trai {
	background: #0e7547;
	color: #fff;
	float: left;
	font-weight: bold;
	padding: 14px;
	position: relative;
}
#product-sidebar .danh-muc .tieu-de-san-pham .tieu-de-trai a {
	color: #fff;
	text-decoration: none;
}
#product-sidebar .danh-muc .tieu-de-san-pham .tieu-de-trai:before {
	background: url('images/icon-right-title.png');
	content: "";
	height: 47px;
	position: absolute;
	right: -50px;
	top: 0;
	width: 51px;
}
/*.widget {
	margin-bottom: 0
}*/
.widget a {
	font-size: 14px
}
h3.widget-title {
	display: none
}
.badge.post-date {
	top: 0
}
.page-wrapper {
	padding-top: 20px;
	padding-bottom: 20px
}
.article-inner .entry-image img {
	display: none
}
footer.entry-meta {
	display: none
}
#nav-below {
	display: none
}
.article-inner .badge.post-date {
	display: none
}
.entry-content {
	padding-top: 0;
	padding-bottom: 0
}
.category-page-row {
	padding-top: 0
}
.back-to-top {
	border-color: #0e7547 !important;
}
.back-to-top i {
    color: #0e7547;
}
.copyright-footer {
	margin-top: 10px;
	/*margin-left: 35px;*/
}
.copyright-footer img{
    max-width: 175px;
}


#related_posts .col {
  float: left;
  margin-left: 0;
  list-style: none;
}
.relatedcontent h3 {
  font-size: 16px;
  margin-top: 7px;
}
.relatedthumb img {
  height: 100%;
  max-height: 165px;
}
#related_posts {
  border-top: 4px double #e8e8e8;
        padding-top: 10px;
}
#related_posts li:nth-child(1) {
  padding-left: 0 !important;
}
#related_posts li:nth-child(2) {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
#related_posts li:nth-child(3) {
  padding-right: 0 !important;
}
.relatedthumb img {
  min-height: 125px;
}

#shop-sidebar aside{
	margin-bottom: 30px;
}

.block-news:before {
    position: absolute;
    content: '';
    background-image: url(images/news_left.png);
    display: block;
    width: 155px;
    height: 97px;
    background-size: 100%;
    top: 0px;
    left: 0px;
    z-index: 999
}
.block-news:after {
    position: absolute;
    content: '';
    background-image: url(images/news_right.png);
    display: block;
    width: 155px;
    height: 140px;
    background-size: 100%;
    top: 0px;
    right: 0px;
    z-index: 999
}
.block-news .section-content:before {
    position: absolute;
    content: '';
    background-image: url(images/open_sale_left.png);
    display: block;
    width: 95px;
    height: 100px;
    background-size: 100%;
    bottom: 0;
    left: 0;
    z-index: 999
}
.danh-muc .uppercase{
	color: #0e7547;
}
.itc_title {
    font-size: 1.5em;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3em;
    position: relative;
    margin: 0;
    margin-bottom: 0.8em;
    padding-bottom: 1.3em;
    color: #7b9951;
}
.itc_title:before {
    position: absolute;
    bottom: 0.5rem;
    content: '';
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(to right,#ebebeb 0%,#ebebeb 45%,rgba(255,255,255,0) 45%,rgba(255,255,255,0) 55%,#ebebeb 55%);
}
.itc_title:after {
    position: absolute;
    bottom: 0;
    content: "\f140";
    font-family: FontAwesome;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    line-height: 1;
    color: #0e7547;
}

.home .section-content>.row.row-collapse ,
.page-template-smarthome .section-content>.row.row-collapse{
    max-width: calc(100% - 190px)!important;
}
.section-b .milo .after-title {
    padding-bottom: 20px;
    margin-bottom: 25px;
    position: relative;
}
.section-b .section-title-normal {
    border-bottom: none;
    margin-bottom: 0;
    font-weight: 800;
    font-size: 26px;
}
.section-b .milo .after-title:after {
    content: '';
    width: 50px;
    height: 6px;
    background: #2cb14c;
    border-radius: 10px;
    position: absolute;
    bottom: -5px;
    left: 0;
}
.section-b .milo .section-title-container+p {
    margin-bottom: 0;
    display: -webkit-box;
}
.section-b .row.row-collapse {
    background-color: #f5f5f5;
}
.home .featured-box{
    padding: 20px;
    border-radius: 20px;
    background-color: #fff;
    min-height: 100%;
}
.home .featured-box p {
    font-size: 16px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    -webkit-line-clamp: 6;
    word-break: break-word;
}
.wpcf7 .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 10px;
}

.network-socials-fixed {
    position: fixed;
    top: 50%;
    right: 0;
    width: 180px;
    margin-right: -139px!important;
    z-index: 999;
    -webkit-transition: translateY(-50%);
    -moz-transform: translateY(-50%);
    transform: translateY(-50%);
    background-color: #2692d0;
}
.network-socials-fixed .item {
    height: 38px;
    margin-bottom: 1px;
    background-color: #1d9ce5;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
}
.network-socials-fixed .item a {
    display: block;
    color: #fff;
    line-height: 30px;
    text-decoration: none;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
}
.network-socials-fixed .item a span.icon {
    display: inline-block;
    vertical-align: middle;
    margin: 3px;
    height: 32px;
    width: 32px;
    font-size: 17px;
    text-align: center;
    overflow: hidden;
    background-color: #2692d0;
}
.network-socials-fixed .item a span.number {
    text-transform: uppercase;
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
}
.network-socials-fixed a:hover, 
.network-socials-fixed .item.lh-dm a:hover, 
.network-socials-fixed .item.lh-dm:hover a {
     color: #d4eaeb!important; 
}
.network-socials-fixed .item.lh-dm:hover {
    -webkit-transform: translateX(-140px);
    -moz-transform: translateX(-140px);
    transform: translateX(-140px);
}
.inner-fab-icon{
	margin: 4px;
}
.header-nav > li > ul.sub-menu > li > a{
	height: 0;
	display: none;
}
.nav-dropdown{
	padding-top: 0;
	padding-bottom: 0;
}
.home .homeIntro .item:nth-child(2){
	top: 40%;
}
.home .homeIntro .item:nth-child(5) {
    bottom: 37%;
}
.noidungso .row > .col .img img{
	border-radius: 20px;
	border: 2px solid #fff000;
}
.noidungso .row > .col:hover .img img{
	border-color: red;
}





.homeIntro .content {
    width: max-content;
    margin: 10px auto 0;
    position: relative;
}
.homeIntro .yinyang {
    position: relative;
    margin: 0 auto;
    width: 420px;
    padding: 110px 320px;
    box-sizing: content-box;
}
.yinyang .circle {width: 100%;/* padding: 110px 320px; */}
.yinyang .circle img {
    width: 100%;
    /* display: none; */
    animation: rotate-spin 8.5s linear .5s infinite;
}
#locdh .locdttmb .item .col-md-4 img{
    /* transform: scale(.5); */
    width: 250px;
    height: 180px;
    margin: 3rem auto;
}
.yinyang .txt .water{
    width: 300.623853px;
    height: 210px;
    margin: 0px auto;
    background-size: auto 100%;
    transform: scale(0.8);
    /* background-position: -33427px top; */
}
/*.yinyang .txt img {
    width: 240px;
}
.yinyang img {

}*/
.homeIntro .listing {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /*position: relative;*/
}
.homeIntro .item {
    position: absolute;
    width: max-content;
    height: max-content;
}
.homeIntro .item .txt {
    width: 300px;
}
.homeIntro .item:nth-child(1) {
    top: 0;
}
.homeIntro .item:nth-child(1), .homeIntro .item:nth-child(4) {
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
}
.homeIntro .item:nth-child(2) {
}
.homeIntro .item:nth-child(2), .homeIntro .item:nth-child(3) {
    right: 0;
    text-align: right;
}
.homeIntro .item:nth-child(2), .homeIntro .item:nth-child(6) {
    top: 25%;
}
.homeIntro .item:nth-child(3) {}
.homeIntro .item:nth-child(3), .homeIntro .item:nth-child(5) {
    bottom: 25%;
}
.homeIntro .item:nth-child(4) {
    bottom: 0;
}
.homeIntro .item:nth-child(5) {}
.homeIntro .item:nth-child(5), .homeIntro .item:nth-child(6) {
    left: 0;
}
.homeIntro .item:nth-child(6) {}
.homeIntro .no {}
.homeIntro .txt {
}
.homeIntro .item .txt img {
    width: 334px;
    width: 100%;
}
.yinyang .txt{
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}
.yinyang .txt .smalltext {
    width: 200px;
    margin: 0px auto;
    background-repeat: no-repeat;
    background-size: contain;
}
.yinyang .txt .water.active {
    animation: textrun 1.5s steps(107) forwards 1;
}

@keyframes yinyang{
    0% {background-position: 0 0;}
    100%{background-position: -299000px 0;}
}

.homeIntro .listing.mobile, .homeBanner .mobile {
    display: none;
}
@keyframes rotate-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


@media only screen and (max-width: 48em) {
	.ux-search-submit.submit-button {
		height: 44px;
		width: 44px;
	}
	.copyright-footer {
		margin-top: 0;
		margin-left: 0;
	}
	.absolute-footer {
		height: 150px;
	}



	.section-b .col-inner{
		padding: 15px 15px !important;
	}
	.home .section-content>.row.row-collapse, .page-template-smarthome .section-content>.row.row-collapse{
			    max-width: calc(100%)!important;
	}
	.section-b .text-right,
	.section-b .text-left,
	.section-b .text{
			text-align: center !important;
	}
	.section-b .is-divider{
			margin: 0 auto 15px !important;
	}
}
