.hp-hero {
	position: relative;
	overflow: hidden;
	margin: 0 -30px;
	padding: 100px 0 50px;
}

.hp-hero.has-video {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	min-height: 40vw;
}

.hp-hero:not(.has-video) {
	background: url('images/hp-hero-bg.webp') center -70px no-repeat;

	-webkit-background-size: auto 100%;
	-moz-background-size: auto 100%;
	background-size: auto 100%;
}

.hp-hero-video,
.hp-hero-video video,
.hp-hero-video:after {
	position: absolute;
}

.hp-hero-video,
.hp-hero-video:after {
	z-index: 10;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

/* .hp-hero-video video{
	z-index: 20;
	top: 50%;
	left: 50%;
	width: auto; 
	height: auto;
	min-width: 100%;
	min-height: 100%;

	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
} */

.hp-hero-video video {
	z-index: 20;
	top: 50%;
	left: 50%;
	width: 100%;
	height: auto;
	/* min-width: 100%;
	min-height: 100%; */

	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);

	/* -webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	transform: translateX(-50%); */
}

.hp-hero-video:after {
	content: '';
	z-index: 30;
	background-color: #000;

	-webkit-opacity: 0.4;
	-moz-opacity: 0.4;
	opacity: 0.4;
}

.hp-hero-inner {
	position: relative;
	z-index: 20;
}

/* .hp-hero .swiper{
	overflow: visible;
} */

.hp-hero-title {
	font-size: 42px;
	text-align: center;
	margin: 0 0 30px;
}

.hp-hero-form {
	margin: 0 0 45px;
}

.hp-hero-slider > .container {
	padding: 0;
}

.hp-hero-slider-item {
	width: 1045px;
	max-width: 100%;
	margin: auto;
}

.hp-hero-slider-item-inner {
	position: relative;
	height: 0;
	padding-bottom: 28%;
}

.hp-hero-slider-item-inner img {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	width: 70%;
	height: 100%;
	object-fit: contain;
	object-position: center center;
}

.hp-hero.has-video .hp-hero-title {
	margin-bottom: 80px;
	color: #fff;
}

@media only screen and (max-width: 1200px) {
	.hp-hero-title {
		font-size: 36px;
	}
}

@media only screen and (max-width: 1000px) {
	.hp-hero-title {
		font-size: 32px;
	}
}

@media only screen and (max-width: 767px) {
	.hp-hero {
		margin: 0 -20px;
		padding: 50px 0 40px;
		background-position: center center;

		-webkit-background-size: contain;
		-moz-background-size: contain;
		background-size: contain;
	}

	.hp-hero-title {
		font-size: 28px;
	}

	.hp-hero-form {
		margin: 0 0 35px;
	}

	.hp-hero-slider .swiper-slide img {
		width: 90%;
	}
}

@media only screen and (max-width: 540px) {
	.hp-hero-slider-item-inner {
		padding-bottom: 46%;
	}
}
