

/* 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éfinits 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écuperer 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: #0066af; }
#nav ul li:nth-child(1) ul {background: #0066af url('../images/menu_style1.png') no-repeat 0 100%; top: 50px;}


#nav ul li:nth-child(2):hover, .item-535.hover{background:#0066af;}
#nav ul li:nth-child(2) ul,#nav ul li.item-535.hover ul {background: #0066af url('../images/menu/bg-menu-cadre-de-vie.png') no-repeat 100% 100%;}


#nav ul li:nth-child(3):hover , .item-536.hover{background:#74a247;}
#nav ul li:nth-child(3) ul ,.item-536.hover ul{background: #74a247 url('../images/menu/bg-menu-decouverte.png') no-repeat 100% 100%;}


#nav ul li:nth-child(4):hover,.item-537.hover {background:#f17d00;}
#nav ul li:nth-child(4) ul , .item-537.hover ul{background: #f17d00 url('../images/menu/bg-menu-services.png') no-repeat 100% 100%;}


#nav ul li:nth-child(5):hover, .item-538.hover {background:#f7b229;}
#nav ul li:nth-child(5) ul, .item-538.hover {background:#f7b229 url('../images/menu/bg-menu-politique.png') no-repeat 100% 100%;}


#nav ul li:nth-child(6):hover,.item-539.hover {background: #ba1704;}
#nav ul li:nth-child(6) ul , .item-539.hover ul{background:#ba1704 url('../images/menu/bg-menu-acces-direct.png') no-repeat 100% 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 100% 100%;}

#nav ul li a.notvisible ,.item-588 ul{display:none !important;}

/* B. CHOIX PAS 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%;}

*/

/*#nav ul li ul li:nth-child(5) {
  clear:left;
}*/

ul.nav a.link_homepage {
  position: relative;
  top:7px;
}


/****************** ____----- 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 {
  height: 50px;
  font-size: 12px;
  background-color: #000;  
  top: 0;
  margin: 0;
  padding: 0;  
}

#menubg #nav {
	font-size: 12px;
	max-width: 990px;
	margin: 0 auto;
	position: relative;
  top:0;
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0.8);  
}


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


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




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


#nav span.separator, #nav ul li a{
  color: #FFFFFF;
  font-size: 19px;
  font-family: GloberBold, Arial, Helvetica, sans-serif;
  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.hover ul, #nav li li.hover ul,
#nav li.sfhover ul, #nav li li.sfhover ul {
	min-width: 0;
	min-height: 200px;
	visibility: visible;
    opacity: 1;
	display:block;
}

#nav li ul{ 
	position: absolute;
	width: 100px;
	/*left: -999em;*/
	left: 0;
	right: 0;
	visibility: hidden;
    opacity: 0;
    -webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
	width: 95%;
}

#nav ul li.item-535 > ul.nav-child,
#nav ul li.item-536 > ul.nav-child,
#nav ul li.item-537 > ul.nav-child,
#nav ul li.item-538 > ul.nav-child,
#nav ul li.item-539 > ul.nav-child{
	overflow: auto;
	overflow-x: hidden;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	#nav ul li.item-535 > ul.nav-child{
		padding-bottom: 50px !important;
		max-height: calc(100vh - 130px) !important;
	}
}

/*--- NIVEAU 2 ---*/
		/* SEPARATEURS / LIENS / AFFICHAGE BLOG ...*/
#nav ul.menu li ul, #nav ul.menu li:hover ul ul, #nav ul.menu li:hover ul ul ul,
#nav ul.menu li.hover ul ul, #nav ul.menu li.hover ul ul ul {
	z-index: 99999;
}
 
#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 a{ 
	font-size: 16px;
	font-weight: lighter;
	letter-spacing: 0.5px;
	line-height:17px;
	width: auto;
	display: inline-block;
	text-decoration: none;
	padding: 10px 0;
	text-transform: uppercase;
	display:block!important;
	margin-bottom: 16px;
}
#nav ul li ul a.nolink{
	color: #FFF !important;
	cursor: text !important;
}	

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


#nav ul li ul .item-1089 a{ 
	margin-bottom: 0px !important;
}
#nav ul li ul li a:hover{
	color: #BFBFBF;
	transition: 0.4s;
	background: 0 none!important;

}
#nav ul li ul li:hover{
	background: 0 none!important;
}
#nav ul li.item-538 ul li a:hover{
	color:#555555;
}

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

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

#nav ul li.item-535>ul.nav-child, #nav ul li.item-536>ul.nav-child, #nav ul li.item-537>ul.nav-child, #nav ul li.item-538>ul.nav-child, #nav ul li.item-539>ul.nav-child {
	padding-bottom:25px;
}


#nav ul li ul li{
	display: block;
	float: left;
	width: 24%;
	height: auto;
	background: 0 none!important;
	margin-bottom: 5px;
	margin-right: 1%;
}

#nav ul li.item-539>ul.nav-child li{
	min-height: 55px;
}
#nav ul li.item-539>ul.nav-child li a{
	margin-bottom: 10px;
	padding: 10px 0 0;
}


#nav ul .item-572{
	clear:both;
}
#nav ul li ul li.item-725{
	width:21%;
	float:none;
}
#nav ul li ul li.item-725 a{
	margin-bottom:0;
}
#nav ul li ul li.item-580, #nav ul li ul li.item-593{
	width:21%;
}
#nav ul li ul li.item-542 , #nav ul li ul li.item-579, #nav ul li ul li.item-580 {
	top: -60px;
	position: relative;
}
#nav ul li ul li.item-576, #nav ul li ul li.item-575, #nav ul li ul li.item-577, #nav ul li ul li.item-573/*, #nav ul li ul li.item-1084*/{
	width:25%;
}
#nav ul li ul li.item-575 a, #nav ul li ul li.item-576 a, 
#nav ul li ul li.item-577 a, #nav ul li ul li.item-573 a, #nav ul li ul li.item-1084 a{
	margin-bottom:0;
}
#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: 200px;
	word-wrap: break-word;
}
#nav ul li ul li.item-579 ul li{
	width: 179px;
}
#nav ul li ul li.item-587>a{
	width: 49%;
	margin-bottom: 0;
}
#nav ul li ul li.item-584>a{
	width: 90%;
}
#nav li li li a, #nav li li li a:hover{
  font-size: 14px!important;
  text-transform: none;
  font-family:opensans-regular, Arial, Helvetica, sans-serif;
  /* line-height: 29px; */
  padding: 0px;
  margin-bottom: 0px;
  height:auto;
  font-weight:normal !important;
}

@media only screen and (min-width: 768px) and (max-width: 960px) {
	#nav li li li a, #nav li li li a:hover{
		width: 170px !important;
	}
}

/*--- NIVEAU 4 ---*/
		/* LIENS */

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


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


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

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

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

#footer .moduletable_arbo ul li ul li a:hover, #footer .moduletable_copyright a:hover{
  color:#2DA5F6;
}

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

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

#footer .moduletable_arbo .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;
}

/*ul.nav-child li:nth-child(4) {
  clear: left;
  background-color: #000;
}*/


#menubg.menu_fixed{
	position: fixed;
    width: 100%;
    margin: 0 auto;
    z-index: 999999999;
    left: 0;
    right: 0;
	transition: 0.4s;
}
body.page-545 #menubg.menu_fixed{
	background: transparent;
	transition: 0s;
}

