body {
  background-color: #313338;
  text-align:center;
  font-family: "Open Sans", sans-serif;
}

.error {
  border: none;
  border-radius: 5px;
  background-color: #f33;
  display: inline-block;
  min-width: 0px;
  padding: 3px;
  padding-right: 8px;
  padding-left: 8px;
  color: #fff;
}

.error:empty {
 visibility: hidden;
}

.bouton, .textinput {
  font-size: large;
  color: #c3bec1;
  border: none;
  border-radius: 10px;
}

/* Chrome, Safari */
input::-webkit-outer-spin-button, 
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
 -moz-appearance: textfield;
 appearance: textfield;
}


.bouton {
  height: 50px;
  width: 150px;
  background-color: #4c5156;
  box-shadow: 3px white;
}

.bouton:hover {
  background-color: #6d6f78;
}

.textinput {
  height: 48px;
  background-color: #383a40;
  padding-left: 15px;
}

.textinput:focus {
  outline: none;
}

.tailleinfo {
  color: #c3bec1;
  font-size: x-large;
}

.carre {
  display: inline-block;
  position:relative;
  border-radius: 10px;
  text-align: center;
  vertical-align: middle;
  font-weight: bold;
  background-color: #cecece;
  color: block;
  border: solid 3px rgba(0, 0, 0, 0);
}
.carrecache {
  display: inline-block;
  border: 3px solid black;
  text-align: center;
  background-color: black;
  border-radius: 0px;
}

.transparent {
  background: rgba(0,0,0,0); 
  border-radius: 8px;
  box-shadow: 0 0 0 3px black, 0 0 0 3px white inset;
  border: solid 3px black;
}
.cache {
  border: solid 10px black;
  border-radius: 14px;
  transition: transform 0.3s, opacity 0.3s;
  position:absolute;
}

.grille {
  border-radius: 15px;
  background-color: #cecece;    
  border: solid 10px rgba(0, 0, 0, 0);
  position:absolute;
  
}

.cache:empty {
  border: solid 10px rgba(0, 0, 0, 0);
}
.grille:empty {
  border: none;
}

.cache:hover {
  opacity: 90%;
}

.grilles {
  text-align: center;
  display:block;
  width:100%;
  position:relative;
}

@media print {
 @page {
  margin-top: 0;
  margin-bottom: 0;
 }
 body {
  padding-top: 30px;
  padding-bottom: 30px ;
  background-color: #FFF;
 }
 .container2 {
   display:none;
 }
 .grille {
  background-color: white;
  border: solid 10px rgba(0, 0, 0, 0);
 }
 .carre {
  color:#000;
  background-color: white;
  border: solid 3px rgba(0, 0, 0, 0);
  box-shadow: none;
 }
 .cache {
  background-color: black;
 } 
 .transparent {
  background-color: white;
 }
 .printLettres .cache {
   display:none;
 }
 .printCache .grille {
   display:none;
 }
}