html, body, #result, #test{
  height: 100%;
  min-height: 100%;
}
body{
  background: #08418e url(/img/codedelaroute.gif) no-repeat 50% 44px;
  margin: 0px;
  padding: 0px;
  font-size: 16px;
  height: 100%;
}
.left{
  text-align: left;
}
.contain{
  margin: 0 auto;
  background-color: white;
}
#ban{
  height: 150px;
  background-image: url('../img/ban.png');
}
#banfoot{
  height: 130px;
  background-image: url('../img/foot.png');
}
#footer{
  background-color: #4E4F4F;
}
.txtfooter{
  font-size: 14px;
  color: white;
}
.txtfooter ul{
  padding-left: 13px;
}
#menu, #location{
  border-bottom: 1px solid #F2F2F2;
}
.menu-item{
  width: 100%;
  min-height: 70px;
  display: inline-block;
  text-align: center;
  font-size: 20px;
  line-height: 70px;
  padding: 10px 0px 10px 0px;
  font-family: 'Calibri', 'Arial', 'Helvetica', sans-serif;
}
a .menu-item, .tdn, .tdn:hover{
  color: black;
  text-decoration: none;
}
.tdnw, .tdnw:hover{
  color: white;
  text-decoration: none;
}
a .menu-item:hover{
  background-color: #F2F2F2;
}
.location{
  padding: 5px 0px 5px 5px;
  margin: 10px 0px 10px 10px;
  display: inline-block;
  border-right: 20px solid #F2F2F2;
  background-color: #F2F2F2;
  color: black;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}
.bgblue{
  background-color: #045FB4;
  color: white;
  border-right: 20px solid #045FB4;
}
#corps{
  padding: 50px;
  font-family: 'Calibri', 'Arial', 'Helvetica', sans-serif;
}
#corps p{
  font-size: 18px;
}
.txt{
  margin-top: 50px;
}
h1{
  text-align: center;
  color: #045FB4;
  font-weight: bold;
}
h3{
  text-align: center;
  font-weight: bold;
  font-size: 20px;
}
h4{
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}
h5{
  text-align: left;
  font-size: 20px;
  font-weight: bold;
  color: #045FB4;
}
.center{
  text-align: center;
}
#overview{
  width: 300px;
  height: 200px;
  border: 1px solid black;
  margin-left: 50px;
}
#admin-table-serie{
  width: 100%;
}
#admin-table-serie input{
  width: 100%;
  margin-right: 10px;
  margin-bottom: 10px;
}
#admin-table-serie .checkbox{
  width: auto;
  float: left;
}
#admin-table-serie .ml{
  margin-left: 10px;
}
.vignette-test{
  background-color: #F2F2F2;
  width: 250px;
  padding: 10px 5px 1px 10px;
  display: inline-block;
  margin: 10px 25px 10px 25px;
  border: 1px solid #D8D8D8;
}
.vignette-test-right{
  color: #045FB4;
  text-align: right;
  font-weight: bold;
}
.vignette-test img{
  width: 230px;
  height: 150px;
  margin-bottom: 10px;

}
.nobordertabletd tbody tr td{
  border: none;
}
.vignette-cours{
  margin-top: 20px;
}
.vignette-cours-romains{
  background-color: #045FB4;
  color: white;
  font-size: 22px;
  width: 30px;
  display: inline-block;
  height: 30px;
  text-align: center;
  line-height: 30px;
  font-weight: bold;
}
.vignette-cours-titre{
  font-weight: bold;
  font-size: 20px;
  margin-left: 20px;
  display: inline-block;
}
.vignette-cours-img{
  background-color: #F2F2F2;
  float: left;
  border: 1px solid #D8D8D8;
  border-radius: 10px;
  margin-right: 10px;
}
.vignette-cours-l1{
  border-bottom: 1px dashed #D8D8D8;
}
.vignette-cours-l2{
  margin-top: 10px;
}
.bouton-reviser{
  background-color: #045FB4;
  color: white;
  display: inline-block;
  padding: 5px 15px 5px 15px;
  border-radius: 5px;
  float: right;
}
#test{
  text-align: center;
  padding-bottom: 5px;
  border: 1px solid black;
  border-radius: 20px;
}
#test button{
  font-size: 20px;
  position: absolute;
  bottom: 0px;
  margin-bottom: 10px;
}
.img-question{
  width: 760px;
  height: 500px;
}
.testp{
  font-weight: bold;
  text-align: left;
  font-size: 22px;
}
.test-table tr td{
  text-align: left;
  font-size: 20px;
}
.test-table tr td input{
  margin-right: 20px;
}
.test-table tr td label{
  font-weight: normal;
}
.testinh{
  height: auto !important;
  min-height: auto !important;
  margin-top: 50vh;
  transform: translateY(-50%);
}
.testinh button{
  position: static !important;
  margin-top: 20px;
}
.timer{
  float: left;
  margin-left: 10px;
  margin-top: 10px;
}
.leavetest{
  position: absolute;
  bottom: 0px;
  left: 0px;
  margin-bottom: 10px;
  margin-left: 10px;
}
#timeleft{
  position: absolute;
  margin-left: 9px;
  margin-top: 10px;
  width: 100px;
  font-size: 60px;
  padding: 10px;
}
.result-mignature{
  width: 210px;
  padding: 10px;
  display: inline-block;
  margin: 20px 20px 0px 20px;
}
.result-mignature img{
  width: 190px;
}
.rnumber{
  font-size: 20px;
}
.result-mignature button{
  float: right;
  margin-top: 5px;
}
.bgcorrect{
  background-color: #00FFBF;
}
.bgincorrect{
  background-color: #FAAC58;
}
.colorgreen{
  color: #04B404;
}
.colororange{
  color: #FF8000;
}
.sub{
  font-size: 14px;
}
.bloc{
  background-color: #F2F2F2;
  padding: 10px;
  display: inline-block;
  width: 100%;
}
.bloc img{
  float: left;
  margin-right: 10px;
}
.bloctitle{
  font-size: 24px;
  font-weight: bold;
}
.justify{
  text-align: justify;
  margin-bottom: 20px;
}
#mobilemenu{
  display: none;
  font-size: 28px;
  padding: 5px;
  border-bottom: 1px solid black;
}

