/* partie positionnement et déco */
#menu {
	position: fixed;
	left: 500px;
    top: 50px;}
#menu a { 
	display:block; 
	color: #222; 
	text-decoration:none;  text-align: center; color: #ffffff; height: 1,5em; /* couleur texte du menu hor */
}
#menu > li,
#menu > li li {
	position: relative;
	display:inline-block;
	width: 120px;   /* largeur menus*/
	padding: 2px 10px;
	background-color: rgba(0, 0, 0, 0.1); /* couleur de fond du menu ici noir transparent*/
	/* background-image: linear-gradient(#aaa, #888 50%, #777 50%,#999); */
}
#menu > li li { background: transparent none; }
#menu > li li a { color: red; }
#menu > li li:hover { 	background-color: rgba(100, 0, 255, 0.2); /* couleur de fond du menu ici blanc transparent au survol*/ }
#menu > li:first-child {
	border-right: 1px solid #777;
	/* border-radius: 8px 0 0 8px; pour menus gauche et droite arrondis*/
}
#menu > li + li {
	border-left: 1px solid #aaa;
	border-right: 1px solid #777;
}
#menu > li:last-child {
	border-right: 0;
	border-left: 1px solid #aaa;
	/* border-radius: 0 8px 8px 0 ; pour menus gauche et droite arrondis */
}
#menu > li:hover {
	background-color: rgba(255, 0, 255, 0.1); /* couleur de fond du menu ici blanc transparent au survol*/
	/* background-image: linear-gradient(#ccc, #aaa 50%, #999 50%,#bbb); */
}
/* (presque) fin de la partie positionnement/déco */
/* dans cette déclaration, on fixe le max-height */
#menu ul { /* sous-menus*/
	position: absolute;
	top: 2em; left: 0;
	max-height:0em;	
	margin: 0; padding: 0;
	/* background-color: #ddd; */
	background-color: rgba(255, 255, 255, 0); /* couleur de fond des sous-menus */
	/* background-image: linear-gradient(#fff,#ddd); */
	overflow: hidden;
	transition: 1s max-height 0.3s;
	border-radius: 0 0 8px 8px;
}
/* ici on change la valeur de max-height au :hover */
#menu > li:hover ul {
	/* à adapter, le minimum est le meilleur mais voyez large 😉 */
	background-color: rgba(0, 0, 255, 0,1); max-height: 13em;
}