body{
	background-image: url(../images/brick_bg.jpg);
	background-repeat: repeat-x;
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #333333;
}
img{
	border: 0;
}
a:hover, .filter a:hover{
	color: #255863;
}


/* ------- Styles ------- */
h1{
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 18px;
	color: #357284;
	font-weight: normal;
}
h2{
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 28px; 
	color: #666666;
	font-style: italic;
	margin: 10px 0 0 0;
}
h3{
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 18px;
	color: #4b4b4b;
	border-bottom: 1px solid #d7d7d7;
	font-weight: normal;
}	
.filter, .filter a{
	color: #565656;
	font-weight: bold;
	text-decoration: none;
}

.header-text{ padding: 0 0 10px 0; color: #333333; font-size: 12px; }
.clear{
	clear: both;
} 
.leftimage, .rightimage{
	border: 1px solid #357284;
}
.leftimage{
	margin: 0 10px 10px 0;
	float: left;
}
.rightimage{
	margin: 0 0 10px 10px;
	float: right;
}
.gap{
	padding: 0 5px 0 5px;
}

.feature{
	color: #666666;
	width: 229px;
	margin: 40px 0 20px 0;
	float: left;
}
 	.feature h1{
 		margin: 0px 0 4px 0;
		border-bottom: 1px solid #d7d7d7;
	}
	.feature.middle{
		margin: 40px 70px 20px 70px;
	}
	.feature a img{
		padding: 5px 0 0 0;
	}

.sidebar-image{
	margin: 0 0 15px 0;
}
	.sidebar-image img{
		border: 1px solid #4e7a87;
	}
	.sidebar-image span, .gallery-image-holder span{
		text-align: center;
		font-style: italic;
		color: #666666;
		display: block;
	}
	.gallery-main-holder span.large{
		font-family: Georgia, "Times New Roman", Times, serif;
		color: #357284;	
		width: 100%;
		font-size: 14px;
		text-align: center;
		display: block;
	} 
	
.gallery-image-holder, .gallery-main-holder{
	width: 250px;
	margin: 0 0 20px 0;
	float: left;
}
.gallery-image{
	height: 150px;
	overflow: hidden;
	border: 1px solid #4e7a87;
}

/* horses in training */
.horse-year-header{
	border-bottom: 1px dotted #d7d7d7;
	color: #d7d7d7;
	font-size: 12px;
	font-weight: bold;
	text-transform: capitalize;
	margin-top: 20px;
}
.horse-year-header.first{
	margin-top: 0;
}
.horse-holder{
	padding: 5px 0 5px 0;
	border-bottom: 1px solid #d7d7d7;
	margin: 1px 0 1px 0;
}
.horse-holder.alt{
	background-color: #f5f5f5;
}
	.horse-title{
		font-family: Georgia, "Times New Roman", Times, serif;
		font-size: 18px;
		line-height: 22px;
		padding: 0 0 0 5px;
		color: #4b4b4b;
	}
	.horse-details{
		font-size: 10px;
		font-weight: bold;
		padding: 0 0 0 5px;
		color: #8e8e8e;
	}
	.horse-more{
		width: 120px;
		text-align: center;
		float: right;
	}


/* -------- Divs -------- */
#header-wrapper{
	background-color: #FFFFFF;
	width: 880px;
	height: 261px;
	overflow: hidden;
	padding: 0px 10px 0px 10px;
	position: absolute;
	top: 0;
	left: 50%;
	margin-left: -450px;
	z-index: 10;
}
#page-wrapper{
	width: 938px;
	position: absolute;
	top: 209px;
	left: 50%;
	margin-left: -469px;
	z-index: 11;
}
	#navigation-wrapper{
		background-image: url(../images/nav_bg.png);
		background-repeat: no-repeat;
		background-position: bottom;
		height: 87px;
	}
		#navigation{
			width: 654px;
			margin: 58px 0 0 20px;
			float: right;
		}
			#navigation ul{
				list-style: none;
				margin: 0;
				padding: 0;
			}
			#navigation li{
				margin: 0 30px 0 0;
				float: left;
			}
			#navigation li.end{
				margin: 0;
			}
			#navigation li:hover{
				border-bottom: 1px solid #255863;
			}
		#logo{
			width: 222px;
			margin: -8px 0 0 35px;
			height: 87px;
			float: left;
		}
		
	#content{
		background-image: url(../images/white_fade.png);
		background-repeat: no-repeat;
		min-height: 320px;
		padding: 20px 45px 0 45px;
	}
	#horses-wrapper{
		width: 550px;
		float: left;
	}
	#horses-details-wrapper{
		width: 695px;
		float: left;
	}
	#location-map{
		width: 550px;
		height: 300px;
		border: 1px solid #d7d7d7;
	}
		

	#horses-sidebar{
		width: 130px;
		margin: 0 0 0 10px;
		float: right;
	}	
	#right-sidebar{
		width: 250px;
		margin: 0 0 0 10px;
		float: right;
	}
		#right-sidebar h1, #horses-sidebar h1{
			margin: 0px 0 4px 0;
			border-bottom: 1px solid #d7d7d7;
		}
		#right-sidebar ul, #horses-sidebar ul{
			list-style: none;
			margin: 0 0 30px 10px;
			padding: 0;
		}
		#right-sidebar li, #horses-sidebar li{
			line-height: 20px;
		}
	
	
		
