﻿body
{
	background: #fff url("/_images/sidenav.gif") repeat-y top left;
	color: #111;
}

#topnav
{
	padding: 0px;
	margin: 0px;
	width: auto;
	background: #fff url("/_images/topnav.gif") repeat-x top left;
}

#topnav a:hover
{
	text-decoration: none;
}

#topnav a.logo:hover
{
	background: #db2128;
}

#wrapper
{
	clear: both;
	padding: 0px;
	margin: 0 0 0.75em;
	border-right: 1px dashed #cfd0d4;
	border-top: none;
	width: 745px;
}

#container
{
}

#sidenav
{
	float: left;
	top: 0px;
	left: 0px;
	margin: 0;
	padding: 0;
}

#content
{
	font-size: 1.2em;
}

#main
{
	margin: 0px 0px 0px 160px;
	padding: 6px 8px 6px 0;
}

#footer
{
	clear: both;
	padding: 44px 0 8px;
	margin: 0 0 0 160px;
	background: #fff url("/_images/tpl-stripe.jpg") no-repeat -4px top;
	font-size: 0.95em;
	line-height: 1.75em;
	text-align: center;
}

#sidenav ul
{
	margin: 0;
	padding: 0;
	list-style: none; 
	border-top: 1px solid #fff;
}

#sidenav ul li
{
	padding: 0;
	margin: 0;
}

#sidenav ul li a
{
	display: block;
	width: 149px;
	text-decoration: none;
	border-bottom: 1px solid #fff;
}

li.informant a
{
	background: transparent url("/_images/sidenav/informant.gif") no-repeat top left;
	height: 41px;
}

li.atoz a
{
	background: transparent url("/_images/sidenav/atoz.gif") no-repeat top left;
	height: 41px;
}

li.contact a
{
	background: transparent url("/_images/sidenav/contact.gif") no-repeat top left;
	height: 30px;
}

li.subscribe a
{
	background: transparent url("/_images/sidenav/subscribe.gif") no-repeat top left;
	height: 42px;
	margin-top: 80px;
	border-top: 1px solid #fff;
}

li.informant a:hover
{ background: transparent url("/_images/sidenav/informant.gif") no-repeat top right; }

li.atoz a:hover
{ background: transparent url("/_images/sidenav/atoz.gif") no-repeat top right; }

li.contact a:hover
{ background: transparent url("/_images/sidenav/contact.gif") no-repeat top right; }

li.subscribe a:hover
{ background: transparent url("/_images/sidenav/subscribe.gif") no-repeat top right; }


#sidenav ul.subnav
{
	border-top: none;
}

#sidenav ul.subnav li
{
	text-align: right;
}

#sidenav ul.subnav li a
{
	height: auto;
	width: 141px;
	padding: 6px 8px 6px 0;
	background: #8d8989;
	font-family: Arial, Verdana, Geneva, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
	color: #fff;
}

#sidenav ul.subnav li a:hover
{
	color: #db2128;
	color: #222;
	background: #666;
}

div.masthead
{
	padding: 13px 0 10px 20px;
	margin: 0px;
	background: transparent url("/_images/topcorner.gif") no-repeat top left;
}

div.toppics
{
	background: transparent url("/_images/sidenav.gif") repeat-y top left;
	padding: 0;
	margin: 0px;
}

div#topnav img
{
	vertical-align: bottom;
}

div.printmasthead
{
	display: none;
}

h2
{
	font-size: 130%;
	color: #db2128;
}

h3
{
	font-size: 120%;
	color: #db2128;
}


table td h2
{
	margin: 0;
}


table.home, table.informant
{
	padding: 0;
	margin: 8px; 0 0;
	width: 99%;
	border-top: 1px dashed #cfd0d4;
	border-bottom: 1px dashed #cfd0d4;
}

table.home td
{
	padding: 8px;
	vertical-align: top;
	width: 33%;
	border-left: 1px dashed #cfd0d4;
	line-height: 150%;
}

