/* ############## Dans ce fichier ########### */
/* MISE EN PAGE */
/* TEXTE */
/* LISTES */
/* TABLEAUX */
/* FORMULAIRES */
/* MENU */
/* NOMBRE DE PAGES */
/* PLAN DU SITE */

/* ############## MISE EN PAGE ########### */
:root {
  --couleur-principale: #d4af37;
  --couleur-secondaire: #c87d55;
  --couleur-claire: #f4efea;
  --couleur-sombre: #4a3b32;
  --couleur-fond: #fdfbf7;
  
}
@font-face {
    font-family: 'goudy_old_style';
    src: url('GOUDOS.TTF') format('ttf');
    font-weight: normal;
    font-style: normal;
}
.fa, .fa-brands, .fa-classic, .fa-regular, .fa-sharp, .fa-solid, .fab, .far, .fas { font-family: FontAwesome !important; }
img, iframe {
	height: auto;
    max-width: 100%;
}
* {
	font-family: Arial, Helvetica, sans-serif;
	margin: 0;
	padding: 0;
}
body {
	background-color: var(--couleur-fond);
	font-size: 0.9em;
}
.hide_mobile { display:none; }
div.bandeau {
	display: flex;
	background: var(--couleur-claire) url(/interface/fond-granuleux.jpg) center center;
	background-size: cover;
	align-items: center;
	padding: 1em 2vw;
	border-bottom:5px solid var(--couleur-principale);
}
div#logo {
}
div.centrage {
}
div.bordure {
	position: relative;
	padding: 0px 0px 0px 0px;
	margin: 0 auto;
	max-width: 1050px;
}
div#contenu {
	background-color: var(--couleur-fond);
	color: var(--couleur-primaire);
	padding: 2em 20px 4em;
}
div#bas_de_page {
	position: relative;
	width: 100%;
	color: var(--couleur-sombre);
}
div#bas_de_page p {
	text-align: center;
	font-size: 0.8em;
}
div#bas_de_page img {
	height: 20px;
	vertical-align: -4px;
	border: none;
}
div#bas_de_page a {
	color:var(--couleur-sombre);
}
ul#evitement {
	display: none;
}
div#backtotop {
	position: fixed;
