@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%;
  background-color: #000;
  z-index: 9999999;
  display: none;
}
.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/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: left center;
        background-size: cover;
        background-image: url('../images/turn-tablet.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: right center;
        background-size: cover;
        background-image: url('../images/turn-tablet.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: block;
  }
}
/* 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: none;
  }
}



.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: "Trebuchet MS", Arial, Helvetica, sans-serif;
  background-color: rgba(0, 0, 0, 0.88);
  background-position: center;
  background-repeat: no-repeat;
}
.pleaseturnyourmobiledevice>span{
  position: absolute;
  top: 50%;
  margin-top: -90px;
  width: 100%;
  left: 0px;
}

/*loader*/
.hideforloading{
  position: fixed;
  opacity: 0;
  visibility:hidden;
}
#page-wrapper.hideforloading,
#wrapper.hideforloading{
  width: 100%;
}
#loader-logo{
	position:absolute;
  	top:50%;
  	left:50%;
  	margin-left:-80px;
  	margin-top:-100px;
  	width:150px;
  	height:152px;
  	z-index:667000;
}
#animated-logo{
	position:absolute;
  	top:0px;
  	left:0px;
  	width:150px;
  	height:152px;
  	background: url(../images/spinner.gif) no-repeat 0 0;
}



