

/* 												BALISES HTML													 */
/* __________________________________________________________________  */
* {margin: 0;	padding: 0; list-style-type: none;}
 
 
a:link, a:visited {
	color: #d65100;
}
a:link:hover, a:visited:hover, a:focus, a:active {
	text-decoration: none;
	color: #db870f;
}

a img {border: none;}

a[name] { /* On masque les ancres nommées (lien d'évitement) - NE PAS EFFACER */
	visibility: hidden;/* HACK POUR IE => VOIR FEUILLE DE STYLE spip_ie_home.css */
}
 /* 											ACCESSIBILITE 														*/
/* __________________________________________________________________  */
#liensevitement { /* Block contenant les liens d'evitement */
    margin: 0 auto;
    color: #adaaaa;
    font-size: 0.6em;
    text-align: right;
    width: 977px;
    position: relative;
    z-index: 100;
}

#liensevitement a { /* Les liens d'evitement */
    color: #adaaaa;
}

#liensevitement a:hover, #liensevitement a:focus, #liensevitement a:active { /* Rollover des liens d'evitement */
    color: #adaaaa;
}



h2.access {  /* Balise H2 masquee */
	position: absolute;
	z-index: 100;
	top:-10000px;
	left:-10000px;
	visibility: hidden;
	font-size : 0px;
	letter-spacing: -50px;
}


/* 											STRUCTURE DE LA PAGE 										*/
/* __________________________________________________________________  */
html, body {
	/* Pour régler le problème d'arrière plan sur les pages d'accueil, il faut mettre l'arrière plan sur la balise html et non sur body.  */
	 font-family:  'trebuchet ms',verdana,arial,sans-serif;
	text-align: center; /* pour corriger le bug de centrage IE */
	height: 100%;
	font-size: 100%;
	color: #61605e; /* Couleur du texte par défaut */
	  background: #E8DFCE;
}

.body {
    width: 100%;
    background: #fbfaf7;
	margin-bottom: 10px;
}

#bg_body {
    background: url(images/home_bg_body.jpg) no-repeat center top;
    text-align: center;
    margin-top: -13px;
}

.body2 {
    background: #E8DFCE url(images/home_bg_body_rep.jpg) repeat-x top;
    height: 100%;
    
}

.float_droite {float: right;}/* Flottant à droite */

/*
 * Conteneur de la page
 */
#conteneur {		
	position: relative;
	clear: left;
	width: 977px;
	/* border: 1px solid #FF6600; */
	min-height: 400px; /* hauteur de la page d'accueil à centrer verticalement */
	margin: 0 auto;
	z-index: 1;
	text-align: left;
		
}

/*
 * Menu horizontal
 */

#navigation {
	position: absolute;
	top: 13px;
	left: 0;
	width: 100%;
	background: url("images/home_bg_menu.png") no-repeat left bottom;
	height: 55px;
	z-index: 200;

}


/* 												MENU PRINCIPAL 												             */
/* __________________________________________________________________  */
ul#nav_principale {
	float: left;
	display: inline;
	position: relative; z-index: 10;
}

ul#nav_principale li {
	float: left;
	
}
ul#nav_principale li a:link, ul#nav_principale li a:visited {
	font-weight: bold;
	text-align: center;
	color: #d75100;
	display: block;
	float: left;
	text-decoration: none;
	font-size: 0.9em;
	word-wrap: break-word; /* Si le texte sort du cadre il y a un retour à la ligne automatique */
}
ul#nav_principale li a:link:hover ,ul#nav_principale li a:visited:hover, ul#nav_principale li a:active, ul#nav_principale li a:focus {
	text-decoration: underline;
}

/* Placement des items du menu principal */
#nav_principale #rub_1 {
	margin: 0;
	width: 90px;
}
#nav_principale #rub_75 {
	margin: 1px 0 0 32px;
	width: 163px;
}
#nav_principale #rub_76 {
	margin: 1px 0 0 31px;
	width: 172px;
}
#nav_principale #rub_77 {
	margin: 1px 0 0 23px;
	width:  92px;
}
#nav_principale #rub_78 {
	margin: 2px 0 0 9px;
	width: 85px;
}
#nav_principale #rub_81 {
	 margin: 2px 0 0 12px;
	 width: 122px;
}
#nav_principale #rub_86 {
	margin: 1px 0 0 23px;
	width: 123px;
}


/*
 * Logo
 * 
 */

#bandeau {
	/* height: px;		!!!!!!!!	Laisser une hauteur mini au cas ou le flash ne se charge pas.			!!!!!!!!!!!!!    */
	
}

h1 {
	float: left;
	margin: 94px 0 0 -25px;
	 position: relative; z-index: 10;
	 font-size: 1.2em;
}
#accroche {
	width: 250px;
	clear: both;
	float: left; 
	margin: 77px 0 0 98px;	
	position: relative; z-index: 10;
}
/*
 *  Diaporama flash
 * 
 * 
 */
