*, *::before,*::after {
    box-sizing: border-box;
}
body,html {
    /* box */

    /* border */
    margin:0;
    padding:0;

    /* background */
    background: #f1f1f1;

    /* text */
    font-family: Avenir, Sans serif;
    font-size: 14px;
    color:rgba(0, 0, 0, 0.70);
    line-height: 1.3;
    /* other */
} 


a {
    color:inherit;
    text-decoration: none;
    word-break: break-word;
}
#retourenhaut /*flèche de retour en haut placée à gauche du design */
{
position:absolute;
position:fixed;
top:50%;
left:1%;
opacity:0.2;
height:60%;
}
#retourenhaut:hover
{
opacity:1;
					/*transition à la fermeture*/
  transition: opacity 1s ease;						
}


.topbar {
    background: rgb(48, 85, 158);
    color: #fff;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    padding-top:5px ;
 } 
 
.topbar--marque {

    display:flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: flex-start;
    margin-left:10px;
    margin-bottom:5px;
}
.topbar--logo {
width:75px;
height:65px;

} 
.topbar--logo  img{
width:85%;
}   
.topbar--titre {
    width:175px;
    margin-left:0px;
    
}
.topbar--titreprinc {
    margin:0;
    padding:0;
    font-size: 24px;
    color:#19c965;
    font-variant: small-caps;
    font-weight: bold;
    padding-top: 0px;
 }
.topbar--soustitre {
    margin:0;
    padding:0;
    color:#19c965;
    font-size:15px;
}
.topbar--social {
    width:80px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    /* border: 1px solid black; */
}
.topbar--social--compte img {
    width:70%;
}
.modal {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 0; 
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height:100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(77, 77, 77, .7);
    transition: all .4s;
    z-index:10000;
}
.modal:target {
    visibility: visible;
    opacity: 1;
}   
.sidebar-modal-content{
    border-radius: 4px;
    position: relative;
    width: 400px;
    max-width: calc(100vw - 20px); 
    max-height: calc(100vh - 20px);
    height:300px;
    /* max-width: 90%; */
    background: white;
    padding: 1.5em 0.5em;
    overflow:auto;
    z-index: 10000;
}   
.modal--topbar--social--connexion .form{
    display:flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    color:black;
    text-align: center;
}
.modal--topbar--social--connexion  p{
    color:black;
    display:flex;
    flex-flow: row nowrap;
    justify-content: space-around;
    align-items: center;
}
.modal--topbar--social--connexion .form label{
margin-right:10px;
}
/* On enlève les effets sur le lien */
.modal--topbar--social--connexion p a:hover,.modal--topbar--social--connexion p a
{
    margin:auto;
    text-align: center;
   width:50%;
}  
.topbar--youtube img {
    width:100%;
}

nav{
    margin:auto;
   
}
nav input[type=checkbox]{
    display: none;
}
/*Icone hamburger pour le mneu en petit écran*/
nav label{
    /* background: url('images/menu.svg') no-repeat scroll center; */
    background-size: 15%;
    display: block;
    text-align: center;
    width: 375px;
    height:50px;
    padding: 0px 0px;
    z-index:1000;
/*	    background-color: gold;*/
}
nav label img{
    margin-top:10px;
    width:50px;
}

/*Tous les blocs ul*/
nav ul{  
    display: none;
    width:100%;
    margin-top:0;
    text-align: center;
    list-style-type: none;
    background-color: rgb(18, 135, 212);
    padding-left: 0px;
}
nav .conteneur-nav input[type=checkbox]:checked + ul{ /*sélection du ul qui suit immédiatement le checkbox*/
    display: flex;
    flex-flow : column wrap;
}
/* nav .conteneur-nav ul li */
.item, .sous-item{
    flex: 1 1 auto;
    padding:5px 0px;
    /* text-align: center; */
    z-index:10;
}

/* Liens principaux du menu */
nav .conteneur-nav .deroulant > a{
    display: block;
    text-decoration: none;
    color: rgb(255, 251, 251);
    padding: 10px 0px;
    /* border: 1px ridge white; */
}

nav a:hover{
    color: orange;
/*	        border-bottom: 2px solid gold;*/
}

.deroulant > a::after{
        content:"       ▼";
        font-size: 12px;
}
.dederoulant > a::after{
    content:"▼";
    font-size: 12px;
}

