/* Start of CMSMS style sheet 'Midwifery : Navigation' */
/* HORIZONTAL CSS ///////////////////////////////////////////////////////////////////////// */

#menu {
clear: both;
}
	.clearb { 
	clear: both; 
	}

#menuwrapper { 
font-family: verdana, sans-serif;
font-size: 11px;	
font-weight: bold;
background: #000 url(images/nav.jpg) top repeat-x;
position: relative;
height: 40px;
max-height: 40px;
}

/* Set the width of the menu elements at second level. Leaving first level flexible. */
#primary-nav li li { 
width: 200px;
}

/* 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; 
}
#primary-nav ul ul { 
margin-top: 1px;
margin-left: -1px;
left: 100%; 
top: 0px;  
}

#primary-nav li { 
float: left; 
margin-left: 0px;
}
#primary-nav li li { 
margin-left: 0px;
margin-top: -1px;
float: none;  
position: relative; 
}

/* Styling the basic apperance of the menu elements */
#primary-nav a { 
display: block; 
margin: 0px;
padding: 12px 12px; 
padding-bottom:13px;
text-decoration: none; 
}
#primary-nav li a { 
/*border-right: 1px solid #771d1e;*/
color: #f0f0f0;
}
#primary-nav li a:hover { 
text-decoration: underline;
color: #f0f0f0;
}

#primary-nav ul { 
padding: 7px;
padding-top: 0px;
margin-top: -5px;
margin-left: -2px;
background-color: #fff;                 /*first drop down.. 7px border.*/
border-right: 2px solid #c0c0c0;
border-bottom: 2px solid #c0c0c0;
}	
#primary-nav li li a { 
padding: 7px 5px;
background-color: #fff;                 /*inside first drop down.. minus the 7px border.*/
border-top: 1px dashed #c0c0c0;
border-left: 1px solid #fff;        /*border.*/
border-right: 1px solid #fff;        /*border.*/
color: #333;
text-align:left;
font-weight: normal;
}	
	
#primary-nav li ul a:hover { 
background-color: #fff;
text-decoration: none;
}		
#primary-nav li li a:hover { 
color: #ff6600;
text-decoration: underline;
}	
#primary-nav li, #primary-nav li.menuparent {
color: #f0f0f0;
}

/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */

#primary-nav li.menuactive { 
color: #f0f0f0;
}




#primary-nav a.menuparent {
color: #f0f0f0;
text-decoration: underline;
}
#primary-nav li.menuparent a.menuparent {
color: #f0f0f0;
text-decoration: none;
}
#primary-nav li.menuparent a.menuparent:hover {
color: #f0f0f0;
}


#primary-nav li.menuactive a { 
color: #333;
}
#primary-nav li.menuactive a.menuactive  { 
color: #f0f0f0;
text-decoration: underline;
}
#primary-nav li.menuactive a.menuactive:hover  { 
color: #f0f0f0;
background: url("images/nav.jpg") top repeat-x;
}
#primary-nav li.menuactive li a.menuactive  { 
color: #333;
text-decoration: none;
}
#primary-nav li.menuactive li a.menuactive:hover  { 
text-decoration: underline;
color: #ff6600;
}



/* 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 */
background-image: url(images/cms/arrow.gif); 
background-position: center right; 
background-repeat: no-repeat;
}

/* 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: #fff url("images/nav.jpg") top repeat-x;*/ 
}

#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;  
}

#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;  
}

/* IE Hacks */
#primary-nav li li { 
float: left; 
clear: both; 
}
#primary-nav li li a { 
height: 1%; 
}

#primary-nav li#pre { 
/*background: #fff url("images/menuend-left.jpg") top no-repeat;
border-right: 1px solid #771d1e;*/
display: block; 
margin: 0px;
padding: 12px 0px;
width:6px;
/*padding-left:3px;*/  
padding-bottom:13px; 
text-decoration: none; 
}

#primary-nav li#post { 
background: #fff url("images/menuend-right.jpg") top no-repeat;
border-right: 1px solid #771d1e;
display: block; 
margin: 0px;
padding: 12px 0px;
width:4px;
/*padding-left:3px;*/  
padding-bottom:13px; 
text-decoration: none; 
}

/* MENU VERTICAL /////////////////////////////////////////////////////////////////////////// */

#menu_vert {
margin-top: 22px;
}
#menu_vert ul {
padding: 0;
margin: 0;
}
#menu_vert ul ul {

}
#menu_vert li {
list-style: none;
margin: 0;
border-bottom: 1px solid #c0c0c0;
display: block;
}
#menu_vert ul ul li {
border: none;
}

	/** fix stupid ie bug with display:block; **/
	* html #menu_vert li a { height: 1%; } 
	* html #menu_vert li hr { height: 1%; }
	/** end fix **/

	
/* first level links */
div#menu_vert a {
text-decoration:none;
display: block;
font-weight: normal;
padding: 10px 0.5em 10px 10px;
color: #444;
min-height:1em;
}

	/* second level */
	div#menu_vert ul ul a {
	padding: 0.5em 0.5em 0.5em 15px;
	color: #000;
	background: url(uploads/Clean_Orange/menu_arrows2.gif) no-repeat 7px 11px;
	font-weight: normal;
	}
		/* third level */
		div#menu_vert ul ul ul a {
		padding: 0.5em 0.5em 0.5em 15px;
		font-weight: normal;
		background-color: #fff;
		color: #333;
		}

	
/* first level links */
div#menu_vert a:hover {
color: #444;
}

	/* second level */
	div#menu_vert ul ul a:hover {
	background: url(uploads/images/menu/menuArrow.png) no-repeat 0px 50%;
	color: #444;
	}
		/* third level */
		div#menu_vert ul ul ul a:hover {
		background-color: #ffdcc5;
		background-image: none;
		color: #333;
		text-decoration: underline;
		}

		
/* active parent */
div#menu_vert a.activeparent {
font-weight: bold;
}
	div#menu_vert ul ul a.activeparent {
	background: url(uploads/images/menu/menuArrow.png) no-repeat 0px 50%;
	color: #f3e0d5;
	}
		div#menu_vert ul ul ul a.activeparent {
		background-color: #ffdcc5;
		background-image: none;
		color: #333;
		text-decoration: underline;
		}

			
/* section header */
div#menu_vert li.sectionheader {
border-right: none;
font-weight: bold;
padding: 10px 0.5em 10px 10px;
background-color: #444;
color: #f0f0f0;
line-height: 1em; 
margin: 0;
text-align:left;
}

/* separator */
div#menu_vert li.separator {
height: 1px !important;
margin-top: -1px;
margin-bottom: 0;
padding:2px 0 2px 0;
overflow:hidden !important;
line-height:1px !important;
font-size:1px; /* for ie */
}

div#menu_vert li.separator hr {
display: none;
}

/* End of 'Midwifery : Navigation' */

