body {
    background-color: rgba(255, 255, 255);
    /*padding-top: 100px;*/
    counter-reset: numexo;
    /*numero d'exercices*/
    counter-reset: numdef;
    /*numero de definition*/
    counter-reset: numprop;
    /*numero de propriÃ©tÃ©*/
    counter-reset: numth;
    /*numero de theoreme*/
    counter-reset: nump;
    /*numero de partie*/
    counter-reset: numsp;
    /*numero de sous partie*/
    counter-reset: numex;
    /*numero d'exemples'*/
    counter-reset: numqcm;
    /*numero des QCM*/
    counter-reset: numco;
    /*numero d'exemples'*/
    counter-reset: numbil;
    /*numero des bilans'*/
    padding-bottom: 400px
}

h2 {
    counter-increment: nump;
    counter-reset: numsp;
}

h2:before {
    content: counter(nump) ". ";
}

h3 {
    counter-increment: numsp;
}

h3:before {
    content: counter(nump)"." counter(numsp)". ";
}

table {
    /*mise en forme des tableaux*/
    width: auto;
    /* S'adapte au contenu */
    border: 2px solid black;
    border-collapse: collapse;
    text-align: center;
}

th {
    /*Mise en forme des cellules du tableau*/
    border: 1px solid black;
    width: 3%;
    padding: 5px;
    text-align: center;
}

.requi {
    /*prÃ©requis*/
    border-left: 3px solid rgb(190, 13, 111);
    background-color: rgb(199, 179, 190);
    padding: 5px;
    margin-bottom: 1em;
    font-size: 16px;
}

.requi:before {
    content: "PrÃ©requis ";
    color: rgb(190, 13, 111);
    font-weight: bold;
}

.hist {
    /*pour l'histoire des sciences*/
    background-image: url(parch.jpg);
    padding: 10px 50px 20px 10px;
    border: 2px solid rgb(230, 188, 52);
    margin-bottom: 1em;
}

.hist:before {
    content: "Un peu d'histoire... ";
    display: block;
    width: 400px;
    height: 40px;
    text-decoration: underline;
}

.cul {
    /*pour la culture des sciences*/
    background-image: url(cul.jpg);
    padding: 10px 50px 20px 10px;
    background-size: 40%;
    margin-bottom: 1em;
}

.cul:before {
    content: "Soif de culture";
    font: italic small-caps bold 16px/2 cursive;
}

.sean {
    /*pour le cahier de texte*/
    counter-increment: numdef;
    border-left: 3px solid rgb(168, 180, 114);
    background-color: rgb(240, 252, 231);
    padding: 5px;
    margin-bottom: 1em;
    font-size: 16px;
}

.sean:before {
    content: "SÃ©ance du ";
    text-decoration: underline;
}

.todo {
    /*pour donner les devoirs Ã  faire*/
    counter-increment: numdef;
    border-left: 3px solid rgb(182, 64, 113);
    background-color: rgb(248, 222, 236);
    padding: 5px;
    margin-bottom: 1em;
    font-size: 16px;
}

.todo:before {
    content: "Ã  faire pour le ";
    color: rgb(182, 64, 113);
    font-weight: bold;
}

.def {
    /*dÃ©finitions*/
    counter-increment: numdef;
    border-left: 3px solid blue;
    background-color: rgb(231, 233, 252);
    padding: 5px;
    margin-bottom: 1em;
    font-size: 16px;
}

.def:before {
    content: "DÃ©finition " counter(numdef);
    color: blue;
    display: block;
    width: 400px;
    height: 40px;
    font-weight: bold;
}

.prop {
    /*propriÃ©tÃ©*/
    counter-increment: numprop;
    border-left: 3px solid green;
    background-color: rgb(245, 255, 245);
    padding: 5px;
    margin-bottom: 1em;
    font-size: 16px;
}

.prop:before {
    content: "PropriÃ©tÃ© " counter(numprop);
    color: green;
    display: block;
    width: 400px;
    height: 40px;
    font-weight: bold;
}

