@charset "utf-8";
/* CSS Document */
/* Media Queries pour les tailles d'écran */
@media screen and (min-width: 1001px) {
  *, body, html {
    font-size: 30px;
  }
}
@media screen and (min-width: 801px) and (max-width: 1000px) {
  *, body, html {
    font-size: 26px;
    max-width: 1200px;
  }
}
@media screen and (min-width: 601px) and (max-width: 800px) {
  *, body, html {
    font-size: 24px;
    max-width: 800px;
  }
}
@media screen and (min-width: 451px) and (max-width: 600px) {
  *, body, html {
    font-size: 20px;
    max-width: 600px;
  }
}
@media screen and (min-width: 351px) and (max-width: 450px) {
  *, body, html {
    font-size: 16px;
    max-width: 450px;
  }
}
@media screen and (min-width: 301px) and (max-width: 350px) {
  *, body, html {
    font-size: 14px;
    max-width: 350px;
  }
}
@media screen and (min-width: 251px) and (max-width: 300px) {
  *, body, html {
    font-size: 12px;
    max-width: 300px;
  }
}
@media screen and (max-width: 250px) {
  *, body, html {
    font-size: 10px;
    max-width: 250px;
  }
}
/* --------------------------------------*/
/* Fonte pour tout le document */
*, body, html {
  font-family: "Times New Roman", "serif" !important;
  font-weight: normal;
  margin: 0;
}
/* --------------------------------------*/
/* Couleur du fond */
body {
  background-color: #F8DE7E;
}
/* --------------------------------------*/
/* Mise en forme du titre */
h1 {
  margin: 8px 5% 10px 5%;
  padding: 3px 1.5% 3px 1.5%;
  font-size: 1.4rem;
  text-align: left;
  font-weight: normal;
  line-height: normal;
  color: red;
  border-radius: 10px;
  border: 4px solid;
  border-color: #999 #333 #333 #999;
  background-color: yellow;
}
/* Mise en forme du texte avant le QCM */
p {
  font-size: 1rem;
  text-align: left;
  line-height: normal;
  color: blue;
  font-weight: normal;
}
/* Mise en forme du texte avant le travail */
div.intro, p.intro {
  margin: 10px 5% 20px 5%;
  padding: 3px 1.5% 3px 1.5%;
  border-radius: 10px 0 0 10px;
  border: 4px solid;
  border-color: #999 #333 #333 #999;
  background-color: #DDD;
}
/* --------------------------------------*/
/* Mise en forme des tableaux */
table {
  margin: 10px auto 0;
  width: auto;
  max-width: 96%;
  border-collapse: collapse;
  border: none;
}
caption {
  text-align: center;
  font-size: 1rem;
  color: green;
  text-decoration: underline;
}
table thead {
  background-color: darksalmon;
}
table tbody {
  background-color: burlywood;
}
th {
  color: #F00;
  background-color: orange;
}
th, td {
  border: 2px solid #000;
  height: auto;
  width: auto;
  text-align: center;
  border-collapse: collapse;
  font-size: 1rem;
  padding: 5px 2px 5px 2px;
  line-height: 1.2rem;
  vertical-align: middle;
}
td strong {
  font-weight: bold;
  color: #00F;
  text-decoration: none;
}
td em {
  font-weight: bold;
  color: darkolivegreen;
}
/* --------------------------------------*/
/* Mise en forme des iframes */
iframe {
  margin-top: 10px;
  width: 98%;
  height: 500px;
}
/* --------------------------------------*/
/* Mise en forme des images */
div.imgGrand {
  align-content: center;
  margin: 0 5% 0 5%;
  border: 4px solid red;
  height: 510px;
}
img {
  max-width: 100%;
  padding: 3px 0;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* Mise en forme du titre des images */
.image, figcaption, figure {
  padding-top: 0;
  font-size: 1.2rem;
  font-weight: normal;
  color: #006600;
  text-align: center;
  text-decoration: underline;
}
/* --------------------------------------*/
/* Mise en forme du bouton Valider */
form #valider {
  padding: 3px 0;
  font-weight: normal;
  font-size: 2rem;
  color: red;
  border-radius: 40px;
  border: 4px solid red;
  background-color: aquamarine;
  width: 60%;
  display: block;
  margin: 0 20% 0 20%;
}
form h5 {
  padding: 3px 3px 0 0;
  margin: 10px 5% 10px 5%;
  font-weight: normal;
  font-size: 1.6rem !important;
  color: black;
  font-style: italic;
  text-align: center;
  line-height: normal;
  border: 4px solid red;
  border-radius: 15px;
  background-color: rgba(255, 153, 102, 1);
}
form h5 #resultat {
  padding-bottom: 2px;
  font-size: 1.6rem !important;
  text-align: center;
  line-height: normal;
  font-weight: normal;
  color: darkgreen;
  font-style: normal;
  width: 90%;
  border: none;
  background-color: rgba(255, 153, 102, 0);
}
/* --------------------------------------*/
/* Mise en forme formulaire conversions */
form.formulaire p {
  font-size: 1.2rem;
  text-align: left;
  line-height: normal;
  font-weight: normal;
}
form.formulaire p input.input {
  width: auto;
  text-align: center;
  font-weight: normal;
  font-size: 1rem;
}
form.formulaire p input.convertir {
  padding: 3px 0;
  font-weight: bold;
  font-size: 1.2rem;
  color: black;
  border-radius: 10px;
  border: 2px solid;
  border-color: #A72323 #F00 #F00 #A72323;
  background-color: #0FF;
  display: block;
  width: 50%;
  margin: 10px 25% 10px 25%;
}
form.formulaire p input.affichage {
  font-weight: normal;
  font-size: 1.4rem;
  text-align: center;
  color: green;
}
form.formulaire p input.affichage2 {
  font-size: 1.4rem;
  text-align: center;
  color: green;
}
/* --------------------------------------*/
/* Mise en forme des blocs des questions */
form {
  width: 100%;
}
form ul, form div.ulbloc {
  padding: 2% 5% 2% 5%;
  margin: 0 5% 10px 5%;
  font-size: 1rem;
  color: black;
  font-weight: normal;
  line-height: 1.5rem;
  border-radius: 10px 0 10px 0;
  border: 4px solid;
  border-color: #999 #333 #333 #999;
  background-color: #00FFFF;
  list-style: none outside;
  position: relative;
}
form div.ulbloc ul {
  border: none;
  margin-left: 0px !important;
  padding-left: 0px !important
}
/* --------------------------------------*/
/* Mise en forme du texte des propositions */
form ul li label {
  color: darkblue;
  width: auto;
  max-width: 97%;
}
form ul li {
  cursor: default;
}
form ul li label {
  cursor: pointer;
}
form ul li label input.reponse {
  opacity: 0;
  width: 0;
  height: 0;
  bottom: 0;
  position: absolute;
}
form ul li label input.reponse + span {
  display: inline-block;
  line-height: normal;
  margin: 5px 0;
  padding: 10px 15px;
  background-color: #ddd;
  border: 2px solid;
  border-color: #999 #333 #333 #999;
  border-radius: 10px;
  opacity: 0.4;
}
form ul li label input.reponse:checked + span {
  cursor: pointer;
}
form ul li label input.reponse:disabled + span {
  cursor: default;
  text-decoration: line-through;
  color: green;
}
form ul li label input.reponse:checked + span {
  background-color: #E26264;
  color: black;
  opacity: 1;
  text-decoration: none;
}
/* --------------------------------------*/
/* Mise en forme du lien pour la version flash player */
p.lien {
  margin: 0 1%;
  font-size: 0.6rem;
  line-height: 0.6rem;
  color: black;
}
p.lien a:link {
  text-decoration: none;
  font-weight: normal;
  color: black;
}
p.lien a:hover {
  color: #BBB;
}
/* --------------------------------------*/
/* Position de l'image juste */
.correction {
  position: relative;
  width: 100%;
  bottom: 4rem;
}
.juste {
  position: absolute;
  right: -1rem;
  width: 4rem;
}
[id^="juste"] {
  visibility: hidden;
  opacity: 0.8;
}
[id^="faux"] {
  visibility: hidden;
  opacity: 0.6;
}
