/*
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.   ***************/

:root {
	--wn-primary-color: #ea3a3c;
}

.wn-section-4 .wpcf7 .wpcf7-spinner {
	display: none;
}

.wn-section-4 .wpcf7 {
	text-align: center;
}

.wn-section-4 .wpcf7 p {
  margin: 5px;
}

.wn_anh_nguoi_dang_tin {
	width: 150px;
	height: 150px;
	object-fit: cover;
}

.wn-hotline {
	position: fixed;
	left: 10px;
	bottom: 10px;
	z-index: 9000;
	display: block;
}

.wn-hotline a {
	color: white;
}

.wn-hotline .left {
	background: var(--wn-primary-color);
	width: fit-content;
	padding: 5px 20px;
	border-radius: 99px;
	margin-bottom: 10px;
}

.wn-hotline .right {
	background: #0065f7;
	width: fit-content;
	padding: 5px 20px;
	border-radius: 99px;
}

.header-bottom {
	background-image: linear-gradient(var(--wn-primary-color), #b70002);
}
.header-bottom-nav > li {
	margin: 0 !important;
}
.header-bottom-nav > li > a {
	font-size: 14px;
	line-height: 25px;
	padding: 10px 25px;
	color: white;
}
.header:not(.transparent) .header-bottom-nav.nav > li > a:hover,
.header:not(.transparent) .header-bottom-nav.nav > li.active > a,
.header:not(.transparent) .header-bottom-nav.nav > li.current > a,
.header:not(.transparent) .header-bottom-nav.nav > li > a.active,
.header:not(.transparent) .header-bottom-nav.nav > li > a.current {
	background: var(--wn-primary-color);
}
.header-bottom .header-search-form-wrapper input[type='search'],
.header-bottom .header-search-form-wrapper button[type="submit"] {
	box-shadow: none;
	border: none;
}
.nav-dropdown-default {
	padding: 0;
	border: none;
}
.nav-dropdown.nav-dropdown-default>li>a {
	padding: 10px 5px 10px 10px;
	margin: 0px;
}
.nav-dropdown.nav-dropdown-default>li:hover {
	background: #78b82a;
}
.nav-dropdown.nav-dropdown-default>li:hover a {
	color: #fff;
}

.header:not(.transparent) .header-bottom-nav.nav > li > a:hover, .header:not(.transparent) .header-bottom-nav.nav > li.active > a, .header:not(.transparent) .header-bottom-nav.nav > li.current > a, .header:not(.transparent) .header-bottom-nav.nav > li > a.active, .header:not(.transparent) .header-bottom-nav.nav > li > a.current {
	color: #fff000;
}

.header-top .html_topbar_left {
	font-size: 18px !important;
	font-weight: 700;
	line-height: 28.8px
}

.wn-footer-section h3 {
	font-size: 16px;
	color: #fff;
	text-transform: uppercase;
	position: relative;
	padding-bottom: 5px;
	border-bottom: 2px solid var(--wn-primary-color);
}

.wn-footer-section ul li {
	margin-left: 0px;
	list-style: none;
}

.wn-footer-section .wn-footer-input-left {
	width: 49%;
	float: left;
}

.wn-footer-section .wn-footer-input-right {
	width: 49%;
	float: right;
}
.absolute-footer.dark {
	color: #fff;
	padding: 10px 0;
	font-size: 13px;
	background-image: linear-gradient(#d00002, #b70002);
}

.wn-section-1 .img-inner {
	padding: 6px;
	outline: 3px solid var(--wn-primary-color);
	box-shadow: 5px 5px var(--wn-primary-color);
}

.wn-section-1 .col:first-child .col-inner {
	padding: 10px;
	box-shadow: 2px 2px 10px #0000001c;
	background: #fff;
}

.wn-section-2 h3 {
	font-size: 26px;
	margin-bottom: 20px;
	text-transform: uppercase;
	text-shadow: 2px 2px #003b50;
}

.wn-product-catalog {
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: #f2f2f2;
	padding: 10px;
}

.wn-product-item-wrapper {
	background: #fff;
	padding: 10px;
	border: 1px solid #CED4DA;
	border-radius: 5px;
}

.wn-product-item-details-wrapper {
	display: flex;
	gap: 10px;
	align-items: center;
}

.wn-product-item-details-container {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.wn-product-item-wrapper .wn-product-item-image-wrapper {
    width: 14%;
    overflow: hidden;
}

.wn-product-item-wrapper .wn-product-item-name {
    color: var(--wn-primary-color);
    font-size: 17px;
    font-weight: 700;
}

.wn-product-item-location,
.wn-product-item-area,
.wn-product-item-price {
    font-weight: 700;
}

.wn-product-item-image {
    position: relative;
}

.wn-product-item-image-wrapper:hover .wn-product-item-image {
    transform: scale(1.1);
    transition: all 0.6s ease;
}

.wn-product-item-image-wrapper:hover .wn-product-item-image:before {
    left: 75%;
    transition: all 0.6s ease;
}

.wn-product-item-image:before {
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    content: '';
    width: 50px;
    height: 100px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .3) 100%);
    transform: skewX(-25deg);
}

.wn-section-3 h3.wn-product-title {
	margin-right: 15px;
	border-bottom: none;
	margin-bottom: 0px;
	padding: 6px 0px 6px 20px;
	color: #fff;
	background: var(--wn-primary-color);
}

.wn-product-title {
	text-transform: uppercase;
}

.custom-pagination {
	text-align: center;
	margin: 20px 0;
}

.custom-pagination a,
.custom-pagination .current {
	display: inline-block;
	margin: 0 5px;
	padding: 10px 15px;
	border: 1px solid #ccc;
	color: #333;
	text-decoration: none;
}

.custom-pagination .current {
	background-color: var(--wn-primary-color);
	color: #fff;
	border: none;
}

.custom-pagination a:hover {
	background-color: var(--wn-primary-color);
	color: #fff;
}

.wn-section-4 .icon-box h3 {
	font-size: 20px;
	color: var(--wn-primary-color);
	text-transform: uppercase;
	margin-top: 7px;
	margin-bottom: 0;
}
.wn-section-4 .icon-box .hotline-ho-tro {
	font-size: 30px;
	font-weight: bold;
	color: var(--wn-primary-color);
	font-style: italic;
	letter-spacing: 2px;
	margin-bottom: 0;
}
.form-tu-van h3 {
	font-size: 24px;
	color: #000;
	text-transform: uppercase;
	text-align: center;
	margin-bottom: 0px;
}
.form-tu-van h4 {
	font-size: 30px;
	color: var(--wn-primary-color);
	text-transform: uppercase;
	text-align: center;
	margin-bottom: 0px;
	font-family: 'Kanit', sans-serif;
}

.wn-gallery .box-text {
	bottom: unset !important;
	text-shadow: unset !important;
	padding: 5px 0 0 0 !important;
}

.wn-gallery p{
	color: black !important;
}

.wn-gallery {
	min-height: 300px;
}

#toc_container li,
#toc_container ul {
  margin:0;
  padding:0
}
#toc_container.no_bullets li,
#toc_container.no_bullets ul,
#toc_container.no_bullets ul li,
.toc_widget_list.no_bullets,
.toc_widget_list.no_bullets li {
  background:0 0;
  list-style-type:none;
  list-style:none
}
#toc_container.have_bullets li {
  padding-left:12px
}
#toc_container ul ul {
  margin-left:1.5em
}
#toc_container {
  background:#f9f9f9;
  border:1px solid #aaa;
  padding:10px;
  margin-bottom:1em;
  width:auto;
  display:table;
  font-size:95%
}
#toc_container.toc_light_blue {
  background:#edf6ff
}
#toc_container.toc_white {
  background:#fff
}
#toc_container.toc_black {
  background:#000
}
#toc_container.toc_transparent {
  background:none transparent
}
#toc_container p.toc_title {
  text-align:center;
  font-weight:700;
  margin:0;
  padding:0
}
#toc_container.toc_black p.toc_title {
  color:#aaa
}
#toc_container span.toc_toggle {
  font-weight:400;
  font-size:90%
}
#toc_container p.toc_title+ul.toc_list {
  margin-top:1em
}
.toc_wrap_left {
  float:left;
  margin-right:10px
}
.toc_wrap_right {
  float:right;
  margin-left:10px
}
#toc_container a {
  text-decoration:none;
  text-shadow:none
}
#toc_container a:hover {
  text-decoration:underline
}
.toc_sitemap_posts_letter {
  font-size:1.5em;
  font-style:italic
}