nav .conteneur-nav .sous-menu{ 
    display:none;
    background-color: rgb(48, 85, 158);
    padding-left: 0px;
}
nav > .conteneur-nav > ul > li:hover .sous-menu{
    margin:0;
    padding:0;
    display: flex;
    position:relative;
    flex-flow: column wrap;
/*				border:3px solid blue;*/
    /* justify-content:flex-start; */
    width:100%;
/*			top:100px;*/	
}
nav > div > ul > li > ul li .sous-sous-menu{
    display: none;
    border:none;
}
  
/*POsitionnement des sousous menu */
nav > div > ul > li > ul li:hover .sous-sous-menu{
    margin:0;
    margin-top:6px;
    padding:0;
    padding-left: 20%;
    display: flex;
    position:relative;
    flex-flow: column wrap;
    /* border:3px solid blue; */
    justify-content:flex-start;
    align-items: flex-start;
    text-align: left;
    width:100%;
    /* background-color:rgb(18, 135, 212); */
    background-color:rgb(48, 85, 158);
    z-index:-1;
}
nav > div > ul > li > ul > .devant{
    order:1;
}
.dederoulant{
    order:2;
}
.sous-sous-item
{
    padding:0;
    width:100%;
}
.container{
    padding:0 5px;
    width: 90%;
    /* margin-left:auto;
    margin-right:auto; */
    margin: 0 auto;
}
.site {
    margin-top:20px;
    display:flex;
    flex-flow: column nowrap;
    justify-content: space-evenly;
    align-items: center;
    /* margin-right:20px; */
}
.sidebar
{
    font-size:10px;
    width:100%;
    display:flex;
    flex-flow: row nowrap;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom:10px;
    /* border:1px solid purple; */
}
.sidebar a {
    word-break: normal;
}
.sidebar .sidebar-title{
    display:flex;
    justify-content: center;
    align-items: center;
    width:100%;
    text-decoration: none;
    padding:0.6em 0;
    transition: .3s;
    border:solid 1px transparent;
    /* padding-left: 10px; */
    padding-right: 10px;

}
.sidebar .sidebar-title img{
    padding-right: 10px;
    padding-left: 0;
}

.sidebar .sidebar-title:hover, .sidebar-modal-content a:hover { /* .article a:hover{*/
    color:black;
    border: 1px solid #DBDBDB;
    background-color: white;
    border-radius: 3px;
  /*  font-weight: bold;*/
    width:100%;
}
.article a:hover{
color:black;
border: 1px solid #DBDBDB;
background-color: white;
border-radius: 3px;
/*font-size:14.5px;
font-weight: bold;*/
}
.lienphoto:hover, .paseffethover:hover /*page photo : pas d'effet sur lien*/
{
	margin:0;
	text-decoration:none;
	border:none !important; 
}

.sidebar > a:hover::before, .sidebar > a:active::before{
    opacity:1;
}
.sidebar-modal-content{
    font-size:14px;
}   
.sidebar-modal-header{
    position:relative;
}
.sidebar-modal-header p{
    color:rgba(0, 0, 0, 0.70);
    font-size:14px;
    font-weight: bolder;
    margin:auto;
    padding:5px;
    text-align: center;
}    
.sidebar-modal-close img{
margin-left:15px;    
width:5%
}
/* On enlève les effets sur la croix des header des modal */
.sidebar-modal-header > a:hover,.sidebar-modal-header > a
{
    position:absolute;
    top:-5px;
    left:-12px;
    border:none;   
    background: none;
}   
.sidebar-modal-sommaire, .sidebar-modal-bonus,.sidebar-modal-chapitres,.sidebar-modal-videos,.modal--topbar--social--connexion{
    position:relative;
    height:230px;
    overflow:auto;
}
.sidebar-modal-sommaire{
    counter-reset:h2som h3som h4som;
    }
.sidebar-modal-content ul{
    list-style-type: none;
}
.sidebar-modal-content li{
color:rgba(0, 0, 0, 0.70);
}
.sidebar-modal-bonus li, .sidebar-modal-chapitres li, .sidebar-modal-videos li{
    padding-bottom:10px;
}
.sidebar-modal-bonus-ulbis{
	margin-top:10px;
}

.sidebar-modal-videos h4{
	margin-left:20px;
}
.sidebar-modal-chapitres-encours{
color:rgb(200,200,200)
}

.sidebar-modal-sommaire > ul > li::before {
  content: counter(h2som) ". ";
  counter-increment: h2som;
}
.sidebar-modal-sommaire ul li ul li::before {
  content: counter(h2som) "." counter(h3som) "  ";
  counter-increment: h3som;
}
.sidebar-modal-sommaire ul li ul li ul li::before {
  content: counter(h2som) "." counter(h3som) "." counter(h4som) "  ";
  counter-increment: h4som;
}
.sidebar-modal-sommaire ul li {
  counter-reset: h3som;
}
  .sidebar-modal-sommaire ul li ul li {
  counter-reset: h4som;
}
.sidebar-modal-sommaire .unnembered::before{
content:none;
}


