

/* Gestion des modules Menu HEADER et Menu FOOTER : 
- Créer un nouveau modules de type "menu"
- Position du module "menu", ou footer
- Suffixe de classe CSS : _menu ou _arbo
*/



/****************** ____----- MENU HEADER : MODIFICATION STYLE DES SOUS MENU -----____ ******************/


/* Les sous-menu prennent en ordre automatiquement les styles définis dans le site de démonstration soit :
- Style 1 (MAVILLE) : Background vert foncé avec image imeuble.
- Style 2 (CADRE DE VIE) : Background rose pale avec image Marianne.
- Style 3 (A TOUT AGE) : Background Bleu avec image homme.
- Style 4 (CULTURE) : Background Oange avec image Musique.
- Style 5 (PATRIMOINE) : Background Gris avec image monument.
- Style 6 (SPORT) : Background Orange foncé avec image joueur de handball. 
- Style 7 (TOURISME) : Background vert claire avec image palmier.

Pour modifier l'ordre des styles des sous-menus, vous avez deux possibiit�s :

- Dans la partie " A. CHOIX PAR ENFANT li + 1 " (ACTIF PAR DEFAULT) changer le numéro entre Parenthèse par l'ordre de l'onglet souhaité 
(ne pas oublier d'attribuer un numéro different à chaques enfants)

- Dans la partie " B. CHOIX PAS ITEMS ID " vous pouvez remplcer l'identifent par celui attribué à votre onglet. 
Pour trouver l'iD de votre onglet, allez dans l'administration de joomla -> "Menus" -> "votre menu" -> récupérer l'id affiché dans la colonne de droite de la liste des onglets. 

NOTE IMPORTANT : n'oubliez pas de mettre en commantaire le choix (A. ou B.) que vous ne souhaitez pas utiliser. Par défault, le choix A. est actif. 
*/


/* A. CHOIX PAR ENFANT li + 1 */

#nav ul li:nth-child(1):hover {background: #17A17F; }
#nav ul li:nth-child(1) ul {background: #17A17F url('../images/menu_style1.png') no-repeat 0 100%; }


#nav ul li:nth-child(2):hover{background: #F26D7D;}
#nav ul li:nth-child(2) ul {background: #F26D7D url('../images/menu_style2.png') no-repeat 0 100%;}


#nav ul li:nth-child(3):hover {background: #00B8CE;}
#nav ul li:nth-child(3) ul {background: #00B8CE url('../images/menu_style3.png') no-repeat 0 100%;}


#nav ul li:nth-child(4):hover {background: #EB9C47;}
#nav ul li:nth-child(4) ul {background: #EB9C47 url('../images/menu_style4.png') no-repeat 0 100%;}


#nav ul li:nth-child(5):hover {background: #7F796B;}
#nav ul li:nth-child(5) ul {background:#7F796B url('../images/menu_style5.png') no-repeat 0 100%;}


#nav ul li:nth-child(6):hover {background: #F1592A;}
#nav ul li:nth-child(6) ul {background:#F1592A url('../images/menu_style6.png') no-repeat 0 100%;}


#nav ul li:nth-child(7):hover {background: #93BF53;}
#nav ul li:nth-child(7) ul {background: #93BF53 url('../images/menu_style7.png') no-repeat 0 100%;}

/* B. CHOIX PAR ITEMS */
 /*
 
#nav ul li.item-125 span:hover, #nav ul li.item-125 a:hover {background: #17A17F; }
#nav ul li.item-125 ul {background: #17A17F url('../images/menu_style1.png') no-repeat 0 100%; }


#nav ul li.item-139 span:hover, #nav ul li.item-139 a:hover {background: #F26D7D;}
#nav ul li.item-139 ul {background: #F26D7D url('../images/menu_style2.png') no-repeat 0 100%;}


#nav ul li.item-150 span:hover, #nav ul li.item-150 a:hover {background: #00B8CE;}
#nav ul li.item-150 ul {background: #00B8CE url('../images/menu_style3.png') no-repeat 0 100%;}


#nav ul li.item-163 span:hover, #nav ul li.item-163 a:hover {background: #EB9C47;}
#nav ul li.item-163 ul {background: #EB9C47 url('../images/menu_style4.png') no-repeat 0 100%;}


#nav ul li.item-174 span:hover, #nav ul li.item-174 a:hover {background: #7F796B;}
#nav ul li.item-174 ul {background:#7F796B url('../images/menu_style5.png') no-repeat 0 100%;}


#nav ul li.item-182 span:hover, #nav ul li.item-182 a:hover {background: #F1592A;}
#nav ul li.item-182 ul {background:#F1592A url('../images/menu_style6.png') no-repeat 0 100%;}


#nav ul li.item-193 span:hover, #nav ul li.item-193 a:hover {background: #93BF53;}
#nav ul li.item-193 ul {background: #93BF53 url('../images/menu_style7.png') no-repeat 0 100%;}

*/




/****************** ____----- FIN DE MODIFICATION STYLE DES SOUS MENU -----____ ******************/


