/* Start of CMSMS style sheet 'menu' */
/* Vertical menu for the CMS CSS Menu Module */
/* by Alexander Endresen */


/* The wrapper determines the width of the menu elements */
#menuwrapper { 
   width: 100%; 
}


/* Unless you know what you do, do not touch this */ 
#primary-nav, #primary-nav ul { 
   list-style: none; 
   margin: 0px; 
   padding: 0px; 
   width: 100%; 
   margin-left: 0px;
text-align:right;
}
#primary-nav ul { 
   position: absolute; 
   top: 0; 
   left: 100%; 
   display: none; 
}
#primary-nav li { 
   margin-bottom: -1px; 
   position: relative; 
}


/* Styling the basic apperance of the menu elements */
#primary-nav a { 
  font-weight:bold;
   margin: 0px; 
   padding: 0px 30px;
   font-family: Arial, Helvetica, sans-serif;
   color: #ffffff;
      display: block;
   font-weight:bold;
   margin: 0px; 
   font-size:13px;
  text-decoration: none; 
   background: transparent; 
line-height:40px;

   min-height:1em; /* Fixes IE7 whitespace bug*/ 


   
}
#primary-nav li, #primary-nav li.menuparent {
		background-repeat:no-repeat;
	min-height:1em; /* Fixes IE7 bug*/
	
}


/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */
#primary-nav li.menuactive { 
  color:#c0d59b;
	background-repeat:no-repeat;
 background-color:#0299a3;     
   
}

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

}


/* 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-color:#0299a3;     
  color: #c0d59b; 
}


/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */
#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 { 
 background-color:#007981;   
   display: none; 
}
#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; 
width:140px;
 background-color:#007981;     
}


/* IE Hack, will cause the css to not validate */

#primary-nav li, #primary-nav li.menuparenth { _float: left; _height: 1%; }
#primary-nav li a { _height: 1%; }


/* section header */
#primary-nav li.sectionheader {
   border-left: 1px solid #006699; 
   border-top: 1px solid #006699; 
   font-size: 130%;
   font-weight: bold;
   padding: 1.5em 0 0.8em 0.5em;
   background-color: #fff;
   margin: 0;
   width: 100%;
   line-height:15px;
}


/* separator */
#primary-nav li hr.separator {
   display:block;
   height: 0.5em;
   color: #abb0b6;
   background-color: #abb0b6;
   width: 100%;
   border:0;
   margin:0;
   padding:0;   
   border-top: 1px solid #006699;
   border-right: 1px solid #006699;
      line-height:15px;

}




/********************
Footer Links
*********************/

/* hack for Internet Explorer */
* html div#menu_horiz {
   /* hide ie/mac \*/
   height: 1%;
   /* end hide */
}

/* 
background-color for the entire menu row, 
covering 100% of the width and text center-aligned 
*/
div#menu_horiz {
color:#000000;
  /* background color for the entire menu row */
   width: 100%;
   margin: 0;
   
}

/* 
the menu ul box has top and left border, 
right border is provided by the li elements 
*/
div#menu_horiz ul {
   margin: 0;
   padding: 0;
   float: left;
      line-height:12px;


}


/* menu list items */
div#menu_horiz li {
   float: left; /* makes the list horizontal */
   list-style: none; /* hides the list bullet */ 
   margin: 0 ;
      line-height:12px;

}


/* the links, that is each list item */
div#menu_horiz a {

line-height:12px;
	text-decoration: none; /* no underline for links */
	color: #ffffff;
	display: block; /* IE has problems with this, fixed above */
	font-size: 11px;
	background-position: center;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #666;
	margin-top: 0;
	margin-right: 3px;
	margin-bottom: 0;
	margin-left: 0;
	padding-right: 3px;
}


/* hover state for links */
div#menu_horiz li a:hover {
line-height:12px;
	color: #000000;
	text-decoration: underline;
}
div#menu_horiz a.activeparent:hover {
line-height:12px;
   color: #000000;
}

/* active parent, that is the first-level parent of a child page that is the current page */
div#menu_horiz li.activeparent a {
line-height:12px;
	text-decoration: none; /* no underline for links */
	color: #000000;
	display: block; /* IE has problems with this, fixed above */
	font-size: 11px;
	background-position: center;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #666;
	margin-top: 0;
	margin-right: 3;
	margin-bottom: 0;
	margin-left: 0;
	padding-right: 3em;



}

div#menu_horiz h3 {
	text-decoration: none; /* no underline for links */
	color: #000000;
	display: block; /* IE has problems with this, fixed above */
	font-size: 11px;
	background-position: center;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #666;
	margin-top: 0;
	margin-right: 3px;
	margin-bottom: 0;
	margin-left: 0;
	padding-right: 3px; /* instead of the normal font size for <h3> */
	font-weight: normal;
}

/* Footer */
/* End of 'menu' */

