body {
	margin: 0;
	background-color: white;
}

#content {
	position: absolute;
	background-color: #4feaf7;
	width: 300px;
	height: 250px;
	overflow: hidden;
  text-align: center;

}

.visual-A,
.visual-B,
.visual-C,
.visual-E {
	position: absolute;
	top: 0;
	width: 90px;
}

.visual-A,
.visual-B,
.visual-C,
.visual-D {
	background: url('images/300x250-visuel-A.png') no-repeat 0 0 / 300px;
	height: 250px;
	width: 100%;
  z-index: 1;
}

.visual-B {
  background: url('images/mec-content-fond-transparent.png') no-repeat 123px 109px / 195px;
  z-index: 2;
}

.visual-C {
	background: url('images/anim-halo-A-170.gif') no-repeat 136px -28px / 170px;
	z-index: 0;
}

.visual-D {
	background: url('images/300x250-nuages.png') no-repeat 0 0 / 300px;
	z-index: 0;
	left: 20px;
	position: relative;
}

.visual-E {
	background: url('images/mention-white-200.png') no-repeat 0 0 / 100px;
	z-index: 0;
	left: 12px;
	height: 10px;
}

.text-A,
.text-B,
.text-C,
.text-D,
.cta,
.conditions,
.mention {
	position: absolute;
	font-family: sans-serif;
	color: white;
	opacity: 0;
  top: 42px;
  width: 46%;
  left: 2%;
  font-size: 18px;
	z-index: 10;
}

.text-A {
	top: 72px;
}

.text-B {
	top: 52px;
}

.cta {
  opacity: 0;
  position: absolute;
  color: white;
  background-color: #FE5815;
  font-size: 16px;
  width: 44%;
  line-height: 30px;
  border-radius: 25px;
  height: 30px;
  left: 3%;
	top: 127px;
  z-index: 10;
}

.conditions,
.mention {
	color: white;
  top: 193px;
  font-size: 8px;
  width: 50%;
  left: 0;
}

.conditions {
	top: 180px;
}

.text-A.animationLeft,
.text-B.animationLeft,
.text-C.animationLeft,
.text-D.animationRight,
.visual-B.fadein,
.visual-C.fadein,
.conditions.fadein,
.mention.fadein,
.cta.bounce {
	opacity: 1;
}

/* keyframes */

@-webkit-keyframes slideLeft {
	0% {
		-webkit-transform: translateX(-20px);
	}
	100% {
		-webkit-transform: translateX(0);
	}
}

@-moz-keyframes slideLeft {
	0% {
		-moz-transform: translateX(-20px);
	}
	100% {
		-moz-transform: translateX(0);
	}
}

@-o-keyframes slideLeft {
	0% {
		-o-transform: translateX(-20px);
	}
	100% {
		-o-transform: translateX(0);
	}
}

@keyframes slideLeft {
	0% {
		transform: translateX(-20px);
	}
	100% {
		transform: translateX(0);
	}
}

.slideLeft {
	-webkit-animation-duration: 20s;
	-moz-animation-duration: 20s;
	-o-animation-duration: 20s;
	animation-duration: 20s;
	-webkit-animation-name: slideLeft;
	-moz-animation-name: slideLeft;
	-o-animation-name: slideLeft;
	animation-name: slideLeft;
}

@-webkit-keyframes animationLeft {
	0% {
		opacity: 0;
		-webkit-transform: translateX(-200px);
	}

	60% {
		opacity: 1;
		-webkit-transform: translateX(5px);
	}

	80% {
		-webkit-transform: translateX(-2px);
	}

	100% {
		-webkit-transform: translateX(0);
	}
}

@-moz-keyframes animationLeft {
	0% {
		opacity: 0;
		-moz-transform: translateX(-200px);
	}

	60% {
		opacity: 1;
		-moz-transform: translateX(5px);
	}

	80% {
		-moz-transform: translateX(-2px);
	}

	100% {
		-moz-transform: translateX(0);
	}
}

@-o-keyframes animationLeft {
	0% {
		opacity: 0;
		-o-transform: translateX(-200px);
	}

	60% {
		opacity: 1;
		-o-transform: translateX(5px);
	}

	80% {
		-o-transform: translateX(-2px);
	}

	100% {
		-o-transform: translateX(0);
	}
}

