#topnav {
	font: normal;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 9px;
	margin-left: auto;
	margin-right: auto;
	display: block;
	float:right;
	text-transform: uppercase;
}

#topnav ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}


#topnav li {
	display: inline;
}

#topnav ul li a {
	float: left;
	color: #CCC;
	padding: 12px 10px 0 10px; /*padding of tabs*/
	text-decoration: none;
	height:26px;
	margin:0 2px;

}
#topnav ul li a:visited {
	color: #CCC;
}
#topnav ul li a:hover {
	color: #CCC;
}

/* Styles the link or page the user is currently ON */

#topnav ul li.active a {
	color: #CCC;
	border-bottom:solid #FFF 1px;
	
}


#topnav ul li.active a:link, 
#topnav ul li.active a:visited {
	color: #FFF;

}
#topnav ul li.active a:hover, 
#topnav ul li.active a:active {
	color: #EAEAEA;
}

/* Styles the very FIRST link on the nav bar. Good for giving it that curve thats not required bt ano other links on same bar
#topnav ul li.first a:link, #topnav ul li.first a:visited {
	color: #373F2E;
}
*/


/* Hover and active states for above
#topnav ul li.first a:hover, #topnav ul li.first a:active {
	color: #373F2E;
} 
	
*/


/* Styles the very first link on the nav bar in an ACTIVE/ON State.
#topnav ul li.active.first a:link, #topnav ul li.active.first a:visited {
	color: #373F2E;
	
} 

*/


/* Hover and Visisted states for above
#topnav ul li.active.first a:hover, #topnav ul li.active.first a:visited {
	color: #373F2E;
	
}
 */


/* Styles the very LAST link on the nav bar. Good for giving it that curve thats not required bt ano other links on same bar*/
#topnav ul li.last a
{
	background-image:none;
}



/* Hover and Visisted states for above
#topnav ul li.last a:hover, #topnav ul li.last a:active {
	color: #4F5942;
	
}
 */


/* Styles the very LAST link on the nav bar in an ACTIVE/ON State.
#topnav ul li.active.last a:link, #topnav ul li.active.last a:visited {
	color: #373F2E;

}
 */


/* Hover and Visisted states for above
#topnav ul li.active.last a:hover, #topnav ul li.active.last a:active {
	color: #373F2E;
	
}
 */
