@charset "utf-8";
/* CSS Document */

*, *::after, *::before { box-sizing: border-box; }
* { margin: 0; padding: 0; list-style-type: none;}
a, a:visited {color: rgba(38,255,251,1.00);}
a:hover {color:red;}

h1 {}
h2 {}
h3 {
	font-variant: small-caps;
	font-weight: bold;
	font-size: 1.5em;
	text-shadow: -2px 2px 1px rgba(255,255,255,1.00), 2px -2px 1px rgba(255,255,255,1.00);
}
/*@media (min-width:  600px) {
	h3 {
		font-size: 1.5em;
		text-shadow: -2px 2px 1px rgba(255,255,255,1.00);
	}
}*/

h4 {}
h5 {}
h6 {
    font-size: 1rem;
    font-weight: bold;
}
/* Menu, premier niveau avec liens */
h10{}
/* Menu, premier niveau sans liens */
h11{
    color:darkgrey;
}
.Nom {
    font-size: 1.25rem;
}

/* ********************************************************** */
/*                      XS. "MOBILE FIRST"                    */
/* ********************************************************** */
#espace {
	display: flex; display: -webkit-flex;
	flex-flow: column nowrap; 
	justify-content: center;
	align-items: center;
	position:absolute;
	height: 100%;
	width: 100%;
	background-color: rgba(50,50,50,1.00);
	}
#page {
	flex-basis: 100%;
	width: 100%;
    background-color: hsla(0,0%,44%,1.00) ;
    position: relative;
    overflow:hidden;
    transition-duration: 0.5s; /* Aucun effet */
	}

@media (max-width:  1023px) {
/* hauteur de page max, même après passage en config. XL */
    #page {min-height:100%;}
}
body * {
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif";
    text-decoration: none;
}
header {
/*    height: 80px;*/
	margin: 0px;
    display: flex; display: -webkit-flex;
	justify-content: center;
	align-items: center;
    position: relative;
    z-index: 4;
    }
#signe {
    position: absolute;
    float: right;
    right: 5px;
    top: 10px;
    
    display: none;
}

/* !!!!!!!!!!!!!!!!!!!!!!!!!!! */
/* Pour le bug ie11, hauteur du header en version M (ouverture) et XS (redimensionnement). */
/*@supports  (display: -ms-grid) or (display: grid) {*/
		header {
		/*height: 15%;*/
/*		min-height: 80px;
		max-height: 80px;*/
            
            
            
        min-height: 50px;
		max-height: 50px;
            
        min-height: 80px;
		max-height: 80px;
			}
/*	}*/

/* ************************************** */
/* **************** MENU **************** */
/* ************************************** */
/* COULEURS : 
rgba(70,240,240,1.00) : fond en survol (niveaux 1 et 2).
50,50,50,1.00 : Gis foncé, gradiant fonf menu et rubriques de premier niveau.
*/

#switch_menu {
	flex-basis: 40px ;
	background-color: black ;
	color: white;
	border-bottom: thin solid black;
	display: flex; display: -webkit-flex;
	justify-content: center;
	align-items: center;
	z-index: 1;
	}
#switch_menu h5 {
    padding: 0 20%;
}
nav {
	display: flex; display: -webkit-flex;
    flex-flow: column nowrap;
    position: absolute;
    width: 100%;
	background-color: rgba(50,50,50,1.00);
    background-image: -webkit-linear-gradient(0deg,rgba(50,50,50,1.00) 19.17%,rgba(0,0,0,1.00) 100%);
    background-image: -moz-linear-gradient(0deg,rgba(50,50,50,1.00) 19.17%,rgba(0,0,0,1.00) 100%);
    background-image: -o-linear-gradient(0deg,rgba(50,50,50,1.00) 19.17%,rgba(0,0,0,1.00) 100%);
    background-image: linear-gradient(90deg,rgba(50,50,50,1.00) 19.17%,rgba(0,0,0,1.00) 100%);
    z-index: 1; /* Firefox s'en passe très bien */ 
	/*padding-right: 20px;*/
    } 
#menu1 {
  margin-top: calc( -6 * 40px - 6 * 30px - 40px - 10px); 
	/* ****** !!!!!!!!!!!! */
	/*Il faut aussi ajouter l'épaisseur des filets (10px) */
}
.menu2 { overflow: auto; }

