﻿ 

html{
    font-size: 16px;
    }
            
            
            
#blocPage{
    width: 90%;
    margin: 0 auto;
    }
            
           
            
h4,h5{
	/*font-size: 1.5rem;
    margin-left: 2rem; */
	color : rgb(256,0,0);
   }
h1,h2,h3{
	color : #31B404 ;
    }
            
            
            
article.sujet{
	width : 90%;
    border: 3px ridge black;
    margin: 1em;
    padding: 1em;
            }
            
            
section.theme{
    border: 5px ridge green;
	width : 90%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 1px;
	margin-bottom: 1px;
    padding: 1px;
    }
img.displayed {
	display: block;
	margin-left: auto;
	margin-right: auto }


#tetepage {
	border-radius:  50px 50px 0 0;
	text-align: center;
	background : #677E52;
	color : #E6E2AF;
	margin: 0;
}



#titrecours{
    margin :0;
    
}
#titrecours::after{
    content : "\3000""\3000"    "\2728"'  Cours ' "\2728";
    
}



#corpspage{
    margin-top : 4em ;
	
	width : 100%;
}



#contenu{
	width : 90%;
	margin-left: auto;
    margin-right: auto;
}

#piedpage{
   margin-top: 3em;
	background : #555;
	color :white; 
	display :table;
	width : 100%;
}

#piedpage a{
	color: white;
}

#retourhautpage{
	display : table-cell;
	text-align : left;
}

#planpied{
	 display : table-cell;
	 text-align : center;
}

#lycee{
	 display : table-cell;
	 text-align:right;
}







/* article correspondant à  un paragraphe de cours. */
 .unitecours{
	display : table;
	width : 100%;
}

 
 



/* boîte conseil destinée à  être contenue dans un article 
(paragraphe de cours ) */
 .boiteconseil{
 	display :table-cell;
 	width : 20%;
 	padding-left: 5%;
 	font-family: Courier;
}




/* titre des articles de contenu */
#contenu h2{
	color : #31B404 ;
	/*font-size : 2em;*/
}

.com {
    /*à utiliser pour mettre un commentaire ou une remarque*/
    border: 2px outset;
    background-color: #cce7e8;
    padding: 5px;
    margin-bottom: 1em;
    font-size: 16px;
}

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

/* affichage pour les résultats d'un programme */
.affichage{
	width : 80%;
	margin : auto;
	background-color : #4C1B1B;
	color :  #FFFFFF;
	border : none;
	font-size: larger;
}

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;
}


.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);
}
.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;
}


.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;
}

.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;
}

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

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

.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));
}

#tetepage {
	border-radius:  50px 50px 0 0;
	text-align: center;
	background : #677E52;
	color : #E6E2AF;
	margin: 0;
}

/* http://www.alsacreations.com/tuto/lire/1493-css3-flexbox-layout-module.html */

#semainier{
	display : flex;
	flex-direction : column-reverse;

}



.semaineA {  /* semaine en attente : non affichage */
	 display : none;
	}

.semaine {
	width : 90%;
	margin-left: auto;
    margin-right: auto;
    margin-top : 4em;
	background-color: #E6E2AF /*#E6E6E6 */; :/* #CEF6D8; */
	border: 0px solid #efad56;			/* couleur des bordures */
	border-radius: 8px;					/* haut-gauche ; haut-droit ; bas-droit ; bas-gauche */
	}

.deff {
	width : 90%;
	border-left: 3px ridge green;
	/*border-bottom: 4px solid green;*/
	margin-left: auto;
    margin-right: auto;
    margin-top : 0px;
	/*margin : 3px 5px 10px auto ;*/
	background-color: rgb(231, 233, 252);/*#E6E2AF *//*#E6E6E6 */; :/* #CEF6D8; */
	/*border: 0px solid #efad56;			/* couleur des bordures */
	/*border-radius: 2px;					/* haut-gauche ; haut-droit ; bas-droit ; bas-gauche */
	}	

.thh {
    /*théorème*/
	width : 90%;
    border-left: 3px solid red;
	margin-left: auto;
    margin-right: auto;
    margin-top : 0em;
    background-color: #cce7e8; 
	/*border: 0px solid #efad56;			/* couleur des bordures */
	/*border-radius: 2px;					/* haut-gauche ; haut-droit ; bas-droit ; bas-gauche */
}
	
.exx {
	width : 90%;
	margin-left: auto;
    margin-right: auto;
    margin-top : 0px;
	margin-bottom : 0px;
	border-left: 3px ridge blue;
	background-color: #E6E2AF;
	padding: 5px;
   /* margin-bottom: 1em;
    font-size: 16px;			/* couleur des bordures */
	/*border-radius: 2px;					/* haut-gauche ; haut-droit ; bas-droit ; bas-gauche */
	}


/* mise à  jour numéro de semaine */
body {
    counter-reset: semaine 0;                       /* Réinitialise le compteur de section à 0 */
  }
.numero_semaine{
	counter-increment : semaine;	/* mise à  jour du compteur de semaine */
	}
	
/* Inscription Semaine suivi du numéro de semaine */
.numero_semaine::before{
	content : 'Semaine 'counter(semaine) "\3000" "\27BF"   "\3000"; 
}



