/* Start of CMSMS style sheet 'IM - Navigation: CSSMenu - Horizontal' */
/* by Alexander Endresen and mark and Nuno */
#menu_vert {
	margin: 0;
	padding: 0;
	background: url(uploads/infectious/bg_primarynav.gif) repeat-x left top;
}

.clearb {
/* needed for some browsers */
	clear: both;
}

#extlinks {
/* IE6 Hack */
	height: 1%;
	float: right;
	width: 200px;
	text-align: right;
	margin: 0;
	padding: 0;
}

#menuwrapper {
/* IE6 Hack */
	height: 1%;
	width: 700px;
	margin: 0;
	padding: 0;
}

ul#primary-nav, ul#primary-nav ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

ul#primary-nav {
/* pushes the menu div up to give room above for background color to show */
	padding-top: 0px;
/* keeps the first menu item off the left side */
	padding-left: 0px;
}

ul#primary-nav ul {
/* make the ul stay in place so when we hover it lets the drops go over the content below else it will push everything below out of the way */
	position: absolute;
/* top being the bottom of the li it comes out of */
	top: auto;
/* keeps it hidden till hover event */
	display: none;
/* same size but different color for each border */
	border-top: 1px solid #C8D3D7;
	border-right: 1px solid #dbbb0c;
	border-left: 1px solid #dbbb0c;
}

ul#primary-nav ul ul {
/* now we move the next level ul down from the top a little for distinction */
	margin-top: 1px;
/* pull it in on the left, helps us not lose the hover effect when going to next level */
	margin-left: -1px;
/* keeps the left side of this ul on the right side of the one it came out of */
	left: 100%;
/* sets the top of it inline with the li it came out of */
	top: 0px;
}

ul#primary-nav li {
	float: left;
/* no margin/padding keeps them next to each other, the padding will be in the "a" */
	margin: 0px;
	padding: 0px;
	background: url(uploads/infectious/pnav_divider.gif) no-repeat right 7px;
}

#primary-nav li li {
/* Set the width of the menu elements at second level. Leaving first level flexible. */
	width: 160px;
/* removes any left margin it may have picked up from the first li */
	margin-left: 0px;
/* keeps them tight to the one above, no missed hovers */
	margin-top: -1px;
/* removes the left float set in first li so these will stack from top down */
	float: none;
/* relative to the ul they are in */
	position: relative;
background: none;
}

/* set the "a" link look here */
ul#primary-nav li a {
	font-size: 1.1em;
	color: #fff;
	padding: 11px 15px 18px 15px;
	display: block;
	text-decoration: none;
}

ul#primary-nav li a:hover {
	background-color: transparent;
}

ul#primary-nav li li a:hover {
/* this is set to #000, black, below so hover will be white text */
	color: #333;
	background-color: #dbbb0c;
}

ul#primary-nav li a.menuactive {
	color: #e8c60c;
	background:  url(uploads/infectious/pnav_arrow.gif) no-repeat center bottom; 
}

ul#primary-nav li li a.menuactive {
	color: #000;
	background-image:  none;
	background-color: #dbbb0c;
}

ul#primary-nav li a.menuactive:hover {
	color: #fff;
}

ul#primary-nav li li a.menuactive:hover {
	color: #333;
}

#primary-nav li li a.menuparent span {
/* makes it hold a shape */
	display: block;
}

ul#primary-nav li ul a {
/* insures alignment */
	text-align: left;
	margin: 0px;
/* keeps it relative to it's container */
	position: relative;
/* less padding than first level no need for large links here */
	padding: 6px 3px 6px 15px;
/* if first level is set to bold this will reset this level */
	font-weight: normal;
/* first level is #FFF/white, we need black to contrast with light background */
	color: #454545;
	border-top: 0 none;
	border-right: 0 none;
	border-left: 0 none;
	border-bottom: 1px solid #dbbb0c;
background: none;
}

ul#primary-nav li ul {
	background: #e8c60c;
	margin: 0px;
	padding: 0px;
	position: absolute;
	width: auto;
	height: auto;
	display: none;
	position: absolute;
	z-index: 999;
	border-top: 1px solid #e8c60c;
	/*border-bottom: 1px solid #ded8c2;*/
/*Info: The opacity property is  CSS3, however, will be valid just in CSS 3.1) http://jigsaw.w3.org/css-validator2) More Options chose CSS3 3) is full validate;)*/
	opacity: 0.95;
/* CSS 3 */
}

ul#primary-nav li ul ul {
/*Info: The opacity property is  CSS3, however, will be valid just in CSS 3.1) http://jigsaw.w3.org/css-validator2) More Options chose CSS3 3) is full validate;)*/
	opacity: 95;
/* CSS 3 */
}

/* Styling the appearance of menu items on hover */
#primary-nav li a:hover,
#primary-nav li.menuh,
#primary-nav li.menuparenth,
#primary-nav li.menuactiveh {
/* set your image here 
	background:  url(uploads/infectious/pnav_arrow.gif) no-repeat center bottom;*/
	color: #e8c60c;
}

#primary-nav li li a:hover {
	background:  none;
}

/* The magic - set to work for up to a 3 level menu, but can be increased unlimited, for fourth level add
#primary-nav li:hover ul ul ul,
#primary-nav li.menuparenth ul ul ul,
*/
#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;
}
/* for fourth level add
#primary-nav ul ul ul li:hover ul,
#primary-nav ul ul ul li.menuparenth ul,
*/
#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;
}
/* IE6 Hacks */
#primary-nav li li {
	float: left;
	clear: both;
}
#primary-nav li li a {
	height: 1%;
}

/* External links */
#extlinks ul {
float: right;
margin: 0;
padding: 0;
}

#extlinks li {
float: left;
margin: 0;
padding: 0;
list-style: none;
}

#extlinks li.first {
	padding: 0 15px 0 0;
	background: url(uploads/infectious/pnav_divider.gif) no-repeat right 7px;
}

#extlinks li a {
	font-size: 1.1em;
	color: #00e6e8;
	padding: 11px 0 18px 15px;
	display: block;
	text-decoration: none;
}

#extlinks li a:hover {
color: #e8c60c;
text-decoration: none;
}

/* Sidebar Navigation */
div#sidebar #sidebar-nav ul {
margin: 0 0 1.4em 0;
padding: 0;
border-bottom: 2px solid #ded8c2;
}

div#sidebar #sidebar-nav ul ul {
margin: 0.6em 0 0 0;
border: none;
}

div#sidebar #sidebar-nav li {
margin: 0;
padding: 0.6em 0 0.6em 1em;
font-size: 1.1em;
line-height: 1.4em;
list-style: none;
font-weight: bold;
background: url(uploads/infectious/nav_arrow.gif) no-repeat left 0.9em;
border-top: 1px solid #ded8c2;
}

div#sidebar #sidebar-nav li li:last-child {
padding-bottom: 0;
}

div#sidebar #sidebar-nav li a:hover {
text-decoration: none;
}

div#sidebar #sidebar-nav li.currentpage h3 {
font-size: 1em;
font-weight: bold;
line-height: 1.4em;
color: #084f4f;
margin: 0;
}

div#sidebar #sidebar-nav li a.menuactive, div#sidebar #sidebar-nav li a.menuparent {
color: #084f4f;
}

/* End of 'IM - Navigation: CSSMenu - Horizontal' */

