.iabox{
	display: block;
	position:absolute;
	color:#FFFFFF;
	top:10000px;
	left:2px;
}

#containerwrapper{
	width:100%;
	width: auto;
  	display: block;
	padding:35px;
	margin: 10px;
}
#container{
	margin: auto;
	position:relative;
	margin-top:150px;
}

.img-wrapper{
	position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.img-wrapper img{
	position:absolute;
	z-index:9;
}
.img-wrapper video {
	position:absolute;
	z-index:10;
}

@media (min-height: 1480px), (min-width: 1480px) {
	#container{
		width:1480px;
		padding:0px;
	}
}

.popover{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 3;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    -webkit-transition: opacity 0.4s ease-in;
    transition: opacity 0.4s ease-in;
	z-index:11;
	overflow:hidden;
}

.popover .centeredcontent{
	position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 20px;
    max-width: 620px;
    color: #fff;
    text-align: center;
}

.iaboxtitle{
	font-size: 22px;
    line-height: 30px;
}

.iaboxsubtitle{
	font-size: 15px;
}

#topvideowrapper .popover {
	opacity: 1;
	background:none;
}

#topvideowrapper .iaboxtitle{
	font-size: 50px;
    line-height:normal;
	margin-bottom:20px;
	padding:0px 15px;
}

#topvideowrapper .iaboxsubtitle{
	font-size: 23px;
	padding:0px 15px;
}

#topvideowrapper .scrolldown {
	position: absolute;
	bottom:-10px;
    left: 50%;
    -webkit-transform: translate(0%, -50%);
    transform: translate(-50%, -50%);
	z-index:12;
}
#topvideowrapper .scrolldown a {
	display: block;
	z-index:12;
}
#topvideowrapper .scrolldown img {
	width:70px;
}

.iabox:hover .popover {
  opacity: 1;
}

#topvideowrapper img.videoimage{
	display: none;
}

@media (max-width: 768px) {
	#topvideowrapper {
		display:none;
	}
	#topvideowrapper video{
		display: none;
	}
	#topvideowrapper img.videoimage{
		display: block;
	}
	#container .popover {
		display:none;
	}
	#topvideowrapper .iaboxtitle{
		font-size: 35px;
	}
	#topvideowrapper .iaboxsubtitle{
		font-size: 20px;
	}
	#containerwrapper {
		padding-top:0px;
	}
	.iabox {
		display: block;
		position: relative;
		color: #FFFFFF;
		top: 0px;
		left: 0px;
	}
	.img-wrapper {
		width: auto;
		height: auto;
	}
	.img-wrapper img {
		position: relative;
		width:94%;
		margin:10px 3% 10px 3%;
	}
	img.videopreview{
		position: absolute;
		top:0px;
	}
	.img-wrapper video {
		position: relative;
		width:94% !important;
		margin:10px 3% 10px 3%;
	}

	
}

.crossfade{
	padding: 0px;
	margin:0px;
}

.contentcrossfade{
	height:100%;
	width:100%;
}

.crossfade > figure {
	animation: imageAnimation 10s linear infinite 0s;
	backface-visibility: hidden;
	background-size: cover;
	background-position: center center;
	color: transparent;
	height: 100%;
	left: 0;
	opacity: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 0;
	margin:0 0 0 0;
}

.crossfade > figure:nth-child(1) {
	background-image: url('../img/slider/1.jpg'); }

.crossfade > figure:nth-child(2) {
	animation-delay: 2s;
	background-image: url('../img/slider/2.jpg');
}

.crossfade > figure:nth-child(3) {
	animation-delay: 4s;
	background-image: url('../img/slider/3.jpg');
}

.crossfade > figure:nth-child(4) {
	animation-delay: 6s;
	background-image: url('../img/slider/4.jpg');
}

.crossfade > figure:nth-child(5) {
	animation-delay: 8s;
	background-image: url('../img/slider/5.jpg');
}

@keyframes
imageAnimation {  0% {
	animation-timing-function: ease-in;
	opacity: 0;
}
	8% {
		animation-timing-function: ease-out;
		opacity: 1;
	}
	17% {
		opacity: 1
	}
	25% {
		opacity: 0
	}
	100% {
		opacity: 0
	}
}