@keyframes animationLeft {
	0% {
		opacity: 0;
		transform: translateX(-200px);
	}

	60% {
		opacity: 1;
		transform: translateX(5px);
	}

	80% {
		transform: translateX(-2px);
	}

	100% {
		transform: translateX(0);
	}
}

.animationLeft {
	-webkit-animation-duration: 1.5s;
	   -moz-animation-duration: 1.5s;
	     -o-animation-duration: 1.5s;
	        animation-duration: 1.5s;
	-webkit-animation-name: animationLeft;
	-moz-animation-name: animationLeft;
	-o-animation-name: animationLeft;
	animation-name: animationLeft;
}

@-webkit-keyframes animationRight {
	0% {
		opacity: 0;
		-webkit-transform: translateX(200px);
	}

	60% {
		opacity: 1;
		-webkit-transform: translateX(0px);
	}

	80% {
		-webkit-transform: translateX(5px);
	}

	100% {
		-webkit-transform: translateX(0);
	}
}

@-moz-keyframes animationRight {
	0% {
		opacity: 0;
		-moz-transform: translateX(200px);
	}

	60% {
		opacity: 1;
		-moz-transform: translateX(0px);
	}

	80% {
		-moz-transform: translateX(5px);
	}

	100% {
		-moz-transform: translateX(0);
	}
}

@-o-keyframes animationRight {
	0% {
		opacity: 0;
		-o-transform: translateX(200px);
	}

	60% {
		opacity: 1;
		-o-transform: translateX(0px);
	}

	80% {
		-o-transform: translateX(5px);
	}

	100% {
		-o-transform: translateX(0);
	}
}

@keyframes animationRight {
	0% {
		opacity: 0;
		transform: translateX(200px);
	}

	60% {
		opacity: 1;
		transform: translateX(0px);
	}

	80% {
		transform: translateX(5px);
	}

	100% {
		transform: translateX(0);
	}
}

.animationRight {
	-webkit-animation-duration: 1.5s;
	   -moz-animation-duration: 1.5s;
	     -o-animation-duration: 1.5s;
	        animation-duration: 1.5s;
	-webkit-animation-name: animationRight;
	-moz-animation-name: animationRight;
	-o-animation-name: animationRight;
	animation-name: animationRight;
}

@-webkit-keyframes bounce {
	0% {
		opacity: 0;
		-webkit-transform: scale(0);
	}

	40% {
		opacity: 1;
		-webkit-transform: scale(1.2);
	}

	60% {
		-webkit-transform: scale(0.9);
	}

	80% {
		-webkit-transform: scale(1.02);
	}

	100% {
		-webkit-transform: scale(1);
	}
}

@-moz-keyframes bounce {
	0% {
		opacity: 0;
		-webkit-transform: scale(0);
	}

	40% {
		opacity: 1;
		-webkit-transform: scale(1.2);
	}

	60% {
		-webkit-transform: scale(0.9);
	}

	80% {
		-webkit-transform: scale(1.02);
	}

	100% {
		-webkit-transform: scale(1);
	}
}

@-o-keyframes bounce {
	0% {
		opacity: 0;
		-webkit-transform: scale(0);
	}

	40% {
		opacity: 1;
		-webkit-transform: scale(1.2);
	}

	60% {
		-webkit-transform: scale(0.9);
	}

	80% {
		-webkit-transform: scale(1.02);
	}

	100% {
		-webkit-transform: scale(1);
	}
}

@keyframes bounce {
	0% {
		opacity: 0;
		-webkit-transform: scale(0);
	}

	40% {
		opacity: 1;
		-webkit-transform: scale(1.2);
	}

	60% {
		-webkit-transform: scale(0.9);
	}

	80% {
		-webkit-transform: scale(1.02);
	}

	100% {
		-webkit-transform: scale(1);
	}
}

.bounce {
	-webkit-animation-duration: 1.5s;
	   -moz-animation-duration: 1.5s;
	     -o-animation-duration: 1.5s;
	        animation-duration: 1.5s;
	-webkit-animation-name: bounce;
	-moz-animation-name: bounce;
	-o-animation-name: bounce;
	animation-name: bounce;
}

/* appear / disappear */

.fadeout,
.fadein {
    -webkit-transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
    -ms-transition: opacity 0.3s;
    -o-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.fadeout {
	opacity: 0;
}

.fadein {
    opacity: 1;
}
