#menu-demo2, #menu-demo2 ul{
padding:0;
margin:0;
list-style:none;
text-align:center;
}
#menu-demo2 li{
display:inline-block;
position:relative;
border-radius:0 0 0 0;
}
#menu-demo2 ul li{
display:inherit;
border-radius:0;
}
#menu-demo2 ul li:hover{
border-radius:0;
}
#menu-demo2 ul li:last-child{
border-radius:0 0 0 0;
}
#menu-demo2 ul{
position:absolute;
z-index: 1000;
max-height:0;
left: 0;
right: 0;
overflow:hidden;

}
#menu-demo2 li:hover ul{
max-height:15em;
}
/* background des liens menus */
#menu-demo2 li:first-child{
background-color: #1b96fe;
}
#menu-demo2 li:nth-child(2){
background-color: #1b96fe;
}
#menu-demo2 li:nth-child(3){
background-color: #1b96fe;
}
#menu-demo2 li:last-child{
background-color: #1b96fe;
}
/* background des liens sous menus */
#menu-demo2 li:first-child li{
background:#1b96fe;
}
#menu-demo2 li:nth-child(2) li{
background:#1b96fe;
}
#menu-demo2 li:nth-child(3) li{
background:#1b96fe;
}
#menu-demo2 li:last-child li{
background:#1b96fe;
}
/* background des liens menus et sous menus au survol */
#menu-demo2 li:first-child:hover, #menu-demo2 li:first-child li:hover{
background:#729EBF;
}
#menu-demo2 li:nth-child(2):hover, #menu-demo2 li:nth-child(2) li:hover{
background:#729EBF;
}
#menu-demo2 li:nth-child(3):hover, #menu-demo2 li:nth-child(3) li:hover{
background:#729EBF;
}
#menu-demo2 li:last-child:hover, #menu-demo2 li:last-child li:hover{
background:#729EBF;
}
/* les a href */
#menu-demo2 a{
text-decoration:none;
display:block;
padding:8px 30px;
color:#fff;
font-family:arial;
font-size:16px;
}
#menu-demo2 ul a{
padding:8px 0;
}
#menu-demo2 li:hover li a{
color:#fff;
text-transform:inherit;
}
#menu-demo2 li:hover a, #menu-demo2 li li:hover a{
color:#000;
}