/*!
 * home.css
 * Version - 1.0
 * Website: Gomsutienbinh.vn
 * Author: KhanhHV
 * Copyright (c) 2020 bicweb.com
 */
.logo h1 {
	margin: 0;
	font-size: 1rem;
}

.kh_module {
	padding: 50px 0;
}

/*********************************************
    1. Banner
    **********************************************/
.gd_banner {
	clear: both;
}

.gd_banner img.bg_slider {}

.gd_banner_image {
	margin: 0;
}

.gd_banner .owl-nav [class^="owl-"] {
	color: #fff;
	line-height: 1;
	opacity: 0;
	position: absolute;
	text-align: center;
	top: 50%;
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	transition: all 0.3s ease-in 0s;
	visibility: hidden;
	z-index: 100;
	height: 65px;
	width: 40px;
	cursor: pointer;
	font-size: 48px;
}

.gd_banner .owl-prev {
	left: 40px;
}

.gd_banner .owl-next {
	right: 40px;
}

.gd_banner:hover .owl-nav [class^="owl-"] {
	opacity: 1;
	visibility: visible;
}

.gd_banner .owl-nav.disabled {
	display: none;
}


.gd_banner .owl-dots {
	position: absolute;
	bottom: 25px;
	left: calc((100vw - var(--content-size)) / 2);
	display: flex;
	padding: 3px 10px;
	border-radius: 5px 5px 0 0;
}

.gd_banner .owl-dots::after,
.gd_banner .owl-dots:before {
	content: "";
	bottom: 0;
	position: absolute;
	display: none;
}

.gd_banner .owl-dots::after {
	border-left: 0px solid transparent;
	border-right: 15px solid transparent;
	right: -14px;
	border-bottom: 24px solid #fff;
}

.gd_banner .owl-dots::before {
	border-left: 15px solid transparent;
	border-top: 0px solid transparent;
	border-bottom: 24px solid #fff;
	left: -14px;
}

.gd_banner .owl-dot {
	padding: 5px;
}

.gd_banner .owl-dots .owl-dot span {
	display: block;
	width: 10px;
	height: 10px;
	border-radius: 5px;
	background: #fff;
	transition: all 300ms ease-in 0ms;
}

.gd_banner .owl-dot.active span {
	width: 50px;
}

.gd_box_testimonial .owl-dots {
	background: none;
	bottom: -20px;
}

.owl-nav.disabled {
	display: none;
}

/*********************************************
	2. Module Giới thiệu
	**********************************************/
.kh_box_intro {
	position: relative;
	text-align: center;
}

.kh_box_intro .kh_box_img {
	position: absolute;
	z-index: -1;
	margin-bottom: 0;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.kh_content_intro {}

.kh_content_intro .kh_img_abs {
	margin-bottom: 30px;
}

.kh_box_title {
	position: relative;
	padding-bottom: 5px;
	margin-bottom: 40px;
	text-align: center;
}

.kh_module.kh_module_intro .kh_box_title {
	margin-bottom: 20px;
}

.kh_box_title .kh_title_sm {
	font-family: Heartbeat;
	font-size: 3rem;
	line-height: 1;
}

.kh_box_title .kh_title_big {
	font-size: 2.5rem;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--color);
}

.kh_box_title:before {
	content: '';
	position: absolute;
	width: 100px;
	height: 1px;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	background: var(--color2);
}

.kh_inner_intro {}

.kh_inner_intro p {
	width: 50%;
	margin: 0 auto;
}

.kh_web_btn {
	margin: 30px 0 0;
	text-align: center;
}

.kh_web_btn a {
	border: 1px solid var(--color);
	color: #222;
	padding: 10px 30px;
	border-radius: 20px;
}

.kh_web_btn a:hover {
	background: var(--color);
	color: #fff;
}

/*********************************************
	3. Module Sản phẩm
	**********************************************/
.kh_img_prod {
	height: calc(440/330 * var(--content-size)/4 - 30px);
	background-color: var(--color2);
	margin-bottom: 0;
	position: relative;
	overflow: hidden;
}

.kh_img_prod * {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all 0.35s ease-in-out;
	transition: all 0.35s ease-in-out;
}

.kh_img_prod img {
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
	vertical-align: top;
}

.kh_img_prod a:before {
	content: "\f002";
	position: absolute;
	font-family: "Font Awesome 5 Free";
	top: 50%;
	left: 50%;
	border-radius: 50%;
	font-size: 30px;
	font-weight: 700;
	color: #000000;
	width: 60px;
	text-align: center;
	height: 60px;
	line-height: 60px;
	background: #ffffff;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
	-webkit-transform: translate(-50%, -50%) scale(0);
	transform: translate(-50%, -50%) scale(0);
	transition: all 300ms 0ms cubic-bezier(0.6, -0.28, 0.735, 0.045);
}

