When you apply z-index
to the menu items, items become positioned in relation to the menu itself, not in relation to the overall layout. You need to position an item that is on the same or higher level in DOM hierarchy as the slider. I would suggest #top
:
#top {
position: relative;
z-index: 2;
}