@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: "Time New Roman", 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: 20px;
}*/
/* --------------------------------------*/
/* --------------------------------------*/
/* Mise en forme du titre */
h1 {
  margin: 10px 5% 15px 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 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: #DDD;
}
/* --------------------------------------*/
/* --------------------------------------*/
iframe {
  width: 98%;
  height: 500px;
}
/* --------------------------------------*/
/* --------------------------------------*/
/* Mise en forme des trop grandes images */
div.imgGrand {
  align-content: center;
  margin: 0 5% 0 5%;
  border: 4px solid red;
  height: 510px;
}
/* --------------------------------------*/
/* Mise en forme des images */
img {
  max-width: 100%;
  padding: 3px 0;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* --------------------------------------*/
/* Mise en forme des blocs des questions */
ul {
  padding: 3px 1.5% 15px 20px;
  margin: 0 5% 20px 5%;
  font-size: 1rem;
  color: black;
  font-weight: normal;
  line-height: normal;
  border: 2px solid black;
  background-color: #0FF;
  list-style-type: none;
}
/* --------------------------------------*/
/* --------------------------------------*/
/* 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 auto;
}
form h5 {
  padding: 3px 3px 0 0;
  margin: 10px 5% 0 5%;
  font-weight: normal;
  font-size: 1.6rem !important;
  color: black;
  font-style: italic;
  text-align: center;
  line-height: normal;
  border: 5px solid red;
  border-radius: 15px;
  background-color: rgba(255, 153, 102, 1);
}
form h5 #resultat {
  padding-bottom: 2px;
  font-size: 1.3rem;
  text-align: center;
  line-height: normal;
  font-weight: normal;
  color: darkgreen;
  width: 95%;
  border-width: 0;
  background-color: rgba(255, 153, 102, 0);
}
/* --------------------------------------*/
form {
  width: 100%;
  margin-top: 10px;
}
/* --------------------------------------*/
/* Mise en forme du cadre des phrases*/
div.phrase {
  margin: 0 5% 15px 5%;
  padding-bottom: 5px;
  border: 5px solid;
  border-color: #999 #333 #333 #999;
  background-color: aqua;
}
/* Mise en forme du mot phrase et du nombre */
div.phrase h2 {
  margin-left: 5%;
  color: red;
  font-size: 1.6rem;
  text-decoration: underline;
}
/* Mise en forme des images */
div.phrase img {
  max-width: 95% !important;
}
/* Mise en forme du cadre des boutons à déplacer */
[id^="phrase"] {
  font-family: "Courier New";
  max-width: 90%;
  margin: 0 auto;
  padding: 0 0 10px 0;
  border-width: 0;
}
/* Mise en forme des boutons à déplacer */
[id^="phrase"] li.ui-state-default {
  max-width: 85%;
  margin: 10px auto 5px;
  padding: 0.5rem 0;
  font-size: 1rem;
  text-align: center;
  color: blue;
  border: 4px solid;
  border-color: #333 #999 #999 #333;
  background-color: white !important;
  cursor: pointer;
}
/* Mise en forme de l'emplacement vide */
.ui-state-highlight {
  font-family: "Courier New";
  height: 2.2rem;
  max-width: 85%;
  margin: 0 auto;
  border: 4px solid coral !important;
  background-color: yellow !important;
}
/* Mise en forme des boutons désactivés */
/* tous les UL dont l’id commence par "phrase" */
[id^="phrase"] li.desactive {
  font-family: "Courier New";
  cursor: default !important;
  color: green !important;
  background-color: white !important;
  border: 1px solid;
  border-color: #333 #999 #999 #333 !important;
  opacity: 0.95 !important;
}
/* -------------------------------------- */
/* -------------------------------------- */
/* ---- 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: -0.5rem;
  width: 4rem;
}
[id^="juste"] {
  visibility: hidden;
  opacity: 0.8;
}
[id^="faux"] {
  visibility: hidden;
  opacity: 0.6;
}
/* -------------------------------------- */