/*****************
******************
      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,
sup,
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;
}

/* HTML5 display-role reset for older 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;
}

small {
    font-size: 0.8em;
    line-height: 0.8em;
}

/*****************
******************
     General
******************
*****************/
body {
    font-family: 'Open Sans', sans-serif;
}

h1 {
    text-transform: uppercase;
    font-size: 3rem;
    line-height: 1.2em;
	max-width: 960px;
    text-shadow:
        0 0 20px rgba(21, 53, 89, 0.5),
        0 0 60px rgba(21, 53, 89, 0.8);
}

h2 {
    margin-top: 20px;
    font-size: 1rem;
	max-width: 960px;
	line-height: 1.2em;
    text-shadow:
        0 0 20px rgba(21, 53, 89, 0.5),
        0 0 60px rgba(21, 53, 89, 0.8);
}

h3 {
    color: #1b3a5a;
    font-size: 1.8rem;
    line-height: 1.3em;
    text-align: center;
    margin-bottom:30px;
}

h4 {
    color: #1b3a5a;
    font-size: 1.2rem;
}


a {
    color: #1b3a5a;
}

/*****************
******************
     Header
******************
*****************/

header {
    position: relative;
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
    padding: 40px;
    background-color: rgba(21, 53, 89, 0.0);
background-position: center bottom;
    background-blend-mode: lighten;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
	animation: fadeInBg 5s ease;
	animation-delay: 2s;
	animation-fill-mode: forwards;
}
.intro {
	animation: fadeIn 5s ease;
	animation-delay: 2s;
	animation-fill-mode: forwards;
	opacity: 0;
}
.logo-avenir {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 150px;
    z-index: 1;
}

.fullscreen-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: -100;
}


.bg-video {
  position: absolute;
    bottom: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
}
/*****************
******************
   Reactors On
******************
*****************/
.reactors-on, .reactors-dates, .intro {
    width: 100%;
    max-width:960px;
    margin: auto;
    box-sizing: border-box;
    padding: 100px 40px 0;
}

.intro {
	line-height: 1.5rem;
    padding-top: 60px;
}
.intro p {
	margin-top: 1.5rem;
}

.reactor-pie {
    display: flex;
    justify-content: space-between;

}


/*****************
******************
   Reactors On
******************
*****************/
.reactors-days {
    width:100%;
    min-height:600px;
    box-sizing: border-box;
    padding: 100px;
    background:url(img/tihange.jpg) no-repeat bottom center;
    background-size:cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reactor-days-inside {
    width:90%;
    max-width:1300px;
    box-sizing: border-box;
    padding: 60px 40px 0;
    background:linear-gradient(to top, rgba(7,10,86,0.6),rgba(207,81,179,0.6));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.reactor-days-inside h3 {
    color:#fff;
    text-align: left;
}
.interview-inside {
	 width:90%;
    max-width:1300px;
    box-sizing: border-box;
	margin: auto;
	background: #b2d9ff;
padding: 60px;
}
.interview-inside p {
	margin-bottom: 11px;
}
/*****************
******************
   Reactors dates
******************
*****************/
.reactors-dates {
	margin-top: 80px;
	padding: 0;
}
.reactors-dates .inner {
	background: #b2d9ff;
	padding: 60px;
}
#datepicker {
    margin: 20px 20px 20px 0;
    padding: 10px;
    border: 1px solid #9759a2;
    font-family: 'open sans', sans-serif;
    font-size:1rem;
    display: inline-block;
    
}

.legend {
    display: inline-block;
    margin-left: 40px;
}

.legend li {
   display: inline-block;
       margin: 10px 40px 0 0;
    position: relative;
}

.legend li::before {
    content:"";
    width:20px;
    height:20px;
    position: absolute;
    top:-2px;
    left:-25px;
    background: #76ffd9;
}

.legend li:nth-of-type(2)::before {
    background: #ffa617;
}
.legend li:last-of-type::before {
    background: #ff6517;
}
.reactor-states {
    display:flex;
    flex-wrap:wrap;
    justify-content: space-between;
    text-align: center;
}

.reactor-states li {
    margin: 10px 5px;
}


.reactor-states li img{
    width:100%;
    max-width:100px;
}

/*****************
******************
    Infographics
******************
*****************/

.pie-chart {
    width: 30%;
    text-align: center;
}

.pie-chart h4 {
    position: relative;
    margin-top: 30px;
    margin-bottom: -20px;
    z-index: 20;
}

.pie-iframe {
    width: 100%;
    max-width: 500px;
    height: auto;
    min-height: 500px;
}

.bar-iframe {
    width:100%;
    min-height:450px;
}
footer {
	margin: auto;
	max-width: 90%;
	margin-top: 20px;
	background: rgba(0,0,0,0.1);
	padding: 10px 20px;
}

/*****************
******************
   Mediaqueries
******************
*****************/
@media screen and (max-width:750px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size:0.9rem;
    }
    
    h3 {
        font-size: 1.5rem;
        text-align: left;
    }
    
    .reactors-on, .reactors-dates, .intro {
        padding: 70px 30px 0;
    }

    .intro {
        padding-top: 30px;
    }
    
    .reactors-on {
        padding: 50px 20px 0;
    }

    .reactor-pie {
        flex-wrap: wrap;
    }

    .pie-chart {
        width: 100%;
    }
    .pie-iframe {
        min-height: 420px;
    }
    
    .reactors-days {
        padding: 0;
    }
    
    .reactor-days-inside {
        width:100%;
        padding: 60px 0 0;
    }
    .reactor-days-inside h3 {
       padding: 0 20px;
    }


    .legend {
        margin-left: 28px;
        margin-bottom:20px;
    }
    
    .legend li {
        margin-right: 30px;
    }
    .reactor-states {
        justify-content: flex-start;
    }
    
    
    .bg-video {
        right: -400px;
    }

}
/*****************
******************
   Animation
******************
*****************/
@keyframes fadeInBg {
	0% {
		background-color: rgba(21, 53, 89, 0.0)
	}
	100% {
		background-color: rgba(21, 53, 89, 0.7)
	}
}
@keyframes fadeIn {
	0% {
		opacity: 0
	}
	100% {
		opacity: 1
	}
}