.article{
    width: 100%;
    color:black;
    counter-reset: h2art h3art h4art figure table;
    font-size:16px;
	text-align: justify;
}
/*.article a  /*pour les liens des pages anciens cours*/
/*{
	text-decoration:underline;
}*/
.article h1{
    text-align: center;
    margin:0;
    padding:0;
	/*margin: 10px 0px; pour les liens des pages anciens cours*/
	font-size: 1.6em;    	
}
.article .article-soustitre{
	font-size:0.8em;
}
.article a{
	text-decoration:underline;
}

.article h2:before {
    content: counter(h2art) ". ";
    counter-increment: h2art;
}
.article h3:before {
content: counter(h2art) "." counter(h3art) "  ";
counter-increment: h3art;
}
.article h4:before {
content: counter(h2art) "." counter(h3art) "." counter(h4art) "  ";
counter-increment: h4art;
}
.article h2 {
counter-reset: h3art;
font-size: 1.3em;    
/*margin: 10px 0px; pour les liens des pages anciens cours*/
}
.article h3 {
counter-reset: h4art;
padding-left: 10px;
}
.article h4 {
padding-left: 20px;    
}
.article h5 {
font-size: 1em;    
}
.article h6 {
font-size: 0.9em;    
}
.article .unnumbered:before{
content: none;
}
.article p{
    text-align: justify;
}
.article-paragraphe-margedessus
{
	margin-top:50px;
}

.article .article-embed{
    width:100%;
    /* overflow:auto; */
    margin:auto;
    text-align:center;
max-width:700px;
margin-top:20px;
}
.youtube-player p
{
	text-align:left;
}

article .article-embed img:hover{
	cursor:pointer;
}
.article video, .article iframe{
    width:100%;
	max-width:700px;
	margin-bottom:10px;
}
.article iframe{
    height:250px;
    }
.article .article-figureseule{
    text-align: center;
    margin:auto;
	margin-top:10px;
	width:100%;
/*max-width:550px;
*/}
.article .article-figureseule > img{
max-width:600px;
max-height: 400px;
/*width:auto;*/
}

.article img{
    display: block;
    margin: 0 auto;
    text-align:center;
/*width:auto;*/
	max-width:400px;
max-height:400px;
}
.article .article-image-inline{
	display:inline;
}

/*.article .article-image-exception{
	max-width:800px;
}*/
.article figcaption{
	margin-top:10px;
	text-align:center;
}
.article figcaption::before { /* compteur de figure */
    counter-increment: figure;  /* Ajoute 1 au compteur de figure */
    content: "Figure "counter(figure)" " "-" " ";
}
.article caption::before { /* compteur de figure */
    counter-increment: table;  /* Ajoute 1 au compteur de figure */
    content: "Table "counter(table)" " "-" " ";
}
/*		Un overflow pour les équations trop grandes sur mobile*/
.MathJax_Display, .MJXc-display, .MathJax_SVG_Display {
    overflow-x: auto;
    overflow-y: hidden;
}
.katex { font-display: swap; }

.katex-html {
    overflow-x: auto;
    overflow-y: hidden;
}

.article .article-equation-petite
{
	font-size:0.9em;
}

/*.article #xiti, .article #xiti img
{
display:none;
width:50px;
margin:auto;
text-align: center;
}*/


.article .tikz{
    display:flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
}

.article .trait-separation
{
	border-top:1px solid #000;
	text-align:center;
	width:50%;
	margin-top:20px;
	margin-bottom:20px;
}

