@charset "utf-8";
/* CSS Document */
@media screen and (min-width: 801px) {
  *, body, html {
    font-size: 26px;
  }
}
@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: "Arial", sans-serif;
  font-weight: normal;
  margin: 0px;
}
/* --------------------------------------*/
/* --------------------------------------*/
/* 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 {
  /* Positionnement du titre */
  margin: 0px 5% 10px 5%;
  /* Positionnement du texte du titre */
  padding: 3px 1.5% 3px 1.5%;
  /* Mise en forme du texte du titre */
  font-size: 1.4rem;
  text-align: left;
  font-family: "Arial", sans-serif;
  font-weight: normal;
  line-height: normal;
  color: red;
  /* Mise en forme de la bordure titre */
  border-radius: 10px;
  border-width: 4px;
  border-style: solid;
  border-color: #999 #333 #333 #999;
  /* Mise en forme de la couleur du fond titre */
  background-color: yellow;
}
/* --------------------------------------*/
/* --------------------------------------*/
/* Mise ne forme des tableaux */
table {
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  width: auto;
  max-width: 90%;
  border-collapse: collapse;
  border-top-style: none;
  border-right-style: none;
  border-bottom-style: none;
  border-left-style: none;
}
table thead {
  background-color: darksalmon;
}
table tbody {
  background-color: burlywood;
}
th {
  color: #F00;
}
th, td {
  border: 2px solid #000;
  height: auto;
  width: auto;
  text-align: center;
  border-collapse: collapse;
  font-family: "Arial", sans-serif;
  font-size: 1rem;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
  line-height: 1.5rem;
  vertical-align: middle;
}
td strong {
  font-weight: bold;
  color: #00F;
  text-decoration: none;
  font-family: "Arial", sans-serif;
}
td em {
  font-weight: bold;
  color: darkolivegreen;
  font-family: "Arial", sans-serif;
}
/* Mise en forme du texte avant le QCM */
p {
  /* Mise en forme du texte du titre */
  font-size: 1rem;
  text-align: left;
  line-height: normal;
  color: blue;
  font-family: "Arial", sans-serif;
  font-weight: normal;
}
/* Mise en forme du texte avant le travail */
.intro {
  /* Positionnement du texte */
  margin-top: 10px;
  margin-bottom: 20px;
  margin-left: 5%;
  margin-right: 5%;
  /* Positionnement du texte  */
  padding-top: 3px;
  padding-bottom: 3px;
  padding-right: 1.5%;
  padding-left: 1.5%;
  /* Mise en forme de la bordure texte */
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border-width: 4px;
  border-style: solid;
  border-top-color: #999;
  border-right-color: #333;
  border-bottom-color: #333;
  border-left-color: #999;
  /* Mise en forme de la couleur du fond texte */
  background-color: #DDD;
}
/* --------------------------------------*/
/* --------------------------------------*/
iframe {
  width: 98%;
  margin-top: 10px;
  height: 500px;
}
/* --------------------------------------*/
/* --------------------------------------*/
/* Mise en forme des trop grandes images */
div.imgGrand {
  align-content: center;
  margin-left: 5%;
  margin-right: 5%;
  margin-top: 0px;
  margin-bottom: 0px;
  border-width: 4px;
  border-style: solid;
  border-color: red;
  height: auto;
  background-color: chartreuse;
  max-height: 510px;
}
/* --------------------------------------*/
/* Mise en forme des images */
img {
  max-width: 100%;
  max-height: 100%;
  padding-top: 3px;
  padding-bottom: 3px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/* Mise en forme des blocs des questions */
div.premier {
  /* Positionnement */
  margin-bottom: 10px;
  margin-left: 5%;
  margin-right: 5%;
  /* Mise en forme du texte du titre */
  /* Mise en forme de la bordure titre */
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border-width: 4px;
  border-style: solid;
  border-top-color: #999;
  border-right-color: #333;
  border-bottom-color: #333;
  border-left-color: #999;
  /* Mise en forme de la couleur du fond titre */
  background-color: #00FFFF;
  display: flex;
  flex-direction: row;
}
div.secondGauche {
  width: 47%;
  padding-left: 2%;
  padding-right: 2%;
}
div.secondDroite {
  width: 47%;
  padding-right: 2%;
}
/* --------------------------------------*/
ul {
  width: 100%;
  list-style-type: none;
  line-height: 2rem;
  margin: 0px;
  padding: 0px;
}
p.titre {
  background-color: darkorange;
  margin-top: 15px;
  margin-bottom: 5px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 1rem;
  line-height: normal;
  text-align: center;
  border-width: 4px;
  border-style: solid;
  border-top-color: #333;
  border-right-color: #999;
  border-bottom-color: #999;
  border-left-color: #333;
}
ul li {
  background-color: cadetblue;
  color: blue;
}
ul#partie1 li {
  background-color: white;
  color: red;
}
ul#partie1 li, ul li {
  /* Mise en forme de la position du texte*/
  margin-bottom: 0.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 1rem;
  line-height: normal;
  text-align: center;
  border-width: 0.2rem;
  border-style: solid;
  border-color: #333 #999 #999 #333;
  margin-right: 0%;
  margin-left: 0%;
}
.ui-state-highlight {
  height: 1.3rem;
  background-color: yellow ! important;
  border-style: solid !important;
}
/* Mise en forme des boutons désactivés */
#partie1 li.desactive {
  cursor: default !important;
  border-style: solid !important;
  border-top-color: #333 !important;
  border-right-color: #999 !important;
  border-bottom-color: #999 !important;
  border-left-color: #333 !important;
  opacity: 0.95 !important;
}
/* -------------------------------------- */
/* -------------------------------------- */
/* ---- Mise en forme du lien pour ------ */
/* ------ la version flash player ------- */
p.lien {
  margin-left: 1%;
  margin-right: 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;
}
/* -------------------------------------- */
/* -------------------------------------- */
/* --------------------------------------*/
/* --------------------------------------*/
/* Mise en forme du bouton Valider */
form #valider {
  position: relative;
  /* Position de Valider dans le bouton*/
  padding-top: 3px;
  padding-bottom: 3px;
  /* Taille et couleur du texte du bouton*/
  font-family: "Arial", sans-serif;
  font-weight: normal !important;
  font-size: 2rem;
  color: red;
  /* Mise en forme de la bordure du bouton */
  border-radius: 40px;
  border-width: 4px;
  border-style: solid;
  border-color: red;
  background-color: aquamarine;
  /* Taille et position du bouton */
  width: 60%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
