﻿/***** menu CSS *****/

body{
	margin:0px;
	padding:0px;
	font-family:Arial, Helvetica, sans-serif;
}

.menu, .ssmenu {
	/* background-color:#ddffdd; */
	background-color:#CC9977;
	color:black;
	font-size:12px;
	font-weight:bold;
	border:1px solid #EFB;
	padding:1px;
	/*filter:alpha(opacity=75);
	-moz-opacity:0.75;
	opacity: 0.75;
/* width et margin sont au cas où le javascript est désactivé. */
	width:15em;
	margin:1em;
}
/* .menu = les cases toujours visibles (comme Fichier, Edition... dans un logiciel) */
.menu {
	text-align:center;
}

.menu span, .ssmenu span {
/* Ne pas toucher
	C'est pour cacher les ; en fin de <li>, ce qui permet aux synthèse vocales de prendre une
	pause dans l'élocution */
	display:none;
}

.ssmenu ul, .ssmenu ul ul, .ssmenu li, .ssmenu li li {
/* Ne pas trop toucher.
	Les items (les <li>) des sous-menus, notamment pour enlever les puces des liste */
	padding:0;
	margin:0;
	list-style-type:none;
	list-style-image:none;
}

.menu a:link, .ssmenu a:link, .menu a:visited, .ssmenu a:visited {
/* Les liens qui ne sont pas sous le curseur. */
	/*font-family:"MS Sans Serif", "sans-serif", Verdana, Arial;*/
	font-style:normal;
	font-weight:bold;
	text-decoration:none;
	color:black;
	padding:2px 1px;
/* Ne pas modifier le block */
	display:block;
/*	Un width:100% fait planter Mozilla, sans le width:100% c'est IE et Opera... La combinaison
	aucun width et height:100% marche sur tous, donc ne pas toucher ces 2 lignes */
/*	height:100%;
	margin:0px; */
	margin:0px;
	width:100%;
}
html>body .menu a, html>body .menu a:visited, html>body .menu a:hover, html>body .menu a:active,
html>body .ssmenu a, html>body .ssmenu a:visited, html>body .ssmenu a:hover, html>body .ssmenu a:active {
	width:auto;
}

.ssmenu ul:hover, .ssmenu a:hover, .ssmenu a:focus, .menu a:hover, .menu a:focus {
/* Les liens sous le curseur.
	On change les couleurs du texte et de fond, et on enlève le soulignement.
	*/
	background-color:#999966;
	color:white;
	text-decoration:none;
	list-style-type:decimal;
}

img {
/* Si on met une image dans un lien (par exemple un logo à gauche du lien), pas de bordure
	car c'est vilain :-p */
	border:none;
}

.ssmenu img {
/* un petit espacement entre l'image et le texte du lien <a href="..."><img.../>blabla</a> */
	margin-right:2px;
}

.ssmenu img.hr {
/* Encore un peu expérimental, un <hr /> entre deux items pour faire un "séparateur"... */
	margin-top:1px;
	margin-bottom:1px;
	margin-left:0;
	margin-right:0;
	width:100%;
	display:block;
}

.piedepage{
/*	font:Arial, Helvetica, sans-serif;*/
	font-size:12px;
	font-style:normal;
	font-weight:normal;
	color:black;
	text-align:center;
	vertical-align:middle;
	height:34px;
	}

h1 {					/* Titre Page d'accueil*/
 	font-size:30px;
	text-align:center;
	color:black;
	}

h2 {					/* Titre page */
 	font-size:25px;
	text-align:center;
	color:#999966;
	}

h3 {					/* Sous Titre */
	margin-left:25px;
 	font-size:16px;
	font-style:italic;
	font-weight:bold;
	color:black;
	text-align:left;
	text-decoration:underline;
	}
	
h4 {					/* Sous Titre centré */
 	font-size:16px;
	text-align:center;
	font-style:italic;
	font-weight:bolder;
	color:black;
}

h5 {
	font-size:14px;
	font-style:normal;
	font-weight:bolder;
	color:#000000;
	text-align:center;
}

h6 {
	font-size:14px;
	font-style:normal;
	font-weight:normal;
	color:black;
	text-align:center;
}

p {
	line-height:1.25;
	/*font:Geneva, Arial, Helvetica, sans-serif;*/
	font-size:14px;
	font-style:normal;
	font-weight:normal;
	text-align:justify;
	margin-top:10px;
	margin-left:25px;
	margin-right:25px;
	margin-bottom:20px;
}	

ul {
	list-style-image:url(images/dot_marron.gif);
	line-height:1.25;
	font-style:normal;
	font-weight:normal;
	text-align:left;
	margin-top:10px;
	margin-left:50px;
	margin-right:25px;
	margin-bottom:20px;
}

