html {
	height:100%;
	background-color:#D9E1E8;
	text-align:center;
}

body {
	margin:0px;
	margin-left:auto;
	margin-right:auto;
	width:984px;
	min-height:100%;
	border-left:2px solid #003F84;
	border-right:2px solid #003F84;
	background-color:#fff;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:12px;
	color:#333;
	text-align:center;
	overflow-y:scroll;
}

/* for Internet Explorer */
*body {
	overflow:hidden;
}
/* finish hack */

p {
	margin:0px 0px 5px 0px;
}

image, img {
	border:0px;
}

a {
	text-decoration:none;
	color:#000;
}

a:hover {
	text-decoration:underline;
	color:#4F7293;
}

ul {
	margin:4px 0px 0px 0px;
	padding-left:20px;
}

textarea {
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:12px;
}

form {
	margin:0;
	padding:0;	
}

#page, #homepage {
	width:984px;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:50px;
	padding-left:0px;
	padding-right:0px;
	text-align:left;
}

#header {
	height:160px;
	width:969px;
	margin-left:8px;
	margin-bottom:5px;
	background-image:url(/images/headerBackground.jpg);
}

#navigation {
	padding-top:127px;
}

#navigation a {
	display:block;
	width:107px;
	height:25px;
	float:left;
	overflow:hidden;
	background-image:url(/images/navBackground.gif);
	background-position:top right;
	font-family:Arial, Helvetica, sans-serif;
	color:#fff;
	text-align:center;
	line-height:25px;
}

#navigation a:hover {
	background-position:bottom right;
	text-decoration:none;
}

#navigation .highlight {
	background-position:bottom right;
}

#navigation #home {
	width:108px;
	background-image:url(/images/navBackgroundLeft.gif);
}

#navigation #news {
	width:108px;
}

#pageContent, #homepageContent {
	margin-left:8px;
	width:969px;
}

#pageContent h1, #homepageContent h1 {
	height:33px;
	margin:0px;
	padding-left:10px;
	background-image:url(/images/columnHeadingBackground.gif);
	background-repeat:no-repeat;
	font-size:12px;
	line-height:24px;
	color:#eee;
}

#homepageContent h1 {
	background-image:url(/images/columnHeadingBackground_homepage.gif);
}

#lhsAndMiddleColumn h1 {
	width:699px;
	background-image:url(/images/columnHeadingBackground_leftAndMiddle.gif);
}

#pageContent h2 {
	margin-top:0px;
	margin-bottom:5px;
	font-size:18px;
}

#pageContent h2.noSpaceAfter {
	margin-bottom:0px;
}

#pageContent h3 {
	margin-top:0px;
	margin-bottom:5px;
	color:#000;
}

#pageContent.verticalBarRight {
	background-image:url(/images/pageContentBackground_verticalBar.gif);
	background-position:left;
	background-repeat:repeat-y;
}

.column {
	float:left;
}

.columnHeaderSpacer {
	height:33px;
	width:10px;
}

.columnHeaderSpacerBig {
	height:50px;
	width:10px;
}

#homepageContent #lhsColumn, #homepageContent #middleColumn, #homepageContent #rhsColumn {
	width:317px;
}

#homepageContent table {
	width:317px;
}

#lhsColumn {
	width:210px;
}

#middleColumn {
	width:491px;
	margin-left:8px;
	margin-right:6px;
}

#rhsColumn {
	width:244px;
	margin-left:10px;
	margin-right:0px;
}

#homepageContent #lhsColumn {
	margin-right:2px;
}

#homepageContent #middleColumn {
	margin-left:5px;
	margin-right:5px;
}

#homepageContent #rhsColumn {
	margin-left:6px;
	margin-right:0px;
}

#lhsAndMiddleColumn {
	width:709px;
	margin-right:6px;
}

#lhsAndMiddleColumn h1 {
	margin-bottom:15px;
}

#footer {
	margin-top:10px;
	margin-left:8px;
	padding-bottom:15px;
	width:969px;
	text-align:center;
}

#footer img, #footer a img {
	padding:5px 10px 5px 10px;
}

