@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");

:root {
	--color-acc : #9b59b6;		/*violet foncé*/
	--color-fct : #e74c3c;		/*rouge léger*/
	--color-for : #ffabd5;		/*rose*/
	--color-act : #3498db;		/*bleu pâle*/
	--color-vis : #1ABC9C;		/*vert*/
	--color-cla : #e67e22;		/*orange*/
	--color-doc : slategray;	/*gris moyen*/
	--color-txt : #333;			/*gris*/
	--color-txt-fonce :rgb(27,42,147);/*bleu mariste foncé*/
	--color-rose : #EBC7EB;		/*rose mariste léger*/
}
body {
	font-family: Roboto, sans-serif;
	font-size: 15px;
	color: var(--color-txt);
	background-color: lavender ;
	margin-top:10px; 
	margin-left:0px; 
	margin-right:0px;
}

p {
	text-align: justify;
}

header {
	width:1200px; 
	margin:auto; 
}

main {
	width:1180px; 
	min-height: 600px;
	margin:auto; 
	display: flex; 
	background-color:white; 
	border-radius: 8px;
	padding: 8px;
}

.menugauche {
	width:290px; 
	border:0px dashed green;
}

section {
	width: 870px; 
	margin-left: 15px;
	border:0px dashed red; 
}

footer {
	width:1200px; 
	border:0px dashed black; 
	margin: 15px auto; 
	text-align:center
}

.etab {
	font-family: 'Baloo 2', sans-serif;
	line-height:1.1em;
	text-transform:uppercase;
	font-size: 45px; 
	font-weight: 500;
	/*color: var(--color-txt-fonce);*/
	color: rgb(27,42,147);
	/*text-shadow: 2px 2px 0px white;*/
}
.etabsuite {
	font-size: 20px; 
	line-height: 1.2em;
	font-weight: normal;
}

nav {
	margin: 15px auto 15px;
	position: relative;
	width: 1050px;
	height: 50px;
	background-color: #34495e;
	border-radius: 8px;
	font-size: 0;
}
nav a {
	line-height: 50px;
	height: 100%;
	font-family: 'Baloo 2', sans-serif;
	font-size: 18px;
	display: inline-block;
	position: relative;
	z-index: 1;
	text-decoration: none;
	text-align: center;
	color: white;
	cursor: pointer;
	width: 150px;
}


nav .animation {
	position: absolute;
	height: 100%;
	top: 0;
	z-index: 0;
	transition: all .5s ease 0s;
	border-radius: 8px;
}

nav .start-acc, a:nth-child(1):hover~.animation {
	width: 150px;
	left: 0;
	background-color: var(--color-acc);
}
nav .start-vis, a:nth-child(2):hover~.animation {
	width: 150px;
	left: 150px;
	background-color: var(--color-vis);
}
nav .start-fct, a:nth-child(3):hover~.animation {
	width: 150px;
	left: 300px;
	background-color: var(--color-fct);
}
nav .start-for, a:nth-child(4):hover~.animation {
	width: 150px;
	left: 450px;
	background-color: var(--color-for);
}
nav .start-act, a:nth-child(5):hover~.animation {
	width: 150px;
	left: 600px;
	background-color: var(--color-act);
}
nav .start-cla, a:nth-child(6):hover~.animation {
	width: 150px;
	left: 750px;
	background-color: var(--color-cla); 
}
nav .start-doc, a:nth-child(7):hover~.animation {
	width: 150px;
	left: 900px;
	background-color: var(--color-doc);
}


.menugauche > a {
	display: inline-block;
	margin-bottom:7px;
	width:100%;
	font-family: 'Baloo 2', sans-serif;
	font-size: 17px; 
	text-decoration: none;
	color: var(--color-txt-fonce);
	cursor: pointer;
}
.menugauche > a:hover {
	font-weight:bold;
}
.menugauche > a.actuel {
	padding-left:15px;
	font-weight:bold;
	width:94%;
}
.menugauche > a.menuclasse {
	width: 27px;
	text-align:center;
}
.menugauche > a.menuclassearch {
	width: 70px;
	text-align:center;
}

