/*-----------------------------------------------------------------------
							Popup accueil
-----------------------------------------------------------------------*/

#mask {
  position:fixed;
  left:0;
  top:0;
  z-index:9000;
  background-color:#000;
  display:none;
  height: 100%;
  width: 100%;
}


#boxes .window {
  position:fixed;
  left:50%;
  top:50%;
  font-family:verdana;
  font-size:15px;
  margin-top: -200px;
  margin-left: -377px;
  width:754px;
  height:auto;
  display:none;
  z-index:9999;
  padding:20px;
}

#boxes #dialog {
  width:754px; 
  height:auto;
  padding:0px;
  background-color:#FFFFFF;
  z-index:9999;
}
#boxes #dialog h2{
  padding: 5px;
  margin: 0;
  font-size: 20px;
}
#boxes #dialog h2 a{
  padding: 0;
  margin: 0;
  text-decoration: none;
  color: #1a1a1a;
  border: none;
}
#boxes #dialog h2 a:hover{
  color: #1a1a1a;
  border: none;
}
#boxes #dialog p{
  margin: 0;
  padding: 0;
}
#boxes #dialog a{
  display: block;
  padding: 0px;
  border: none;
}
#boxes #dialog a img{
  border: none;
}
#boxes #dialog #close{
  display: inline;
  position: absolute;
  padding: 0;
  margin: 0;
  top:-30px;
  right:0;
  color: #ffffff;
  text-decoration: none;
}
#close img{
  vertical-align: middle;
  border: none;
}
#close a img{
  border: none;
}
#hack{
  position: absolute;
  height: 100%;
  bottom: 0;
  left: 0;
}


#video_box{
  display: none;
  position: absolute;
  width: 1200px;
  height:800px;
  top:0;
  left: 50%;
  margin-left: -600px;
  z-index: 9998;
}
#video_box video{
  display: block;
  width: 1200px;
  height:800px;
}

#eDaitem{
  display: none;
  position: absolute;
  width: 1200px;
  height:800px;
  top:0;
  left: 50%;
  margin-left: -600px;
  z-index: 9998;
  background:url('../static/img/bg-e-daitem.png');
}
#eDaitem p.logo{
  text-align: center;
  padding-top: 50px;
}
#eDaitem p.title{
  font-size: 42px;
  text-align: center;
  color: #FFFFFF;
  font-weight: normal;
  line-height: 52px;
  padding-top: 25px;
  padding-bottom: 30px;
}
#eDaitem .video .btn-info{
  padding-top: 10px
}
#eDaitem .video .btn-info a{
  display: block;
  width: 475px;
  padding: 10px 0;
  margin: 0 auto;
  color: #00ABE8;
  font-size: 18px;
  background: #FFFFFF;
  -webkit-transition: background 500ms ease;
  -moz-transition: background 500ms ease;
  -ms-transition: background 500ms ease;
  -o-transition: background 500ms ease;
  transition: background 500ms ease;
}
#eDaitem .video .btn-info a:hover{
  background: #E7E7E7;
  -webkit-transition: background 500ms ease;
  -moz-transition: background 500ms ease;
  -ms-transition: background 500ms ease;
  -o-transition: background 500ms ease;
  transition: background 500ms ease;
}
#eDaitem .video .btn-info a img{
  vertical-align: top;
}
#eDaitem .video .videoTitle{
  font-size:20px;
}
#eDaitem .video{
  width: 525px;
  background: url('../static/img/bg-e-daitem-2.png') repeat;
  margin: 0 auto;
}
#eDaitem .download{
  width: 525px;
  background: url('../static/img/bg-e-daitem-2.png') repeat;
  margin: 25px auto;
}
#eDaitem .download .titlestore,
#eDaitem .download p,
#eDaitem .video p{
  color: #FFFFFF;
  font-size: 16px;
  text-align: center;
}
#eDaitem .download p,
#eDaitem .video p{
  padding: 10px;
}
#eDaitem .download .stores a{
  margin: 0 25px;
}
#video_box .close_e_daitem_video,
#eDaitem .close_e_daitem{
  position: absolute;
  top: 0;
  right: 50%;
  margin-right: -50px;
  z-index: 9999;
  background: url('../static/img/bg-e-daitem-2.png') repeat;
}
#video_box .close_e_daitem_video a,
#eDaitem .close_e_daitem a{
  color: #00ABE8;
  font-size: 16px;
  display: block;
  padding: 5px 15px;
}
div#replay{
  position: absolute;
  width: 40px;
  height: 147px;
  top: 452px;
  right: 0;
  z-index: 9999;
  display: block;
  padding: 10px;
  background: #00ABE8;
}
div#replay a{
  font-size: 15px;
  color: #FFFFFF;
}

@media screen and (max-width: 1200px)
{
  #video_box{
    position: absolute;
    width: 100%;
    height: auto;
    left:0;
    margin-left: 0;

  }
  #video_box #video_1,
  #video_box video{
    width: 100%;
    height: auto;
  }
  #eDaitem{
    position: absolute;
    width: 100%;
    height: auto;
    left: 0;
    margin-left: 0;
  }
}