#footer-wrapper{
	background-image: url(../images/footer_bg.png);
	background-repeat: repeat-x;
	background-color: #4f878b;
	padding: 40px 0 20px 0;
	margin: 20px 0 0 0;
	color: #2b2d2d;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 12px;
}	
	#footer-left{
		width: 580px;
		margin: 0 0 0 50px;
		float: left;
	}
		#footer-left ul{
			width: 100%;
			list-style: none;
			margin: 0 0 60px 0;
			padding: 0;
		}
		#footer-left li{
			float: left;
			padding: 0 10px 0 10px;
			border-right: 1px solid #2b2d2d;
		}
		#footer-left li.start{
			padding: 0 10px 0 0;
		}
		#footer-left li.end{
			padding: 0 0 0 10px;
			border: 0;
		}
		#footer-left a{
			color: #2b2d2d;
		}
		#footer-left a:hover{
			color: #255863;
		}
			
	#footer-right{
		width: 200px;
		margin: 0 50px 0 0;
		text-align: right;
		float: right;
	}
	
#stats-rp-icon{
	text-align: right;
}	
	
#contact-form{
	width: 440px;
	float: left;
}
#contact-details{
	width: 300px;
	margin: 8px 0 0 30px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 16px;
	line-height: 20px;
	float: left;
}
	fieldset legend{
		font-family: Georgia, "Times New Roman", Times, serif;
		color: #666666;
		font-size: 18px;
	}
	fieldset div{
		padding: 10px 10px 0 10px;
	}		
	fieldset label{
		width: 120px;
		color: #666666;
		font-size: 12px;
		float: left;
		display: block;
	}
	.cform{
		width: 272px;
		font-family: Arial, Helvetica, sans-serif;
		font-size: 12px;
		border: 1px solid #CCCCCC;
		padding: 4px;
	}
	.cbutton{
		padding: 2px 10px 2px 10px;
		background-color: #e4e4e4;
		font-size: 18px;
		font-family: Georgia, "Times New Roman", Times, serif;
		color: #333333;
		border: 1px solid #999999;
		float: right;
	}	

/* Racing post */
.tabContentBg form, .tabContentBg select, .tabContentBg input{
	display: none;
}
#trainerStatsSummaryOutput table{
	width: 100%;
	border-collapse: collapse;
}
#trainerStatsSummaryOutput table th{
	text-align: left;
	color: #999999;
	padding: 0 0 2px 0;
	border-bottom: 1px solid #d7d7d7;
}
#trainerStatsSummaryOutput table td{
	line-height: 18px;
}

#entriesTable{
	width: 100%;
	border-collapse: collapse;
}
#entriesTable th{
	text-align: left;
	color: #999999;
	padding: 0 0 2px 0;
	border-bottom: 1px solid #d7d7d7;
}
#entriesTable td{
	padding: 0 15px 0 0;
	line-height: 18px;
}
#entriesTable a{
	color: #333333;
	text-decoration: none;
	border-bottom: 1px dotted #333333;
}
#entriesTable a:hover{
	color: #255863;
	text-decoration: none;
	border-bottom: 1px dotted #255863;
}