/************** Menu spécifique pour les Villages *******************/
.menuVille{/* Conteneur du menu */
	margin:0px;
	padding:0px;
	list-style:none;
	width:100%;
	float:none;
	font:0.7em Arial;
	}

.menuVille li{/* Conteneur de chaque rubrique principale */
	float:left;
	display:block;
	padding:2px 2px;			/* Remplissage des bords (haut/bas et gauche/droite) */
	width:77px;
	_width:77px;				/* spécification pour IE*/
	background:#CC9977;
	border:1px solid #EFB;		/* largeur style couleur des 4 cotés */
	}

.menuVille li.first{
	padding-left:2px;
	}

.menuVille li.last{
	padding-right:2px;
	}
.menuVille li a, .menuVille li a:visited{/* Texte de la rubrique ppale */
	display:block;
	padding:2px 1px;			/* Remplissage des bords (haut/bas et gauche/droite) */
	text-align:center;
	text-decoration:none;
	font-style:normal;
	font-weight:bold;
	color:black;
}

.menuVille li a:hover{/* Survol de la rubrique ppale */
	/*border-top-color:#F0F0F0;
	border-left-color:#F0F0F0;
	border-right-color:#999999;
	border-bottom-color:#999999;*/
	background:#999966;
	color:black;
	/*border:1px outset #999966;	 largeur style couleur des 4 cotés */
	}
	
#global {/* centrage du menu */
	position:absolute;
	left: 50%;
	top: 95px;
	width: 770px;
	height: 400px;
	/*margin-top: -200px;*/
	margin-left: -374px;
	/*border: 1px solid #000;*/
	}
	
html>body .menuVille li a, html>body .menuVille li a:visited, html>body .menuVille li a:hover, html>body .menuVille li a:active {
	width:auto;
}

/************************ Fin menu Village ***************************/

td, td p {
/*	font-family: Arial, Helvetica, sans-serif;
	font-size:14px;
	font-style:normal;
	font-weight:normal;
*/	background-repeat:no-repeat;
}

a:link{
	color: green;
}

a:visited{
	color: #CC9900;
	font-style:italic;
	font-weight:normal;
}
 
a:hover{
	color: #CC6633;
}
 
/****************** Menu à onglets *******************************/ 

.menu1 { /* boite qui contient le menu (les onglets) */
	border-bottom:solid 2px #999966;/* crée le trait en-dessous des onglets */
	padding-top:12px ;				/* marge intérieure haute */
	padding-bottom:0px} 			/* marge intérieure basse */

.onglet, .onglet2 { /* style des onglets inactifs */
	padding:10px 0px 0px 0px ; 		/* marge intérieure */
	font-size : 14px ; 				/* taille de la police des onglets */
	float:left ; 					/* boite en mode float, pour pouvoir en définir la largeur */
	text-decoration:none ; 			/* les lien dans les onglets ne sont pas soulignés */ 
	text-align:center} 				/* Le texte des onglets est centré */

.onglet {
	margin:5px 5px 0px 8px ;		/* marge extérieure */
	width:80px ;	 				/* largeur de la boite float */
	background : url(images/onglet1.gif) bottom no-repeat ; /* image de fond de la boite float, calée en bas */
}

.onglet2 {
	margin:5px 10px 0px 10px ;		/* marge extérieure */
	width:120px ;	 				/* largeur de la boite float */
	background : url(images/onglet2.gif) bottom no-repeat ; /* image de fond de la boite float, calée en bas */
}

.onglet-actif { /* style de l'onglet de la page active */
	position:relative ; 			/* l'onglet inactif est mis en position relative */ 
	top:3px ; 						/* pour pouvoir baisser l'onglet de 2 pixels */
	border-bottom : solid 3px #E5D6B7	/*on efface le trait inférieur du menu */
}

.spacer {clear:both} /* force le retour à la ligne après des boites float */

a.onglet:link, a.onglet2:link {
	color:black;
	font-style:normal;
}

a.onglet:visited, a.onglet2:visited {
	color:#CC9900;
	font-style:normal;
}
a.onglet:hover, a.onglet2:hover {
	color:green; 		/* lors du survol d'un lien, la police devient verte */
	font-style:normal;
}
.box {
	margin:30px 20px;
	padding:0;
	width:450px;
}
.box a:link {
	float:right;
	margin-top: -20px;
}
.box a:visited {
	float:right;
	margin-top: -20px;
}
.box a:hover {
	float:right;
	margin-top: -20px;
}
/*
Bref... pour résumer, ce qu'il y a à modifier à la base, c'est :
- couleurs, police, bordure.
- l'effet spécial IE pour les ssmenu si on aime ça...
- police et couleurs des liens "non survolés" et "survolés".
*/