.wn-widget .container.section-title-container {
    margin: 0;
}

.wn-product-catalog .post-item .box-image::before {
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    content: "";
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.3) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.3) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
}

.blog-archive .col.post-item:hover a.plain, .blog-archive .col.post-item:hover p {
    color: var(--primary-color);
}

#footer li a {
    color: white;
}

.wn-widget h3.section-title, .wn-widget .section-title span {
    border-bottom: 0;
    color: white;
    margin: 0;
    padding: 2.5px 7px;
    font-size: 1.2rem;
}

.wn-widget .ux-menu-link.flex.menu-item {
	border-top: 1px solid #fff;
    background-image: linear-gradient(#F6F6F6, #EEEEEE);
    border-bottom: 1px solid #DBDBDB;
    border-right: 1px solid #DBDBDB;
}

.wn-widget a.ux-menu-link__link.flex {
    padding-left: 15px;
}

.wn-widget > .col-inner > .row:nth-child(2) .box-text {
    padding: 0 10px 5px 10px;
    font-size: 15px;
	vertical-align: top;
}

.wn-widget > .col-inner > .row:nth-child(2) .box-text  a.plain{
	color: #000;
}



.wn-widget > .col-inner > .row:nth-child(2) .box-image .image-cover {
	border-radius: 10px;
}


.wn-widget .section-title a {
    color: white;
}

.wn-widget .section-title a i{
    display: none;
}

.wn-widget .section-title span {
	padding: 0
}

.wn-widget a.ux-menu-link__link.flex:hover {
	color: var(--primary-color);
}

.wn-widget .ux-menu {
    box-shadow: 0px 0px 30px -10px rgba(0, 0, 0, 0.3);
}

.wn-widget .no-img-posts .box-image, #tab-reviews {
    display: none !important;
}