.article .bclogo
 {
 padding:10px;
 border-radius:7.5px;
 -moz-border-radius:7.5px;
 -webkit-border-radius:7.5px;
 background:rgb(200,200,200);
 box-shadow: 6px 6px 6px gray;
-moz-box-shadow: 6px 6px 6px gray;
-webkit-box-shadow: 6px 6px 6px gray;
width:75%;
margin:auto;
/*text-align:center;*/
margin-top:20px;

 }
 .article .bclogobis
  {
  padding:10px;
  border-color:orange;
  border-radius:7.5px;
  -moz-border-radius:7.5px;
  -webkit-border-radius:7.5px;
  background:rgb(250,250,250);
  box-shadow: 6px 6px 6px gray;
 -moz-box-shadow: 6px 6px 6px gray;
 -webkit-box-shadow: 6px 6px 6px gray;
 width:75%;
 margin:auto;
text-align:center;
 margin-top:20px;
  }
  .article .bclogobis p{
  	 border-radius: 10px;
  }
 .article-cotecote{
     display:flex;
     flex-flow: column-reverse nowrap;
     align-items: center;
     justify-content: center;
	 margin-top:20px;
 }
 
 .article-cotegauche{
	 width:100%;
	/* margin:auto;
	 text-align:center;*/
 }
 .article-cotedroit{
	 width:100%;
	/* margin:auto;
	 text-align:center;*/
 }
 .article-cotemilieu{
	 width:100%;
	 margin:auto;
	 text-align:center;
 }
 .article .blockcentre
 {
	 margin:0 auto;
	 text-align:center;
 }
 .article table
 {
  border-collapse:collapse;
  max-width:750px;
  width:100%;
  margin:auto;
 }
 .article .scroll{
	 width:100%;
	 overflow:auto;
 }
 .article table .bold
 {
 font-weight:bold;
 }
 .article table .center
 {
 text-align:center;
 }
 .article table .bordernone
 {
 border-top:0px;
 border-left:0px;
 }
 .article .article-table-legende
 {
	 text-align:center;
	 caption-side: bottom;
	 margin-top:10px;
 }
 .article .article-table-border
 {
	 border:1px solid black;
	 width:300px;
 }
 .article .article-table-border td,.article .article-table-border td
 {
	 border:1px solid black;
	 width:150px;
 }
 .article .variation-border-right
 {
	 border-right:1px solid black;
 }
 .article .variation-border-bottom
 {
 	border-bottom:1px solid black;
 }
 .article .formule
 {
 text-align:center;
 font-size: 1.0em;
 }
 .article .article-alignright
{
	text-align:right;
} 
.article .reponse
{
	border:3px ridge gray;
	padding:5px;
	margin-top:10px;
	margin-bottom:20px;	
}

.article .boutonreponse
{
text-align:center;
color:gray;
font-weight:bold;
margin-bottom:10px;
}
/*.article h5 .article-soustitre-small-caps{
	font-variant: small-caps;
}*/

.article pre{
	font-size:0.8em;
	margin:auto;
	margin-bottom:10px;
	text-align:center;
	width:80%;
}
.article pre > p{
	margin-top:0;
	text-align:left;
	width:100%;
}
.article .previ
{
text-decoration:underline;
}
.article .article-petitetaille{
	font-size:0.8em;
}
.article .article-cadre{
	border:1px solid black;
	padding:10px;
}
/*gallery index cours*/
	.article .gallery,.article .plan{
		margin: 20px auto;
		padding: 0 20px;
		max-width:83%;
		display: grid;
		grid-template-columns: repeat(auto-fit, 250px);
	/*	flex-wrap: wrap;*/
		gap: 15px; 
		justify-content:center;
	}
   .article .plan{ /*plan du site.php*/
		grid-template-columns: repeat(auto-fit, 350px);
   }
		
	.article .gallery a{
	text-decoration:none;	
	}
			
			
	.article .item-gallery {
		min-height:250px;
		max-height:250px;
		width: 250px;
		background: rgb(85,118,209);
		color: #f1f1f1;
		padding: 10px;
		border-radius:15px;
		display:grid;
		gap:10px;
		grid-template-columns: 1fr 2fr 1fr;
		grid-template-areas:
		"item-gallery-niveau item-gallery-image item-gallery-image"
		"item-gallery-titre item-gallery-titre item-gallery-titre"
		"item-gallery-description item-gallery-description item-gallery-description"
		"item-gallery-description item-gallery-description item-gallery-description"
		"item-gallery-chapter item-gallery-chapter item-gallery-chapter";
	
	}
	.article .item-gallery-niveau
	{
		grid-area: item-gallery-niveau;
	/*	background:blue;*/
		text-align:left;
		font-weight:bold;
		font-size:1.2em;
/*		border:1px solid black;*/
	}
	.article .item-gallery-niveau p
	{
		margin:0;
	}
	.article .item-gallery-image
	{
		grid-area: item-gallery-image;
/*		background:white;*/
	margin-left:80px;
/*		border:1px solid black;*/
	/*	padding-left:50px;*/
	}
	.article .gallery > .item-gallery >.item-gallery-image > img
	{
		text-align:right;
		padding-left:80px;
	}
	.article .item-gallery-titre
	{
		grid-area: item-gallery-titre;
		font-weight:bold;
		font-size:1.1em;
		text-align:center;
		margin:0;
		padding:0;
		padding-top:10px;
		margin-bottom:-20px;
/*		border:1px solid black;*/
	/*	background:purple;*/
	}
	.article .long-titre
	{
		margin-top:-20px;
		font-size:1.1em;
	}
	.article .item-gallery-description
	{
		grid-area: item-gallery-description;
	/*	background:white;*/
		font-size:0.7em;
		margin-top:0px;
		padding-top:10px;
		height:50px;
/*		border:1px solid black;*/
	}
	
	.article .item-gallery-chapter
	{
		grid-area: item-gallery-chapter;
		background:rgb(255,255,255);
		color:rgb(85,118,209);
		font-weight:bold;
		border-radius:0 0 15px 15px;
		font-size:0.6em;
		text-align:right;
		margin-top:22px;
		margin-left:-10px;
		padding-right:10px;
		padding-top:7.5px;
		width:108.75%;
		height:25px;
/*		border:1px solid black;*/
	}
	.article .item-gallery-chapter p
	{
		text-align:right;
		margin:0;
	}
	/* Code CSS spécifique à Firefox */
	@-moz-document url-prefix() {
	}
	
	.article .chapter-long
	{
		margin-top:4px;
	}
	.article .chapter-long-bis
	{
		margin-top:40px;
	}	
	
	.article .gallery-lien:hover /*quand on passe la souris sur une carte*/
	{
	 border-radius:15px;
	 font-size:1.0em;
	 font-weight:normal;
	 transform: rotate(-5deg);
	 background: rgb(85,118,159);
	 transition: 0.5s;
		/*background-color: none;
		border:none;*/
	}
	
	
	
	.article .repere /*` cours reperes page*/
	{
		margin-left:10px;
	}
