/* ***** 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:#ffc72c; /* Main Color Variable */
	--color-2:green; /* Second Color Variable */
	--color-white:#fff; /* White Color Variable */
	--color-black:#000; /* Black Color Variable */
	--ad-bg:#000; /* 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;
}


/* ***** CTA ***** */
.cta{
	position:absolute;
	z-index:9;
	left:50%;
	bottom:26px;
	display:inline-block;
	border:1px solid var(--color-white);
	background:var(--color-white);
	-webkit-border-radius:40px; border-radius:40px;
	padding:9px 24px 8px;
	-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:74px;
	height:auto;
	fill:#e41c23;
	-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;
}

#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:9;
}