/* Liens de premier niveau */
.li1, .li1_1, .li1_select { 
    color:white;
    font-size: 1.2rem; /* !!!! */
    line-height: 40px;
}
.li1 {
    background-image: -webkit-linear-gradient(133deg,rgba(50,50,50,1.00) 19.17%,rgba(0,0,0,1.00) 100%);
    background-image: -moz-linear-gradient(133deg,rgba(50,50,50,1.00) 19.17%,rgba(0,0,0,1.00) 100%);
    background-image: -o-linear-gradient(133deg,rgba(50,50,50,1.00) 19.17%,rgba(0,0,0,1.00) 100%);
    background-image: linear-gradient(317deg,rgba(50,50,50,1.00) 19.17%,rgba(0,0,0,1.00) 100%);
}
.li1_1, .li2_1 { /* En survol : */
    color:black;
    background-color: rgba(120,134,134,1.00) ;
}
.li1_select { /* Sélectionné */
	color:darkred;
	background-image: -webkit-linear-gradient(230deg, rgba(50,50,50,1.00) 19.17, rgba(0,0,0,1.00) 100%);
    background-image: -moz-linear-gradient(230deg, rgba(50,50,50,1.00) 19.17, rgba(0,0,0,1.00) 100%);
	background-image: -o-linear-gradient(230deg, rgba(50,50,50,1.00) 19.17, rgba(0,0,0,1.00) 100%);
	background-image: linear-gradient(320deg, rgba(50,50,50,1.00) 19.17, rgba(0,0,0,1.00) 100%);	
}
.li1 a { /* menu de premier niveau en config. M */
    color: white;
}
.li1, .li1_1, .li1_select { text-align:center;} 

@media (min-width: 1024px ){
    .li1, .li1_1, .li1_select {text-align:left;} 
    h10, h11 {padding-left: 1.2em; text-align:left;} 
}

/* Liens de second niveau */
.li2, .li2_1, .li2_select {
    padding-left: 30%;
    text-align: left;
    font-size: 1rem;
    line-height: calc(30px + 5px);
    list-style-type:upper-roman;
    list-style-position: inside;
	overflow-x: hidden; /* pour ie11. */
}
.li2, .li2_select {
    background-image: -webkit-linear-gradient(320deg,rgba(50,50,50,1.00) 19.17%,rgba(0,0,0,1.00) 100%);
    background-image: -moz-linear-gradient(320deg,rgba(50,50,50,1.00) 19.17%,rgba(0,0,0,1.00) 100%);
    background-image: -o-linear-gradient(320deg,rgba(50,50,50,1.00) 19.17%,rgba(0,0,0,1.00) 100%);
    background-image: linear-gradient(130deg,rgba(50,50,50,1.00) 19.17%,rgba(0,0,0,1.00) 100%);
    background-color: rgba(70,240,240,1.00);
}
.li2_1 { /* En survol : */
    color: black;
}
.li2_select { /* Sélectionné : */
    pointer-events: none;
}
.li2:last-child, .li2_1:last-child, .li2_select:last-child, .li2_select:last-child  { 
    padding-bottom: 5px;
    }
@media (min-width: 600px ){
    .li2, .li2_1, .li2_select {
        text-align: left;
        padding-left: 1.0em;
    }
/*	.li1 a:hover {background-color: rgba(120,134,134,1.00) ;}*/
}
@media (min-width: 600px) and (max-width: 770px){
.li2, .li2_1, .li2_select {
		list-style-type:none;
		padding-left: 10px;
	}	
}

#menu1_0 {
	display: none;
	}
ul * { transition-duration: .4s; }

/* ************* FIN du MENU ************ */
/* ************************************** */

#contenu {
    position: relative;
    top: 40px ;
    flex-basis: 100%;
/*    min-height: calc(100% - ( 15% + 40px + 40px ));*/
    height: calc(100% - 130px);

    overflow:auto;
	background-color:honeydew;
	}
/* Après modification de la hauteur du header (80px => 50px) */
/*#contenu {
    
	}*/
#zone1, #zone2, .zone2 {
	padding: 10px;
	overflow-x: hidden;
	overflow-y: auto;
	}
/*#zone1 {
	flex-basis: 80%;
	background-color: antiquewhite;
	}
.zone2 {
	flex-basis: 20%;
	background-color:honeydew;
	}*/
/* Curieusement, pour ie11 et Edge il faut indiquer les deux largeurs
déterminer la hauteur (100% - hauteur #zone1). Ou bien, couleur de fond = couleur fond contenu. 
Dernier (?) problème pour ie11 : en mode XS, un redimensionnement de fenêtre entraine une réduction de la hauteur de #contenu.
En version M, la hauteur du header est réduite à l'ouverture, mais corrigée au passage de la souris sur le menu, rubriques à deux niveaux (!?!). */

 footer {
    position: absolute;
    top: calc(100% - 40px ) ;
    width: 100%;
    height: 40px ;
	display: flex; display: -webkit-flex;
	justify-content: center;
	align-items: center;
    }

