/* Start of CMSMS style sheet 'MENU: boven' */
/* Horizontal menu for the CMS CSS Menu Module */
/* by Alexander Endresen */

#menu_hor{
   margin-left: 1px;
   margin-right: 1px;
}

div#menu_hor a{
   padding: 1.2em 1em 0.3em 2.7em; /* padding inside the list item box */
   margin: 0; /* margin outside each list item box */
   text-decoration: none; /* no underline for links */
   background: url(http://www.nextnext.nl/cms/uploads/images/box.jpg) no-repeat 0.5em center;
   display: block; /* IE has problems with this, fixed above */
}

/* The wrapper clears the floating elements of the menu */

/* Fix for Opera 8 */
.clearb { clear: both; }
#menuwrapper { 
   /* Fix for Opera 8 */ 
   /*   overflow: hidden;  */ 
   background-color: #fff;
   border-bottom: 1px solid #71B5EA;
   width: 100%;
   margin-bottom: 15px;
}

/* Set the width of the menu elements at second level. Leaving first level flexible. */
#primary-nav li li { 
   width: 200px; 
}

#primary-nav li li a{ 
   background: none;
   padding: 0.5em 1em 0.6em 1.7em;
   border-bottom: 1px #71B5EA solid;
   border-right: 1px #71B5EA solid;
   border-left: 1px #71B5EA solid;
}

#primary-nav li li a:hover{ 
   background: none;
   padding: 0.5em 1em 0.6em 1.7em;
}

/* Unless you know what you do, do not touch this */ 
#primary-nav, #primary-nav ul { 
   list-style: none; 
   margin: 0px 0px 1px 5px;
   padding: 0px; 
}
#primary-nav ul { 
   position: absolute; 
   top: auto; 
   display: none; 
}
#primary-nav ul ul { 
   margin: 0px;
   margin-left: -1px;
   left: 100%; 
   top: 0px; 
}
	
#primary-nav li { 
   margin-left: -1px;
   float: left; 
}
#primary-nav li li { 
   margin-left: 0px;
   margin-top: 0px;
   float: none; 
   position: relative; 
}

/* Styling the basic apperance of the menu elements */
#primary-nav a { 
   display: block; 
   margin: 0px; 
   padding: 5px 10px; 
   text-decoration: none; 
   color: #000;
}

#primary-nav li, #primary-nav li.menuparent { 
   background-color: #fff; 
}

/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */

#primary-nav li.menuactive li.menuactive a { 
   text-decoration:underline;
   font-weight:bold;
}


#primary-nav li.menuactive a { 
   background: url(http://www.nextnext.nl/cms/uploads/images/x.jpg) no-repeat 0.5em center;
}

#primary-nav li li a{
  background: none !important;
}

#primary-nav li.menuactive ul a.menuparent{
   background: none;
}

/* Styling the appearance of menu items on hover */

#primary-nav li li:hover, 
#primary-nav li li.menuh, 
#primary-nav li li.menuparenth, 
#primary-nav li li.menuactiveh { 
   text-decoration:underline;
}


/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

/* 
just add 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul ul ul,
for fourth level 
*/
#primary-nav ul, 
#primary-nav li:hover ul, 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul, 
#primary-nav li.menuparenth ul ul { 
   display: none; 
}

/* add 
#primary-nav ul ul ul li:hover ul, 
#primary-nav ul ul ul li.menuparenth ul,
for fourth level
*/
#primary-nav li:hover ul, 
#primary-nav ul li:hover ul, 
#primary-nav ul ul li:hover ul, 
#primary-nav li.menuparenth ul, 
#primary-nav ul li.menuparenth ul, 
#primary-nav ul ul li.menuparenth ul { 
   background-color:#fef;
   display: block; 
}

/* IE Hacks */
#primary-nav li li { 
   float: left; 
   clear: both; 
}
#primary-nav li li a { 
   height: 1%; 
}
DIV.spacer{
   height:1px;
}
/* End of 'MENU: boven' */