#footer #top, #footer #bottom {
	height:21px;
	width:969px;
	background-image:url(/images/footerBackground.gif);
	font-family:Arial, Helvetica, sans-serif;
	font-size:10px;
	color:#eee;
	text-align:center;
	line-height:17px;
}

.smallButton {
	height:16px;
	margin:1px;
	border:1px solid #000;
	padding:0px;
	font-size:9px;
	line-height:12px;
	cursor:pointer;
}

.newsImageLHS {
	margin-bottom:10px;
}

.newsStoryDate {
	font-size:80%;
}

.rhsNav, .rhsNav a {
	font-weight:normal;
}

.rhsNavHighlight, .rhsNavHighlight a {
	font-weight:bold;
	color:#4F7293;
}

.smallText {
	font-size:80%;
}

.caption {
	margin-top:2px;
	font-size:80%;
	font-family:Arial, Helvetica, sans-serif;
	color:#4F7293;
}

.spaceAbove20px {
	padding-top:20px;
}

.indent10px {
	margin-left:10px;
}

.left {
	text-align:left;
}

.right {
	text-align:right;
}

.center {
	text-align:center;
}

.bold, .strong {
	font-weight:bold;
}

.linkAsButton {
    border:1px solid #000;
    background-color:#004181;
    padding:2px 10px;;
    color:#fff;
    font-weight:bold;
    font-size:10px;
}

a:hover.linkAsButton {
    text-decoration:none;
    background-color:#5f84a2;
    color:#fff;
}

.clearBoth {
	clear:both;
}


/*  Styles for individual pages  */
.sponsorsTable td, .contactsTable td {
	padding:0px 0px 25px 20px;
}

.onRHS {
	float:right;
	margin-top:-23px;
	padding-right:15px;
	display:block;
	font-weight:normal;
}

.fullPhoto {
	margin-bottom:25px;
	text-align:center;
}

.photoThumbnails {
	width:672px;
	margin-left:auto;
	margin-right:auto;
	border-top:3px solid #0f4a83;
	margin-bottom:20px;
	text-align:center;
}

.thumbnailPhoto {
	margin:4px;
	padding:2px;
	cursor:pointer;
}

.thumbnailPhoto.selectedPhoto {
	margin:2px;
	padding:2px;
	border:2px solid red;
}

.thumbnailPhoto:hover {
	margin:2px;
	padding:2px;
	border:2px solid red;
}

.resultsTable, .overallPointsTable, .shortestAggregateTimeTable {
	width:690px;
	border-collapse:collapse;
	font-family:arial;
	font-size:11px;
}
.resultsTable th, .overallPointsTable th, .shortestAggregateTimeTable th {
	border:1px solid black;
	background-color:gray;
	padding:2px 2px 2px 3px;
	font-weight:bold;
	text-align:left;
	color:white;
}
.resultsTable td, .overallPointsTable td, .shortestAggregateTimeTable td {
	border:1px solid black;
	padding:2px 2px 2px 3px;
}
.resultsTable td.center, .overallPointsTable td.center, .shortestAggregateTimeTable td.center {
	text-align:center;
}
.resultsTable td.right, .overallPointsTable td.right, .shortestAggregateTimeTable td.center {
	text-align:right;
}
.resultsTable th.reverse, .overallPointsTable th.reverse, .shortestAggregateTimeTable th.reverse {
	background-color:black;
	color:white;
	font-size:12px;
}
.resultsTable tr.altColour, .overallPointsTable tr.altColour, .shortestAggregateTimeTable tr.altColour {
	background-color:#eee;
}
.resultsTable th.raceTitle {
	width:320px;
}
.resultsTable th.startTime {
	width:360px;
	text-align:right;
}
.resultsTable th.boatName {
	width:170px;
	text-align:left;
}
.resultsTable th.boatType {
	width:100px;
	text-align:left;
}
.resultsTable th.sailNumber {
	width:47px;
	text-align:center;
}
.resultsTable th.phrf_1 {
	width:47px;
	text-align:right;
}
.resultsTable th.finishTime {
	width:102px;
	text-align:right;
}
.resultsTable th.elapsedTime, .resultsTable th.phrf_2 {
	width:75px;
	text-align:right;
}
.resultsTable th.place_1, .resultsTable th.place_2 {
	width:28px;
	text-align:right;
}

