/*Chargement des polices*/ 
 @font-face {
    font-family: "Latin Modern Roman";
    src: url('../fonts/lmroman/lmroman10-regular.otf');
    font-style: normal;
 }
 @font-face {
    font-family: "Latin Modern Roman";
    src: url('../fonts/lmroman/lmroman10-bold.otf');
    font-weight: bold;
 }
 @font-face {
    font-family: "Latin Modern Roman";
    src: url('../fonts/lmroman/lmroman10-italic.otf');
    font-style: italic;
 }
 @font-face {
    font-family: "Latin Modern Roman";
    src: url('../fonts/lmroman/lmroman10-italic.otf');
    font-style: oblique;
 }
 @font-face {
    font-family: "Latin Modern Roman";
    src: url('../fonts/lmroman/lmroman10-bolditalic.otf');
    font-weight: bold;
    font-style: italic;
 }
  
  
  
  
 @font-face {
    font-family: "Forgetica";
    src: url('../fonts/Forgetica/SansForgetica-Regular.otf');
 }
  



/*body*/
body {
	counter-reset: h1 h2 h3;
	font-family: "Latin Modern Roman";
	font-size : 1.5em;
	font-style: normal ;
	line-height: 1.6 ;
}



button {
	font-size: 1em;
	font-family: "Latin Modern Roman";
}



/*Taille font katex */
.katex { font-size: 1em !important; } 



/*Numérotation des parties */
h1:before {
  content: counter(h1) "  ";
  counter-increment: h1;
}

h2:before {
  content: counter(h1) "." counter(h2) "  ";
  counter-increment: h2;
}

h3:before {
  content: counter(h1) "." counter(h2) "." counter(h3) "  ";
  counter-increment: h3;
}

h1 {
  counter-set: h2;
}

h2 {
  counter-set: h3;
}

h1.unnumbered, h2.unnumbered {
  counter-reset: none;
}

h1.unnumbered:before, 
h2.unnumbered:before,
h3.unnumbered:before{
  content: none;
  counter-increment: none;
}



/* Classe theoreme */
.theoreme {
border: 2px; 
border-color: red; 
border-style: solid;
border-radius: 5px ;
padding: 10px ; /* hauteur */
background-color: #ffe6e6;
}



/*Classe numerotation : numérotation des listes ordonnées */
.numerotation,
.numerotation ol { counter-reset: item ;}
.numerotation li{ display: block ;}
.numerotation li { margin: 3px -1em; }
.numerotation li:before { content: counters(item, ".") ". "; counter-increment: item ;}



/*Classe corrige*/
.corrige {
color: red;
}



/*Classe double-espace*/
ol.double-espace li {
	margin-top: 1em ;
}

ul.double-espace li {
	margin-top: 1em ;
}


/*Classe simple-espace*/
ol.simple-espace li {
	margin-top: 0em ;
}

ul.simple-espace li {
	margin-top: 0em ;
}