/*fin gallery index cours*/

	.article .article-repere-decale /*vieux cours, liens dans la page*/
	{
		margin-left:50px;
	}
	.article .article-table-vieux-cours td /*vieux cours, tableau*/
	{
   	 border:1px solid black;
   	 width:300px;
	 padding:10px;
	}	
	.article .article-table-vieux-cours .photo a:hover
	{
		margin:0;
		padding:0;
	    color:inherit;
	    text-decoration: none;
	    word-break: break-word;
	}
	
	.article .article-table-vieux-cours tr,.article .article-table-profil tr /*vieux cours, tableau*/
	{
   	 border:1px solid black;
   	 width:300px;
	 padding:10px;
	}	
	.article .article-table-vieux-cours th, .article .article-table-profil th/*vieux cours, tableau*/
	{
   	 border:1px solid black;
   	 width:300px;
	 padding:10px;
	 font-variant:bold;
	}	
	.article .article-table-fichets img .displayinline, .displayinline
	{
		display:inline-block !important;
	}
	
	.article .article-table-fichets td /*vieux cours, tableau*/
	{
   	 border:1px solid black;
   	 width:300px;
	 padding:10px;
	 margin:auto;
	 text-align:center;
	}
	.article .article-table-profil td /*vieux cours, tableau*/
	{
   	 border:1px solid black;
	 padding:10px;
	}
	.article .article-table-profil .plusgrand /*vieux cours, tableau*/
	{
   	 border:1px solid black;
	 width:60%;
	 padding:10px;
	}	
	.article .hpageglobale /*pour les page globales type college-lycee.php*/
{
	margin:10px 0;
}	
.article .smallcaps /* dans chapitre "transfert"*/
{
	font-variant:small-caps;
	font-size:1.1em;
	font-weight:bolder;
}
	/*.article .groslienlibre
	{
	text-align:center;
/*	font-family: Geneva, "trebuchet MS", "Times New Roman", Arial, "Arial Black",Times, serif;*/
/*	color: rgb(66,66,255);*/
/*	font-size:1.0em;*/
/*	}*/
	
