@keyframes anim-rotate-tablet {
  0%{
    transform: translate(-50%, -50%) rotateZ(0deg);
  }
  30%{
    transform: translate(-50%, -50%) rotateZ(0deg);
  }
  50%{
    transform: translate(-50%, -50%) rotateZ(-90deg);
  }
  80%{
    transform: translate(-50%, -50%) rotateZ(-90deg);
  }
  100%{
    transform: translate(-50%, -50%) rotateZ(0deg);
  }
}

@keyframes anim-rotate-picto-on {
  0%{
    transform: rotateZ(0deg);
    opacity: 1;
  }
  30%{
    transform: rotateZ(0deg);
    opacity: 1;
  }
  50%{
    transform: rotateZ(90deg);
    opacity: 0;
  }
  80%{
    transform: rotateZ(90deg);
    opacity: 0;
  }
  100%{
    transform: rotateZ(0deg);
    opacity: 1;
  }
}

@keyframes anim-rotate-picto-off {
  0%{
    transform: rotateZ(0deg);
    opacity: 0;
  }
  30%{
    transform: rotateZ(0deg);
    opacity: 0;
  }
  50%{
    transform: rotateZ(90deg);
    opacity: 1;
  }
  80%{
    transform: rotateZ(90deg);
    opacity: 1;
  }
  100%{
    transform: rotateZ(0deg);
    opacity: 0;

  }
}


#rotate{
  position:fixed;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
  z-index: 9999999;
  display: none;
  background:#0d19a3 url('../images/blue_texture.jpg') repeat 0 0;
}
.tablet{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 150px;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    background-image: url('../images/turn_tablet.svg');
    
    -webkit-animation: anim-rotate-tablet 4s ease infinite;
    -moz-animation: anim-rotate-tablet 4s ease infinite;
    -ms-animation: anim-rotate-tablet 4s ease infinite;
    -o-animation: anim-rotate-tablet 4s ease infinite;
    animation: anim-rotate-tablet 4s ease infinite;
}
.picto{
      position: absolute;
      top:50%;
      left: 50%;
      width: 50px;
      height: 50px;
      -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
}
.on{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-repeat: no-repeat;
        background-position: right center;
        background-size: cover;
        background-image: url('../images/turn_picto.svg');
        opacity:1;
        z-index: 9;
        -webkit-animation: anim-rotate-picto-on 4s ease infinite;
    	-moz-animation: anim-rotate-picto-on 4s ease infinite;
    	-ms-animation: anim-rotate-picto-on 4s ease infinite;
    	-o-animation: anim-rotate-picto-on 4s ease infinite;
    	animation: anim-rotate-picto-on 4s ease infinite;
}
.off{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-repeat: no-repeat;
        background-position: left center;
        background-size: cover;
        background-image: url('../images/turn_picto.svg');
        opacity:0;
        z-index: 10;
    	-moz-animation: anim-rotate-picto-off 4s ease infinite;
    	-ms-animation: anim-rotate-picto-off 4s ease infinite;
    	-o-animation: anim-rotate-picto-off 4s ease infinite;
    	animation: anim-rotate-picto-off 4s ease infinite;
}

/* Landscape */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 767px)
and (orientation: landscape)
and (-webkit-min-device-pixel-ratio: 1) {
  #rotate{
    display: none;
  }
}
/* Portrait */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 767px)
and (orientation: portrait)
and (-webkit-min-device-pixel-ratio: 1) {
  #rotate{
    display: block;
  }
}



.pleaseturnyourmobiledevice{
  display: none;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 9998; /*because 9999 is the loader*/
  color: #FED100;
  text-align: center;
  text-transform: uppercase;
  font-size: 20px;
  font-family: 'HelveticaNeueW01-67MdCn 692710';
  background-color: rgba(0, 0, 0, 0.88);
  background-image: url("../images/rotate-device.png");
  background-position: center;
  background-repeat: no-repeat;
}
.pleaseturnyourmobiledevice>span{
  position: absolute;
  top: 50%;
  margin-top: -90px;
  width: 100%;
  left: 0px;
}


/*loader*/
.hideforloading{
	/*display:none;*/
	visibility:hidden;
}
#loader-logo{
	height: 100px;
    left: 50%;
    margin-left: -50px;
    margin-top: -50px;
    position: fixed;
    top: 50%;
    width: 80px;
    z-index: 667000;
}
#loader-logo-black{
	position:absolute;
  	top:0px;
  	left:0px;
  	width:80px;
  	height:100px;
  	background: url(../images/details_logo_green2.svg) no-repeat 0 0;
  	background-position:0 0%;
}
#loader-logo-red{
	position:absolute;
  	top:0px;
  	left:0px;
  	width:80px;
  	height:100px;
  	background: url(../images/details_logo_blue2.svg) no-repeat 0 0;
  	background-position:0 100%;
  	-webkit-animation: logo-loader-anima 2s infinite; /* Safari 4+ */
  	-moz-animation:    logo-loader-anima 2s infinite; /* Fx 5+ */
  	-o-animation:      logo-loader-anima 2s infinite; /* Opera 12+ */
  	animation:         logo-loader-anima 2s infinite; 
}

@keyframes logo-loader-anima {
  0%{
    height:0px;
	margin-top:100px;
	background-position:0 100%;
  }
  50%{
    height:100px;
    margin-top:0px;
    background-position:0 100%;
  }
  51%{
    height:100px;
    margin-top:0px;
    background-position:0 0%;
  }
  100%{
    height:0px;
    margin-top:0px;
    background-position:0 0%;
  }
}
@-webkit-keyframes logo-loader-anima {
  0%{
    height:0px;
	margin-top:100px;
	background-position:0 100%;
  }
  50%{
    height:100px;
    margin-top:0px;
    background-position:0 100%;
  }
  51%{
    height:100px;
    margin-top:0px;
    background-position:0 0%;
  }
  100%{
    height:0px;
    margin-top:0px;
    background-position:0 0%;
  }
}

/*mobile block*/
/*
#unsupported {
    opacity: 1;
}
#unsupported {
    height: 100%;
    left: 0;
    position: fixed;
    right: 0;
    text-align: center;
    top: 0;
    transition: all 0.4s ease-in-out 0s;
    width: 100%;
    z-index: 9999;
}
#unsupported {
    background-color: #b1b1b1;
    color: #ffffff;
}

@media only screen and (min-width: 768px) {
#unsupported {
    opacity: 0;
    z-index: -999;
}*/
}