.th {
    /*thÃ©orÃ¨me*/
    counter-increment: numth;
    border-left: 3px solid red;
    background-color: rgb(255, 239, 239);
    padding: 5px;
    margin-bottom: 1em;
    font-size: 16px;
}

.th:before {
    content: "ThÃ©orÃ¨me " counter(numth);
    color: red;
    display: block;
    width: 400px;
    height: 40px;
    font-weight: bold;
}

.cor {
    /*corollaire*/
    counter-increment: numco;
    border-left: 3px solid red;
    background-color: rgb(255, 239, 239);
    padding: 5px;
    margin-bottom: 1em;
    font-size: 16px;
}

.cor:before {
    content: "Corollaire " counter(numco);
    color: red;
    font-weight: bold;
}

.demo {
    /*dÃ©monstration*/
    border-left: 3px solid rgb(124, 72, 120);
    border-bottom: 3px solid rgb(124, 72, 120);
    background-color: rgb(218, 208, 216);
    padding: 5px;
    margin-bottom: 1em;
    font-size: 16px;
}

.demo:before {
    content: "DÃ©monstration  ";
    font-weight: bold;
    display: block;
    width: 400px;
    height: 40px;
    color: rgb(124, 72, 120);
}

.bil {
    /*bilan*/
    counter-increment: numbil;
    border-left: 3px solid rgb(215, 13, 247);
    background-color: rgb(238, 205, 243);
    padding: 5px;
    margin-bottom: 1em;
    font-size: 16px;
}

.bil:before {
    content: "Bilan " counter(numbil);
    color: blue;
    display: block;
    width: 400px;
    height: 40px;
    font-weight: bold;
}

.exo {
    /*exercices*/
    counter-increment: numexo;
    border-left: 4px solid black;
    border-bottom: 4px solid black;
    background-color: rgb(252, 252, 252);
    margin-bottom: 1em;
    font-size: 16px;
    padding: 5px;
}

.exo:before {
    content: "Exercice " counter(numexo) ".";
    display: block;
    width: 400px;
    height: 40px;
    text-decoration: underline;
}

.warning {
    /*attention*/
    color: red;
    background-color: pink;
    animation: allblink 2s infinite;
    padding-left: 20px;
    padding-top: 20px;
    padding-bottom: 10px;
    padding-right: 20px;
    margin-top: 30px;
    border-left: 4px solid red;
}

@keyframes allblink {
    0% {}
    50% {
        color: green;
        background-color: lightgreen;
    }
}

.debloc {
    /*code de dÃ©blocage*/
    padding: 15px;
    background-color: rgb(230, 230, 230);
    margin-top: 20px;
    border-left: 2px solid rgb(150, 150, 150);
}

.correc {
    /*correction*/
    padding: 15px;
    background-color: rgb(230, 248, 220);
    margin: 20px;
    border: 2px dotted rgb(44, 146, 3);
}

.correc:before {
    content: "Code valide. Voici la correction : ";
    display: block;
}

.btn-plus {
    /*plus d'explications*/
    color: #fff;
    background-color: #673ff5;
    margin-bottom: 20px !important;
}

.qcm {
    /*exercices*/
    counter-increment: numqcm;
    border-left: 4px solid black;
    border-bottom: 4px solid black;
    background-color: rgb(240, 220, 252);
    margin-bottom: 1em;
    font-size: 16px;
    padding: 5px;
}

.qcm:before {
    content: "Q.C.M. " counter(numqcm) " :";
    display: block;
    width: 400px;
    height: 40px;
    text-decoration: underline;
}

.expe {}

.expe:after {
    content: url(p3.jpg)
}

.fonda {}

.fonda:after {
    content: url(p1.jpg)
}

.confi {}

.confi:after {
    content: url(p2.jpg)
}

.exp {}

.exp:before {
    background: url(p3.jpg);
    background-size: 75px 28px;
    background-repeat: no-repeat;
    background-position: top 0px left 100px;
}

.ar {}

.ar:before {
    background: url(p5.png);
    background-size: 75px 28px;
    background-repeat: no-repeat;
    background-position: top 0px left 100px;
}