.menuclassetitre { /* copier menugauche a (pour cohésion) */
	font-family: 'Baloo 2', sans-serif;
	font-size: 17px; 
	color: var(--color-txt-fonce);
}

h1 {
	font-family: 'Baloo 2', sans-serif;
	font-weight: 500; 
	font-size: 30px; 
	color: var(--color-txt-fonce);
	border-bottom : 3px solid rgb(220, 220, 250);
	padding-left:5px;
	padding-right:5px;
	text-shadow: 1px 1px 2px lightsteelblue;
	text-align: center;
	line-height: 1.1em;
	margin:0px;
}

h2 	{
	font-family: 'Baloo 2', sans-serif; 
	font-weight: 400; 
	font-size: 22px; 
	padding-bottom: 4px; 
	display: inline-block;
	position: relative;
	color: var(--color-txt-fonce);
	height:30px; 
}
h2:before{
    content: "";
    position: absolute;
    width: 100%;
    height: 0px;
    bottom: 0px;
    left: 0px;
    border-bottom: 2px solid var(--color-txt-fonce);
}

h3 {
	font-family: 'Baloo 2', sans-serif; 
	font-weight: 500; 
	font-size: 20px;
	color:var(--color-acc);
}
h3:before{
    content: "\25BA \0020"; /* unicode triangle suivi d'un espace */
    color:var(--color-acc);
	font-size: 18px;
}

h4 {  /*idem h3 mais sans triangle et centré et marges réduites */
	font-family: 'Baloo 2', sans-serif; 
	font-weight: 500; 
	font-size: 20px;
	color:var(--color-acc);
	text-align: center;
	margin: 5px;
}


.classe_archive {
	font-family: 'Baloo 2', sans-serif; 
	font-weight: 400; 
	font-size: 22px; 
	width:200px;
	text-align:center;
	margin: auto;
	padding:4px; 
	color: #E67E22; 
	border-radius:5px; 
	background-color:moccasin;
}


.une_rubr  {font-family: 'Baloo 2', sans-serif; font-size: 16px; color:white; padding-left:5px;letter-spacing:0.5px;}
.une_surti {font-family: Montserrat, sans-serif; font-size: 15px; font-weight: 600; line-height:1.2em; margin-top:2px; padding-top: 4px;}
.une_titre {font-family: Montserrat, sans-serif; font-size: 24px; font-weight: 700; line-height:1.2em; margin-top: 2px; margin-bottom:6px; }

.agenda_dat {font-family: 'Baloo 2', sans-serif; text-transform: uppercase; font-size: 16px; background-color: var(--color-rose); color: var(--color-txt-fonce); text-align: center; margin-top: 13px;margin-bottom: 3px; padding-top:3px; line-height:1.4em;}
.une {margin-top:0px}
.une:hover {background-color:rgb(220, 220, 240); cursor:pointer;}

.cadre_rouge {margin:4px 4px 14px 4px; border:1px solid red; background-color: antiquewhite; border-radius:4px; color:red; font-size:15px; font-style: italic; padding:8px; text-align:justify;box-shadow: 4px 4px 4px lightgray;}
.cadre_bleu  {margin:4px 4px 14px 4px; border:1px solid steelblue; background-color: azure; border-radius:4px; color:navy; font-size:15px; font-style: italic; padding:8px; text-align:justify;box-shadow: 4px 4px 4px lavender;}
.cadre2_bleu {text-align:justify; margin:5px 5px 14px 0px; border-left:3px solid royalblue; padding:5px; background-color: rgb(215,222,245); color:royalblue; }
.cadre2_rouge {text-align:justify; margin:5px 5px 14px 0px; border-left:3px solid red; padding:5px; background-color: rgb(255,200,200); color:black; }


