
/* ----------------- wrapper div ----------------- */ 
#dynamicmenu {
	float:right;
	display:inline;
	position:relative;
	margin:57px 0 0;
	padding:0 25px 0 15px;
	width:646px;
	height:27px;
	text-align:center;
	z-index:100;
	background:url(../images/bg_nav.jpg) top left no-repeat;
}





/* ----------------- main links ----------------- */ 
#dynamicmenu ul {
	font:normal 14px Arial;
/*	font:normal 14px Helvetica;*/
	line-height:26px;
	color:#777;
	text-decoration:none;
	text-align:center;
}
#dynamicmenu ul li {
	margin: 1px 0 0 0;
	padding: 0;
	border: 0;
	display: block;
	float: left;	/* 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: 100;		/* thus we need to apply explicit z-index here... */
}

#dynamicmenu ul li:hover {
	z-index: 100;	/* ...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 */
	margin-top:1px;
	padding-top:0;
}
#dynamicmenu ul a {
	padding:0 20px;
	text-decoration: none;
	color: #777;
	display: block;
	position: relative;
}
#dynamicmenu ul a:hover, #dynamicmenu ul li:hover>a {
	color:#00a4e4; 
	background:#fff;
}





/* ----------------- 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 */
}
#dynamicmenu ul ul {
	width:200px;
	position:absolute;
	border-top:1px solid #ccc;
	border-right:1px solid #00a4e4;
	border-bottom:1px solid #00a4e4;
	border-left:1px solid #00a4e4;
	font:normal 13px Arial;
/*	font:normal 13px Helvetica;*/
	line-height:18px;
	display: block;
	text-align:left;
	background:#fff;
	z-index:100;
}
#dynamicmenu ul li:hover>ul {
	visibility: visible;	/* display submenu them on hover */
	top: 100%;	/* 1st level go below their parent item */
}

#dynamicmenu ul ul li {
	font:normal 14px Arial;
/*	font:normal 14px Helvetica;*/
	line-height:27px;
	color:#fff;
	text-decoration:none;
	text-align:left;
}
#dynamicmenu ul li li {
	float: none;/* items of the nested menus are kept on separate lines */
}
#dynamicmenu ul li li a {	/* create borders around each item */
	width:185px;
	display:block; 
	color:#00a4e4;
	background:#fff;
	text-indent:0;
	padding:5px 5px 5px 10px;
	font-size:13px;
	line-height:15px;
	text-align:left;
}
#dynamicmenu ul ul a:hover, #dynamicmenu ul ul li:hover>a {
	background:#00a4e4;
	color:#fff;
}






/* ----------------- 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 {	/* IE7 float clear: */
	min-height: 0;
}
/* -- float.clear.END --  */


