/*fonts*/
@font-face {
    font-family: 'yanone_regular';
    src: url('../font/yanonekaffeesatz-regular-webfont.eot');
    src: url('../font/yanonekaffeesatz-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/yanonekaffeesatz-regular-webfont.woff') format('woff'),
         url('../font/yanonekaffeesatz-regular-webfont.svg#yanone_kaffeesatzregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
	font-family: 'yanone_thin';
    src: url('../font/yanonekaffeesatz-thin-webfont.eot');
    src: url('../font/yanonekaffeesatz-thin-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/yanonekaffeesatz-thin-webfont.woff') format('woff'),
         url('../font/yanonekaffeesatz-thin-webfont.svg#yanone_kaffeesatzthin') format('svg');
    font-weight: normal;
    font-style: normal;
}
/*fin de font*/

/* override Wahid */

html {
  margin:0;
  padding:0;
  background: url('../img/background.jpg') no-repeat center center fixed;
  background-size: cover;
}
body{
    background: none;
    margin:0;
    border:none;
    margin-top:0px;
    padding:0px;
}
body:fullscreen {
  background: url('../img/background.jpg') no-repeat center center fixed;
  background-size: cover;
}
body:-webkit-full-screen  {
  background: url('../img/background.jpg') no-repeat center center fixed;
  background-size: cover;
}
body:-ms-fullscreen {
  background: url('../img/background.jpg') no-repeat center center fixed;
  background-size: cover;
}
body:-moz-full-screen  {
  background: url('../img/background.jpg') no-repeat center center fixed;
  background-size: cover;
}

video {
    width:100%;
}
audio {
    width:100%;
}
a {
    color:#00c6ff;
  font-family: yanone_thin;
  font-size:1.4em;
}
a:active, a:focus, a:hover {color:#DDD;}
header {
    width:100%;
    padding-top:5px;
    padding-bottom:5px;
    margin:0 auto;
    background-color: #F07C19;
    border-bottom: 2px solid white;
}

header h1 {
    margin:0;
    top:0;
    left:0px;
    /*background:url(../img/imagedoc-darknoise.png);*/
    display:inline;
    max-width:20%;
    padding: 5px 1em 5px 5px;
    margin-bottom:0;
    color:#FFFFFF;
    font-family: yanone_thin;
}


.eyes {
    background:url(../img/eyes.png) center bottom no-repeat;
    margin-left: 10px;
    padding:.3em 1em;
}
.eyes:hover {
    background:url(../img/eyes2.png) center bottom  no-repeat;
}
.meta-doc {
    background:url(../img/meta-doc.png) center bottom  no-repeat;
    margin-left: 10px;padding:.3em 1em
}
.meta-doc:hover{
    background:url(../img/meta-doc2.png) center bottom  no-repeat;
}
.infos {
   background:url(../img/infos.png) center bottom no-repeat;
    margin-left: 10px;
    padding:.3em 1em;
}
.infos:hover{
    background:url(../img/infos2.png) center bottom  no-repeat;
    /*position: relative;
    padding:0px;
    width:1000px;
    margin:10px auto;
    border:0px solid #FFF3B2;
    background: #212121; /* Old browsers */
*/
}
.title-document {display: block;}

h1 {
    font-size:1.5vw;
}
@media screen and (max-width: 640px) {
    body {
        font-size:0.7em;
    }
    h1 {
        font-size:1.5em;
    }
    h3 {
        font-size:0.5em;
    }
}
#detect, #canvas {
    margin:0;
    padding:0;
}
#container {
    position: relative;
    padding:0px;
    width:1000px;
    margin:20px auto;
    border:0px solid #FFF3B2;
    background: #000000; /* Old browsers */

}
#canvas {
    width:55%;
    border:0px solid white;
    border-radius:5px;
}
#detect {
    position:absolute;
    top:50px;
    left:0;
    width:100%;
    height:655px;

}