/* pour UL=archive avec liens Underline From Left */
.archive {list-style-type: "\0025B7\000020\000020"; }
.archive a {
	font-size:20px;text-decoration: none; color: slategray;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  overflow: hidden;	
}
.archive a:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 100%;
  bottom: 0;
  background: #2098D1;
  height: 2px;
  -webkit-transition-property: right;
  transition-property: right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;	
}
.archive a:hover:before, .archive a:focus:before, .archive a:active:before {
  right: 0;
}
	
/* pour images bandeau de titre : Hover Glow */
.hvr-glow {
  border-radius:4px;
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: box-shadow;
  transition-property: box-shadow;
}
.hvr-glow:hover, .hvr-glow:focus, .hvr-glow:active {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

/* Hover Sweep To Right */
.hvr-sweep-to-right {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.hvr-sweep-to-right:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #34495e;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-sweep-to-right:hover, .hvr-sweep-to-right:focus, .hvr-sweep-to-right:active {
  color: white;
}
.hvr-sweep-to-right:hover:before, .hvr-sweep-to-right:focus:before, .hvr-sweep-to-right:active:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

table.pageclasse td {background-color: white;}
table.pageclasse td:hover {background-color: moccasin;cursor:pointer;}
table.docu {margin-left:10px; border-left: 2px solid sienna; width:600px}
table.docu tr {background-color: white;}
table.docu tr:hover {background-color: lightgray; cursor: pointer;}

/* BOUTONS */
	input[type=submit], input[type=button], button {
		width:150px; 
		cursor:pointer;
		border-radius:5px ;
		background: aliceblue;
		border:1px solid steelblue; 
		color:steelblue;
		font-size: 14px;
		padding:6px;
		margin:10px 3px;
		transition: 0.3s;
		outline:none;
	}
	input[type=submit]:hover, input[type=button]:hover, button:hover {
		background-color: steelblue; 
		color: white;
	}	
	.large {width:300px; }
	.etroit {width:50px; }
	.petit {width:80px; height:20px; margin:0px; font-size: 12px; padding:1px;}
	.rectangle {width:50px; height:30px; margin:5px; font-size: 14px; color:black; border-radius:0px; background: var(--color-rose-pale); border:1px solid var(--color-rose-fonce); }


/* ancien css */
.auteur {font-weight: bold; font-style: italic; color: gray; text-align: right;}
.auteur2{font-weight: normal; font-size: 8pt; font-style: normal; color: gray; text-align: right;}

.specialover {background-color: lightgreen; cursor: pointer;}
.specialout  {background-color: antiquewhite;}
.specialbover {background-color: cyan; cursor: pointer;}
.specialbout  {background-color: white;}
.specialrover {background-color: red; cursor: pointer;}
.specialrout  {background-color: lightsalmon;}
.specialover_jaune {background-color: yellow; cursor: pointer;}
.speciover {background-color: black; cursor: pointer;}
.speciout  {background-color: black;}


table.hover-act td{background-color: lightgreen; } /* ancien 'hover actif' */
table.hover-act td:hover{background-color: chartreuse; cursor: pointer;}
table.hover-red td{background-color: lightsalmon; } /* ancien 'hover actif' */
table.hover-red td:hover{background-color: red; cursor: pointer;}
table.hover-fct td{background-color: turquoise; border: 2px solid turquoise;} /* pour rubrique fonctionnement */
table.hover-fct td:hover{background-color: lavender; border: 2px solid turquoise; cursor: pointer;}

.menu_titre	{font-size: 20pt; font-weight: bold; color: darkorange; text-align: center; margin-top: 10px; margin-bottom: 0px}
.menu_txt      {font-size: 12pt; color:darkviolet;}
.menu_ttr      {font-size: 12pt; font-weight: bold; background-color: darkviolet; color: white; text-align: center; }
.menu_special{font-size: 12pt; font-weight: bold; color: green; text-align: center;margin-top: 0px; margin-bottom: 0px }

.titre1 {
	font-family: 'Baloo 2', sans-serif; 
	font-weight: 300; 
	font-size: 22px; 
	margin-bottom: 0px; 
	color: #303082; 
	height:30px; 
}