/*========= pour le partage de figure tikz=========*/
	
	.article .figuretikz{
		margin: 20px auto;
		padding: 0 20px;
		max-width:100%;
		display: grid;
		grid-template-columns: repeat(auto-fit, 200px);
	/*	flex-wrap: wrap;*/
		gap: 15px; 
		justify-content:center;
	}
	
	.article .item-figuretikz {
		min-height:200px;
		max-height:200px;
		width: 200px;
/*		background: rgb(220,220,220);*/
/*		color: #f1f1f1;*/
		border:1px solid gray;
		border-color:gray;
/*		padding: 10px;*/
		border-radius:15px;
		display:grid;
		gap:10px;
		grid-template-rows: 1fr 65px 1fr; 
		grid-template-columns: auto;
		grid-template-areas:
		"item-figuretikz-titre"
		"item-figuretikz-image"
		"item-figuretikz-code";
	}
	/*.article .item-figuretikz-titre
	{
		grid-area: item-gallery-titre;
	}*/
	.article .item-figuretikz img {
		max-width:200px;
		max-height:200px;
		height:100px;
	}
		
	article .titrefigure
	{
	margin:0;
	padding:0;
	padding-top:10px;
	text-align:center;
	font-weight:bold;
/*	text-shadow: 0.5px 0.5px 0.5px gray;*/
	color:gray;
	font-size:1.0em;
	width:200px;
	}
	.article .item-figuretikz-image
	{
		grid-area: item-gallery-image;
	}
	.article .item-figuretikz-code
	{
		grid-area: item-gallery-code;
	}
	article .textcode
	{
	font-size:1.0em;
	text-align:left;
	padding-bottom:10px;
	overflow:auto;
	}
	article .boutoncode
	{
	text-align:center;
	color:gray;
	font-weight:bold;	
	margin-bottom:10px;
	}
	article .code
	{
	position:relative;
	left:0px;
	top:-20px;
	width:300px;
	background-color: rgb(220,220,220);
	padding:5px;
	}
	article .code2
	{
	/*position:relative;
	left:0px;
	top:0px;*/
	/*width:100%;
	min-width:500px;*/
	background-color: rgb(220,220,220);
	padding:5px;
	overflow-x:scroll;
	
	}
	article .commentaire
	{
	color:blue;
	}
	article .preambule
	{
	color:red;
	overflow:auto;
	}	
	.article .galerie-svg{
		margin: 20px auto;
		padding: 0 20px;
		max-width:100%;
		display: grid;
		grid-template-columns: repeat(auto-fit, 200px);
	/*	flex-wrap: wrap;*/
		gap: 15px; 
		justify-content:center;
	}
	.article .item-galerie-svg {
		min-height:200px;
		max-height:200px;
		width: 200px;
/*		background: rgb(220,220,220);*/
/*		color: #f1f1f1;*/
		border:1px solid gray;
		border-color:gray;
/*		padding: 10px;*/
		border-radius:15px;
		display:flex;
	}
	/*.article .item-figuretikz-titre
	{
		grid-area: item-gallery-titre;
	}*/
	.article .item-galerie-svg img {
		padding:10px;
		margin:auto;
		max-width:200px;
		max-height:200px;
/*		height:200px;*/
/*		aspect-ratio: 1 / 1;*/
	}
	.article-fil-ariane
	{
		color:gray;
		opacity:0.5;
		font-size:0.8em;
	}
	.article-fil-ariane a:hover
	{
	/*	text-decoration:none;*/
		font-size:0.925em;
	}
	
	/*==================================*/
	
	
.aside{
    display:flex;
    flex-flow: column wrap;
    /* grid-area: "aside"; */
/*    margin:auto;*/
    margin-top:20px;
    width:250px;
    text-align: center;
    /* border:1px solid black; */
    flex-shrink: 2;
}
.aside .cadre
{
    text-align: left;
    padding: 0px 0px 20px 0px;
    margin:0px 10px 0px 0px;
    margin-bottom: 20px;
    border:1px solid royalblue;
    border-radius: 5px 5px 5px 5px;
    order:2;
}
.aside .docs a,.aside .liens a{
    text-decoration: none;
}
.aside .pub{
    order:1;
    border-radius:0;
}
.aside .aside-pub-content{
    margin:auto;
    text-align: center;
}
.aside .overflow
{
    height:200px;
    overflow: auto;
}
.aside .cadre > h3{
    padding:0;
    margin:0;
    margin-bottom: 10px;
    font-weight: normal;
    font-size: 14px;
    text-align:center;
    background-color: royalblue;
    color:rgba(255, 255, 255, 0.90);
}
.aside ul{
    margin:0;
    padding-left:25px;
    padding-right:10px;
}
.aside a{
    text-decoration: underline;
}
.aside p{
    padding:0px 5px;
}
.aside a:hover{
        color:black;
        border: 1px solid #DBDBDB;
        background-color: white;
        border-radius: 3px;
        /*font-size:13px;
        font-weight: bold;*/
    }
.footer{
    background: rgb(48, 85, 158);
    color: #fff;
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
    align-items: center;
    padding-top:5px ;
    margin-top:20px;
} 
.footer-liens{
    margin:auto;
    text-align: center;
    width:80%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
}
.footer-liens a{
    padding:10px;
    color:white;
    border: 0.5px solid rgba(255, 255, 255, 0.10);
    border-radius:20px;
}
.footer a:hover{
    color:#ff8800;
    background: rgba(255, 255, 255, 0.20);
    opacity: 1;
    transition: all 0.3s;
}
.footer-auteur
{
    padding-left:10px;
}
.footer-misajour{
	margin-top:5px;
}