background-color: var(--couleur-principale);
bottom: 20px;
left: 50%;
border-radius: 100px;
}
div#backtotop a { color: var(--couleur-fond);
font-size: 3em;
padding: 16px;
text-decoration: none; }
/* ############## TEXTE ########### */
h1 {
	font-size: 3em;
	font-weight: normal;
	margin-top: 1em;
	margin-bottom: 1em;
	color: var(--couleur-sombre);
	font-family:"eastwood", Times New Roman, serif;
	text-align:center;
}
h2 {
	font-size: 2.5em;
	margin-top: 1.4em;
	margin-bottom: 1em;
	color: var(--couleur-secondaire);
	font-family:"eastwood", Times New Roman, serif;
}
h3 {
	font-size: 1.4em;
	font-weight: bold;
	color: var(--couleur-secondaire);
}
p {
	margin-top: 0.8em;
	margin-bottom: 0.8em;
	text-align: justify;
}
.texte_gris {
	font-weight: normal;
	color: #999999;
	font-style: italic;
}
a.bouton .texte_gris {
	color: #ddd;
}
.texte_en_valeur {
	font-weight: bold;
	color: var(--couleur-secondaire);
}
.surligne {
	background-color: var(--couleur-secondaire);
	color:var(--couleur-fond);
}
.encadre {
	border: 1px solid var(--couleur-primaire);
}
sup {
	vertical-align: 0.4em;
}
acronym, abbr, dfn {
	border-bottom: 1px dotted #000000;
	cursor: help;
}
div.zone_colonnes {
	clear: both;
}
div.colonne {
	width: 49%;
	float: left;
}
.img_gauche {
	float: left;
	margin: 0px 10px 5px 0px;
}
.img_droite {
	float: right;
	margin: 0px 0px 5px 10px;
}
.date_modification {
	float: right;
	color: #666666;
	font-size: 0.9em;
}
a.telecharger_pdf {
	background: url(/interface/picto_pdf.gif) no-repeat 0px 0px;
	padding: 1px 0 0 18px;
}
a img {
	border: none;
}
hr {
	color: #999999;
	border: none;
	border-top: 1px solid #999999;
	height: 1px;
	margin-top: 1.3em;
	margin-bottom: 1.3em;
}
hr.invisible {
	height: 0px;
	width: 0px;
	margin: 0;
	padding: 0;
	border: none;
	clear: both;
}
/* Pour l'info bulle (Aide dans Gestion) */
a.infobulle, a.definition {
	text-decoration: none;
	border-bottom: none;
	position: relative;
	cursor: help;
	font-weight: normal;
}
a.infobulle span, a.definition span {
	display: none;
}
a.infobulle:hover span, a.definition:hover span {
	display: block;
	position: absolute;
	z-index: 100;
	background-color: #eeeeee;
	border: 1px solid #cccccc;
	color: #000000;
	padding: 7px 7px 7px 18px;
	width: 200px;
	right: -219px;
	top: -11px;
	font-style: italic;
	text-align: left;
}
.apercu-google { background-color:#fff; -webkit-box-shadow:2px 2px 5px rgba(0,0,0,0.5); -moz-box-shadow:2px 2px 5px rgba(0,0,0,0.5); box-shadow:2px 2px 5px rgba(0,0,0,0.5); padding:1em; margin:1em; }
#gtitre { font-size: 20px; color: #1a0dab; }
#gdescription { color: #545454; font-size: 14px; line-height: 1.58; }

/* ############## LISTES ########### */
ul {
	margin-left: 5px;
	/*list-style-image: url(/interface/carre_vert.gif);*/
}
li {
	margin: 2px 0px 0.5em 10px;
}

/* ############## TABLEAUX ########### */
table {
	border: 1px solid var(--couleur-primaire);
	margin: 5px;
}
th {
	background-color: #f7d4b5;
	padding: 0.3em;
}
td {
	border-bottom: 1px solid #cccccc;
	padding: 0.1em;
}
div.alphabet a { border:1px solid var(--couleur-primaire); padding:7px; }
div.overflow-table { overflow-x:auto; }

/* ############## FORMULAIRES ########### */
div.tete_form {
	font-weight: bold;
	font-size: 1em;
	padding: 3px;
}
div.corp_form {
	padding: 0.8em;
}
div.pied_form {
	padding: 0.2em;
	text-align: center;
}
p.champs_obligatoires {
	font-weight: normal;
	color: #999999;
	font-style: italic;
	text-align: right;
	margin: 1px;
	font-size: 0.85em;
}
.alerte_obligatoire {
	background-color: #ff0000;
}
p.message_fort {
	text-align: center;
	color: var(--couleur-secondaire);
	font-weight: bold;
}
form .obligatoire {
	font-weight: bold;
}
fieldset{
	padding: 4px;
	max-width:100%;
	border:0;
}
fieldset legend {
	font-weight: bold;
	padding: 1em 0;
	font-size:1.4em;
}
form label {
	/*clear: both;*/
	margin-top: 0.3em;
	display: block;
	max-width:100%;
}
form span.complement_info {
	color: #999999;
	font-style: italic;
}
form select, form textarea, form input {
	font-size: 1em;
	border: 1px inset #999999;
	margin: 2px;
	max-width:70%;
	padding:2px;
}
form input[type=checkbox] {
	border: none;
}
form div.pied_form input, form input.valider {
	font-weight: bold;
	cursor: pointer;
	background-color:var(--couleur-secondaire);
	color: var(--couleur-fond);
	border: none;
	padding:10px;
	font-size: 1.2em;
}
form div.pied_form input:hover, form input.valider:hover {
	background-color:var(--couleur-primaire);
}





/* Ne pas oublier de modifier aussi les styles de FCKEditor */
/* dans le fichier /gestion/ckeditor/_source/plugins/stylescombo/styles/default.js */
/* Et les styles d'impression dans /styles/styles_imprimer.css */

/* Modifier les coins arrondis a la fin du fichier /includes/roundies.js */

/* ############## Dans ce fichier ########### */
/* MISE EN PAGE */
/* TEXTE */
/* MENU */
/* FORMULAIRES */

/* ############## MISE EN PAGE ########### */

/* ############## TEXTE ########### */


a:link {
	text-decoration: underline;
	color: var(--couleur-secondaire);
}
a:hover {
	text-decoration: none;
	color: var(--couleur-secondaire);
}
a:active {
	text-decoration: none;
	color: var(--couleur-primaire);
}
a:visited {
	text-decoration: underline;
	color: var(--couleur-primaire);
}
.bouton a, a.bouton {
	background-color: var(--couleur-secondaire);
	padding:10px;
	line-height:2em;
	text-decoration:none;
	font-weight:bold;
	color:#fff;
}
.puce_alerte {
	margin-top: 1.5em;
	margin-bottom: 1em;
	background-color:#ddd;
	color:#d36f03;
	padding: 2em;
}
.puce_alerte::before {
	font-family: "Font Awesome 5 Free";
	content: "\f06a";
	font-size:2em;
	font-weight:900;
	padding-right:10px;
}
.puce_ok {
	margin-top: 1.5em;
	margin-bottom: 1em;
	background-color:#ddd;
	color:#090;
	padding: 2em;
}
.puce_ok::before {
	font-family: "Font Awesome 5 Free";
	content: "\f00c";
	font-size:2em;
	font-weight:900;
	padding-right:10px;
}
table {
	border: 1px solid var(--couleur-primaire);
	margin: 0;
}
td {
	padding: 8px;
	border: 1px solid var(--couleur-primaire);
	margin: 0;
}
/* ##############  MENU ########### */
.niveau1 {
	max-height:0;
	overflow:hidden;
}
.nav-trigger {
	position:absolute;
    clip: rect(0, 0, 0, 0);
}
label[for="nav-trigger"] {
    z-index: 2;
    width: 30px;
    height: 30px;
    cursor: pointer;
	color:#000;
	font-size:40px;
	margin-left:15px;
}
label[for="nav-trigger"]:hover { color:#000; }
label[for="nav-trigger"]::before { content:"\2261"; }
.nav-trigger ~ .niveau1 {
	position: absolute;
	width: 100%;
	right: 0;
	background-color: var(--couleur-fond);
}
.nav-trigger:checked ~ .niveau1 {
	max-height:500px;
    transition: max-height 0.8s;
	border-bottom: 5px solid var(--couleur-principale);
}
.nav-trigger:not(:checked) ~ .niveau1 {
	max-height:0px;
    transition: max-height 0.8s;
}

div#menu {
    font-size : 1.3em;
	z-index: 2;
	width:100%;
	text-align:center;
}
div#menu ul {
	padding: 0;
	margin:0;
    list-style : none;
    line-height : 21px;
}
div#menu ul li {
	position:relative;
	list-style: none;
	display:block;
	line-height: 1.2em;
	margin: 0;
}
div#menu ul.niveau1 li.sousmenu ul.niveau2 {
	border: 1px solid var(--couleur-secondaire);
	margin-left:0;
	background-color: var(--couleur-fond);
}
div#menu li a {
	text-decoration: none;
	display: inline-block;
	color: var(--couleur-secondaire);
	font-weight: 700;
    padding: 10px 15px;
	line-height:1.6em;
	font-family:"goody_old_style", Times New Roman, serif;
}
div#menu ul.niveau1 li.sousmenu:hover ul.niveau2 {
	display: block;
}
div#menu ul ul li {
    text-align: center;
	font-weight: normal;
   	min-width: 190px;
}
div#menu ul ul li a {
	padding: 5px 12px;
	font-weight: bold;
	font-size: 0.9em;
	font-family:"goody_old_style", Times New Roman, serif;
}
div#menu ul li a:hover, div#menu ul li.selected a {
	border-bottom: 3px solid var(--couleur-principale);
}
div#menu li.sousmenu:hover { border-bottom: 3px solid var(--couleur-principale); }

@media screen and (min-width: 800px) {
	.hide_mobile { display:inherit; }
	.nav-trigger ~ .niveau1 {
		position: relative;
		width: auto;
		right: inherit;
		background-color: transparent;
		border-bottom: none;
	}
	.niveau1 { max-height:200px !important; overflow:visible; }
	label[for="nav-trigger"] { position:fixed; visibility:hidden; }
	div#menu ul li {
		display: inline-block;
	}
	div#menu ul ul li {
		height: auto;
		text-align: left;
	}
	div#menu ul.niveau1 li.sousmenu ul.niveau2 {
		display:none;
		position: absolute;
		top: 40px;
		left: -16px;
	}
	form select, form textarea, form input {
		max-width: 700px;
	}
}

/* ############## IMPRESSION ########### */
@media print {
	div#menu {
		display: none;
	}
	div#fil_ariane {
		display: none;
	}
	ul#evitement {
		display: none;
	}
	
	div.centrage {
		margin: 0;
	}
	div.bordure {
		padding-left: 0;
		padding-right: 0;
	}
}