﻿/* CAROUSEL START */

.carousel-wrapper {
	margin: auto;
	width: 100%;
	height: 70vh;
	clear: both;
	position: relative;
	overflow: hidden;
	z-index: 1;
	background-color: #1A2631;
}

.carousel-main {
	height: 100%;
}

.slide {
	width: 100vw;
	height: 100%;
	overflow: hidden;
	position: absolute;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.slide.active {
	display: block;
	z-index: 2;
}

.slide .slide-logo {
	position: absolute;
	width: 80px;
	height: 80px;
	z-index: 10;
}

.slide .slide-logo.top-left {
	top: 0;
	left: 20px;
}

.slide .slide-logo.btm-left {
	bottom: 0;
	left: 20px;
}

.slide .slide-logo.top-right {
	top: 0;
	right: 20px;
}

.slide .slide-logo.btm-right {
	bottom: 0;
	right: 20px;
}

.move-back {
	position: absolute;
	top: 50%;
	left: 0;
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	z-index: 3;
	cursor: pointer;
	transition: 0.3s all ease-in-out;
}

.move-forward {
	position: absolute;
	top: 50%;
	right: 0;
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	z-index: 3;
	cursor: pointer;
	transition: 0.3s all ease-in-out;
}

.move-back .arrow,
.move-forward .arrow {
	width: 26px;
	height: 40px;
	margin: 12px 12px;
	background-size: 100%;
	background-repeat: no-repeat;
}

.move-back .arrow {
	background-image: url(../images/carousel-arrows.png);
	background-position: 0 0;
}

.move-forward .arrow {
	background-image: url(../images/carousel-arrows.png);
	background-position: 0 100%;
}

.carousel-tabs {
	display: none;
	position: absolute;
	width: 100%;
	height: 20px;
	text-align: center;
	z-index: 10;
	bottom: 0;
	transition: 0.3s all ease-in-out;
}

.carousel-tabs a {
	display: inline-block;
	text-decoration: none;
	margin: 0 5px;
	width: 5px;
	height: 5px;
	position: relative;
	background-color: white;
}

.carousel-tabs a.active {
	background-color: #CC0033;
}

.loader-icon {
	width: 70px;
	height: 70px;
	left: 50%;
	top: 50%;
	margin-top: -35px;
	margin-left: -35px;
	position: absolute;
}

.slide-content-container {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
}

.shadow-overlay {
	display: none;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	pointer-events: none;
	z-index: 1;
}

.shadow-overlay.left {
	display: block;
	background: linear-gradient(to right,rgba(26, 38, 49,.9),rgba(26, 38, 49,.4),transparent);
}

.shadow-overlay.center {
	display: block;
	background: radial-gradient(circle,rgba(26, 38, 49,.9),transparent);
}

.shadow-overlay.right {
	display: block;
	background: linear-gradient(to left,rgba(26, 38, 49,.9),rgba(26, 38, 49,.4),transparent);
}

.slide-content {
	display: flex;
	position: relative;
	-ms-flex-direction: column;
	-webkit-flex-direction: column;
	flex-direction: column;
	justify-content: center;
	max-width: 1300px;
	width: 100%;
	height: 100%;
	margin: 0 auto;
	z-index: 1;
	box-sizing: border-box;
	padding: 0 50px;
}

.slide-content.left {
	align-items: flex-start;
}

.slide-content.center {
	align-items: center;
	text-align: center;
}

.slide-content.right {
	align-items: flex-end;
	text-align: right;
}

.slide-title {
	width: 100%;
	font-size: 40px;
	font-weight: bold;
	font-family: 'Montserrat', 'Roboto', arial, helvetica, sans-serif;
	line-height: 110%;
	margin-bottom: 10px;
	letter-spacing: -0.5px;
}

.slide-text {
	width: 100%;
	font-size: 17px;
	font-family: 'Roboto', arial, helvetica, sans-serif;
	line-height: 140%;
}

.slide-btn.btn {
	margin-top: 20px;
	background-color: transparent;
	width: auto;
}

.youtube-video {
	display: block;
	position: absolute;
	height: 100%;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

@media screen and (min-width: 760px) {
	.slide-title {
		font-size: 50px;
		width: 75%;
	}

	.slide-text {
		font-size: 20px;
		width: 60%;
	}
	
	.slide .slide-logo {
		width: 120px;
		height: 120px;
	}
}

@media screen and (min-width: 980px) {

	.move-back {
		left: -50px;
		opacity: 0;
	}

	.move-forward {
		right: -50px;
		opacity: 0;
	}

	.carousel-tabs {
		display: block;
		bottom: -20px;
		opacity: 0;
	}

	.carousel-wrapper:hover .move-back {
		left: 0;
		opacity: 1;
	}

	.carousel-wrapper:hover .move-forward {
		right: 0;
		opacity: 1;
	}

	.carousel-wrapper:hover .carousel-tabs {
		bottom: 0;
		opacity: 1;
	}

	.slide-title {
		font-size: 80px;
		width: 70%;
	}

	.slide-text {
		font-size: 20px;
		width: 60%;
	}

	.slide .slide-logo {
		width: auto;
		height: auto;
	}
}

.text-shadow {
	text-shadow: 3px 0 30px rgba(0,0,0,1);
}

.animated {
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

.bounceIn {
	-webkit-animation-duration: 0.75s;
	animation-duration: 0.75s;
	-webkit-animation-name: bounceIn;
	animation-name: bounceIn;
}

@-webkit-keyframes bounceIn {
	from, 20%, 40%, 60%, 80%, to {
		-webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
		animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
	}

	0% {
		opacity: 0;
		-webkit-transform: scale3d(0.3, 0.3, 0.3);
		transform: scale3d(0.3, 0.3, 0.3);
	}

	20% {
		-webkit-transform: scale3d(1.3, 1.3, 1.3);
		transform: scale3d(1.3, 1.3, 1.3);
	}

	40% {
		-webkit-transform: scale3d(0.7, 0.7, 0.7);
		transform: scale3d(0.7, 0.7, 0.7);
	}

	60% {
		opacity: 1;
		-webkit-transform: scale3d(1.05, 1.05, 1.05);
		transform: scale3d(1.05, 1.05, 1.05);
	}

	80% {
		-webkit-transform: scale3d(0.97, 0.97, 0.97);
		transform: scale3d(0.97, 0.97, 0.97);
	}

	to {
		opacity: 1;
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}
}

@keyframes bounceIn {
	from, 20%, 40%, 60%, 80%, to {
		-webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
		animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
	}

	0% {
		opacity: 0;
		-webkit-transform: scale3d(0.3, 0.3, 0.3);
		transform: scale3d(0.3, 0.3, 0.3);
	}

	20% {
		-webkit-transform: scale3d(1.1, 1.1, 1.1);
		transform: scale3d(1.1, 1.1, 1.1);
	}

	40% {
		-webkit-transform: scale3d(0.9, 0.9, 0.9);
		transform: scale3d(0.9, 0.9, 0.9);
	}

	60% {
		opacity: 1;
		-webkit-transform: scale3d(1.03, 1.03, 1.03);
		transform: scale3d(1.03, 1.03, 1.03);
	}

	80% {
		-webkit-transform: scale3d(0.97, 0.97, 0.97);
		transform: scale3d(0.97, 0.97, 0.97);
	}

	to {
		opacity: 1;
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}
}