
/* Menu */

#menu {vertical-align: bottom;
		padding:10px 20px 10px 20px;
		height:40px;
text-align: center;
	border:0px dashed #D2D4C9;
}
#menu a {
	
	text-transform: uppercase;
	text-decoration: none;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: normal;
	color: #FFFFFF;
}

#menu a:hover {
	text-decoration: underline;
}
/* tab Menu navigation. */
.animatedtabs{
border-bottom: 0px solid gray;
overflow: hidden;
width: 100%;
font-size:14px; /*font of menu text*/
vertical-align:bottom;
}

.animatedtabs ul{
list-style-type: none;
margin: 0;
margin-left: 10px; /*offset of first tab relative to page left edge*/
padding: 0;
}
.animatedtabs li{
float: left;
margin: 0;
padding: 0;
}
.animatedtabs a{
float: left;
position: relative;
top: 5px; /* 1) Number of pixels to protrude up for selected tab. Should equal (3) MINUS (2) below */
background: url(/images/tab-blue-left.gif) no-repeat left top;
margin: 0;
margin-right: 3px; /*Spacing between each tab*/
padding: 0 0 0 9px;
text-decoration: none;
}
.animatedtabs a span{
float: left;
position: relative;
display: block;
background: url(/images/tab-blue-right.gif) no-repeat right top;
padding: 5px 14px 3px 5px; /* 2) Padding within each tab. The 3rd value, or 3px, should equal (1) MINUS (3) */
font-weight: bold;
color: black;
}

/* Commented Backslash Hack hides rule from IE5-Mac \*/
.animatedtabs a span {float:none;}
/* End IE5-Mac hack */

.animatedtabs .selected a{
background-position: 0 -125px;
top: 0;
}

.animatedtabs .selected a span{
background-position: 100% -125px;
color:#fff;
padding-bottom: 8px; /* 3) Bottom padding of selected tab. Should equal (1) PLUS (2) above */
top: 0;
}

.animatedtabs a:hover{
background-position: 0% -125px;
top: 0;
}

.animatedtabs a:hover span{
background-position: 100% -125px;
padding-bottom: 8px; /* 3) Bottom padding of selected tab. Should equal (1) PLUS (2) above */
top: 0;
color:#fff;
}

#nav {
	position:absolute;
	top:127px;
	left:0px;
}
#nav li.on ul, #nav li.off ul {
	margin: 0;
	padding: 0;
}
#nav a {
	text-decoration: none;
}
#nav li { /*float the main list items*/
	margin: 0;
	float: left;
	display: block;
	padding-right:5px;
}
#nav li ul {
	display: none;
	overflow:hidden;
	width:945px;
	
}
#nav li.off ul, #nav li.on ul { /*put the subnav below*/
	position:absolute;
	left:0px;
	top:25px;
}
#nav li a {
	font-weight: bold;
	display: block;
	text-decoration: none;
	color: #fff;
	padding: 4px 8px 0 0;
	font: bold 13px Tahoma, Arial, Helvetica, sans-serif;
	background: url(/images/nav_button.gif) no-repeat right top;
	float:left;
}
#nav li a span {
	float: left;
	padding-right: 8px;
	display: block;
	margin-top: -4px;
	height: 25px;
	background: url(/images/nav_button.gif) no-repeat left top;
}
#nav li.on a {

}
#nav li.on ul a, #nav li.off ul a {
	float: left; /*ie doesn't inherit the float*/
	font-family:Tahoma, Arial, Helvetica, sans-serif;
	font-size:12px;
	font-weight:normal;
	color:#046eb4;
	background:none;
	margin: 0 .4em 0 -.4em;
	padding: 0 .4em .1em .4em;
	border-left:1px solid #046eb4;
	display:inline;
	
}
#nav li.on ul a:hover, #nav li.off ul a:hover{
	text-decoration:underline;
}
#nav li.on ul {
	display: block;
		padding:10px 0;

}
#nav li.off a:hover, #nav li:hover a, #nav li.on a {
	color: #046eb4;
	background-position:right -35px;
}
#nav li.off a:hover span, #nav li.on a:hover span, #nav li.on a span {
	background-position:left -35px;
}
#nav li.off:hover ul, #nav li.over ul  {
	display: block;
	z-index: 6000;
	padding:10px 0;
}
#nav li.off a:hover,
#nav li:hover a,
#nav li.over a {
	color: #046eb4;
	background-position:right -35px;
}
#nav li.off a:hover span,
#nav li:hover a span,
#nav li.over a span{
	background-position:left -35px;
}
.current {
	font-weight:bold !important;
}

