@charset "utf-8";
/* CSS Document */

/*Slider Video*/

.video-container {
	top:0;
	left: 0;
    width: 100%;
    height: 40rem;
    overflow: hidden;
}

.video-image {
	position: relative;
	width: 100%;
	height: 40rem;
	background-repeat: no-repeat;
	background-position: center center;	
	background-size: cover;
	-webkit-animation: fadeout 6s; /* Safari, Chrome and Opera > 12.1 */
	-moz-animation: fadeout 6s; /* Firefox < 16 */
	-ms-animation: fadeout 6s; /* Internet Explorer */
	-o-animation: fadeout 6s; /* Opera < 12.1 */
	animation: fadeout 6s;
}

.video-container iframe {
    position: relative;
    top: -50%;
    left: 50%;
    width: 100vw;
    height: 132vh;
	transform: translate(-50%, -50%);
	-webkit-animation: fadein 5s; /* Safari, Chrome and Opera > 12.1 */
	-moz-animation: fadein 5s; /* Firefox < 16 */
	-ms-animation: fadein 5s; /* Internet Explorer */
	-o-animation: fadein 5s; /* Opera < 12.1 */
	animation: fadein 5s;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes fadeout {
    from { opacity: 1; }
    to   { opacity: 0; }
}

/* Firefox < 16 */
@-moz-keyframes fadeout {
    from { opacity: 1; }
    to   { opacity: 0; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadeout {
    from { opacity: 1; }
    to   { opacity: 0; }
}

/* Internet Explorer */
@-ms-keyframes fadeout {
    from { opacity: 1; }
    to   { opacity: 0; }
}

/* Opera < 12.1 */
@-o-keyframes fadeout {
    from { opacity: 1; }
    to   { opacity: 0; }
}

