@charset "utf-8";
/* CSS Document */
@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", "Verdana" serif;
  font-weight: normal;
  margin: 0;
}
/* --------------------------------------*/
/* Couleur du fond*/
body {
  background-color: #FFCC33;
}
/* --------------------------------------*/
/* Mise en place du logo */
/* body {
    background-image: url("../images/IconeExercice.jpg");
    background-repeat: no-repeat;
    background-size: 75px;
} */
/* --------------------------------------*/
/* Mise en forme du titre */
h1 {
  margin: 0 5% 10px 5%;
  padding: 3px 1.5% 3px 1.5%;
  font: normal 1.4rem/normal "Times New Roman", "Verdana", serif;
  text-align: left;
  color: red;
  border-radius: 10px;
  border: 4px solid;
  border-color: #060 #030 #030 #060;
  background-color: aquamarine;
}
/* Mise en forme du texte avant le travail */
.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: aquamarine;
}
/* --------------------------------------*/
/* Mise en forme des trop grandes images */
div.imgGrand {
  align-content: center;
  margin: 0 5% 20px 5%;
  border: 4px solid red;
  height: 510px;
}
/* --------------------------------------*/
/* Mise en forme du titre des images */
.image, figcaption, figure {
  padding-top: 0;
  font: normal 1.2rem/normal "Times New Roman", "Verdana", serif;
  color: #006600;
  text-align: center;
  text-decoration: underline;
}
/* --------------------------------------*/
/* Mise ne 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: normal 1rem/1.2rem "Times New Roman", "Verdana", serif;
  padding: 5px 2px;
  vertical-align: middle;
}
td strong {
  font: bold 1rem/normal "Times New Roman", "Verdana", serif;
  color: #00F;
  text-decoration: none;
}
td em {
  font: bold 1rem/normal "Times New Roman", "Verdana", serif;
  color: darkolivegreen;
}
/* ------------------------------------- */
/* ------------------------------------- */
iframe {
  margin-top: 10px;
  width: 98%;
  height: 500px;
}
/* --------------------------------------*/
/* Mise en forme des images */
img {
  max-width: 90%;
  padding: 5px 0 10px 0;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* --------------------------------------*/
/* Mise en forme du titre des images */
.image, figcaption, figure {
  padding-top: 0;
  font: normal 2rem/normal "Times New Roman", "Verdana", serif;
  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 des blocs des questions */
form {
  width: 100%;
}
form p, form ul {
  padding: 3px 1.5% 10px 1.5%;
  margin: 10px 5% 10px 5%;
  font: normal 1rem/normal "Times New Roman", "Verdana", serif;
  color: blue;
  border-radius: 10px 0 10px 0;
  border: 4px solid;
  border-color: #999 #333 #333 #999;
  background-color: #FFE825;
  cursor: default;
  position: relative;
}
form p label, form ul label {
  position: relative;
  margin-left: 10%;
  cursor: default;
}
form p label span, form ul label span {
  cursor: pointer;
}
form p label input[type=radio], form ul label input[type=radio] {
  position: absolute;
  cursor: default;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  bottom: 0;
}
form p label input[type=radio] + span, form ul label input[type=radio] + span {
  display: inline-block;
  margin: 10px 0 10px 0%;
  width: auto;
  max-width: 80%;
  padding: 10px 20px;
  background-color: #ddd;
  border-radius: 10px;
  border: 2px solid;
  border-color: #999 #333 #333 #999;
  opacity: 0.5;
}
form p label input[type=radio]:checked + span, form ul label input[type=radio]:checked + span {
  background-color: #E26264;
  color: black;
  opacity: 1;
}
form p label input[type=radio].reponse:disabled + span, form ul li label input[type=radio].reponse:disabled + span {
  cursor: default;
}
/* ----------------------------------------- */
/* ----- Mise en forme du lien pour ----- */
/* ------- la version flash player -------- */
p.lien {
  margin: 0 15%;
  font: normal 0.6rem/0.6rem "Times New Roman", "Verdana", serif;
  color: black;
}
p.lien a:link {
  text-decoration: none;
  font-weight: normal;
  color: black;
}
p.lien a:hover {
  color: #BBB;
}
/* ----------------------------------------- */
/* ------- Mise en forme de l'aide ------- */
/* ----------------------------------------- */
.aide {
  color: red;
  width: 100%;
  font: normal 1rem/normal "Times New Roman", "Verdana", serif;
  margin: 10px 0 0 0;
  padding: 5px 10px;
  border-radius: 10px;
  border: 4px solid;
  border-color: #060 #030 #030 #060;
  background-color: aquamarine;
}
.textAide {
  margin: 0;
  color: blue;
  padding: 5px 10px;
  border-radius: 10px;
  border: 4px solid;
  border-color: #060 #030 #030 #060;
  background-color: white;
}
[id^="textAide"] {
  visibility: hidden;
  height: 0;
}
/* -------------------------------------- */
/* ---- position de l'image juste ------- */
.correction {
  position: relative;
  width: 100%;
  bottom: 4rem;
}
.juste {
  position: absolute;
  right: 0;
  width: 4rem;
}
/* Optimisation des sélecteurs pour justeX et fauxX */
[id^="juste"] {
  visibility: hidden;
  opacity: 0.8;
}
[id^="faux"] {
  visibility: hidden;
  opacity: 0.6;
}
