*{
	padding: 0;
	margin: 0;
}

body{
    overflow: hidden;
}

#main{
	position: absolute;
	left: 50%;
	top: 0;
	width: 969px;
	height:629px;
	margin-left: -485px;
}

  #demo{width: 100%;
      height: 629px;
      display: none;
      position: absolute;
      z-index: 2;}
    #demo .shadow{
      z-index: 2;
      position: absolute;
      width: 100%;
      height: 629px;
      background: white;
      opacity: 0.5;
    }

    #demo .bg{
      background: url(../assets/img/screens/playagain/bg.png);
      z-index: 2;
      width:643px;
      height: 477px;
      left: 50%;
      top:11%;
      margin-left: -315px; 
      position: absolute;
    }

    #demo .container{
      position: relative;
      padding-top: 90px ;
    }
    #demo-close-button{
      background: url(../assets/img/closeButton.png);
      width: 40px;
      height: 40px;
      position: absolute;
      top: 4px;
      right: 4px;
      cursor: pointer;
    }

#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 .txt:after {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  -webkit-animation: ellipsis steps(4,end) 1200ms infinite;      
  animation: ellipsis steps(4,end) 1200ms infinite;
  content: "\2026"; /* ascii de la ellpsis */
  width: 8px;
}

@keyframes ellipsis {
  to {
    width: 37px;    
  }
}

@-webkit-keyframes ellipsis {
  to {
    width: 37px;    
  }
}


.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);
    }
}

*/