@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: 'Times New Roman', '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-bottom: 20px;
  margin-left: 5%;
  margin-right: 5%;
  /* Positionnement du texte du titre */
  padding-top: 3px;
  padding-bottom: 3px;
  padding-right: 1.5%;
  padding-left: 1.5%;
  /* Mise en forme du texte du titre */
  font-size: 1.4rem;
  text-align: left;
  font-family: "Arial", sans-serif;
  font-weight: bold;
  line-height: normal;
  color: red;
  /* Mise en forme de la bordure titre */
  border-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: 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%;
  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: 1%;
  padding-bottom: 1%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
  margin-bottom: auto;
}
/* Mise en forme des blocs des questions */
div.premier {
  /* Positionnement */
  margin-bottom: 20px;
  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: 33%;
  padding-left: 2%;
  padding-right: 2%;
}
div.secondMilieu {
  width: 33%;
  padding-right: 2%;
}
div.secondDroite {
  width: 33%;
  padding-right: 2%;
}
/* --------------------------------------*/
ul {
  width: 100%;
  list-style-type: none;
  line-height: 2rem;
  margin: 0px;
  padding: 0px;
}
ul#partie1 li, ul#partie2 li, ul#partie0, ul li {
  box-sizing: border-box;
  height: 5rem !important;
}
ul#partie2 li {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem !important;   /* petite marge haut/bas */
  overflow: hidden;
}
#partie0 li,
#partie1 li {
  display: flex;
  align-items: center;      /* centre verticalement */
  justify-content: center;  /* centre horizontalement */
  text-align: center;       /* centre le texte sur plusieurs lignes */
}
p.titre {
  background-color: white;
  color: black;
  margin-top: 15px;
  margin-bottom: 15px;
  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: yellow;
  color: red;
}
ul#partie2 li {
  background-color: orange;
  color: black;
}
ul#partie1 li, ul#partie2 li, ul li {
  /* Mise en forme de la position du texte*/
  margin-bottom: 10px;
  margin-top: 10px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 0.2rem;
  padding-right: 0.2rem;
  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;
  margin-right: 0%;
  margin-left: 0%;
}
.ui-state-highlight {
  height: 1.3rem;
  background-color: beige !important;
}
/* Mise en forme des boutons désactivés */
#partie1 li.desactive, #partie2 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.9 !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 !important;
  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 {
  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: 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);
}
/* --------------------------------------*/
form {
  width: 100%;
}
/* -------------------------------------- */
/* -- Ajout d'une icône félicitations --- */
#iconeFelicitation {
  position: relative;
  margin-left: 80%;
  top: -4rem;
  width: 3rem;
  margin-bottom: -4rem;
  visibility: hidden;
}
/* -------------------------------------- */
/* --------------------------------------*/
/* -------------------------------------- */
/* -- Lien exercice suivant --- */
#exSuivant {
	width: 50%;
	margin: 10px auto 10px auto;
	font-family: "Arial", sans-serif;
    font-weight: normal;
	font-size: 1.2rem;
	text-align: center;
	/* Mise en forme de la couleur du fond titre */
    background-color: white;
	/* Mise en forme de la bordure titre */
    border-radius: 10px;
    border-width: 2px;
    border-style: solid;
    border-top-color: #333 #666 #666 #333;;
    /* Pour rendre le lien invisible */
	visibility: hidden;
}
#exSuivant a {
	color: red;
	text-decoration: none;
}
/* -------------------------------------- */
/* -- traduction --- */
div.traduction{
    /* Positionnement */
    text-align: right;
    margin-bottom: 10px;
}
#traduction {
    /* Positionnement */
    margin-right: 5%;
    /* Positionnement du texte */
    padding-top: 3px 1.5rem 3px 1.5rem;
    /* Mise en forme du texte */
    font-size: 1rem;
    text-align: left;
    font-weight: normal;
    line-height: normal;
    color: black;
    /* Mise en forme de la bordure */
    border-radius: 10px;
    border-width: 4px;
    border-style: solid;
    border-color: #999 #333 #333 #999;
    /* Mise en forme de la couleur du fond */
    background-color:#888;
    /* Le texte n'est pas souligné */
    text-decoration: none; 
}