/* Start of CMSMS style sheet 'Main Menu' */
/* ----------- Color Pallet -----------

#000000 - Black
#333333 - Grey 3
#666666 - Grey 6
#feffe8 - Light Khaki
#988562 - Hot Cocoa
#604312 - Espresso
#cbd6c3 - Sage
#006666 - Turquoise

*/

.menu {
	background: #604312 url('images/menu-bg.gif') repeat-x;
	border-top: 1px solid #604312;
	border-bottom: 1px solid #feffe8;
	border-right: 1px solid #feffe8;
	height: 33px;
	margin-left: 1px;
}

/* Horizontal menu for the CMS CSS Menu Module */
/* by Alexander Endresen */

#menu_vert {
	margin-left: 1px;
	margin-right: 1px;
}

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

/* Fix for Opera 8 */
.clearb {
	clear: both;
}

#menuwrapper {
	/* Fix for Opera 8 */ 
   	/* overflow: hidden; */ 
   width: 100%;
}

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

/* Unless you know what you do, do not touch this */ 
#primary-nav, #primary-nav ul { 
   list-style: none; 
   margin: 0px; 
   padding: 0px; 
}

#primary-nav ul { 
   position: absolute; 
   top: auto; 
   display: none; 
   margin-top:-1px;
   margin-left:0px;
   -webkit-box-shadow:2px 2px 1px #000000;
   background:#604310 url('images/nav-bg.jpg') repeat-x 0px 0px;
}

/* Menu Drop Shadows */ 

#primary-nav ul div.top-shadow {
	/*background: url(images/menu-shadow-top.png) top left no-repeat;
	width: 170px;*/
	border-top:1px #FFFFFF solid;
	/*clear: both;
	margin-left:2px;*/
}

/*#primary-nav ul div.middle-shadow {
	background: url(images/menu-shadow-middle.png) top left repeat-y;
	width: 170px;
}

#primary-nav ul div.bottom-shadow {
	background: url(images/menu-shadow-bottom.png) bottom left no-repeat;
	width: 170px;
	clear: both;
	height: 8px;
}*/

#primary-nav ul ul { 
   margin-top: -1px;
   margin-left: 0px;
   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;
   border:1px #feffe8 solid;
   border-top:none;
}

/* Styling the basic apperance of the menu elements */
#primary-nav a {    
   	height: 27px;
	display: block;
	margin: 0px;
	padding: 7px 13px 0px;
	text-decoration: none;
	color: #feffe8;
	font-family: "trebuchet ms", arial, sans-serif;
	font-size: 13px;
	text-transform: uppercase;
}

#primary-nav li a { 
	border-left: 1px solid #feffe8;
}

#primary-nav li li a { 
   	border: 0px;
   	color: #feffe8;
	font-size: 13px;
	padding: 5px;
	text-transform: none;
}	

#primary-nav li, #primary-nav li.menuparent { 
   background-color: none; 
}

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

#primary-nav li.menuactive { 
}


/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
#primary-nav ul li.menuparent, 
#primary-nav ul li.menuparent:hover, 
#primary-nav ul li.menuparenth { 
/* arrow for menuparents */
}


/* Styling the apperance of menu items on hover 

#primary-nav li:hover, 
#primary-nav li.menuh, 
#primary-nav li.menuparenth, 
#primary-nav li.menuactiveh { 
	background: #3aa8b5 /*url(images/menu-bg-over.gif) bottom left repeat-x;
}*/

#primary-nav li a:hover {
	background:#3fb5c4;
}


/* 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 { 
   display: block; 
}


/* Hacks */
#primary-nav li li { 
   float: left; 
   clear: both; 
}
#primary-nav li li a { 
   height: 1%; 
}

.cf:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
	} 

<!--[if IE]> 
  .cf {
	zoom: 1;     /* triggers hasLayout */
	}  /* Only IE can see inside the conditional comment
		and read this CSS rule. Don't ever use a normal HTML
		comment inside the CC or it will close prematurely. */ 
<![endif]-->
/* End of 'Main Menu' */

