/* Start of CMSMS style sheet 'Navigation: CSSMenu - Horizontal' */
/* Horizontal menu for the CMS CSS Menu Module */
/* by Alexander Endresen */

#horizontal_menu {
   margin-left: 0px;
   margin-right: 0px;
}

/* The wrapper clears the floating elements of the menu */

/* Fix for Opera 8 */
.clearb { clear: both; }
#menuwrapper-h { 
   /* Fix for Opera 8 */ 
   /*   overflow: hidden;  */ 
   background-color: #CCCCCC;
/*   border-bottom: 1px solid #C0C0C0; */
   border-bottom: 1px solid #003366;
   width: 100%;
}

/* Set the width of the menu elements at second level. Leaving first level flexible. */
#primary-nav-h li li { 
   width: 175px;
   z-index: 10;
}


/* Unless you know what you do, do not touch this */ 
#primary-nav-h, #primary-nav-h ul { 
   list-style: none; 
   margin: 0px; 
   padding: 0px; 
   z-index: 10;
}
#primary-nav-h ul { 
   position: absolute; 
   top: auto; 
   display: none; 
   z-index: 10;
}
#primary-nav-h ul ul { 
   margin-top: 1px;
   margin-left: -1px;
   left: 100%; 
   top: 0px; 
   z-index: 10;
}
	
#primary-nav-h li { 
   margin-left: -1px;
   float: left; 
   z-index: 10;
}
#primary-nav-h li li { 
   margin-left: 0px;
   margin-top: -1px;
   float: none; 
   position: relative; 
   z-index: 10;
}

/* Styling the basic apperance of the menu elements */
#primary-nav-h a { 
   display: block; 
   margin: 0px; 
   padding: 3px 5px 3px 5px; 
   text-decoration: none; 
   color: #003366;
   z-index: 10;
}
#primary-nav-h li a { 
   border-right: 1px solid #003366;
   border-left: 1px solid #003366;
   z-index: 10;
}
#primary-nav-h li li a { 
   border: 1px solid #003366;
   z-index: 10;
}	
#primary-nav-h li, #primary-nav-h li.menuparent { 
   background-color: #CCCCCC; 
   z-index: 10;
}

/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */

#primary-nav-h li.menuactive { 
   background-color: #CCCC00; 
   z-index: 10;
}


/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
#primary-nav-h ul li.menuparent, 
#primary-nav-h ul li.menuparent:hover, 
#primary-nav-h ul li.menuparenth { 
/* arrow for menuparents */
   background-image: url(images/cms/arrow.gif); 
   background-position: center right; 
   background-repeat: no-repeat; 
   z-index: 10;
}


/* Styling the apperance of menu items on hover */

#primary-nav-h li:hover, 
#primary-nav-h li.menuh, 
#primary-nav-h li.menuparenth, 
#primary-nav-h li.menuactiveh { 
   background-color: #CCCC00; 
   background-image: url(images/cms/arrow.gif); 
   background-position: center right; 
   background-repeat: no-repeat;
   z-index: 10;
}


/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

/* 
just add 
#primary-nav-h li:hover ul ul ul, 
#primary-nav-h li.menuparenth ul ul ul,
for fourth level 
*/
#primary-nav-h ul, 
#primary-nav-h li:hover ul, 
#primary-nav-h li:hover ul ul,
#primary-nav-h li:hover ul ul ul, 
#primary-nav-h li:hover ul ul ul ul,
#primary-nav-h li.menuparenth ul, 
#primary-nav-h li.menuparenth ul ul,
#primary-nav-h li.menuparenth ul ul ul,
#primary-nav-h li.menuparenth ul ul ul ul { 
   display: none; 
   z-index: 10;
}

/* add 
#primary-nav-h ul ul ul li:hover ul, 
#primary-nav-h ul ul ul li.menuparenth ul,
for fourth level
*/
#primary-nav-h li:hover ul, 
#primary-nav-h ul li:hover ul, 
#primary-nav-h ul ul li:hover ul, 
#primary-nav-h li.menuparenth ul, 
#primary-nav-h ul li.menuparenth ul, 
#primary-nav-h ul ul li.menuparenth ul { 
   display: block; 
   z-index: 10;
}


/* IE Hacks */
#primary-nav-h li li { 
   float: left; 
   clear: both; 
   z-index: 10;
}
#primary-nav-h li li a { 
   height: 1%; 
   z-index: 10;
}
/* End of 'Navigation: CSSMenu - Horizontal' */