.accordion {
    position:absolute;
    top:70px;
    left:53%;
    width:45%;
    color:black;
    font-family: sans-serif;
    font-size:1.2em;
}
.accordion-body a{
    text-decoration:none;
    color:#F07C19;
    font-size:1em;
}
.accordion-body a:hover{

    text-decoration:underline;
    color:#F07C19;
    border-radius: 5px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

a.accordion-toggle {
    font-family:yanone_regular;
    color:#F07C19;
    font-size:2em;
    text-decoration:none;
    -webkit-transition: all 0.2s ease-in-out, color 1s ease-in-out;
    -moz-transition: all 0.2s ease-in-out, color 1s ease-in-out;
    -o-transition: all 0.2s ease-in-out, color 1s ease-in-out;
    -ms-transition: all 0.2s ease-in-out, color 1s ease-in-out;
    transition: all 0.2s ease-in-out, color 1s ease-in-out;
}
.accordion-toggle:hover {
    color:#FFF;
}
.accordion-group {
    border:0px;
}

.accordion-inner {
    background-color: rgba(250,250,250,0.2);
    position: relative;
    color:white;
    /*line-height: 1.7em;*/
    font-size: 1em;
}
#accordion2 {
    overflow:auto;
    max-height:655px;
}
.response {
    display:none;
}
/*.response:target {
    display:block;
}
.button {
    background-color: #dddddd;
    position:relative;
    right:0px;
    border-radius: 5px;
    padding: 5px;
}*/

.unlock {
    width: 80%;
    margin:0px auto;
}

.unlock input[type="submit"]{
   background-image: url(../img/unlock-icon.png) ;
   background-repeat: no-repeat;
   width: 40px;
   height: 40px;
   border:0px;
   background-color:transparent;
}

.unlock input[type="text"]{
   padding: 10px;
   margin:10px;
   background-color: #ffec64;
   border:0px;
   box-shadow: inset 0px 0px 5px #ffab23;
}

.button {
	-moz-box-shadow: 0px 1px 0px 0px #fff6af;
	-webkit-box-shadow: 0px 1px 0px 0px #fff6af;
	box-shadow: 0px 1px 0px 0px #fff6af;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffec64), color-stop(1, #ffab23));
	background:-moz-linear-gradient(top, #ffec64 5%, #ffab23 100%);
	background:-webkit-linear-gradient(top, #ffec64 5%, #ffab23 100%);
	background:-o-linear-gradient(top, #ffec64 5%, #ffab23 100%);
	background:-ms-linear-gradient(top, #ffec64 5%, #ffab23 100%);
	background:linear-gradient(to bottom, #ffec64 5%, #ffab23 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffec64', endColorstr='#ffab23',GradientType=0);
	background-color:#ffec64;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #ffaa22;
	display:inline-block;
	cursor:pointer;
	color:#333333;
	font-family:arial;
	font-size:15px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffee66;
}
.button:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffab23), color-stop(1, #ffec64));
	background:-moz-linear-gradient(top, #ffab23 5%, #ffec64 100%);
	background:-webkit-linear-gradient(top, #ffab23 5%, #ffec64 100%);
	background:-o-linear-gradient(top, #ffab23 5%, #ffec64 100%);
	background:-ms-linear-gradient(top, #ffab23 5%, #ffec64 100%);
	background:linear-gradient(to bottom, #ffab23 5%, #ffec64 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffab23', endColorstr='#ffec64',GradientType=0);
	background-color:#ffab23;
}
.button:active {
	position:relative;
	top:1px;
}

/* popup */
#overlay {
    display:none;
    position:fixed;
    top:0;
    right:0;
    left:0;
    bottom:0;
    background: rgba(0,0,0,0.6);
}
#popup {
    position:relative;
    width: 60%;
    margin: 50px auto;
    background:white;
    min-height: 100px;
    box-shadow: black 5px 5px 10px;
}
#popup_text {
    text-align:center;
    font-family: yanone_regular;
    padding:5px;
}
#popup_text img{
    position: absolute;
    top: 0;
    left: 0;
    max-width: 60px;
    margin: 10px;
}
#content #message_success {
    overflow-x:visible;
    overflow-y:visible;
}
#popup_close, #popup_toggle {
    cursor: pointer;
    position:absolute;
    top:-20px;
    right:-20px;
    width:40px;

}
#loader {
    position:fixed;
    display: table;
    text-align:center;
    width:100%;
    height:100%;
    top:0;
    right:0;
    left:0;
    bottom:0;
    background: black;
    z-index:100;
}
#loader div{
    font-family: yanone_thin, Arial;
    font-size: 2em;
    display:table-cell;
    vertical-align: middle;
    color:white;
}
.videoWrapper16_9 {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 5px;
    height: 0;
}
.videoWrapper4_3 {
    position: relative;
    padding-bottom: 75%;
    padding-top: 5px;
    height: 0;
}
.videoWrapper16_9 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.videoWrapper4_3 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.collapse, .slidedown {

    max-height: 0;
    overflow-y: hidden;
    -webkit-transition: max-height 0.5s ease-in-out;
    -moz-transition: max-height 0.5s ease-in-out;
    -o-transition: max-height 0.5s ease-in-out;
    transition: max-height 0.5s ease-in-out;
}

.accordion-inner {
    padding:10px;
}
.accordion-inner img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.slidedown {
    max-height: 1000px ;
    overflow-y: auto;
}


/* thanks to Chris Coyier on https://css-tricks.com/css3-progress-bars/ */

#splash div#progressbar-wrap {
    width: 80%;
    max-width: 500px;
    display:block;
    margin:0px auto;
}
#progressbar-wrap div.meter {
    height: 20px;  /* Can be anything */
    position: relative;
    display: block;
    margin: 60px 0 20px 0; /* Just for demo spacing */
    background: #555;
    border-radius: 25px;
    padding: 10px;
    box-shadow: inset 0 -1px 1px rgba(255,255,255,0.3);
}
.meter > span {
    display: block;
    height: 100%;
    width: 0%;
    transition-duration: 0.5s;
    transition-timing-function: linear;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    background-color: rgb(43,194,83);
    background-image: -webkit-gradient(
      linear,
      left bottom,
      left top,
      color-stop(0, rgb(43,194,83)),
      color-stop(1, rgb(84,240,84))
     );
    background-image: -moz-linear-gradient(
      center bottom,
      rgb(43,194,83) 37%,
      rgb(84,240,84) 69%
     );
    box-shadow:
      inset 0 2px 9px  rgba(255,255,255,0.3),
      inset 0 -2px 6px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}