.dem {}

.dem:before {
    background: url(p5.jpg);
    background-size: 75px 28px;
    background-repeat: no-repeat;
    background-position: top 0px left 100px;
}

.conf {}

.conf:before {
    background: url(p2.jpg);
    background-size: 75px 28px;
    background-repeat: no-repeat;
    background-position: top 0px left 100px;
}

.fond {}

.fond:before {
    background: url(p1.jpg);
    background-size: 75px 28px;
    background-repeat: no-repeat;
    background-position: top 0px left 100px;
}

.renf {}

.renf:before {
    background: url(p4.jpg);
    background-size: 75px 28px;
    background-repeat: no-repeat;
    background-position: top 0px left 100px;
}

.exow {
    /*exercices de warm up*/
    counter-increment: numexo;
    border-left: 4px solid black;
    border-bottom: 4px solid black;
    background-color: rgb(252, 252, 252);
    margin-bottom: 1em;
    font-size: 25px;
    padding: 5px;
}

.exow:before {
    content: "Exercice " counter(numexo) ".";
    display: block;
    width: 400px;
    height: 40px;
    text-decoration: underline;
}

.sav {
    /*balise Bilan indiquer ce qu'il y a Ã  savoir*/
    border-right: 4px solid black;
    border-bottom: 4px solid black;
    font-style: italic;
    background-color: rgb(240, 160, 240);
}

.sav:before {
    content: "Savoir ";
    text-decoration: underline;
}

.sf {
    /*balise Bilan indiquer ce qu'il y a Ã  savoir faire*/
    border-right: 4px solid black;
    border-bottom: 4px solid black;
    font-style: italic;
    background-color: rgb(238, 212, 248);
}

.sf:before {
    content: "Savoir Faire  ";
    text-decoration: underline;
}

.algo {
    /*algorithmes*/
    background-color: rgb(243, 204, 217);
    border-left: 2px solid red;
    margin-bottom: 1em;
}

.com {
    /*Ã  utiliser pour mettre un commentaire ou une remarque*/
    border: 2px outset;
    background-color: rgb(209, 206, 165);
    padding: 5px;
    margin-bottom: 1em;
    font-size: 16px;
}

.com:before {
    content: "Remarque(s) : ";
    display: block;
    width: 400px;
    height: 40px;
    text-decoration: underline;
}

.pouce {
    /*un peit coup de pousse...*/
    border: 2px outset;
    background-color: rgb(255, 194, 243);
    padding: 5px;
    margin-bottom: 1em;
    font-size: 10px;
}

.pouce:before {
    content: "Coup de pouce \01F44D";
    display: block;
    width: 400px;
    height: 20px;
    text-decoration: underline;
}

.indic {
    /*Ã  utiliser pour mettre une indication*/
    border: 2px outset;
    background-color: rgb(206, 205, 205);
    font-size: 24px
}

.val {
    /*Ã  utiliser pour mettre en valeur un Ã©lÃ©ment du texte*/
    font-weight: bolder;
    font-family: "Gill Sans", sans-serif;
    background: content-box radial-gradient(rgb(231, 230, 125), rgb(240, 101, 110));
}

.enc {
    /*Ã  utiliser plutÃ´t avec span pour encadrer et Ã©tiqueter exptert au autre*/
    border: 2px solid rgb(128, 26, 0);
    padding-top: 15px;
    padding-bottom: 15px;
    margin: 2px;
}

.ex {
    /*exemples*/
    counter-increment: numex;
    border-left: 3px solid rgb(148, 237, 240);
    background-color: rgb(243, 253, 251);
    padding: 5px;
    margin-bottom: 1em;
    font-size: 16px;
}

.ex:before {
    content: "Exemple " counter(numex) ". ";
    display: block;
    width: 400px;
    height: 40px;
}

.navbar {
    margin-bottom: 0px !important;
}

.navbar .container .navbar-brand {
    font-size: 17px;
}


/* pour gÃ©rer des tableaux : https://www.zonecss.fr/faq/les-tableaux-et-les-css.html */

