/* ---------------------------- */
/* TOP NAVIGATION				*/
/* ---------------------------- */

/* style the outer div to give it width */
.menu {
	width:870px;
	margin:0 0 0 30px;
	height:30px;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	padding:0;
	margin:0 auto;
	list-style-type:none; 
	height:30px;
}

/* float the top list items to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu ul li {
	float:left;
	height:27px;
	line-height:27px;
	padding:0;	
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	color:#fff;		
}

/* style the links for the top level */
.menu a, .menu a:visited {
	display: block;
	float: left;
	height: 100%;
	text-decoration: none;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 12px;
	color: #ffffff;
	width: 145px;
	text-align: center;
	margin-left: -8px;	
}

.menu ul li .current {
	color:#fff;
	background: url(../images/menu_hover.gif) 0 0 no-repeat;
}

.menu ul ul li .current {
	color: #cc6600;
	background: url(../images/dropdown_bg.png) 0 0 repeat-y; 
	}

.menu a.selected {
	color:#ffffff;
	background:#5b5b5b url(../images/menu_hover.gif) 0 0 no-repeat;
}

.menu a.subdd {
	display:block;
	float:left;
	height:100%;
	text-decoration:none;
	font-family:Arial, Helvetica, sans-serif;
	font-weight:bold;
	font-size:12px;
	color:#fff;
	text-align:center;
	/*width:153px;*/
	background:url(../images/menu_separator.gif) 0 0 no-repeat;
}

.menu ul table ul a, .menu ul table ul a:visited  {
	width:15em; /* width of sub menu*/
}

.menu ul li.first a {
	margin-left:8px;
	}

.menu ul li > ul li.first a {
	margin-left: -8px;
	border: none;
	}	

.menu ul li.first > ul li.first a {
	margin-left: 8px;
	}	

/*
.menu ul li.last a {
	margin-left: 8px;
	}

.menu ul li > ul li.last a {
	margin-left: -8px;
	border: none;
	}	

.menu ul li.last > ul li.last a {
	margin-left: 8px;
	}
*/
	
	
.menu ul li li a {
	border: none;
	}

.firstmenu {
	margin-left:8px !important;
}

/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {
	position:absolute; 
	left:0; 
	top:0; 
	font-size:1em; 
	z-index:-1;
}

.menu ul ul table {
	lef\t:-1px;
}

.menu ul ul table ul.left {
	margin-lef\t:2px;
}

.menu li:hover {
	position:relative;
}

* html .menu a:hover {
	position:relative;
}

/* style the level hovers */
/* first */
.menu a:hover {
	color:#000;
	background:transparent url(../images/dropdown_tophead_bg.png) 0 -1px no-repeat;
}

.menu :hover > a {
	color:#000;
	background:transparent url(../images/dropdown_tophead_bg.png) 0 -1px no-repeat;
}

/*.menu a.subdd:hover {
	color:#000;
	background:url(../images/dropdown_tophead_bg.png) 0 0 no-repeat;
}

.menu .subdd:hover > a {
	color:#000;
	background:url(../images/dropdown_tophead_bg.png) 0 0 no-repeat;
}*/

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul, .menu ul a:hover ul {
	visibility:visible; 
	height:auto; 
	z-index: 999;
}

/* ---------------------------- */
/* SUB NAV						*/
/* ---------------------------- */

.menu ul ul li > ul ul li.first a {
	border: 1px solid #000;
	}

/* style the sub level list items */
.menu ul ul li {
	display:block;
	height:auto;
	position:relative;
	line-height:1em;	
}

/* style the sub level links */
.menu ul ul a, .menu ul ul a:visited {
	display:block;
	background:transparent url(../images/dropdown_bg.png) 0 0 repeat-y; /*sub color*/
	width:191px; /* width of sub menu*/
	height:100%;
	line-height:1.2em; 
	padding:5px 16px 5px 12px;
	/*padding:5px 5px 5px 12px;*/
	font-family:Arial, Helvetica, sans-serif;
	font-size: 12px;
	color:#cc6600; 
	font-weight:bold;
	text-align:left;
	border: none;
	}

/*
.menu ul ul a.last, .menu ul ul a.last:visited {
	display:block;
	background:transparent url(../images/dropdown_bottom_bg.png) bottom no-repeat;
	width:191px;
	height:100%;
	line-height:1.2em; 
	padding:5px 5px 25px 12px;
	font-family:Arial, Helvetica, sans-serif;
	font-size: 12px;
	color:#cc6600; 
	font-weight:bold;
	text-align:left;	
}
*/