.meter > span:after, .animate > span > span {
    content: "";
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background-image:
       -webkit-gradient(linear, 0 0, 100% 100%,
          color-stop(.25, rgba(255, 255, 255, .2)),
          color-stop(.25, transparent), color-stop(.5, transparent),
          color-stop(.5, rgba(255, 255, 255, .2)),
          color-stop(.75, rgba(255, 255, 255, .2)),
          color-stop(.75, transparent), to(transparent)
       );
    background-image:
        -moz-linear-gradient(
          -45deg,
          rgba(255, 255, 255, .2) 25%,
          transparent 25%,
          transparent 50%,
          rgba(255, 255, 255, .2) 50%,
          rgba(255, 255, 255, .2) 75%,
          transparent 75%,
          transparent
       );
    z-index: 1;
    background-size: 50px 50px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    overflow: hidden;
}


canvas {z-index: 1;}
iframe {
  border:none;
}
footer {z-index:2;}



@media (max-width: 1280px) {
  header h1 {font-size: 1.5em;}
  a.accordion-toggle {font-size: 1.5em;}
}
/*
 * Warning : Verify iascene.js to suit following rules
 *
 *
 */
@media (max-width:768px){
  html {
    /*Hack pour avoir le background en cover sur Android*/
     height: 100%;
    min-height: 100%;
  }

  header h1 {font-family: yanone_thin;}
  container {
    display:flex;
    flex-direction: column;
  }
  #container {
    background: none;
  }
  a.accordion-toggle {font-size: 1.2em;}
  .accordion {
    width : 100%;
    position:static;
    display: flex;
    flex-direction: column;
    font-size:1em;
  }
  .accordion-group{
    margin:2px;
    padding: 10px;
    background: #000;
}
}
.accordion-inner h1 {
    font-size: 2em;
    margin-left: 0;
    font-weight: 900;
    border-bottom: 1px solid #eee;
}