html {
  height:100%;
  width:100%;
}
body {
  background:url(fond.jpg) no-repeat bottom center;
  height:100%;
}
#fenetre {
  background: #F0F0F0;
  position: fixed;
  top:50%;
  left:50%;
  width:500px;
  margin:-250px 0 0 -250px;
  height:500px;
  border:1px solid #8F8F8F;
  box-shadow:0 0 10px #888;
  z-index:99;
  text-align:center;
  font-size:20px;
  color:#2D2D2D;
  padding: 30px;
}
.case {
  width:65px;
  height:65px;
  border:1px solid #000;
  border-radius:6px;
  text-align:center;
  font-size:24px;
  display:inline-block;
  margin:2px;
  vertical-align: top;
  padding-top: 19px;
  background:url(case.png);
}
.sepa {
  display:inline-block;
  vertical-align: top;
  padding-top: 19px;
  font-size:24px;
  margin:0 0 0 -11px;
  height:65px;
  position: absolute;
  font-weight: bold;
  text-shadow:0 0 5px #FFF;
}
.case.actif {
  background:#0084FF;
  color:#FFF
}
.case.speX::after, .case.speP::after {
  margin-left: 16px;
  content: "?";
  background: #FFF;
  width: 27px;
  height: 27px;
  display: block;
  position: absolute;
  border: 1px solid #004D01;
  color: #004D01;
  bottom: 12px;
}
.case.speP::after {
  background: #4CFF50;
  color:#000;
}
.case.actif.speX::after {
  background: #358000;
}
.case.actif.speP::after {
  background:#004D01;
}

.case.speB {
  background:#4CFF50;
}
.case.actif.speB {
  background:#0D3200;
}
.desactif {
  opacity:0.3;
}
#negatif [data-or]:before {
  display: none;
}
[data-or]:before {
  content: attr(data-or);
  border: 1px solid #B99C00;
  position: absolute;
  top: 12px;
  margin-left: 37px;
  border-radius: 99px;
  background: #FFD;
  font-size: 16px;
  width: 25px;
  height: 21px;
  padding: 4px 0px 0;
}
.spe50:before {
  margin-left: 11px;  
}
.actif[data-or]:before {
  background:#FFDD00;
}

/* Case du haut */
#paire .case, #mini .case, #croissant .case, #decroissant .case, #unique .case {
  border-color:#005BA6;
  color:#00375A;
  margin-right: 10px;
}
/* case du bas */
#plusDe .case, #retourne .case, #modulo .case, #relance .case {
  border-color:#004D01;
}

/* Coché normal bas */
#plusDe .case.actif, #retourne .case.actif, #modulo .case.actif, #relance .case.actif {
  background:#358000;
}
#plusDe .case.actif.speB, #retourne .case.actif.speB, #modulo .case.actif.speB, #relance .case.actif.speB {
  background:#004D01;
}
#negatif .case.actif {
  background:#000000;
}
.bonus {
  background: #F00;
  position: absolute;
  width: 35px;
  height: 35px;
  font-size: 22px;
  border: 1px solid #FFF;
  color: #FFF;
  border-radius: 4px;
  text-align: center;
  top: 80px;
  z-index: 99;
  margin-left:14px;
  padding-top:5px;

}
div {
  box-sizing:border-box;
}
.ligne {
  width:620px;
  overflow:scroll;
  height:114px;
  position:absolute;
  top:50px;
  left:0px;
  padding: 22px 0 0;
}
.ligneInt {
  width:759px;

}

#total {
  top: 0px;
  position: absolute;
  right: 154px;
  background: url(vert.png);
  color: #FFF;
  width: 188px;
  text-align: center;
  padding: 10px;
  font-size: 25px;
}
#total div {
  display: inline-block;
  padding: 0 10px;
  /*font-size: 35px;*/
}
#annuler {
  top: 0;
  position: absolute;
  right: 0;
  background: url(case.png);
  width: 150px;
  font-size: 25px;
  text-align: center;
  padding: 10px;
  border: 1px solid #111;
}
#DIVcroissant h2 {
  margin-top:-10px;
  font-size: 2em;
}
#pouvoirTitre {  
  font-size: 2em;
  position: absolute;
  top:445px
}
h2 {
  padding:0;
  margin:0;
  position:absolute;
  top:0;
  left:0;
  z-index:9;
}
#choisir {
  width:100%;
  position:fixed;
  bottom:0;
  left:0;
  background:#FFF;
  border-top:3px solid #000;
  padding:20px 0;
  z-index:99;
  font-size:20px;
  text-align:center;
}
#choisir .de {
  display:inline-block;
  width:120px;
  height:120px;
  border:2px solid #000000;
  margin:7px;
  border-radius:10px;
  font-size:50px;
  padding-top: 31px;
  background:#FFF;
}
#choisir .de.desactive {
  background:#C4C4C4;
  color:#E8E8E8;
}