/* ====================================================== */
/*========= Règle pour tous les écrans inférieur à 360px */
/* ====================================================== */
@media screen and (max-width: 360px){
    .topbar--logo img{
        width:75%;
    }
    .topbar--titre {
        width:150px;
    }
    .topbar--marque .topbar--soustitre{
        font-size:12px;
    } 

}

    /* ====================================================== */
/*========= Règle pour tous les écrans inférieur à 375px */
/* ====================================================== */
@media screen and (max-width: 375px){
.sidebar .sidebar-title span{
    font-size:8px;
}
}

/* ====================================================== */
/*========= Règle pour tous les écrans supérieur à 735px */
/* ====================================================== */
@media screen and (min-width: 735px){
    nav{
        order:2;  
        width:375px;
        overflow: visible;
    }
    .topbar--social {
        order:3;
    } 

	.article .article-figureseule > img {
	    max-width: 900px;
	    max-height: 400px;
	    /* width: auto; */
	}

}      
		


/* ====================================================== */
/*========= Règle pour tous les écrans inférieur à 850px */
/* ====================================================== */
@media screen and (max-width: 850px){
.katex .eqn-num:before {
	    	display:none;
    }

}

/* ====================================================== */
/*========= Règle pour tous les écrans inférieur à 915px */
/* ====================================================== */
@media screen and (max-width: 915px){

}
/* ====================================================== */
/*========= Règle pour tous les écrans supérieur à 915px */
/* ====================================================== */
@media screen and (min-width: 915px){
    .site{
        display:flex;
        flex-flow: row nowrap;
        justify-content: space-evenly;
        align-items: flex-start;
        /* border:2px solid purple; */
    }
    /* Flex none, ne permet de pas prendre en compte le flex pour
    réorganiser les éléments. */

    .sidebar
    {
        display: flex;
        flex-flow: column;
        justify-content: flex-start;
        align-items: flex-start;
        font-size: 12px;
        /* flex: none; */
        width: 50px;
        height: 150px;
    }
    .sidebar .sidebar-title img{
        /* width:100%; */
        margin-left: 18px;
    }
    .sidebar-title span{
        display:none;
    }
    .aside .cadre{
        order:1;
    }
    .aside .pub{
        order:2;
    }
    .article{
        padding:0px 5px;
    }

}

  /* ====================================================== */
/*========= Règle pour tous les écrans inférieur à 375px */
/* ====================================================== */
@media screen and (min-width: 915px) and (max-width: 1098px){
    .sidebar
    {
        display: flex;
        flex-flow: column;
        justify-content: flex-start;
        align-items: flex-start;
        font-size: 12px;
        /* flex: none; */
        width: 50px;
        height: 150px;
    }
    .sidebar .sidebar-title img{
        /* width:100%; */
        margin-left: 18px;
    }
    .sidebar-title span{
        display:none;
    }
}