@media all and (min-width: 1024px){
  .contain{
    width: 1000px;
    position: relative;
  }
  .ban{
    width: 100%;
    height: 199px;
  }
  
  .content-ban {
    width: 1000px;
    margin: auto;
    position: relative;
  }
  .ban-left, .ban-right {
    width: 100%;
    height: 100%;
  }
  .h-left{
    position: absolute;
    width: 185px;
    height: 100%;
    left: -185px;
  }
  .h-right{
    position: absolute;
    width: 185px;
    height: 100%;
    right: -185px;
  }
}
@media (min-width: 1024px){
    .ban-left, .ban-right {
        width: 180px;
        height: 100%;
    }
    a.externe-url .ban-left, a.externe-url .ban-left, a.externe-url .ban-right {
        position: absolute;
        z-index: 2;
    }    a.externe-url .ban-left {
        left: -180px;
    }
    a.externe-url .ban-right {
        right: -180px;
    }
}
a.externe-url .ban-left, a.externe-url .ban-left, a.externe-url .ban-right {
   position: absolute;
   z-index: 2;
}a.externe-url .ban-left {
   left: -180px;
}
a.externe-url .ban-right {
   right: -180px;
}
@media all and (min-width: 760px) and (max-width: 960px){
  .menu-item{
    width: auto;
    margin: 0px 10px;
    font-size: 16px;
  }
}
@media all and (max-height: 860px){
  .img-question{
    width: 550px;
    height: 240px;
  }
  #test h1{
    font-size: 32px;
  }

}
@media all and (max-width: 759px){
  .menu-item{
    border-bottom: 1px solid black;
  }
  #menu{
    display: none;
    border-bottom: none;
  }
  #mobilemenu{
    display: block;
  }
}
@media all and (max-width: 749px){
  .img-question{
    width: 300px;
    height: 200px;
  }
  #test h1{
    font-size: 32px;
  }
  .timermobile{
    display: none;
  }
}
@media all and (min-width: 960px){
  .menu-item{
    width: inherit;
    padding: 0px 21.4px;
  }
  .bloc{
    width: 47%;
    margin: 10px;
  }
}
@media all and (max-width: 699px){
  #corps{
    padding: 5px;
  }
}
@media (max-width: 749px){
  body {
    background-size: contain;
    background-position: top center;
  }

  .ban {
    width: 100%;
    height: 40px;
  }
}