.wn-widget form.searchandfilter {
    border: 1px solid #e7e7e7;
    padding: 10px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 20px;
}

.wn-widget form ul,
.wn-widget form li {
	list-style: none;
	margin: 0;
}

.wn-widget .col-inner.wn-blog-post {
    border: 1px solid #e7e7e7;
    padding: 10px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 20px;
}

.wn-widget select {
	margin-bottom: 10px;
}

.wn-widget input[type="submit"] {
    width: 100%;
}

.wn-widget .container.section-title-container {
    margin: 0;
    background: var(--wn-primary-color);
    padding: 5px;
}

.blog-archive .box.box-text-bottom h5 {
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 19px;
}

.post-item .box-image:hover::before {
    -webkit-animation: shine 0.75s;
    animation: shine 0.75s;
}

.wn-section-2 .section-content{
	max-width: 1162.5px;
	margin: auto;
}

.wn-section-2 .searchandfilter {
	display: flex;
	gap: 10px;
	padding: 0 10px 0 25px;
}

.wn-section-2 h3 {
	text-transform: uppercase;
}

.wn-section-2 input, .wn-section-2 select {
	transform: skewX(-15deg);
}

.wn-section-2 input[type="submit"] {
	padding: 0 40px;
}

.header-search-form.search-form.html.relative.has-icon {
  width: 200px;
}

.wn-single-product-main #col-1031405026 {
	padding: 20px;
	border-radius: 20px;
	border: 1px dashed #ced4da;
}

.wn-single-product-main .woocommerce-product-gallery {
	padding: 20px;
	border-radius: 20px;
	border: solid 1px #ced4da;
	width: 90%;
	margin: 0 auto 20px;
	
}

.wn-single-product-main .product-gallery-slider img {
	height: 400px;
	max-width: 100%;
	object-fit: cover;
	border-radius: 20px;
}

.wn-single-product-main .product-thumbnails .col, .wn-single-product-main .product-thumbnails img{
	aspect-ratio: 1/1;
	object-fit: cover;
}

.wn-single-product-main .product-thumbnails .flickity-viewport {
	height: 85px !important;
}

.wn-single-product-main .product-thumbnails{
	width: 50% !important;
	margin: 0 auto 20px !important;
}

.wn-single-product-main .product-thumbnails .col {
  padding: 0 2px 5px !important;
}

.wn-single-product-main .image-tools {
	display: none;
}

.wn-product-details-wrapper {
	padding: 20px;
	border-radius: 20px;
	border: 1px solid #ced4da;
	display: flex;
}

