*{
	padding: 0;
	margin: 0;
}

body{
    overflow: hidden;
}

#main{
	position: absolute;
	left: 50%;
	top: 0;
	width: 969px;
	height:629px;
	margin-left: -485px;
}

video{
	position: absolute;
	margin-left: 107px;
	margin-top: 73px;
}

#loader{
	position: absolute;
	left: 50%;
	top: 0;
	width: 971px;
	height:629px;
	margin-left: -485px;
	z-index: 1000;
	text-align: center;
	color: black;
	background: white;
}

.loader_anim{
	width: 122px;
    height: 124px;
    margin: 20% auto;
    

	-webkit-transform: rotate(360deg);
	-webkit-transition-duration: 10s;
	-webkit-transition-delay: now;
	-webkit-animation-timing-function: linear;
	-webkit-animation-iteration-count: infinite;

}

#loader h1{
	font-family: 'Montserrat', sans-serif;
	position: relative;
	text-align: left;
	margin: -80px 0 0 40%;
}

#loader h1:after {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  -webkit-animation: ellipsis steps(4,end) 900ms infinite;      
  animation: ellipsis steps(4,end) 900ms infinite;
  content: "\2026"; /* ascii de la ellpsis */
  width: 10px;
}

@keyframes ellipsis {
  to {
    width: 50px;    
  }
}

@-webkit-keyframes ellipsis {
  to {
    width: 35px;    
  }
}


.loader_anim {
    margin: 10% auto;
    width: 122px;
    height: 124px;
    background: #f00;
    -webkit-animation-name: spin;
    -webkit-animation-duration: 4000ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: spin;
    -moz-animation-duration: 4000ms;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -ms-animation-name: spin;
    -ms-animation-duration: 4000ms;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;
    background: url('../assets/img/loader.png');
    
    animation-name: spin;
    animation-duration: 4000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
@-ms-keyframes spin {
    from { -ms-transform: rotate(0deg); }
    to { -ms-transform: rotate(360deg); }
}
@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}

