body {
	padding: 0px;
	margin: 0px;
	width: 100%;
	height: 100%;
	color: #000;
	background-color: #c1d5ff;
	font-family: arial, helvetica, sans-serif; 
}

a:link {
	text-decoration: underline;
	color:#000063;
}

a:visited {
	color: #000063;
}

a:hover, a:active, a:focus {
	color: #f00;
	background-color: #ffffcc;
	text-decoration: underline;
}

#siteContainer {
	width: 900px;
	margin-left: auto;
	margin-right: auto;
	background-color: #fff;
	border: 1px solid #000;
}

#bannerHolder {
	position:relative;
	width: 100%;
	height: 120px;
	padding:0px;
	margin:0px;
	background-image:url(Images/banner.png);
	background-color:#eee;
	background-repeat:no-repeat;
}

#banner {
	display:none;
}

#mainNav {
	position: relative;
	width: 100%;
	margin-top: 0px;
	background-color:#163F83;
}

#navList {
	font-size: .75em;
	text-align:center;
	padding:5px;
}

#navList ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
	display:inline;
}

#navList li {
	list-style-type: none;
	display:inline;
	padding-left: 20px;
}

#navList a {
	text-decoration: none;
	color:#fff;
}

#navList a:hover, #navList a:active,#navList a:focus {
	color: #000;
}

#footer {
	font-size: 0.7em;
	color: #000;
	width: 900px;
	margin-left: auto;
	margin-right: auto;
}

#footer ul {
	padding: 0px;
	margin: 0px;
}

#footer li {
	padding: 2px 0.3em 2px 0.3em;
	display: inline;
	list-style-type: none;
}

#content {
	padding: 10px 10px;
	margin: 0px;	
	color: #000;
	background-color: #fff;
}

#pageTopic {
  text-align: left;
}

#pageTopic h1 {
	margin: 0px;
	padding: 0px;
  font-size: 1.4em;
  font-weight: bold;
  color: #163F83;
}

#contentBody {
	margin: 0px;
	padding: 0px;
	color: #000;
	background-color: #fff;
	font-size: 0.8em;
}

#contentBody p {
	line-height: 1.4em;
	font-style: normal;
}

#contentBody h2, #contentBody h3 {
  color: #163F83;
}
	
table {
  border: none;
  color: #000;
  border-collapse: collapse; 
  text-align: left;
}

table td	{
  color: #000;
  background-color: #fff;
  font-weight: normal;
  border: 1px solid #000;
  padding: 3px 1px 3px 2px;
  vertical-align: top;
} 

table th {
  color: #000080;
  background-color:#ddd;
  font-weight: bold;
  border: 1px solid #000080;
  padding: 3px 1px 3px 2px;
  vertical-align: top;
  text-align: center;
}

#contentBody table.Calendar {
	width: 100%;
}

#contentBody table.Calendar td	{
	width: 14%;
	padding: 0px 5px 1px 5px;
}

#contentBody table.Calendar tr.DateRow td {
	text-align:right;
	border-bottom: 0px;
}

#contentBody table.Calendar tr.EventRow td {
	border-top: 0px;
	border-bottom: 0px;
}

#contentBody table.Calendar tr.LinkRow td {
	text-align:right;
	border-top: 0px;
}

#imageNav {
	text-align: center;
}

#picture {
	border: 1px solid #000;
}

#thumbs a:hover, #thumbs a:active, #thumbs a:focus {
	text-decoration: none;
	border: 1px solid #fff;
	color: #000;
	background-color: #fff;
}

.contacts {
	margin-left:auto;
	margin-right: auto;
	text-align:center;
	width: 90%;
}

.contacts table {
	width: 100%;
}

.contactRole {
	width: 20%;
	font-weight: bold;
}

.contactName {
	width: 25%;
}

.contactAddress {
	width: 55%;
}

#Newsflash {
	border: 2px solid #000;
	width: 96%;
	margin-left: auto;
	margin-right: auto;
	padding-top: 0px;
}

#Newsflash h2 {
	padding: 0px;
	margin: 0px;
	text-align:center;
}

.adBox {
	width: 94%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: .7em;
	border: 2px solid #000;
}

.adBox h2 {
	font-size: 1.3em;
	text-align: center;
}

#rightColumn {
 	width:18%;
 	float:right;
 	position:relative;
 	margin:0px;
}

#resultsTitle h3
{
margin: 0px;
padding: 0px;
}

#resultsContent {
	border: 1px solid #2b6b15;
	padding: 0px;
	margin-bottom: 10px;
}

#resultsList {
	padding: 0px;
}

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

#resultsList li {
	margin-bottom: 10px;
}

#contentBody table.dressageResult {
	width: 75%;
	font-size: 85%;
	color: #033574;
}

#contentBody table.dressageResult td {
	color: #033574;
	background-color:#e6ebf1;
	border-right: 1px solid #e6ebf1;
	border-bottom: 1px solid #7c97b4;
}
#contentBody table.dressageResult th {
	background-color:#406995;
	color: #fff;
	border-right: 1px solid #e6ebf1;
}


#contentBody table.dressageResult th.riderCol {
	width: 35%;
}

#contentBody table.dressageResult th.horseCol {
	width: 35%;
}

#contentBody table.dressageResult th.scoreCol {
	width: 10%;
}

#contentBody table.dressageResult th.pcCol {
	width: 10%;
}

#contentBody table.dressageResult th.placeCol {
	width: 10%;
}


#contentBody table.eventResults {
	width: 80%;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 85%;
	color: #033574;
}

