#headerSlider {
	position: relative;
	height: 398px;
	overflow: hidden;
	opacity: 0;
	transition: all .3s;
}

@media (max-width: 768px) {
	#headerSlider {
		height: 509px;
		margin-top: -122px;
	}
}

#headerSlider.show {
	opacity: 1;
}

#headerSlider .wrapper {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

#headerSlider .items {
	position: relative;
	height: 100%;
	width: 100%;
}

#headerSlider .item {
	width: 100%;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	opacity: 0;
	transition: all .3s;
	z-index: 1;
}

@media (max-width: 768px) {
	#headerSlider .item {
		width: 100% !important;
		height: 100% !important;
	}
}

#headerSlider .item.active {
	z-index: 4;
	opacity: 1;
}

#headerSlider .item.next {
	z-index: 3;
	opacity: 1;
}

#headerSlider .image {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	height: 100%;
	overflow: hidden;
}

@media (max-width: 768px) {
	#headerSlider .image {
		width: 100% !important;
	}
}

#headerSlider .image img {
	width: 100%;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

@media (max-width: 768px) {
	#headerSlider .image img {
		width: auto;
		height: 100%;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
	}
	
	#headerSlider .image:after {
		content: '';
		background-color: rgba(24, 110, 218, .35);
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
	}
}

#headerSlider .description {
	display: flex;
	flex-direction: column;
	width: 410px;
	padding: 65px;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 0;
	background-color: rgb(24, 110, 218);
	overflow: hidden;
}

@media (max-width: 768px) {
	#headerSlider .description {
		width: 100%;
		padding: 0 20% 50px 20px;
		background: transparent;
		top: unset;
		right: 0 !important;
	}
}

#headerSlider  .item.active .description {
	z-index: 2;
}

#headerSlider .description .header {
	width: 100%;
	margin-left: 100%;
	margin-bottom: 10px;
	font-family: VDNHLebedev2;
	font-style: normal;
	font-weight: normal;
	font-size: 26px;
	line-height: 31px;
	color: #FFFFFF;
	opacity: 0;
	transition: all .3s;
}

@media (max-width: 768px) {
	#headerSlider .description .header {
		font-size: 22px;
		line-height: 26px;
	}
}

#headerSlider .item.active .description .header {
	margin-left: 0;
	opacity: 1;
}

#headerSlider .description .detail {
	width: 100%;
	margin-left: 100%;
	margin-bottom: 10px;
	color: #FFFFFF;
	font-family: VDNHLebedev2;
	opacity: 0;
	transition: all .6s;
}

#headerSlider .item.active .description .detail {
	margin-left: 0;
	opacity: 1;
}

#headerSlider .description .button {
	margin-left: 100%;
	display: inline-block;
	align-self: flex-start;
	font-family: VDNH;
	font-style: normal;
	font-weight: bold;
	font-size: 16px;
	line-height: 33px;
	text-align: center;
	color: #FFFFFF;
	border: 2px solid #FFF;
	padding: 0 19px;
	margin-top: auto;
	opacity: 0;
	transition: all .9s;
}

#headerSlider .item.active .description .button {
	margin-left: 0;
	opacity: 1;
}

#headerSlider .description .button:hover {
	background-color: rgba(255, 255, 255, .2);
	text-decoration: none;
}

#headerSlider .buttons {
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 5;
}

@media (max-width: 768px) {
	#headerSlider .buttons {
		top: unset;
		right: 0;
		bottom: 0;
		left: 0;
		text-align: center;
	}
}

#headerSlider .buttons > .button {
	width: 40px;
	height: 40px;
	cursor: pointer;
	background-color: rgba(24, 110, 218, .5);
	transition: all .3s;
}

@media (max-width: 768px) {
	#headerSlider .buttons > .button {
		display: inline-block;
		vertical-align: top;
		background: transparent;
		text-align: center;
		line-height: 38px;
	}
	
	#headerSlider .buttons > .button:before {
		display: inline-block;
		content: '';
		border: 1px solid #fff;
		padding: 4px;
		transition: all .3s;
		background-color: rgba(255, 255, 255, 0);
	}
}

#headerSlider .buttons > .button.active {
	background-color: rgba(24, 110, 218, 1);
}

@media (max-width: 768px) {
	#headerSlider .buttons > .button.active {
		background: transparent;
	}
	
	#headerSlider .buttons > .button.active:before {
		background-color: rgba(255, 255, 255, 1);
	}
}

#headerSlider .buttons > .button:hover {
	background-color: rgba(24, 110, 218, .9);
}

@media (max-width: 768px) {
	#headerSlider .buttons > .button:hover {
		background: transparent;
	}
	
	#headerSlider .buttons > .button:hover:before {
		background-color: rgba(255, 255, 255, 1);
	}
}