﻿#menu-demo2, #menu-demo2 ul
{
	padding:0px; /* taille des marges interieures des menus et des sous menus */
	margin:0px; /* taille des marges exterieures des menus et des sous menus */
	list-style:none; /* retirer les puces des menus et des sous menus */
	text-align:center; /* alignement des menus et des sous menus */
}

#menu-demo2 li{
	display:inline-block;
	position:relative;
	border-radius:8px 8px 0px 0px; /* coins arrondis (ou pas) des menus */
}

#menu-demo2 ul li
{
	display:inherit;
	border-radius:0; /* coins arrondis (ou pas) des sous menus */
}

#menu-demo2 ul li:hover
{
	border-radius:0px 0px 0px 0px; /* coins arrondis (ou pas) des sous menus survolés */
}

#menu-demo2 ul
{
	position:absolute;
	z-index: 1000;
	max-height:0;
	left: 0;
	right: 0;
	overflow:hidden;
	-moz-transition: .8s all .3s; /* tps ouverture et fermeture des sous menus */
	-webkit-transition: .8s all .3s; /* tps ouverture et fermeture des sous menus */
	transition: .8s all .3s; /* tps ouverture et fermeture des sous menus */
}

#menu-demo2 li:hover ul
{
	max-height:15em; /* hauteur max autorisée de l'emplacement des sous menus */
}

/* background des liens menus */
#menu-demo2 li:first-child{
background-color: #F6AD1A;
background-image:-webkit-linear-gradient(top, #FFCC33 0%, #9F391A 100%);
background-image:linear-gradient(to bottom, #FFCC33 0%, #9F391A 100%);
}
#menu-demo2 li:nth-child(2){
background-color: #F6AD1A;
background-image:-webkit-linear-gradient(top, #FFCC33 0%, #9F391A 100%);
background-image:linear-gradient(to bottom, #FFCC33 0%, #9F391A 100%);
}
#menu-demo2 li:nth-child(3){
background-color: #F6AD1A;
background-image:-webkit-linear-gradient(top, #FFCC33 0%, #9F391A 100%);
background-image:linear-gradient(to bottom, #FFCC33 0%, #9F391A 100%);
}
#menu-demo2 li:nth-child(4){
background-color: #F6AD1A;
background-image:-webkit-linear-gradient(top, #FFCC33 0%, #9F391A 100%);
background-image:linear-gradient(to bottom, #FFCC33 0%, #9F391A 100%);
}
#menu-demo2 li:nth-child(5){
background-color: #F6AD1A;
background-image:-webkit-linear-gradient(top, #FFCC33 0%, #9F391A 100%);
background-image:linear-gradient(to bottom, #FFCC33 0%, #9F391A 100%);
}
#menu-demo2 li:last-child{
background-color: #F6AD1A;
background-image:-webkit-linear-gradient(top, #FFCC33 0%, #9F391A 100%);
background-image:linear-gradient(to bottom, #FFCC33 0%, #9F391A 100%);
}

/* background des sous menus */
#menu-demo2 li:first-child li
{
	background:#FFFF99;
}

#menu-demo2 li:nth-child(2) li
{
	background:#F6AD1A;
}
#menu-demo2 li:nth-child(3) li
{
	background:#F6AD1A;
}
#menu-demo2 li:nth-child(4) li
{
	background:#F6AD1A;
}
#menu-demo2 li:nth-child(5) li
{
	background:#F6AD1A;
}
#menu-demo2 li:last-child li
{
	background:#F6AD1A;
}

/* background des menus survolés */
#menu-demo2 li:first-child:hover, #menu-demo2 li:first-child li:hover
{
	background:#F6AD1A;
}

#menu-demo2 li:nth-child(2):hover, #menu-demo2 li:nth-child(2) li:hover
{
	background:#F6AD1A;
}

#menu-demo2 li:nth-child(3):hover, #menu-demo2 li:nth-child(3) li:hover
{
	background:#F6AD1A;
}

#menu-demo2 li:nth-child(4):hover, #menu-demo2 li:nth-child(4) li:hover
{
	background:#F6AD1A;
}

#menu-demo2 li:nth-child(5):hover, #menu-demo2 li:nth-child(5) li:hover
{
	background:#F6AD1A;
}

#menu-demo2 li:last-child:hover, #menu-demo2 li:last-child li:hover
{
	background:#F6AD1A;
}

/* les a href */
#menu-demo2 a{
text-decoration: none;
display:block;
padding:8px 0px;
color:#fff;
font-family: verdana;
font-size: 12px;
width:184px;
margin:1px;
}
#menu-demo2 ul a{
padding:8px 0;
color:#000;
}
#menu-demo2 li:hover li a{
color:#000;
text-transform:inherit;
}
#menu-demo2 li:hover a, #menu-demo2 li li:hover a{
color:#000;
}