/*	.kh_img_prod a {
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		position: absolute;
	}*/
.kh_img_prod:hover img {
	opacity: 0.3;
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}

.kh_img_prod:hover a:before {
	-webkit-transform: translate(-50%, -50%) scale(1);
	transform: translate(-50%, -50%) scale(1);
	transition: all 300ms 100ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.kh_img_prod .img-fluid {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.kh_content_prod_home {
	text-align: center;
	margin-top: 1rem;
}

.kh_content_prod_home .kh_name_prod {
	font-size: 1.25rem;
	line-height: 1.3;
	font-weight: 600;
	text-transform: capitalize;
}

.kh_module.kh_module_intro {}

.kh_module.kh_module_intro .kh_box_title {
	margin-bottom: 20px;
}

.kh_item_prod {
	margin-bottom: 30px;
}

.kh_module.kh_module_prod .kh_web_btn {
	margin-top: 15px;
}


/*********************************************
	4. Module Lý do
	**********************************************/
.kh_module.kh_module_why {}

.kh_module.kh_module_why .kh_box_title {
	text-align: left;
}

.kh_module.kh_module_why .kh_box_title:before {
	left: 0;
	transform: unset;
}

.kh_list_why {
	display: flex;
}

.kh_list_why .kh_item_why {
	flex: 0 0 33.3333%;
	max-width: 33.3333%;
}

.kh_list_why .kh_item_why .kh_icon_why {
	width: 90px;
	height: 90px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #fff6db;
	border-radius: 50%;
}

.kh_name_why {
	color: var(--color);
	font-size: 1.8rem;
	font-weight: 600;
}

.kh_module.kh_module_why .row {
	align-items: center;
}

/*********************************************
	5. Module Giải thưởng
	**********************************************/
.kh_module.kh_module_archi {}

.kh_module.kh_module_archi .kh_intro_archi .kh_box_title {
	text-align: left;
}

.kh_module.kh_module_archi .kh_intro_archi .kh_web_btn {
	text-align: left;
}

.kh_module.kh_module_archi .kh_intro_archi .kh_box_title::before {
	left: 0;
	transform: unset;
}

.kh_list_archi {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.kh_module.kh_module_archi .kh_intro_archi {
	padding-right: 100px;
}

.kh_img_archi {
	margin-bottom: 0;
	flex: 0 0 33.3333%;
	max-width: 33.3333%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.kh_module.kh_module_archi {
	padding-bottom: 70px;
	background-image: url(../images/background-giai-thuong.png);
	background-repeat: no-repeat;
}



/*********************************************
	4. Module tin tức
	**********************************************/
.kh_img_post {
	height: calc(220/330 * var(--content-size)/4 - 30px);
	margin-bottom: 0;
	background: -webkit-linear-gradient(45deg, #f98333 0%, #f9c757 100%);
	background: linear-gradient(45deg, #f98333 0%, #f9c757 100%);
	position: relative;
}

.kh_img_post img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: relative;
	max-width: none;
}

.kh_img_post a {
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: relative;
}

.kh_img_post a:before {
	position: absolute;
	top: 15px;
	right: 15px;
	bottom: 15px;
	left: 15px;
	border: 1px solid #fff;
	content: '';
	opacity: 0;
	filter: alpha(opacity=0);
	-webkit-transition: opacity 0.35s, -webkit-transform 0.45s;
	transition: opacity 0.35s, transform 0.45s;
	-webkit-transform: translate3d(-15px, 0, 0);
	transform: translate3d(-15px, 0, 0);
	z-index: 1;
}

.kh_img_post:hover img {
	opacity: 0.6;
	filter: alpha(opacity=60);
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

.kh_img_post:hover a:before {
	opacity: 1;
	filter: alpha(opacity=100);
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

.kh_name_post a {
	color: #222;
}

.kh_module.kh_module_news {
	padding-bottom: 70px;
}

/*********************************************
	7. Module XXX
	**********************************************/
@media screen and (min-device-width: 858px) and (max-device-width: 1800px) {}

@media screen and (min-device-width: 1600px) and (max-device-width: 1800px) {}

@media screen and (max-device-width: 1536px) and (min-device-width: 1440px) {}

@media only screen and (min-width: 1200px) and (max-width: 1440px) {
	.kh_module.kh_module_archi {
		background-size: 100% 100%;
	}
}

@media screen and (min-device-width: 625px) and (max-device-width: 1366px) {}

@media screen and (min-device-width: 858px) and (max-device-width: 1200px) {}

@media only screen and (max-width: 1280px) and (min-width: 1199px) {}

@media only screen and (max-width: 1119px) and (min-width: 1080px) {
	.kh_module.kh_module_archi {
		background-size: 100% 100%;
	}
}

@media only screen and (max-width: 1079px) and (min-width: 992px) {}

@media only screen and (max-width: 1024px) and (min-width: 768px) {
	.kh_module {
		padding: 30px 0;
	}

	.kh_content_intro .kh_img_abs {
		margin-bottom: 0;
	}

	.kh_module.kh_module_prod {
		padding: 0 0 30px;
	}

	.kh_box_title {
		margin-bottom: 30px;
	}

	.kh_img_prod {
		height: unset;
	}

	.kh_item_prod {
		margin-bottom: 20px;
	}

	.kh_module.kh_module_why {
		padding: 0 0 30px;
	}

	.kh_box_why {
		flex: 0 0 58%;
		max-width: 58%;
	}

	.kh_box_title .kh_title_big {
		font-size: 2rem;
	}

	.kh_module.kh_module_archi {
		padding-bottom: 30px;
	}

	.kh_module.kh_module_archi .kh_intro_archi {
		padding-right: 15px;
	}

	.kh_item_post {
		flex: 0 0 50%;
		max-width: 50%;
		margin-bottom: 30px;
	}

	.kh_img_post {
		height: unset;
	}

	.kh_module.kh_module_news {
		padding-bottom: 40px;
	}

	.kh_module.kh_module_news .kh_web_btn {
		margin: 0;
	}

	.kh_module.kh_module_archi {
		background-size: 100% 100%;
	}
}

@media screen and (max-device-width: 992px) {}

@media only screen and (max-width: 767px) and (min-width: 577px) {}

@media screen and (max-device-width: 576px) {
	.kh_module {
		padding: 30px 0;
	}

	.kh_box_title {
		margin-bottom: 30px;
	}

	.kh_box_intro .kh_box_img {
		display: none;
	}

	.kh_box_title .kh_title_sm {
		font-size: 2.8rem;
	}

	.kh_box_title .kh_title_big {
		font-size: 1.6rem;
		line-height: 1.3
	}

	.kh_inner_intro p {
		width: 100%;
	}

	.kh_module.kh_module_prod {
		padding: 0 0 40px;
	}

	.kh_img_prod {
		height: unset;
	}

	.kh_module.kh_module_prod .kh_web_btn {
		margin-top: 8px;
	}

	.kh_module.kh_module_why {
		padding: 0 0 30px;
	}

	.kh_module.kh_module_why .kh_box_title {
		text-align: center;
	}

	.kh_module.kh_module_why .kh_box_title:before {
		left: 50%;
		transform: translateX(-50%);
	}

	.kh_list_why {
		flex-wrap: wrap;
	}

	.kh_list_why .kh_item_why {
		flex: 0 0 100%;
		max-width: 100%;
		text-align: center;
		margin-bottom: 30px;
	}

	.kh_list_why .kh_item_why:last-child {
		margin-bottom: 0;
	}

	.kh_list_why .kh_item_why .kh_icon_why {
		margin: 0 auto;
	}

	.kh_module.kh_module_archi {
		padding: 0 0 30px;
		background: none;
	}

	.kh_module.kh_module_archi .kh_intro_archi .kh_box_title {
		text-align: center;
	}

	.kh_module.kh_module_archi .kh_intro_archi .kh_box_title::before {
		left: 50%;
		transform: translateX(-50%);
	}

	.kh_module.kh_module_archi .kh_intro_archi {
		padding-right: 15px;
		margin-bottom: 30px;
	}

	.kh_list_archi {
		flex-wrap: wrap;
	}

	.kh_img_archi {
		flex: 0 0 50%;
		max-width: 50%;
		margin-bottom: 30px;
	}

	.kh_img_archi:last-child {
		margin: 0 auto
	}

	.kh_module.kh_module_archi .kh_intro_archi .kh_web_btn {
		text-align: center;
	}

	.kh_module.kh_module_news {
		padding: 0 0 30px;
	}

	.kh_list_post .kh_item_post {
		flex: 0 0 100%;
		max-width: 100%;
		margin-bottom: 30px;
	}

	.kh_list_post .kh_item_post:last-child {
		margin-bottom: 0;
	}

	.kh_img_post {
		height: unset;
	}

}

@media screen and (max-device-width: 414px) {}

@media screen and (max-device-width: 375px) {}

@media screen and (max-device-width: 360px) {}