.overallPointsTable th.raceTitle {
	width:350px;
	text-transform:uppercase;
}
.overallPointsTable th.lineTitle, .overallPointsTable th.handicapTitle {
	width:170px;
	text-transform:uppercase;
	text-align:center;
}
.overallPointsTable th.boatName {
	width:200px;
}
.overallPointsTable th.boatType {
	width:150px;
}
.overallPointsTable th.r1Line, .overallPointsTable th.r2Line, .overallPointsTable th.r3Line, .overallPointsTable th.r1Handicap, .overallPointsTable th.r2Handicap, .overallPointsTable th.r3Handicap {
	text-transform:uppercase;
	text-align:center;
}
.overallPointsTable th.totalLine, .overallPointsTable th.totalHandicap {
	text-transform:uppercase;
	text-align:center;
}
.overallPointsTable td {
	text-align:center;
}
.overallPointsTable td.boatName, .overallPointsTable td.boatType {
	text-align:left;
	font-weight:bold;
}
.overallPointsTable td.totalLine, .overallPointsTable td.totalHandicap {
	font-weight:bold;
}

.shortestAggregateTimeTable th.raceTitle {
	width:250px;
	text-transform:uppercase;
}
.shortestAggregateTimeTable th.r1, .shortestAggregateTimeTable th.r2, .shortestAggregateTimeTable th.r3, .shortestAggregateTimeTable th.total {
	text-align:center;
}
.shortestAggregateTimeTable td {
	text-align:right;
}
.shortestAggregateTimeTable td.boatName, .shortestAggregateTimeTable td.boatType {
	text-align:left;
	font-weight:bold;
}
.shortestAggregateTimeTable td.total {
	font-weight:bold;
}

.mandatoryAsterisk {
	width:10px;
	height:11px;
	padding-left:4px;
	vertical-align:top;
}

.enterOnlineButton {
	display:block;
	margin-top:20px;
	background-color:#e31b22;
	border:1px solid #eb5256;
	padding:5px;
	text-align:center;
	color:#fff;
	font-weight:bold;
	text-decoration:none;
}

.enterOnlineButton:hover {
	background-color:#a61316;
	border:1px solid #e31b22;
	color:#fff;
	text-decoration:none;
}

.onlinePaymentButton {
	display:block;
	width:150px;
	margin-top:5px;
	background-color:#e31b22;
	border:1px solid #eb5256;
	padding:3px;
	text-align:center;
	color:#fff;
	font-weight:bold;
	text-decoration:none;
}

.onlinePaymentButton:hover {
	background-color:#a61316;
	border:1px solid #e31b22;
	color:#fff;
	text-decoration:none;
}

#paymentSuccessfulTableHeader {
    width:600px;
    margin:20px auto 0 auto;
    border:1px solid #000;
    padding:5px;
    background-color:#eee;
}

#paymentSuccessfulTableHeader h2, #paymentRecieptTable h2, #paymentDeclinedTable h2 {
	margin-bottom:5px;	
}

#paymentSuccessfulTableHeader th, #paymentSuccessfulTableHeader td {
    padding:5px;
}

#paymentSuccessfulTableContents {
    width:600px;
    margin:0 auto 20px auto;
    border:1px solid #000;
    border-top:none;
    padding:5px;
    background-color:#eee;
}

#paymentSuccessfulTableContents th, #paymentSuccessfulTableContents td {
    padding:2px 5px;
}

#paymentRecieptTable, #paymentDeclinedTable {
    width:600px;
    margin:10px auto 0 auto;
    border:1px solid #000;
    padding:5px;
    background-color:#eee;
}

#paymentRecieptTable th, #paymentRecieptTable td, #paymentDeclinedTable th, #paymentDeclinedTable td {
    padding:5px;
}