.tableau {
    table-layout: fixed;
    /*seule la premiÃ¨re ligne du tableau est prise en compte pour calculer la taille de chaque colonne*/
    width: 100%;
    border-collapse: collapse;
    /* Fusion des bordures des cellules du tableau HTML entre elles */
    text-align: center;
    /* Les cellules du tableau prÃ©senteront un alignement horizontal centrÃ© (sinon right, left ou justify*/
    border: medium solid rgb(0, 0, 0);
}

.tableau th {
    border: thin solid rgb(0, 0, 0);
    /*padding: 5px;  Toutes les balises TH du tableau auront une marge intÃ©rieure*/
    background-color: rgb(177, 203, 204);
    vertical-align: middle;
    /* Toutes les balises TH du tableau auront un alignement vertical centrÃ© , sinon changer en top ou bottom*/
    text-align: center;
    /* Les cellules du tableau prÃ©senteront un alignement horizontal centrÃ© (sinon right, left ou justify*/
    font-weight: bold;
}

.tableau td {
    border: thin solid rgb(0, 0, 0);
}

.tableau_invisible    {
    border: 0px;
}

#retour_haut {
    position: fixed;
    width: 35px;
    height: 35px;
    bottom: 60px;
    right: 40px;
}


/*CrÃ©ation d'une classe entitÃ© pour la base de donnÃ©es */

.ent {
    table-layout: fixed;
    /*seule la premiÃ¨re ligne du tableau est prise en compte pour calculer la taille de chaque colonne*/
    width: 150px;
    border-collapse: collapse;
    /* Fusion des bordures des cellules du tableau HTML entre elles */
    text-align: left;
    /* Les cellules du tableau prÃ©senteront un alignement horizontal centrÃ© (sinon right, left ou justify*/
    border: medium solid rgb(0, 0, 0);
}

.ent .id {
    border: thin solid rgb(0, 0, 0);
    background-color: rgb(177, 203, 204);
    vertical-align: middle;
    /* Toutes les balises TH du tableau auront un alignement vertical centrÃ© , sinon changer en top ou bottom*/
    text-align: left;
}

.ent th {
    /* border: thin solid rgb(0, 0, 0);*/
    border: 0;
    /*padding: 5px;  Toutes les balises TH du tableau auront une marge intÃ©rieure*/
    background-color: rgb(177, 203, 204);
    vertical-align: middle;
    /* Toutes les balises TH du tableau auront un alignement vertical centrÃ© , sinon changer en top ou bottom*/
    text-align: left;
    /* Les cellules du tableau prÃ©senteront un alignement horizontal centrÃ© (sinon right, left ou justify*/
    /* font-weight: bold; */
}

.ent td {
    border: thin solid rgb(0, 0, 0);
}

.ent thead th {
    background-color: rgb(116, 147, 148);
}

.asso {
    table-layout: auto;
    /*seule la premiÃ¨re ligne du tableau est prise en compte pour calculer la taille de chaque colonne*/
    width: 100px;
    border-collapse: separate;
    /* Fusion des bordures des cellules du tableau HTML entre elles */
    text-align: left;
    /* Les cellules du tableau prÃ©senteront un alignement horizontal centrÃ© (sinon right, left ou justify*/
    border-style: dashed double none rgb(0, 0, 0);
}

.asso th {
    /* border: thin solid rgb(0, 0, 0);*/
    border: 0;
    padding: 5px;
    /*Toutes les balises TH du tableau auront une marge intÃ©rieure*/
    background-color: rgb(180, 204, 177);
    vertical-align: middle;
    /* Toutes les balises TH du tableau auront un alignement vertical centrÃ© , sinon changer en top ou bottom*/
    text-align: left;
    /* Les cellules du tableau prÃ©senteront un alignement horizontal centrÃ© (sinon right, left ou justify*/
    /* font-weight: bold; */
}

.asso td {
    border: thin solid rgb(0, 0, 0);
}

.asso thead th {
    background-color: rgb(97, 141, 97);
}

.mln {
    position: relative;
    bottom: 12px;
}