@font-face {
  font-family: "opensans-condbold";
  src: url('../fonts/opensans-condbold-webfont.eot');
  src: url('../fonts/opensans-condbold-webfont.woff') format('woff'),
     url('../fonts/opensans-condbold-webfont.ttf') format('truetype'),
     url('../fonts/opensans-conbold-webfont.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "opensans-regular";
  src: url('../fonts/opensans-regular-webfont.eot');
  src: url('../fonts/opensans-regular-webfont.woff') format('woff'),
     url('../fonts/opensans-regular-webfont.ttf') format('truetype'),
     url('../fonts/opensans-regular-webfont.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}





/******* --------  MENU JOOMLA HEADER  -------- *******/
#menubg {
	background: none repeat scroll 0 0 #3A434A;
    height: 50px;
	font-size: 12px;
}

#menubg #nav {
	font-size: 12px;
	max-width: 990px;
	margin: 0 auto;
	position: relative;
}


/* --- MENU GENERAL --- */


#nav ul{ padding: 0; margin: 0; list-style: none; text-align: center;
	display: table;
	width: 100%;
 }
#nav li{
	display: table-cell;
}




/* --- NIVEAU 1 --- */


#nav ul li span:first-child, #nav ul li a{
 	color: #FFFFFF;
  font-family: 'opensans-condbold';
  font-size: 18px;
  font-weight: lighter;
  letter-spacing: 0.5px;
  line-height: 50px;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}


#nav li:hover ul, #nav li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul {
	left: 0;
	right: 0;
	min-width: 0;
	width: 80%;
	min-height: 200px;
}

#nav li ul{ position: absolute; width: 100px; left: -999em; }



/*--- NIVEAU 2 ---*/
		/* SEPARATEURS / LIENS / AFFICHAGE BLOG ...*/
#nav ul.mod-menu li ul, #nav ul.mod-menu li:hover ul ul, #nav ul.mod-menu li:hover ul ul ul {
  z-index: 999;
 }
 
#nav ul li ul{ padding: 0; margin: 0; list-style: none; text-align: center; }

#nav ul li ul li{ display: inline; }


#nav ul li ul span:first-child, #nav ul li ul a{ 
  font-family: 'opensans-regular';
  font-size: 18px;
  font-weight: lighter;
  letter-spacing: 0.5px;
  line-height:10px;
  width: auto;
  display: inline-block;
  text-decoration: none;
  height: 10px;
	padding: 10px 0;
	text-transform: none;
	display:block!important;
	margin-bottom: 10px;

}



#nav ul li ul{
	display: block;
	float: left;
	margin-right: 30px;
	text-align: left;
	padding-left: 200px;
	height: auto;
	min-height: 10px!important;
	margin-bottom: 25px!important;
	padding-top: 30px;
}



#nav ul li ul li a:hover{
	color: #3A434A;
	transition: 0.4s;
	background: 0 none!important;

}
#nav ul li ul li:hover{
	background: 0 none!important;
}


/*--- NIVEAU 3 ---*/
		/* LIENS */

#nav ul li ul li ul{
	background: 0 none!important;
}



#nav ul li ul li.parent{
	display: block;
	float: left;
	width: 250px;
	height: auto;
	background: 0 none!important;
	margin-bottom: 50px;
}

#nav ul li ul li ul {
	display: block;
	width: 250px!important;
	float: none;
	position: inherit;
	margin: 0;
	padding: 0;
}
#nav ul li ul li ul li{
	width: 250px;
	list-style-image: url('../images/puce.png');
}
#nav li li li a, #nav li li li a:hover{
	font-size: 13px!important;
	background: url('../images/puce.png') no-repeat 0 0!important;
	padding: 0 0 0 20px;
}







/******* --------  MENU JOOMLA FOOTER  -------- *******/
/* Le menu footer affiche seulement les item de niveau 1 et 2 */


#footer .mod-menu li{
  list-style-type: none;
  line-height: 25px;
}

#footer .mod_arbo .mod-menu li.deeper.parent{
  float:left;
  margin-right:45px;
}

#footer .mod_arbo .mod-menu li ul li a{
  color:#a0a0a0;
  text-decoration: none;
}

#footer .mod_arbo ul li ul li a:hover, #footer .moduletable_copyright a:hover, #footersocial .moduletable_contact a:hover{
  color:#17a17f;
}

#footer .mod_arbo .mod-menu li.deeper.parent:last-child{
  margin-right:0;
}

#footer .mod_arbo .mod-menu li {
  color:#fff;
  font-family: 'opensans-condbold', Arial;
  font-weight: lighter !important;
  font-size:18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
#footer .mod_arbo .mod-menu li a{color: #ffffff;}

#footer .mod_arbo .mod-menu li ul li {
  color:#A0A0A0;
  font-family: 'opensans-regular', Arial;
  font-weight: lighter !important;
  font-size:12px;
  text-transform: none;
  letter-spacing: 0.5px;
}