/* //////////////////////////// */
footer a {
    color: white;
	padding: 0 .5em;
	}
footer a:hover {
    color: red;
	font-weight:normal;
	}
#Lang_fr, #Lang_en {
	padding: 0 .5em;
	color: black;
	font-size: small;
	background-size: contain;
	font-variant: small-caps;
}
#Lang_fr {
	background-image: url(img_0/flag_fr.png);
}
#Lang_en {
	background-image: url(img_0/flag_en.png);
}
#bidule {
    display: none;
}
/* //////////////////////////// */

/* Mode XS, hauteur insuffisante */
/*@media (max-height: 550px) and (max-width: 600px){
    #switch_menu {
	background-color: red ;
	}
    header {
        display: none;
    }
    #contenu {
    min-height: calc(100% - 80px);
	}
}*/

@media (min-width: 600px) {
    header {
		min-height: 80px;
		max-height: 80px;
        }
	#contenu {
		display: flex; display: -webkit-flex;
		flex-flow: row nowrap;
		}
}

#page  { overflow-y: hidden;}

/*header, #chapeau {display: none;}*/

/* ********************************************************** */
/*                         M. "MEDIUM"                        */
/* ********************************************************** */
@media (min-width: 600px) and (max-width: 1023px) {
/* Ne pas mettre de calc() dans les media queries */
    
    /*#page  {overflow-y:visible;} */
   /* #signe {display: block;} */ 
    
	#switch_menu {
		display: none;
	    }
      
    nav {
		flex-flow: row wrap;
        }
	#menu1, #menu1_0 {
		flex-basis: 100%;
		height: 40px ;
		display: flex; display: -webkit-flex;
		flex-flow: row nowrap; 
	    }
	#menu1 {
		margin-top: 0px;
	    }	
	#menu1_0 {
		margin-top: -40px ;
        z-index: 1;
	    }  
	.li1{
		flex-basis: calc(100% / 6 ) ;
	    }
	.li1:hover, #menunu1_0:hover  {
		background-color: hsla(321,93%,79%,1.00);
	    }
    .li2:first-child { 
    border-top:none;
        }
    .menu2 {
        margin-top: calc( -30px * 3 - 40px) ;
        z-index: 1;   
	    }
/*	#contenu {
        top: 40px ;
	    }*/
	
	a:hover {color: red; }
}

    #menu1_0 .li1 {
        background-color: red;
        }
/*    #menu1_0  {
        display: none;
        }*/
@media (min-width: 700px ){ #signe {display: block;} }

/* ********************************************************** */
/*                           XL. "BIG"                        */
/* ********************************************************** */
@media (min-width: 1024px ) {
	#switch_menu, #menu1_0 { display: none; } 
	#page { 
		flex-basis: 90% ; 
		width: 80% ;
        min-width: 1024px; /* !!!!! pour ie11 !!!!!! */
		max-width: 1200px; /* !!!!!!!!!!! */
		display: flex; display: -webkit-flex;
		flex-flow: row-reverse wrap; /* Pour ie11 (???!!) */
		overflow-y: hidden; /* Dans le cas ou le switch_hauteur est actif, en attendant mieux */
		}
    @supports  (display: -ms-grid) or (display: grid) { 
        #page{flex-flow: row wrap;} /* Pour les autres */ 
    }
    header {
        flex-basis: 100%;
        height: 80px ;
    }
    nav {
        flex-flow: column wrap;
        width: 200px ;
        position: absolute;
        /* "absolute" déconne pour ie11 si "flex-flow:row wrap" pour #page.
        Et dans ce cas, "relative" nécessite une correction pour "top". */
        top: 80px; 
        height: calc(100% - ( 80px + 40px ));
        padding-right: 20px;
        overflow-y:auto;
     }
    #menu1  {
        margin-top: 0px;
        margin-right: 10px;
	}
    #contenu{
        position: absolute;
        width: calc(100% - 200px );
        max-height: calc(100% - ( 80px + 40px ));
        left: 200px ;
        top: 80px ;
	}
	#menu1, #contenu { transition-duration: 0s; }

	footer{
		left: 0px;
	}
    #bidule {
        display:inline-flex;
    }
/* EXPÉRIMENTAL */
	#menunu_0 {margin-top: 40px;}
}

#page, footer, header {background-color: black; color: white;}
header {
	justify-content:flex-start;
	align-items: center;
	/*padding-left: 30px;*/ /* fout le bordel avec ie11 */
	border-bottom: thin solid hsl(0,0%,75%);
}
#H_titre {padding-left: 30px;} /* Pour pallier au bug ie11 */
footer {border-top: thin solid hsl(0,0%,75%);}

