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

 .kh_module {
 	padding: 30px 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: 50%;
		transform: translateX(-50%);
		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: 40px;
		height: 10px;
		border-radius: 5px;
		background: #fff;
		transition: all 300ms ease-in 0ms;
	}

	.gd_banner .owl-dot.active span {
		width: 80px;
		background-color: #FDC508;
	}

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

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

/*********************************************
	2. Module Giới thiệu
	**********************************************/
	.kh_box_title {
		position: relative;
		padding-bottom: 10px;
		margin-bottom: 50px;
		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.8rem;
		font-weight: 900;
		color: #222;
		line-height: 1;
	}
	.kh_box_title.kh_have_line::before {
		content: '';
		position: absolute;
		width: 80px;
		height: 1px;
		background-color: #FDC508;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
	}

/*********************************************
	3. Module Sản phẩm
	**********************************************/
	.kh_module.kh_module_prod {
		padding-bottom: 0;
	}
	.kh_nav_type {
		display: flex;
		justify-content: center;
		align-items: center;
		margin-bottom: 40px;
		flex-flow: column;
	}
	.kh_nav_type .kh_list_type {
		display: flex;
		margin: 0 -5px;
	}
	.kh_nav_type .kh_list_type .kh_item_type {
		padding: 0 5px;
	}
	.kh_nav_type .kh_list_type .kh_item_type a {
		border-radius: 30px;
		padding: 13px 30px 10px;
		border: 1px solid #e1e1e1;
		color: #222;
		font-weight: 500;
		background-color: #ebebeb;
	}
	.kh_nav_type .kh_list_type .kh_item_type.type_active a, .kh_nav_type .kh_list_type .kh_item_type a:hover {
		color: #222;
		border-color: #FFB400;
		background-color: #fdcc0d;
	}
	.kh_item_product {
		display: none;
		border: 1px solid #ccc;
		border-left: 0;
		border-bottom: 0;
		padding: 0 5px;
	}
	.kh_item_product:last-child {
		border-right: 0;
	}
	.kh_item_product.show {
		display: block;
	}
	.kh_no_prod {
		text-align: center;
		height: 250px;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.kh_inner_prod {
		height: 100%;
		overflow: hidden;
	}
	.kh_prod_image {
		display: flex;
		justify-content: center;
		align-items: center;
		height: calc(2/3 * var(--content-size)/4 - 30px);
		margin-bottom: 15px;
		overflow: hidden;
	}
	.kh_prod_image a {
		width: 100%;
		height: 100%;
		display: block;
	}
	.kh_prod_image a .img-fluid {
		width: 100%;
		height: 100%;
		object-fit: cover;
		transition: all 300ms ease-in 0ms;
	}
	.kh_prod_image:hover img{
		transform: scale(1.1);
	}
	.kh_wrap_info {
		height: calc(100% - (2/3 * var(--content-size)/4 - 30px));
		display: flex;
		flex-flow: column;
		/*justify-content: space-between;*/
	}
	.kh_info_prod {
		text-align: center;
		padding: 0 20px 10px 20px;
	}
	.kh_info_prod .kh_name_term {
		display: none;
	}
	.kh_name_prod {
		font-size: 16px;
		font-weight: 500;
		margin: 10px 0 5px;
		text-transform: uppercase;
		line-height: 1.42;
		color: #222;
	}
	.kh_name_prod:hover{
		color: #fe8801;
	}
	.hb_strong_prod {
		display: none;
	}
	.kh_des_prod {
		text-align: left;
		padding: 10px 30px;
		border-top: 1px solid #ccc;
	}
	.kh_title_des {
		font-weight: 500;
	}
	.kh_des_prod ul {
		padding-left: 0;
		list-style: none;
	}
	.kh_des_prod ul li {
		padding-left: 25px;
		margin: 5px 0;
		position: relative;
	}
	.kh_des_prod ul li::before {
		content: "\f111";
		top: 50%;
		font-size: 5px;
		transform: translateY(-50%);
		font-family: "Font Awesome 5 Pro";
		color: #fdcc0d;
		position: absolute;
		left: 0;
		font-weight: 800;
		line-height: 1;
	}

	.kh_des_prod .kh_btn_web .btn {
		margin-left: 0;
		background-color: #FDCC0D;
		padding: 12px 50px 8px 20px;
		text-transform: none;
		border: 1px solid #FDCC0D;
	}
	.kh_des_prod .kh_btn_web .btn::before {
		left: unset;
		right: 2px;
		background-color: #fff;
		content: "\f105";
		font-size: 1.5rem;
	}
	.kh_des_prod .kh_btn_web {
		padding: 0 30px;
		visibility: hidden;
	}
	.kh_des_prod .kh_btn_web .btn:hover {
		background-color: #fff;
	}
	.kh_des_prod .kh_btn_web .btn:hover::before {
		background-color: #FDCC0D;
		color: #fff;
	}
	.kh_inner_prod:hover {
	}
	.kh_inner_prod:hover .kh_des_prod .kh_btn_web {
		visibility: visible;
	}
	.kh_des_prod.kh_des_btn {
		border: none;
		padding: 0;
	}
	.kh_des_prod.kh_des_btn .kh_btn_web {
		visibility: visible;
		width: 300px;
		margin: 30px auto 0;
	}

/*********************************************
	4. Module model
	**********************************************/	
	.kh_module.kh_module_model .kh_box_title .kh_title_big {
		color: #fff;
	}
	.kh_module.kh_module_model .kh_box_title {
		margin-bottom: 30px;
	}
	.kh_wrap_model {
		position: relative;
	}
	.kh_inner_model {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}
	.kh_content_model {
		text-align: center;
		color: #fff;
	}
	.kh_img_model {
		margin-bottom: 0;
		position: relative;
	}
	.kh_img_model::before {
		content: '';
		position: absolute;
		width: 100%;
		height: 100%;
		left: 0;
		top: 0;
		background-color: rgba(0,0,0,0.5);
	}


/*********************************************
	5. Module Tính năng
	**********************************************/	
	.kh_module_feature {
		position: relative;
		background-color: #f5f5f5;
		padding-bottom: 0;
	}

	.kh_wrap_feature {
		padding: 0 5px;
		margin-bottom: 10px;
	}
	.kh_item_feature {
		position: relative;
		height: 100%;
		overflow: hidden;
	}
	.kh_img_feature {
		margin-bottom: 0;
		height: 100%;
	}
	.kh_img_feature:before{
		content: "";
		position: absolute;
		left: 0;
		top: 0;
		right: 0;
		bottom: 0;
		visibility: hidden;
		display: none;		
		transition: all 300ms ease-in 0ms;
		background: rgba(0,0,0,0.5);
	}
	.kh_img_feature .img-fluid {
/*		height: 100%;
*/		transition: all 300ms ease-in 0ms;
}
.kh_item_feature:hover img {
	transform: scale(1.1);
}
.kh_item_feature.active .kh_img_feature:before {
	visibility: visible;
	display: block;
	z-index: 1;
}
.kh_info_feature {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	width: 100%;
	padding: 0 50px;
	text-align: center;
	z-index: 2;
}
.kh_name_feature {
	text-transform: uppercase;
	font-size: 1.6rem;
	font-weight: 700;
	transition: all 300ms ease-in 0ms;	
}

.kh_des_feature {
	display: none;
	opacity: 0;
	transition: all 300ms ease-in 0ms;		
}
.kh_item_feature.active .kh_des_feature {
	display: block;
	padding: 20px 30px;
	animation: fadeInDown 1.5s forwards ease 0.3s;
	border: 1px solid #fff;
	margin-top: 30px;
}
.kh_info_feature .kh_des_prod.kh_des_btn .kh_btn_web {
	width: auto;
	margin: 15px 0 0;
	padding: 0;
	width: 55%;
}
.kh_info_feature .kh_des_prod.kh_des_btn .kh_btn_web .btn {
	background-color: rgba(0,0,0,0.7);
	color: #fff;
	border: navajowhite;
}
.kh_info_feature .kh_des_prod.kh_des_btn .kh_btn_web .btn::before {
	background-color: rgb(100, 100, 100,0.6);
}

/*********************************************
	6. Module đăng ký
	**********************************************/	
	.kh_module.kh_module_trial {
		position: relative;
	}
	.kh_img_trial {
		margin-bottom: 0;
		position: relative;
	}
	.kh_wrap_trial {
		position: absolute;
		width: 100%;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		text-align: center;
		color: #fff;
	}
	.kh_img_trial::before {
		content: '';
		position: absolute;
		width: 100%;
		height: 100%;
		left: 0;
		top: 0;
		background-color: rgba(0,0,0,0.5);
	}
	.kh_inner_trial {
	}
	.kh_inner_trial .kh_box_title .kh_title_big {
		color: #fff;
	}
	.kh_inner_trial .kh_box_title {
		margin-bottom: 30px;
	}
	.kh_content_form {
		width: 50%;
		margin: 0 auto 30px;
	}
	.kh_input.d-flex {
		/*! justify-content: center; */
		margin: 0 -5px;
	}
	.kh_input.d-flex .kh_item_input {
		flex: 0 0 33.3333%;
		max-width: 33.3333%;
		padding: 0 5px;
	}
	.kh_input.d-flex .kh_item_input input {
		width: 100%;
		padding: 10px 30px;
		background-color: rgba(38, 38, 38, 0.62);
		color: #fff;
		border-radius: 30px;
		border: 1px solid #cccc;
	}
	.kh_list_btn.d-flex {
		justify-content: center;
		margin: 0 -5px;
	}
	.kh_list_btn.d-flex .kh_des_prod.kh_des_btn .kh_btn_web {
		padding: 0;
		margin-top: 15px;
	}
	.kh_list_btn.d-flex .kh_des_prod.kh_des_btn {
		padding: 0 5px;
	}
	.kh_des_prod .kh_btn_web .btn.kh_submit_regis::before {
		content: '\f4fc';
		font-size: 14px;
	}
	.kh_des_prod .kh_btn_web .btn.kh_submit_callback::before {
		content: '\f095';
		font-size: 14px;
	}
	.kh_validate {
		margin-top: 5px;
		color: red;
		font-weight: 300;
		font-style: italic;
		visibility: hidden;
	}
	.kh_item_input.invalid .kh_validate {
		visibility: visible;
	}
	.kh_input.d-flex .kh_item_input.invalid input {
		border-color: red;
	}

/*********************************************
	7. Module tin tức
	**********************************************/
	.gd_box__title {
		text-align: center;
	}

	.gd_box__title .gd_text {
		display: inline-block;
		font-size: 30px;
		color: #fe8801;
		font-weight: 700;
		margin-bottom: 20px;
		position: relative;
		text-align: center;
	}
	.gd_post__item {
		margin-bottom: 2rem;
	}

	.gd_post__inner {
		display: block;
	}

	.gd_post__image {
		margin-bottom: 0;
		height: calc( 252/450 * (var(--content-size)/3 - 30px));
		background: -webkit-linear-gradient(45deg, #9f2727 0%, #004513 100%);
		background: linear-gradient(45deg, #9f2727 0%,#004513 100%);
		position: relative;
	}
	.gd_post__image .fas{
		color: #fff;
		width: 50px;
		line-height: 50px;
		text-align: center;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
		background-color: #fe8801;
		border-radius: 50%;
		z-index: 10;
	}

	.gd_post__image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		position: relative;
		max-width: none;
		-webkit-transition: opacity 0.35s, -webkit-transform 0.45s;
		transition: opacity 0.35s, transform 0.45s;
	}

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

	.gd_post__image 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.4
		-webkit-transform: translate3d(-15px,0,0);
		transform: translate3d(-15px,0,0);
		z-index: 1;
	}

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

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

	.gd_post__content {
		margin-top: 15px;
	}

	.gd_post__title {
	}

	.gd_post__title .gd_text {
		font-size: 20px;
		color: #222;
		display: -webkit-box !important;
		max-width: 100%;
		margin-bottom: 0.5rem;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis;
		font-weight: bold;
	}

	.gd_post__title .gd_text:hover {
		color: #fe8801;
	}

	.gd_post__excerpt {
		color: #555;
		font-size: 16px;
		line-height: 1.42;
		display: -webkit-box !important;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.gd_post__excerpt p.text-right {
		margin: 0;
	}

/*********************************************
	8. Module người nổi tiếng
	**********************************************/

	.kh_inner_kol {
		display: flex;
		background: #252525;
		border-radius: 10px;
		overflow: hidden;
	}
	.kh_img_kol {
		flex: 0 0 50%;
		max-width: 50%;
		height: calc(440/700 * var(--content-size)/2 - 30px);
		margin-bottom: 0;
	}
	.kh_content_kol {
		flex: 1;
		padding: 30px;
		text-align: left;
	}
	.kh_img_kol .img-fluid {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	.img-fluid {
	}
	.kh_title_kol a {
		font-size: 2rem;
		font-weight: 900;
		line-height: 1.3;
		color: #fff;
	}
	.kh_module.kh_module_kol {
		background-color: #111;
	}
	.kh_des_kol {
		color: #fff;
	}
	.kh_title_kol {
		margin-bottom: 20px;
	}
	.kh_module.kh_module_kol .kh_box_title .kh_title_big {
		color: #fff;
	}
	.kh_kol_list {
		margin-bottom: 50px;
	}

	.kh_module_kol .owl-dots {
		position: absolute;
		bottom: 25px;
		left: calc(50% + 30px);
		padding: 3px 0 3px 0;
		display: flex;
		border-radius: 5px 5px 0 0;
	}

	.kh_module_kol .owl-dot:first-child {
		padding-left: 0;
	}

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

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

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

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

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

	.kh_module_kol .owl-dot.active span {
		width: 80px;
		background-color: #FDC508;
	}

	.kh_img_kol a {
		position: relative;
		width: 100%;
		height: 100%;
		display: block;
	}
	.kh_img_kol a::before {
		content: '\f04b';
		position: absolute;
		width: 70px;
		height: 70px;
		/*background-image: url(../images/icon/play_2.png);*/
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		background-repeat: no-repeat;
		background-position: center;
		background-size: cover;
		z-index: 2;
		font-family: "Font Awesome 5 Pro";
		font-weight: 800;
		color: #fff;
		font-size: 1.5rem;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.kh_img_kol a::after {
		content: '';
		position: absolute;
		width: 70px;
		height: 70px;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		background-color: #fdcc0d;
		opacity: 1;
		z-index: 1;
		-webkit-box-shadow: 0 0 0 0 #fdcc0d;
		-moz-box-shadow: 0 0 0 0 #fdcc0d;
		-ms-box-shadow: 0 0 0 0 #fdcc0d;
		-o-box-shadow: 0 0 0 0 #fdcc0d;
		box-shadow: 0 0 0 0 #fdcc0d;
		-webkit-animation: ripple 2s infinite;
		-moz-animation: ripple 2s infinite;
		-ms-animation: ripple 2s infinite;
		-o-animation: ripple 2s infinite;
		animation: ripple 1.7s infinite;
		border-radius: 50%;
	}

/*********************************************
	7. Module XXX
	**********************************************/

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

	}

	@media only screen and (max-width: 1440px) {

	}

	@media only screen and (max-width: 1119px) {	

	}

	@media only screen and (max-width: 1024px) and (min-width: 768px) {

	}

	@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) {
		.gd_banner .owl-dot.active span {
			width: 40px;
		}

		.gd_banner .owl-dots .owl-dot span {
			height: 7px;
		}		
		.gd_post__image {
			height: calc( 252/450 * (var(--content-size) - 30px));
		}
		.kh_prod_image {
			height: calc(2/3 * var(--content-size)/2 - 30px);
		}
		.kh_info_prod {
			padding: 0 5px 15px;
			text-transform: none;
		}
		.kh_name_prod {
			font-weight: 400;
			margin-top: 0;
		}
		.kh_info_feature {
			padding: 0 20px;
		}
		.kh_item_feature.active .kh_info_feature {
			height: 100%;
			display: flex;
			align-items: center;
		}
		.kh_item_feature.active .kh_name_feature {
			text-align: center;
			display: none;
		}

		.kh_item_feature.active .kh_des_feature {
			padding: 20px 15px;
			margin-top: 0;
			max-height: calc(100% - 40px);
			overflow: auto;
			text-align: justify;
		}
	}

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

	}

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

	}
	@media screen and (max-device-width: 360px) {
		.kh_item_feature.active .kh_des_feature {
			padding: 15px;
			margin-top: 0;
			max-height: calc(100% - 30px);
		}
		.kh_info_feature {
			padding: 0 15px;
		}
	}