table.home td.first
{
	padding-left: 0;
	border-left: none;
}

table.informant td
{
	padding: 8px;
	vertical-align: top;
	line-height: 150%;
}

table.informant td p
{
	text-indent: 1.5em;
}

table.informant td.bottom
{
	vertical-align: bottom;
}

table.informant td.samples
{
	width: 160px;
	border-right: 1px dashed #cfd0d4;
}

table.informant table.searchpages
{
	width: 99%;
	margin-left: 0;
}

table.informant table.searchpages td
{
	padding: 0;
}

table.rates
{
	width: 99%;
	margin-top: 1em;
}

table.rates thead td
{
	color: #db2128;
	font-weight: bold;
}

table.rates td
{
	padding: 0.2em;
}

table.outletslist
{
	border: 1px solid #ccc;
	background: #eee;
	width: 99%;
}

table.outletslist td
{
	padding: 2px 1px;
	vertical-align: top;
	width: 18%;
}

table.outletslist td.name
{
	width: 34%;
}

table.outletslist td.address
{
	width: 30%;
}





body.contact h3
{
	font-size: 110%;
	margin-bottom: 0.2em;
}

dl.contact
{
	float: right;
	width: 298px;
	margin: 12px 8px 1em 0;
}

dl.contact dt
{
	float: left;
	clear: both;
	width: 128px;
	margin: 0 0 0.5em 0;
	padding: 0;
	font-style: italic;
	text-align: right;
}

dl.contact dd
{
	margin: 0 0 0.5em 132px;
	padding: 0;
}


form fieldset, fieldset.accountdetails
{
	float: right;
	width: 98%;
	border: none;
	border-top: 1px dashed #cfd0d4;
	margin-top: 1em;
	padding-top: 1em;
}

form fieldset legend, fieldset.accountdetails legend
{
	color: #db2128;
	font-weight: bold;
	padding: 0 0.25em;
	font-size: 110%;
	background: #fff;
}

tr.heading
{
	color: #fff;
	background: #db2128;
	font-weight: bold;
}

tr.odd
{
	background-color: #ccc;
}

tr.even
{
	background-color: #eee;
}

td.left
{
	text-align: left;
	vertical-align: middle;
}

td.center
{
	text-align: center;
	vertical-align: middle;
}

td.right
{
	text-align: right;
	vertical-align: middle;
}

td.bottom
{
	text-align: bottom;
	vertical-align: bottom;
}

span.currentpage
{
	font-weight: bold;
}

span.instructions
{
	color: #333;
}

div.intro
{
	margin-top: 2em;
	margin-left: 1.5em;
}

p.error
{
	text-indent: -2em;
	margin-left: 2em;
	line-height: 1.4em;
}

p.timer, p.debug
{
	color: #bbb;
}

ul.rules, ol.rules
{
	font-size: 85%;
}

div.competition
{
	margin: 1em;
	background: #ffffcc;
}

div.competition fieldset legend
{
	background: #ffffcc;
}

div.competition fieldset p
{
	text-indent: 0em;
	margin: 1em;
}

dl.competition dd
{
	margin-bottom: 0.8em;
}

a.mainbutton, a.mainbutton:link, a.mainbutton:visited
{
	display: block;
	width: 14em;
	padding: 0.2em 0.5em 0.2em 2.5em;
	margin: 1em auto;
	background: #fff url("/_images/competition/bgstriperight.gif") no-repeat 0 50%;
	color: #fff;
	text-align: left;
}

hr
{
	border: none;
	border-top: 1px dashed #cfd0d4;
}



/*
 * New stuff for puntathon
 */

div.puntbuttonright
{
	float: right;
	width: 200px;
	margin: 1.5em 0 1em 1em;
	padding: 0;
}

div.puntbuttonright a.mainbutton
{
	width: 14em;
	margin: 0;
}

