@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;
    }
}
@media screen and (min-width: 600px) {
    .imageVerticale, .vertical, .verticale {
        width: 0px;
		height: 0px;
		visibility: hidden;
    }
}
@media screen and (max-width: 599px) {
    .imageHorizontale, .horizontal, .horizontale {
        width: 0px;
        height: 0px;
        visibility: hidden;
    }
}


/* --------------------------------------*/
/* 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: 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.6rem;
    text-align: left;
    font-family: "Arial", sans-serif;
    font-weight: normal;
    line-height: normal;
    color: red;
    /* Mise en forme de la bordure titre */
    /* 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 en forme du texte avant le travail */
.intro {
    /* Positionnement du texte */
    margin: 10px 5% 20px 5%;
    /* Positionnement du texte  */
    padding: 3px 1.5% 3px 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-color: #999 #333 #333 #999;
    /* Mise en forme de la couleur du fond texte */
    background-color: white;
}
/* ------------------------------------- */
/* ------------------------------------- */
option {
	width: auto;
    max-width: 60%;
}
/* --------------------------------------*/
iframe {
    width: 98%;
    height: 500px;
}
/* --------------------------------------*/
/* Mise en forme de la légende d'une image */
.image {
    margin-top: 0px;
    margin-bottom: 0px;
    text-align: center;
    font-size: 20px;
    color: blue;
}
/* --------------------------------------*/
/* 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: 510px;
}
/* --------------------------------------*/
/* Mise en forme des images */
img {
    max-width: 100%;
    padding-top: 3px;
    padding-bottom: 3px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
/* --------------------------------------*/
/* --------------------------------------*/
/* Mise en forme du titre des images */
.image, figcaption, figure {
    padding-top: 0px;
    /* Mise en forme du texte du titre des images */
    font-size: 1.2rem;
    font-weight: normal;
    color: #006600;
    text-align: center;
    text-decoration: underline;
}/* --------------------------------------*/
/* Mise en forme des blocs des questions */
div.selection, ul.selection {
    /* Mise en forme de la position du texte*/
    padding: 3px 1.5% 3px 1.5%;
    margin: 10px 5% 10px 5%;
    /* Mise en forme du texte pour le choix */
    font-size: 1.2rem;
    color: blue;
    font-weight: normal;
    line-height: normal;
    /* Mise en forme de la bordure des QCM */
    /* Mise en forme de la bordure des QCM */
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-width: 4px;
    border-style: solid;
    border-color: #999 #333 #333 #999;
    background-color: #00FFFF;
    /* Mise en forme de la taille du QCM */
    /*width: 90%;*/
    /* Disparition du point du li */
    list-style-type: none;
    /* Décalage du texte en dessous du carré */
    list-style-position: outside;
}
/* --------------------------------------*/
/* --------------------------------------*/
select {
    position: relative;
    margin: 5px 5% 5px 5%;
    padding: 5px 5px;
	width: auto;
    max-width: 90%; 
    font-weight: normal;
    font-size: 1rem;
    border-radius: 10px;
    border-width: 4px;
    border-style: solid;
    border-color: #999 #333 #333 #999;
    background-color: white;
    cursor: pointer;
	color: lightslategray;
}
select:focus {
    color: green;
    cursor: pointer;
    width: auto;
    max-width: 90%; 
}
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 d'option */
option {
    padding-top: 20px;
    background-color: white;
}
select:disabled {
	color: black;
}

/* --------------------------------------*/
/* --------------------------------------*/
/* Mise en forme du bouton Valider */
form #valider {
    /* Position de Valider dans le bouton*/
    padding-top: 3px;
    padding-bottom: 3px;
    /* Taille et couleur du texte du bouton*/
    font-weight: normal;
    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-top: 3px;
    padding-right: 3px;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 10px;
    /* Mise en forme du texte  */
    font-weight: normal;
    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: 5px;
    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-weight: normal;
    color: darkgreen;
    width: 95%;
    /* Mise en forme de la couleur du fond du résultat */
    border-width: 0px;
    background-color: #FF9966;
}
form.formulaire p {
    /* Mise en forme du texte p*/
    font-size: 1.4rem;
    text-align: left;
    line-height: normal;
    font-weight: bold;
}
form.formulaire p input.input {
    width: 60px;
    text-align: center;
    /* Taille et couleur du texte du bouton*/
    font-weight: bold;
    font-size: 1.4rem;
}
form.formulaire p input.convertir {
    /* Position de Valider dans le bouton*/
    padding-top: 3px;
    padding-bottom: 3px;
    /* Taille et couleur du texte du bouton*/
    font-weight: bold;
    font-size: 1.4rem;
    color: red;
    /* Mise en forme de la bordure du bouton */
    border-width: 2px;
    border-style: solid;
    border-color: red;
    background-color: aquamarine;
    /* Taille et position du bouton */
    width: 150px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
form.formulaire p input.affichage {
    /* Taille et couleur du texte du bouton*/
    font-weight: bold;
    font-size: 1.4rem;
    text-align: center;
    color: green;
}

/* -------------------------------------- */
/* -------------------------------------- */
/* ---- position de l'image juste ------- */
.correction {
	position: relative;
	width: 100%;
	bottom: 3rem;
}
.juste {
	position: absolute;
	right: 0rem;
	width: 3rem;
}
[id^="juste"]  {
    visibility: hidden;
    opacity: 0.8;
}
[id^="faux"]  {
    visibility: hidden;
    opacity: 0.6;
}
/* -------------------------------------- */
