/* ***** References *****
Css3 Generator : https://css3generator.com
SVGOmg : https://jakearchibald.github.io/svgomg
Tiny png : https://tinypng.com
*/

/* ***** Reset ***** */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video{ margin: 0; padding: 0; border: 0; vertical-align: baseline; }
/****** HTML5 POUR LES VIEUX BROWSERS *****/
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section{  display: block; }
body{ line-height: 1; }
ol, ul{ list-style: none; }
blockquote, q{ quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after{ content: ''; content: none; }
table{  border-collapse: collapse; border-spacing: 0; }
/* ***** END Reset ***** */

/* ***** Main Variables ***** */
:root{
	--color-1:#e41c23; /* Main Color Variable */
	--color-2:green; /* Second Color Variable */
	--color-white:#fff; /* White Color Variable */
	--color-black:#000; /* Black Color Variable */
	--ad-bg:#badae4; /* Banner Background */
	--ad-color:#fff; /* Base Text Color */
	--border-color:#7f7f7f; /* Ad Border Color */
}
/* Example How to Use Variables : var(--color-1) */


/* ***** Base Global Styling ***** */
*{
	box-sizing:border-box;
}

img{
	width:100%;
	height:auto;
}


/* ***** Ad Container ***** */
#ad-container{
	position:relative;
    display:block;
    overflow:hidden;
    margin:auto;
    width:var(--ad-width);
    height:var(--ad-height);
    max-width:var(--ad-width);
    max-height:var(--ad-height);
    box-sizing:border-box;
	background-color:var(--ad-bg);
	color:var(--ad-color);
}

/* ***** Banner Border ***** */
#ad-container:after{
	content:" ";
	position:absolute;
	left:0;
	top:0;
	width: calc(100% - 2px);
	height: calc(100% - 2px);
	border: solid 1px var(--border-color);
	pointer-events: none !important;
	z-index:999;
}


/* ***** Content Banner ***** */
.content-banner{
	position:relative;
	left:0;
	top:0;
	width:100%;
	height:100%;
	opacity:0;
}


/* ***** HitZone ClickTag ***** */
#hitzone{
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	z-index:99999;
	cursor:pointer;
}


/* ***** Button Replay ***** */
.btn--replay{
    position: absolute;
    z-index:999999;
    top:0px;
    left:0px;
    width:30px;
    height:30px;
    line-height:0;
    opacity:0;
    pointer-events: none;
    cursor: pointer;
}

.btn--replay svg{
	position:absolute;
	left:15%;
	top:15%;
	width:35%;
	height:35%;
	fill:#000;
	-webkit-transition: all 0.4s cubic-bezier(.4,0,.2,1); -moz-transition: all 0.4s cubic-bezier(.4,0,.2,1); -ms-transition: all 0.4s cubic-bezier(.4,0,.2,1); -o-transition: all 0.4s cubic-bezier(.4,0,.2,1); transition: all 0.4s cubic-bezier(.4,0,.2,1);
}

.btn--replay:hover svg{
	-moz-transform: rotate(-270deg); -webkit-transform: rotate(-270deg); -o-transform: rotate(-270deg); -ms-transform: rotate(-270deg); transform: rotate(-270deg);
}


/* ***** Timeline Finished ***** */
.timeline-finished .btn--replay{
	opacity:1;
    pointer-events: all;
}


#ad-container:hover .cta{
	background:transparent;
}

#ad-container:hover .cta svg{
	fill:var(--color-white);
}

.full-frame{
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:auto;
	z-index:10;
}

/**/

.cta{
	position:absolute;
	z-index:1000;
	left:50%;
	bottom:37px;
	display:inline-block;
	border:1px solid var(--color-white);
	background:var(--color-white);
	-webkit-border-radius:40px; 
	border-radius:40px;
	padding:8px 20px;
	-moz-transform: translateX(-50%); -webkit-transform: translateX(-50%); -o-transform: translateX(-50%); -ms-transform: translateX(-50%); transform: translateX(-50%);
	-webkit-transition: border 0.3s ease, background 0.3s ease, color 0.3s ease; -moz-transition: border 0.3s ease, background 0.3s ease, color 0.3s ease; -ms-transition: border 0.3s ease, background 0.3s ease, color 0.3s ease; -o-transition: border 0.3s ease, background 0.3s ease, color 0.3s ease; transition: border 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.cta svg{
	width:calc(190px/2);
	height:auto;
	fill:#e01e21;
	-webkit-transition: fill 0.3s ease; -moz-transition: fill 0.3s ease; -ms-transition: fill 0.3s ease; -o-transition: fill 0.3s ease; transition: fill 0.3s ease;
}

/**/

.logo{
    position: absolute;
    top: 20px;
    right: 20px;
    width: 134px;
    height: auto;
    z-index: 9;
}
.logo .st0{
	fill: #00314d;
}

.text, .text-1, .text-2, .text-3{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
}

/**/

.red-animation{
    background: #e01e21;
    width: 100%;
    height: 300px;
    position: absolute;
    bottom: 0;
    z-index: 100;
}

/**/

.hand{
	z-index: 15;
}

/**/

.done{
	width: calc(44px/2);
	height: calc(44px/2);
	position: absolute;
	z-index: 10;
	/*top: 10px;
    left: 10px;*/
    top: 188px;
    left: 136px;
    background-size: cover;
	background-repeat: no-repeat;
}
.done1{
	background-image: url(../img/done1.png);
}
.done2-1{
	background-image: url(../img/done2-1.png);
    background-position: left bottom;
    bottom: 390px;
    top: inherit;
}
.done2-2{
	background-image: url(../img/done2-2.png);
}

/**/

.wave{
	width: calc(56px/2);
	height: calc(32px/2);
    position: absolute;
    z-index: 10;
    top: 90px;
    left: 150px;
    background-size: cover;
    background-repeat: no-repeat;
}
.wave1{
	background-image: url(../img/wave1.png);
}
.wave2{
	background-image: url(../img/wave2.png);
}
.wave3{
	background-image: url(../img/wave3.png);
}

/**/