﻿#nav {
	position: relative;
	width:780px; 
	background-color:#FFFFFF;
	height:8px;
	padding:0 10px 0;
	border-bottom: 1px #AAA solid;

}
#nav ul {
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: -1px;
	width: 800px;	
}
#nav ul li  {
	display: inline;
	list-style: none;
}

#nav ul a,#nav ul span,#nav ul a.current {
	width: auto;
	display: block;
	float: left;
	padding: 2px 15px 2px 15px;
	margin: 1px 1px 0 0;
	text-align: center;
    font-family: calibri, arial, Helvetica, sans-serif;
	font-size: 8pt;
	text-decoration: none;
	color: #333;
}

#nav ul span,#nav ul a.current,#nav ul a.current:hover {
	/* This is the selected tab */
	margin-top: 0;
	color: #000000;
	background: #FFFFFF;	
	border: 1px solid #666;
	border-bottom: none;
	padding-bottom: 4px;
	font-weight:bold;
}

#nav ul a {
	/* This is a tab */
	color: #808080;
	background:#FFFAE1;
	border: 1px solid #AAA;
	border-bottom: none;
}

#nav ul a:hover {
	margin-top: 0;
	border-color: #666;

}

#nav ul#secondary {
	position: absolute;
	margin: 0;
	padding: 0;
	bottom: -1.4em;
	left: 1px;
	width: 800px;
}

#nav ul#secondary li a,#nav ul#secondary li span {
	width: auto;
	display: block;
	float: left;
	padding: 0 10px;
	margin: 0;
	text-align: auto;
	border: none;
	border-right: 1px dotted #AAA;
	background: none;
}
#nav ul#secondary li a {
	color: #06C;
	text-decoration: underline;
}

#nav ul#secondary li a:hover {
	color: #333;
	background: transparent;
	padding: 0 10px;
	border: none;
	border-right: 1px dotted #AAA;
}

#nav ul#secondary li a:active {
	color: #000;
	background: transparent;
}

#nav ul#secondary li:last-child a { border: none; }