.wn-product-details-wrapper-left, .wn-product-details-wrapper-right {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.wn-product-details-wrapper .product-detail {
	padding-bottom: 5px;
	border-bottom: 1px dashed #f1f1f1;
	font-size: 14px;
}

.wn-product-details-wrapper .fa {
	width: 15px;
	margin-right: 5px;
}

.wn_product_name {
	font-size: 18px;
	margin: 0;
	margin-top: 30px;
	color: var(--wn-primary-color);
	font-weight: 700;
	margin-bottom: 10px;
}

.product-tabs {
	display: none;
}

.related-products-wrapper .row > div:not(.col):not([class^="col-"]):not([class*=" col-"]) {
	width: 47% !important;
}

.related-products-wrapper .wn-product-item-wrapper {
	margin: 10px;
}

.related-products-wrapper .wn-product-item-name {
	min-height: 45px;
	display: inherit;
	font-size: 16px;
	line-height: 18px;
}

.related-products-wrapper .wn-product-item-details-container {
	font-size: 14px;
}

.related-products-wrapper .wn-product-item-image-wrapper {
	width: 20%;
}

.item--title {
	margin-top: 40px;
}

.wn-single-lien-he p {
	margin: 0; 
}

.wn-single-lien-he .fa {
	width: 15px;
	margin-right: 5px;
	color: var(--wn-primary-color);
}

.product-section {
	border: none;
}

.wn-single-lien-he {
	padding: 20px;
	border-radius: 20px;
	border: 1px dashed #ced4da;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 14px;
}

.wn-single-lien-he .wn-single-lien-he-title {
	padding-bottom: 10px;
	border-bottom: 1px solid #ced4da;
}

.wn-single-product-thong-tin-lien-he .h3{
	margin-top: 10px;
	text-transform: uppercase;
	font-size: 16px;
	line-height: 24px;
	color: #000;
	padding: 10px 0;
	font-weight: bold;
}

.wn-single-product-thong-tin-lien-he .table-raovat {
	border: 1px solid #ddd;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: rgb(221, 221, 221);
	border-top: 3px solid #f15a40;
	margin-bottom: 10px;
	background: #fff;
}

.wn-single-product-thong-tin-lien-he .table-striped > tbody > tr:nth-of-type(2n+1) {
	background-color: #f9f9f9;
}

.wn-single-product-thong-tin-lien-he .table>tbody>tr>td {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
}


@-webkit-keyframes shine {
    100% {
        left: 125%;
    }
}
@keyframes shine {
    100% {
        left: 125%;
    }
}

@media only screen and (max-width: 48em) {
	/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.wn-product-item-wrapper .wn-product-item-image-wrapper {
		width: 50%;
	}

	.wn-single-product-main .product-thumbnails{
		width: 100% !important;
	}


	.wn-single-product-main .product-gallery-slider img {
		height: auto;
		border-radius: 0;
		aspect-ratio: 16/9;
	}

	.wn-single-product-img-wrapper {
		padding: 0;
		border-radius: unset;
		border: unset;
	}

	.wn-product-details-wrapper {
		flex-direction: column;
	}
	
	.wn-single-product-main .woocommerce-product-gallery {
		width: 100%;
	}
	
	.related-products-wrapper .row > div:not(.col):not([class^="col-"]):not([class*=" col-"]) {
		width: 100% !important;
	}

	.related-products-wrapper .wn-product-item-name {
		min-height: unset;
		display: unset;
	}

	.related-products-wrapper .wn-product-item-image-wrapper {
		width: 40%;
	}
	
	.wn-product-details-wrapper {
		gap: 10px;
	}

	.off-canvas-center .mfp-content .searchform {
		max-width: 80%;
	}
	
	.header-search-form.search-form.html.relative.has-icon {
		width: 100%;
	}
	
	.live-search-results.text-left.z-top {
		background: white;
		border: 1px solid #ced4da;
	}
	
	.off-canvas-left .mfp-content {
		--drawer-width: 330px !important;
	}
	
	.searchandfilter {
		flex-wrap: wrap;
		transform: translateX(3%);
		margin: 0;
	}
	
	.wn-section-2 .searchandfilter input, .wn-section-2 .searchandfilter select {
		width: 46%;
		transform: unset;
	}
	
	.wn-section-2 h3 {
		width: 94%;
		margin: 0 auto 10px;
	}

	.wn-hotline {
		display: flex;
		background: gray;
		width: 100%;
		left: 0;
		bottom: 0;
		padding: 10px;
		gap: 10px;
	}

	.wn-hotline .left {
		border-radius: 5px;
		width: 50%;
		margin: 0;
		text-align: center;
	}

	.wn-hotline .right {
		border-radius: 5px;
		width: 50%;
		text-align: center;
	}
	
	.wn_anh_nguoi_dang_tin {
		align-self: center;
	}

}