
/* ----------------- wrapper div ----------------- */ 
#dynamicmenu {
	width:230px;/*
	height:243px;*/
	position:relative;
	font-weight:normal;
	font-size:18px;
	margin:0;
	padding:0 0 1px 0;
	z-index:100;
	clear:both;
	display:block;
	border-bottom: 1px solid #cecece;
}

#dynamicmenu sup { 
	margin:0;
	padding:0;
	font-size:15px;
	line-height:15px;
}



/* ----------------- main links ----------------- */ 
#dynamicmenu ul {
	font-family:"Times New Roman", Times, serif;
	line-height:60px;
	color:#fff;
	text-decoration:none;
	margin: 0;
	padding: 0;
}
#dynamicmenu ul li {
	margin: 0;
	padding: 0;
	border: 0;
	display: block;
	float:right;	/* move all main list items into one row, by floating them */
	position: relative;	/* position each LI, thus creating potential IE.win overlap problem */
	z-index: 5;		/* thus we need to apply explicit z-index here... */
	font-size:18px;
	line-height:60px;
	color:#fff; 
}

#dynamicmenu ul li:hover {
	z-index: 10000;	/* ...and here. this makes sure active item is always above anything else in the menu */
	white-space: normal;/* required to resolve IE7 :hover bug (z-index above is ignored if this is not present)
							see http://www.tanfa.co.uk/css/articles/pure-css-popups-bug.asp for other stuff that work */ 
}
#dynamicmenu ul a {
	margin:0 0 1px 0; 
	width:185px;
	padding:0 30px 0 15px;
	text-decoration: none;
	color:#fff; /*
	padding: .4em 1em;*/
	display: block;
	position: relative;
	background:url(../images/bg_nav.jpg) top left no-repeat;
}
#dynamicmenu ul a:hover, #dynamicmenu ul li:hover>a {
	color:#4f789f;  
	background:url(../images/bg_nav_over.jpg) top left no-repeat;
}





/* ----------------- level 2 links ----------------- */ 
#dynamicmenu ul ul {
	visibility: hidden;	/* initially hide all submenus. */
	position: absolute;
	z-index: 100;
	left: 0;	/* while hidden, always keep them at the top left corner, */
	top: 0;		/* 		to avoid scrollbars as much as possible */
	width:200px;
	display: block;
	text-align:left;
	margin:0;
	padding:0;
	font-family:Arial, Helvetica, sans-serif;
	border:1px solid #ccc;
	background:#fff url(../images/bg_nav_flyout.jpg) top left repeat-x;
}
#dynamicmenu ul li:hover>ul {
	visibility: visible;	/* display submenu them on hover */
	left: 100%;	/* 1st level go below their parent item */
}

#dynamicmenu ul ul li {
	color:#fff;
	text-decoration:none;
	text-align:left;
	float: none;
}
#dynamicmenu ul li li a {	/* create borders around each item */
	width:180px;
	display:block; 
	color:#4f789f;
	text-indent:0;
	margin:0;
	padding:5px 5px 5px 15px;
	font-size:14px;
	line-height:18px;
	text-align:left;
	border:none;
	background:none;
}
#dynamicmenu ul ul a:hover, #dynamicmenu ul ul li:hover>a {
	background:#2b4e72; 
	color:#ddd;
	border:none;
}






/* ----------------- level 3 links ----------------- */ 
#dynamicmenu ul li li:hover>ul {	/* inset 2nd+ submenus, to show off overlapping *//*
	top: 5px;
	left: 90%;*/
	display:none;
	visibility:hidden;
}















/* -- float.clear -- force containment of floated LIs inside of UL 
#dynamicmenu ul:after, #dynamicmenu ul ul:after {
	content: ".";
	height: 0;
	display: block;
	visibility: hidden;
	overflow: hidden;
	clear: both;
}
#dynamicmenu ul, #dynamicmenu ul ul {	*//* sticky submenu: *//*
	min-height: 0;
}
/* -- float.clear.END --  */


