.main-nav ul li { position: relative; z-index: 5; } #desktopNav .folder, .secondary-nav .folder { z-index: 50; position: relative; }