* {
	padding:0;
	margin:0
}

a:visited {
	text-decoration: none;
}
a:hover, a:active {
	text-decoration: none;
}
#container {
	margin: 0 auto 0 auto;
	width: 100%;
	position: relative;
	text-align: left;
}
#top_nav {
	width: 931px;
	position: static;
	float: left;
	display: inline;
	left: -1px;
	background-repeat: repeat-x;
	background-position: left 0px;
	margin-top: 0px;
	background-image: url(../images/nav_back.jpg);
	height: 27px;
	padding: 0px;
	margin-bottom: 3px;
	border: 1px solid #999999;
	margin-right: 0px;
	margin-left: 0px;
}
#top_nav ul {
	margin: 0;
	padding-bottom: 0px;
	padding-top: 0px;
	background-image: url(../images/nav_back_on.jpg);
}
#top_nav ul li {
	display: inline;
	margin: 0;
	right: 25px;
	background-image: url(../images/nav_over.jpg);
}
#top_nav ul li a {
	float:left;
	width: auto;
	text-decoration:none;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 3.2mm;
	font-weight: bold;
	padding-bottom: 0px;
	background-image: url(../images/nav_back_on.jpg);
	background-position: right 0px;
	background-repeat: no-repeat;
	padding-left: 10px;
	color: #04572d;
	text-align: center;
	padding-right: 10px;
	height: 25px;
	margin-bottom: 0px;
	padding-top: 3px;
	line-height: 20px;
	border-right-width: 2px;
	border-right-style: ridge;
	border-right-color: #eeeeee;
}
#top_nav ul li a:hover {
	/*background-color: #C62274;*/
		background-image: url(../images/nav_bak_over.jpg);
	color: #004B24;
	background-repeat: repeat-x;
	background-position: center -1px;
	border-right-width: 2px;
	border-right-style: ridge;
	border-right-color: #DDB201;
}
/*this changes the active link*/		
#home #nav-home a, 
#about #nav-about a, 
#horse-boxes-for-sale #nav-horse-boxes-for-sale a, 
#Login #nav-Login a, 
#horse-trailers-for-sale #nav-horse-trailers-for-sale a, 
#horse-boxes-for-sale #nav-horse-boxes-for-sale a, 
#horsebox-manufacturers #nav-horsebox-manufacturers a, 
#number-plates #nav-number-plates a, 
#hire #nav-hire a, 
#faqs #nav-faqs a,
#horsebox-transport #nav-horsebox-transport a,
#insurance #nav-insurance a,
#finance #nav-finance a,
#inspection #nav-inspection a,
#training #nav-training a,
#parts #nav-parts a,
#directory #nav-directory a, 

#contact #nav-contact a {
	background-image: url(../images/nav_bak_over.jpg);
	background-repeat: repeat-x;
	background-position: center -1px;
	border-right-width: 2px;
	border-right-style: ridge;
	border-right-color: #DDB201;
}
/*this changes the hover link*/
#home #nav-home a:hover, 
#about #nav-about a:hover, 
#horse-boxes-for-sale #nav-horse-boxes-for-sale a:hover, 
#Login #nav-Login a:hover, 
#nav-horse-trailers-for-sale a:hover, 
#horse-boxes-for-sale #nav-horse-boxes-for-sale a:hover, 
#number-plates #nav-number-plates a:hover, 
#hire #nav-hire a:hover, 
#horsebox-manufacturers #nav-horsebox-manufacturers a:hover,
#contact #nav-contact a:hover,
#directory #nav-directory a:hover,
#horsebox-transport #nav-horsebox-transport a:hover;
#finance #nav-finance a:hover;
#insurance #nav-insurance a:hover;
#inspection #nav-inspection a:hover;
#training #nav-training a:hover;
#parts #nav-parts a:hover;
#faqs #nav-faqs a:hover  

#nav a:active {
	/*background-color: #C62274;*/
color: #01562C;
}