form h5 {
  /* Mise en forme de la position du texte*/
  padding: 0px 3px 0px 3px;
  margin: 10px 5% 10px 5%;
  /* Mise en forme du texte  */
  font-family: "Arial", sans-serif;
  font-weight: normal!important;
  font-size: 1.6rem !important;
  color: black;
  font-style: italic;
  text-align: center;
  line-height: normal;
  /* Mise en forme de la bordure du résultat */
  border-width: 4px;
  border-style: solid;
  border-color: red;
  border-radius: 15px;
  /* Mise en forme de la couleur du fond du résultat */
  background-color: #FF9966;
}
form h5 #resultat {
  /* Mise en forme de la position du texte*/
  padding-bottom: 2px;
  /* Mise en forme du texte p*/
  font-size: 1.6rem;
  text-align: center;
  line-height: normal;
  font-family: "Arial", sans-serif;
  font-weight: normal !important;
  color: darkgreen;
  width: 95%;
  /* Mise en forme de la couleur du fond du résultat */
  border-width: 0px;
  background-color: #FF9966;
}
/* --------------------------------------*/
form {
  width: 100%;
}
/* -------------------------------------- */
/* ---- position de l'image juste ------- */
/* -------------------------------------- */
.correction {
  position: relative;
  width: 100%;
  bottom: 4rem;
}
.juste {
  position: absolute;
  right: -0.5rem;
  width: 4rem;
}
[id^="juste"] {
  visibility: hidden;
  opacity: 0.8;
}
[id^="faux"] {
  visibility: hidden;
  opacity: 0.6;
}
/* -------------------------------------- */
/* -- Ajout d'une icône félicitations --- */
#iconeFelicitation {
  position: relative;
  margin-left: 80%;
  top: -3.5rem;
  width: 3rem;
  margin-bottom: -4rem;
  visibility: hidden;
}
/* -------------------------------------- */
/* --------------------------------------*/
/* Lien exercice suivant */
#exSuivant {
  width: 50%;
  margin: 10px auto 10px auto;
  font-weight: normal;
  font-size: 1.2rem;
  text-align: center;
  background-color: white;
  border-radius: 10px;
  border: 2px solid;
  border-color: #333 #666 #666 #333;
  visibility: hidden;
}
#exSuivant a {
  color: red;
  text-decoration: none;
}