#slideshow { /* Positionnement du flash - Supprimer si pas de flash... */
 	left: 288px;
    position: absolute;
    
    top: 58px; 
     z-index: 1;
}

#slideshow .noscript-message { /* Stylage du noscript si javascript est désactivé... */
	background: none repeat scroll 0 0 #FFFFFF;
    border: 2px solid #FF0000;
    font-size: 0.8em;
    margin: 180px 10px 15px 100px;
    max-height: 75px;
    overflow: auto;
    padding: 10px;
    width: 40%;
} 


/* 										FORMULAIRE DE RECHERCHE										 */
/* __________________________________________________________________  */
#bloc_recherche {
	width: 164px;
	height: 30px;
	float: right; 
	margin: 80px 10px 0 0;
	background: url(images/bg_rechercher.png) no-repeat; 
	position: relative; z-index: 10;
}

form#formrecherche {  /* Formulaire */
	padding: 0;0
	float: left;
	display: inline;
	background: transparent;
}
#formrecherche div {  /* Formulaire */
	padding: 0;
	 margin: 5px 0 0 7px;
}

#formrecherche label { /* Label */
	display: none;
}

#formrecherche input { 
	vertical-align: middle;
	border: none;
	width: auto;
}

#formrecherche input#recherche { /* Champ de saisie */
	 background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #B5B5B4;
    color: #767573;
    font-size: 0.72em;
    margin: 0 3px 0 0;
    padding: 1px 0 1px 5px;
    text-align: left;
    width: 120px;
}


/* Cart des communes */
#carte_communes {
	position: absolute;
    right: 63px;
    top: 138px;
 	z-index: 10;
 	width: 217px;

	}
	
/*
 *  Bloc englobant les actus / agenda / menu outils 
 * 
 */	
#contenu {
	clear: both;
	position: relative; z-index: 10;
}


/*
 * 		BLOCK DEFILANT EVOLUE			
 * 
 * 
 */
#bloc_actus {
	float: left;
	 margin: 41px 0 0 40px;
	 zoom:1; 
	 width: 397px;

}
#bloc_actus h2 {
	margin: 0 0 0 7px;
}
/* 	
Utilisé par la page sommaire
*/
/*#btn_gauche {
	float: left;
	width: 13px;
	display: inline;
	margin: 85px 0 0 0;
}*/
/*#btn_droit {
	float: left;
	width: 13px;
	display: inline;
	margin: 85px 0 0 0;
}
*/

#bloc_anythingslider_alaune {
	background: transparent;
	clear: both;
	width: 397px;
	background: url(images/bg_bloc_actus_home.png) no-repeat left top;
     -moz-border-radius: 5px; /* FF1-3.6 */
  	-webkit-border-radius: 5px; /* Saf3-4, iOS 1-3.2, Android <1.6 */
      border-radius: 5px; /* Opera 10.5, IE9, Saf5, Chrome, FF4, iOS 4, Android 2.1+ */
   
}

/*
 * Style de actus
 * 
 */

div.last_actus { /* Block 1 actualites */
	margin: 0 0 0;
     padding: 8px;

}

/* ~~~~~~~~~~~~~~~~~~~~~~~ ZONE DES VIGNETTES */

.block_photo_actu {  /* Image evenement */
	float: left;
	display: inline;
	margin: 0 10px 0 0;
	border: 3px solid #FFFFFF;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~ ZONE DE TEXTE */

.zone_texte_actu { /* Block de texte à coté de la photo. Pour eviter un retour sous la photo : fixer un width et passer en flottant left */
	display: inline;
	width: 205px;
	float: left;
}
.zone_texte_actu.nophoto {width: auto;}/* On donne toute la largeur au block s'il n'y a pas de photo - NE PAS EFFACER */

.date_actu { /* Date actu */
	color: #7a9d0b;
	 font-size: 0.7em;
    margin: 3px 0 0 0;
}

.zone_texte_actu h3 { /* Titre actu lien */
	font-size: 0.8em;
	color: #db870f;
}


.zone_texte_actu h3 a:link:hover, .zone_texte_actu h3 a:visited:hover, .zone_texte_actu h3 a:active, .zone_texte_actu h3 a:focus {} /* Titre actu lien hover */

.texte_actu { /* Texte actu */
	font-size: 0.7em;
    margin: 4px 0 0;
}
.suite_actu  {text-align: right; margin-top: 5px}
.suite_actu a { /* Lien lire la suite */
	font-size: 0.68em;
	padding: 0 0 0 8px;
	color: #7fa30e;
	background: url(images/picto_liresuite.png) no-repeat left center;
	font-weight: bold;
}
.suite_actu a:hover { /* Lien lire la suite */
	text-decoration: underline;
	color: #db870f;
	background: url(images/picto_liresuite-over.png) no-repeat left center;
}



/*
 *  Bloc agenda
 * 
 */
#bloc_agenda {
	position: relative; z-index: 2;
	float: left; 
	width: 137px;
	margin: 41px 0 0 53px;
}
#bloc_agenda h2 {
	margin: 0 0 0 7px;
}
#bloc_agenda #zone_calendrier {
	width: 130px;
	padding: 5px ;
	
	background: url(images/bg_bloc_agenda_home.png) no-repeat left top; /* arrière plan en une seul image */
  
}