#contentBody table.eventResults td {
	color: #033574;
	background-color:#e6ebf1;
	border-right: 1px solid #e6ebf1;
	border-bottom: 1px solid #7c97b4;
}

#contentBody table.eventResults th {
	background-color:#406995;
	color: #fff;
	border-right: 1px solid #e6ebf1;
}

#contentBody table.eventResults th.posCol {
	width: 3%;
}
#contentBody table.eventResults th.riderCol {
	width: 32%;
}

#contentBody table.eventResults th.horseCol {
	width: 30%;
}

#contentBody table.eventResults th.penCol {
	width: 5%;
}

#contentBody table.eventResults th.totalCol {
	width: 5%;
}





#contentBody table.eventTeamResults {
	width: 60%;
	font-size: 85%;
	border: 1px solid #000;
}
#contentBody table.eventTeamResults td {
	border: none;
	padding: 0px;
	margin: 0px;
}

#contentBody table.eventTeamResults td.teamResultsDetails {
	width: 49%;
}

#contentBody table.trdTeamMembers {
	width: 100%;
}

#contentBody table.trdTeamMembers td {
	color: #033574;
	background-color:#e6ebf1;
	border-right: 1px solid #e6ebf1;
	border-bottom: 1px solid #7c97b4;

}

#contentBody table.trdTeamMembers td.trdTeamName {
	background-color: rgb(255,255,205);
	text-align:center;
	font-weight: bold;
	border-top: 1px solid #7c97b4;
}
#contentBody table.trdTeamMembers td.trdNo {
	width:5%;
}

#contentBody table.trdTeamMembers td.trdRider {
	width: 80%;
}
#contentBody table.trdTeamMembers td.trdScore {
	width:15%;
	text-align: center;
}
#contentBody table.trdTeamMembers td.trdTeamTotal {
	text-align:right;
}

#contentBody table.trdTeamMembers td.trdSpacer {
	background-color:#FFFFFF;
	border-bottom: none;
}



#contentBody table.eventTeamResults td.teamResultsSpacer {
	width: 2%;
}



#contentBody table.eventTeamResults td.teamResultsPlacings {
	width: 49%;
}

#contentBody table.trpRanks {
	width: 100%;
	border: 1px solid #7c97b4;
}

#contentBody table.trpRanks td {
	color: #033574;
	background-color:#e6ebf1;
	border-right: 1px solid #e6ebf1;
	border-bottom: 1px solid #7c97b4;
}


#contentBody table.trpRanks th {
	background-color:#406995;
	color: #fff;
	border-right: 1px solid #e6ebf1;
}

#contentBody table.trpRanks th.trpTeam {
	width: 85%;
}
#contentBody table.trpRanks th.trpTotal {
	width: 10%;
}
#contentBody table.trpRanks th.trpPos {
	width: 5%;
}
#contentBody table.trpRanks td.trdTeamName {
	background-color: rgb(255,255,205);
}


#contentBody table td.pensCell {
	background-color:#becbdb;
	text-align:center;
}

#contentBody table td.totalCell {
	background-color:#9fcfa9;
	text-align:center;
}

.tdCentre {
	text-align: center;
}

#contentBody table.eventTimes {
	width: 75%;
	margin-left: auto;
	margin-right: auto;
}

#contentBody table.eventTimes th.numberCol {
	width: 10%;
}

#contentBody table.eventTimes th.horseCol {
	width: 30%;
}

#contentBody table.eventTimes th.riderCol {
	width: 30%;
}

#contentBody table.eventTimes th.timeCol {
	width: 10%;
}

#thumbnails img {
	border: 0px solid #000;
}

#thumbnails table {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

#pictureCol {
	text-align: center;
}

#newAdditions {
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	border: 2px solid #000;
	margin-bottom: 5px;
}

#newAdditions h4 {
	margin-top: 0;
}

#pictureContainer {
	padding-top: 10px;
}

#pictureFrame {
	text-align: center;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

#thumbnails {
	width: 98%;
	margin-left: auto;
	margin-right: auto;
	height: 85px;
	white-space: nowrap;
	overflow:scroll;
	overflow-y: hidden;
}

#thumbnails img {
	margin: 0px 2px 0px 2px;
}

#news {
	width: 70%;
}

div.news_Headline {
	border: 1px solid #163F83;
	margin-bottom: 8px;
	padding: 5px 10px;
}

.news_Headline img {
	float: left;
	margin: 5px;	
}

div.news_Headline h3 {
	margin-top:0px;
	margin-bottom:5px;
	font-size:110%;
}

.news_Headline p {
	margin:0px;
}

#contentBody div.diaryDates
{
	width: 28%;
	border: 2px solid #163F83;
	border-style: outset;
	float: right;
}

#contentBody div.diaryDates h2
{
	color:#163F83;
	margin-top: 0px;
	text-align:center;
}

#contentBody div.diaryDates h3
{
	background-color:#888;
	color:#fff;
	margin-top: 0px;
	text-align:center;
}

.date {
	font-weight:normal;
	text-align:right;
	padding-right:5px;
	padding-bottom:2px;
}

#contentBody p.signature {
	color: #000063;
	font-weight:bold;
	font-style:italic;
}

div.dressageCompBox {
	border: 2px solid #888;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	padding: 5px;
	margin-bottom: 5px;
	}
	
div.pensRules {
	border: 2px solid #888;
	width: 60%;
	padding: 5px;
	margin-bottom: 5px;
	}