div.score, div.scores
{
	float: left;
	width: 270px;
	background: #eee;
	padding: 4px 8px 20px 4px;
	margin: 0.5em 0 1em 0.5em;
	background: transparent url("/_images/competition/bggray.gif") no-repeat 100% 100%;
}

div.scores
{
	width: 280px;
}

div.yourscore, div.totalscore
{	
	width: auto;
	padding: 0;
	margin: 0;
}

div.races, div.entry
{
	float: left;
	width: 260px;
	padding: 4px 8px 20px 4px;
	margin: 0.5em 0 1em 0.5em;
	background: transparent url("/_images/competition/bgbeige.gif") no-repeat 100% 100%;
}

div.entry
{
	width: 300px;
}

div.score h3, div.scores h3, div.races h3, div.entry h3
{
	background: #9d0000 url("/_images/competition/bgstripedown.gif") no-repeat 0 50%;
	color: #fff;
	text-align: left;
	padding: 0.2em 0.5em 0.2em 2.5em;
	margin: 0 0 0.5em;
	font-size: 1em;
}

div.score hr, div.scores hr
{
	border-top: 1px dashed #a2a3a6;
	color: #e0e0e0;
}

div.races hr, div.entry hr
{
	border-top: 1px dashed #a2a3a6;
	color: #d7d7c1;
}



table.score thead tr, table.race thead tr, table.picks thead tr
{
	color: #fff;
	background: #666;
	line-height: 1.3em;
}

table.score td, table.race td, table.picks td
{
	vertical-align: top;
	padding: 0em 0.4em;
}



table.entries
{
	width: 100%;
}

table.entries td
{
	width: 50%;
	vertical-align: top;
}

table.entries p
{
	width: 96%;
}

div.entry p.racedetails, table.entries p.racedetails
{
	color: #900;
	line-height: 1.3em;
	font-weight: bold;
}


table.score
{
	width: 100%;
	font-size: 0.95em;
	background: #fff;
}

table.score tbody td
{
	background: #eee;
}

table.score td.position, table.score td.number, table.score td.score
{
	text-align: right;
	width: 7%;
	padding: 0 0.4em;
}

table.score td.points
{
	text-align: right;
	width: 13%;
	padding: 0 0.2em 0 0.2em;
}

table.score td.place
{
	width: 3em;
}

table.score td.name
{
	width: 70%;
}

table.score thead td
{
	padding: 0.1em 0.4em;
}


table.race
{
	width: 100%;
	font-size: 0.95em;
}

table.race tbody td
{
	border-bottom: 1px solid #eee;
}

table.race td.position
{
	width: 5%;
	font-weight: bold;
	text-align: right;
}

table.race td.place
{
	width: 3em;
}

table.race td.name
{

}

table.race tr.scratched td.position, table.race tr.scratched td.name
table.picks tr.scratched td.position, table.picks tr.scratched td.name
{
	text-decoration: line-through;
	color: #999;
}


table.picks
{
	width: 100%;
	font-size: 0.95em;
	background: #fff;
}

table.picks thead td
{
	background: #666;
}

table.picks td
{
	background: #eee;
}

table.picks td.radios
{
	width: 28%;
	white-space: nowrap;
}

table.picks td.place
{
	width: 15%;
}

table.picks td.number
{
	width: 10%;
	text-align: right;
}

table.picks td.name
{
	width: auto;
}

table.picks tr.emergency
{
	color: #994444;
}

a.results
{
	background: transparent url("/_images/misc/results.gif") no-repeat right center;
	padding-right: 16px;
}


/*
 * Tweaks for various IE flavours
 */
.ie6 table.informant
{ width: 96%; }

.ie6 div.competition
{ width: 100%; }

.ie6 div.puntbuttonright
{ margin-right: 0.5em; }

.ie hr
{ color: #fff; }



/*
 * Tweaks for iphone
 */

.iphone #wrapper
{ border: none; }