/* Bloc outils */
#bloc_outils {
	float: left; 
	width: 235px;
	margin: 41px 0 0 53px;
	position: relative; z-index: 1;
}
#bloc_outils h2 {
	margin: 0 0 0 7px;
}
#bloc_outils .outils{
	width: 235px;
	padding: 0px ;
	min-height: 135px;
	background: url(images/bg_bloc_outils_home.png) repeat-x left top;
	/*background: url(images/home_bg_outils.png) repeat-x left top;
     -moz-border-radius: 5px; /* FF1-3.6 
  	-webkit-border-radius: 5px; /* Saf3-4, iOS 1-3.2, Android <1.6 
      border-radius: 5px; /* Opera 10.5, IE9, Saf5, Chrome, FF4, iOS 4, Android 2.1+ */
       
     	word-wrap: break-word;

}

.outils .outils1, .outils .outils2 {
	background: url(images/bg_sep_outils.png) no-repeat left bottom;

}
.outils ul {clear: both; font-size: 0.76em;}
.outils ul li {float: left;}
.outils ul li.num1 {width: 95px;}
.outils ul li.num2 {width: 135px;}
.outils ul li a {
	display: block;
	padding: 7px 0 5px 11px;
	margin-left: 7px;
	color: #61605e; text-decoration: none;
	background: url(images/puce_outils.png) no-repeat 0 1.2em; }
	
.outils ul li a:hover, .outils ul li a:focus, .outils ul li a:active {
	color: #db870f;
	text-decoration: underline;
	background: url(images/puce_outils_on.png) no-repeat 0 1.2em; 
}




/* 												PIED DE PAGE													 */
/* __________________________________________________________________  */
#pied { /* Block pied de page */
	clear: both;
}

ul#menu_divers {
	float:right;
	margin: 8px 0 0;

	}
ul#menu_divers li { /* Liste */
	 background: url("images/bg_sep_pied.png") no-repeat scroll right center transparent;
    color: #767573;
    display: inline;
    font-size: 0.7em;
    
    margin: 0 3px;
    padding: 0 5px 0 0;
}
ul#menu_divers li.extranet {
	background: none;
	margin:0;
}
ul#menu_divers li.extranet a {
	color: #db870f;
}
ul#menu_divers a:link, ul#menu_divers a:visited {
	color: #767573;

	text-decoration: none;
}
ul#menu_divers a:link:hover, ul#menu_divers a:visited:hover, ul#menu_divers a:active,  ul#menu_divers a:focus {
	text-decoration: underline;
	color: #adaaaa;
}


/* Newsletter 
 * 
 */
#bloc_newsletter {
	width: 365px;
	float: left;
    margin: -9px 0 0;
    position: relative; z-index: 30;
   
}
.bg_newsletter {
	background: url(images/bg_bloc_news.png) repeat;
     -moz-border-radius: 5px; /* FF1-3.6 */
  	-webkit-border-radius: 5px; /* Saf3-4, iOS 1-3.2, Android <1.6 */
      border-radius: 5px; /* Opera 10.5, IE9, Saf5, Chrome, FF4, iOS 4, Android 2.1+ */
       padding: 3px 0 2px 5px;
}
h2.newsletter {
	font-size: 0.6em;
    font-weight: normal;
    margin: 0 0 0 12px;
} 
#news {
    float: left;
    margin: 3px 0;
}
#news fieldset {
    border: medium none;
}
#news legend {
    display: none;
}
#news div.label_mail {
    display: inline;
    float: left;
}
#news label {
    color: #767573;
    font-size: 0.7em;
    word-wrap: break-word;
  
}
#news label.mail_inscription {
	  display: none;
}
#news label, #news input {
    border: medium none;
    width: auto;
}
#news input#mail_inscription_ {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #d2cfc8;
    color: #767573;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 0.6em;
    line-height: 16px;
    margin: 0 10px 0 7px;
    min-height: 16px;
    text-align: left;
     float: left;
    width: 145px;
}
.choix {
    float: left;
    font-size: 0.9em;
    margin: 0 6px 0 0;
}
.choix input {margin: 3px 3px 0 0;}
.btn_valid_news {
    float: left;
    margin: -3px 0 0;
}
#news label, #news input, .valid_news, .choix {
    vertical-align: middle;
}
.reponsenews {
color: #FF0000;
    display: block;
    font-size: 0.7em;
    /* font-weight: bold; */
}


/* 															DIVERS													 */
/* __________________________________________________________________  */

/* pour "pousser" si presence de float */
.clear {
	clear: both;
	line-height: 1px;
	font-size: 0;
}

.float_left {float: left;}/* Flottant à gauche */