.menu ul ul a.first, .menu ul ul a.first:visited {
	display:block;
	background: url(../images/dropdown_top_bg.png) 0 0 no-repeat;
	width: 191px; /* width of sub menu*/
	height:100%;
	line-height:1.2em; 
	padding:15px 5px 5px 12px;
	font-family:Arial, Helvetica, sans-serif;
	font-size: 12px;
	color:#cc6600; 
	font-weight:bold;
	text-align:left;	
	}

/* hide the sub levels and give them a position absolute so that they take up no room */
.menu ul ul {
	visibility:hidden;
	position:absolute;
	top:23px;
	left:0;
	padding:0;
	margin:0;
	}

.menu ul ul a {
	background: transparent url(../images/dropdown_bg.png) 0 0 repeat-y;
	cursor: pointer;
	}

.menu ul ul a:hover {
	background: transparent url(../images/dropdown_bg.png) 0 0 repeat-y;
	text-decoration: underline;
	color: #cc6600;
	}

/*
.menu ul ul li.last a {
	display: block;
	background: transparent url(../images/dropdown_bottom_bg.png) bottom repeat-y;
	cursor: pointer;
	}

.menu ul ul li.last a:hover {
	background: transparent url(../images/dropdown_bottom_bg.png) bottom repeat-y;
	text-decoration: underline;
	color: #cc6600;
	}
*/

.menu ul ul li.first {
	background: transparent url(../images/dropdown_top_bg.png) repeat-y;
	margin-left: -8px;
	}
	
.menu ul ul li.first a {
	background: none;
	padding-left: 20px;
	}

.menu ul ul li.last {
	background: transparent url(../images/dropdown_bottom_bg.png) bottom repeat-y;
	margin-left: -19px;
	}
	
.menu ul ul li.last a {
	background: none;
	padding-left: 31px;
	}
	
.menu ul li.first ul li.first {
	background: transparent url(../images/dropdown_top_bg.png) repeat-y !important;	
	margin-left: 8px;
	}
	
.menu ul li.first ul li.first a {
	background: none;
	padding-left: 4px !important;
	}

.menu ul li.first ul li.last {
	margin-left: -3px;
	}
	
.menu ul li.first ul li.last a {
	padding-left: 15px;
	}


/* ---------------------------- */
/* LEFT NAVIGATION				*/
/* ---------------------------- */

#leftnav {
	width:256px;
	float:left;
	background:transparent url(../images/leftnav_mid.gif) 0 0 repeat-y;
}

#leftnavtop {
	width:256px;
	height:20px;
	float:left;
	background:transparent url(../images/leftnav_top.gif) 0 0 no-repeat;	
}

#leftnavmid {
	width:226px;
	padding:0 10px 0 20px;
	float:left;
}

#leftnavmid h2 {
	color:#0044cc;
	font:bold 15px Arial, Helvetica, sans-serif;
}

#leftnavmid ul {
	list-style:none;
	margin:0;
	padding:0;
}

#leftnavmid ul li {
	list-style:none;
	padding:0 0 0 20px;	
	font:bold 12px Arial, Helvetica, sans-serif;
	color:#333;
	margin:7px 0;	
}

#leftnavmid ul li.selected {
	background:url(../images/topdottedrt_bullet.gif) 0 4px no-repeat;
}

#leftnavmid ul li a {
	font:bold 12px Arial, Helvetica, sans-serif;
	color:#333;
	text-decoration:none;	
}

#leftnavmid ul li a:hover {
	text-decoration:underline;	
}

#leftnavmid ul li ul {
	list-style:none;
	margin:0;
	padding:0;
}

#leftnavmid ul li ul li {
	list-style:none;
	padding:0 0 0 15px;	
	font:normal 11px Arial, Helvetica, sans-serif;
	color:#333;	
}

#leftnavmid ul li ul li a {
	font:normal 12px Arial, Helvetica, sans-serif;
	color:#333;
	text-decoration:none;	
}

#leftnavbottom {
	width:256px;
	height:25px;
	float:left;
	background:transparent url(../images/leftnav_bottom.gif) 0 0 no-repeat;	
}