/* ====================================================== */
/*========= Règle pour tous les écrans supérieur à 980px */
/* ====================================================== */
@media screen and (min-width: 980px){
    /* On change l'ordre du menu et de la social bar */
    .topbar{
        flex-flow: row nowrap;
        align-items: center;
        justify-content: space-around;
    }   
    nav{
        order:2;  
        width:60%;
        overflow: visible;
    }
    .topbar--social {
        order:3;
    } 
    .conteneur-nav{
        position: static;
    }
    nav label, nav input{
        display: none;
    }
/*sur grand écran */
    nav .conteneur-nav input[type=checkbox]:checked + ul,nav .conteneur-nav ul {
        display: flex;
        flex-flow: row wrap;
        list-style-type: none;
        justify-content: space-around;
        width:100%;
        background: transparent;
        padding-top:10px;
		border-radius: 20px;
        /* background-color: white; */
/*			justify-content: space-evenly;*/
    }
    
    /*Lien du menu principal*/
    nav ul li{
        position: relative;
        width:25%;
        margin:10px 0;
        /* border: 3px solid black; */
        /* margin-right:10px;
        margin-left:10px; */
    }
    nav > div > ul > li > a {
        color:white;
        border: 0.5px solid rgba(255, 255, 255, 0.10);
        border-radius:20px;
        min-width: 120px;
        opacity: 0.9;
    }
    nav .conteneur-nav .deroulant > a:hover{
        background: rgba(255, 255, 255, 0.20);
        opacity:1;
        transition: all 0.3s;
        color:orange;
    }
    nav .conteneur-nav .deroulant > li a:active{
        background: rgba(255, 255, 255, 0.20);
    }
    
/*Liens du sous menu*/
    nav > div > ul > li > ul > li
    {
        width:90%;
    }
    nav a:hover {
        color: #ff8800;
        transition: color 0.3s;
    }

    /*Boite qui contient le sous menu quand passe sur le lien du menu*/
    nav > .conteneur-nav > ul li .sous-menu{
        /* display: none; */
        border:none;
    }
    nav > .conteneur-nav > ul li:hover .sous-menu{
        display: flex;
        flex-flow: column wrap;
        justify-content:flex-start;
        position: absolute;
        left:0px;       
        width:100%;
        background-color:rgb(48, 85, 158);
        padding: 5px;
        z-index:2;
        /* border-radius: 30px; */
    }
    .premier-item
    {
        margin-top:25px;
    }
/*Chaque élément des sous menu*/
    nav ul li ul li{
    width:100%;    
    margin:5px 2%;
/*	border:1px solid black;*/
    }
    /*Chaque élément des sous sous menu*/
    nav ul li ul li ul li{
        width:90%;    
        margin:5px 10px;
        padding-left: 50px;
        }
    .deroulant > a::after{
        content:" ▼";
        font-size: 12px;
        position:absolute;
        right:10%;
        top:20px;
    }
    
    nav > div > ul > li > ul li .sous-sous-menu{
        /* display: none; */
        border:none;
    }
/*POsitionnement des sousous menu */
    nav > div > ul > li > ul li:hover .sous-sous-menu{
        margin:0;
        margin-top:6px;
        padding:0 10%;
        display: flex;
        flex-flow: column wrap;
        /* border:3px solid blue; */
        justify-content:flex-start;
        align-items: center;
        position: absolute;
        top:-6px;
        left:102%;
        width:175%;
        /* background-color:rgb(18, 135, 212); */
        background-color:rgb(48, 85, 158);
        z-index:-1;

    }
    nav > div > ul > li > ul li{
        text-align:left;
    }
    .dederoulant > a::after{
        content:"▶";
        font-size: 12px;
        /* margin-left:20px; */
        position:absolute;
        right:-10%;
        top:7px;
    }
    nav > div > ul > li > ul > .devant{
        order:2;
    }
    .dederoulant{
        order:1;
    }
    .container{
        /* border:5px solid black; */
        padding:0 10px;
    }
    
    /* .sidebar a:hover{
    background: rgba(255, 255, 255, 0.7);
    color:black;
    }     */
    .article{
        width:100%;
        margin-right:20px;
        margin-left:20px;
        /* background: Skyblue; */
    }
    .article img{
		max-width:600px;
	}
    .article iframe{
        height:350px;
        }
    .article .tikz{
        display:flex;
        flex-flow: row nowrap;
        align-items: center;
    justify-content: center;
    }
    .article-cotecote{
        display:flex;
        flex-flow: row nowrap;
        align-items: center;
        justify-content: center;
   		 margin-top:20px;
    }
	.article-cotecote-general /*pour les pages de licence général : optique1 electromag1 etc*/
	{
        display:flex;
        flex-flow: row nowrap;
        align-items: flex-start;
        justify-content: center;
   		 margin-top:20px;
	}
	.article
	{
			 margin-left:20px;
	}
	.article-cotedroit{
		margin-left:20px;
	}
	.content-remarque {
/*	    flex-grow: 1;*/
		border-left: 6px solid #3498db;;
	    padding-left: 20px; /* Espacement du contenu */
		margin-left:20px;
			}
	.content-remarque p {
		margin:0;
		}	
	
	
    .aside{
        /* flex:none; */
        width:250px; /*300px*/
/*        flex:auto;*/
        margin-top:0;
    }
    .aside .cadre
    {
    order:1;
    }
.aside .pub{
    order:2;
    border-radius:0;
}


}

/* ====================================================== */
/*========= Règle pour tous les écrans supérieur à 1098px */
/* ====================================================== */
@media screen and (min-width: 1098px){
.sidebar
    {
        display: flex;
        flex-flow: column;
        justify-content: flex-start;
        align-items: flex-start;
        font-size: 12px;
        /* flex: none; */
        width: 230px;
        height: 175px;
    }
    .sidebar .sidebar-title{
        width:100%;
    }
    .sidebar .sidebar-title span{
        display:inline-block;
    }
}

/* ====================================================== */
/*========= Règle pour tous les écrans supérieur à 1280px */
/* ====================================================== */
@media screen and (min-width: 1280px){
.article{
    width: 60%;
}
}
                                            