/*  
Theme Name: Orienteering England
Theme URI: http://www.orienteeringengland.org.uk/
Description: Custom Theme for the English Orienteering Council
Author: Tim Holt
Author URI: http://www.technokinetics.com/
Version: 2.0
*/

/* Reset Defaults Starts */

* {
	margin: 0;
	padding: 0;
}

body {
	font-family: verdana, sans-serif;
	font-size: 100%; /* Reins in IE text resizing */
}

h1, h2, h3, h4, h5, h6 {
	padding: 10px;
}

h1 {
	font-size: 1.2em;
}

h2 {
	font-size: 1.1em;
}

h3, h4, h5, h6 {
	font-size: 1em;
}

p {
	padding: 8px 10px;
	line-height: 1.3em;
}

a img {
	border: none;
}

table { font-size: 0.9em; }

#header {
	padding-top: 10px;
	background: #000;
}

#title {
	margin: 0 auto;
	height: 40px;
	width: 80%;
	max-width: 60em;
	color: #FFF;
}

#header h1 {
	float: left;
	padding: 0;
	width: 70%;
	line-height: 40px;
	font-weight: normal;
}

#jumplink {
	float: right;
	padding: 0;
	width: 25%;
	line-height: 40px;
	font-size: 0.8em;
	text-align: right;
}

#jumplink a {
	color: #FFF;
}

#jumplink a:hover {
	color: #C00;
	text-decoration: none;
}

#toppic {
	margin: 0 auto;
	height: 180px;
	width: 80%;
	max-width: 980px; /* background image width */
	border: 1px solid #666;
}

.toppic1 { background: url(images/bgheader1.jpg) left top no-repeat; }
.toppic2 { background: url(images/bgheader2.jpg) left top no-repeat; }
.toppic3 { background: url(images/bgheader3.jpg) left top no-repeat; }
.toppic4 { background: url(images/bgheader4.jpg) left top no-repeat; }
.toppic5 { background: url(images/bgheader5.jpg) left top no-repeat; }
.toppic6 { background: url(images/bgheader6.jpg) left top no-repeat; }
.toppic7 { background: url(images/bgheader7.jpg) left top no-repeat; }
.toppic8 { background: url(images/bgheader8.jpg) left top no-repeat; }

#topnav {
	margin: 0 auto;
	width: 80%;
	max-width: 60em;
	background: #000;
}

#topnav ul {
	list-style: none;
	padding: 5px 0;
}

#topnav li {
	float: left;
	margin-right: 1.5em;
}

#topnav a {
	display: block;
	line-height: 40px;
	font-size: 0.9em;
	text-decoration: none;
	color: #FFF;
}

#topnav a:hover {
	color: #C00;
	text-decoration: underline;
}

#main {
	clear: both;
	margin: 0 auto;
	padding: 15px 0 0 0;
	width: 80%;
	max-width: 60em;
}

#sidebar {
	float: left;
	width: 23%;
	font-size: 1em;
}

#sidebar ul {
	list-style: none;
}

#sidebar li {
	margin: 15px 0 30px 0;
	border-bottom: 1px solid #CCC;
}

#sidebar li h3 {
	padding: 2px 0;
	font-weight: normal;
	font-size: 1em;
	color: #CC0000;
	border-bottom: 1px solid #CCC;
	text-align: right;
}

#sidebar li li {
	margin: 0;
	border-bottom: none;
	font-size: 0.9em;
	background: #fbfbfb;
}

* html #sidebar li li {
	display: inline;
	padding-left: 0;
}

* html #sidebar li li ul {
	margin-left: 10px;
}

#sidebar a {
	display: block;
	padding: 4px 5px 4px 10px;
	color: #000;
	text-decoration: none;
}

#sidebar a:hover {
	text-decoration: underline;
}

#sidebar li li a:hover {
	color: #CC0000;
	background: #F1F1F1;
}

#sidebar li li li {
	padding-left: 15px;
}

* html #sidebar li li ul {
	margin-left: 15px;
}

* html #sidebar li li li {
	padding-left: 0;
}

#sidebar #tag_cloud a {
	display: inline;
}

#content {
	float: right;
	width: 75%;
	background: #FFF url(images/bgcontenttop.gif) left top no-repeat;
}

#home #content img, #single #content img, #archive #content img {
	margin: 10px;
	border: 8px solid #CCC;
}

img.alignleft {
	float: left;
}

img.alignright {
	float: right;
}

.ngg-albumoverview .ngg-album a {
	color: #000;
	text-decoration: none;
	font-size: 0.8em;
}

.ngg-albumoverview .ngg-album a:hover {
	color: #C00;
	text-decoration: underline;
}

.post {
	margin: 8px 0;
	padding: 8px;
	border: 8px solid #CCC;
}

.postTitle {
	border-bottom: 1px dotted #CCC;
}

.postTitle h2, .post h2 a {
	clear: both;
	margin: 0;
	padding: 0;
	text-decoration: none;
	color: #000;
	font-size: 1.1em;
}

.post h2 a:hover {
	color: #C00;
	text-decoration: underline;
}

.post h3 {
	clear: both;
}

.postMeta {
	padding-bottom: 10px;
	height: 20px;
	color: #666;
}

.postDate {
	float: right;
	width: 40%;
	line-height: 15px;
	font-size: 0.8em;
	text-align: right;
}

.postAuthor {
	float: left;
	width: 40%;
	line-height: 15px;
	font-size: 0.8em;
}

.postContent {
	clear: both;
	padding: 10px 0 20px 0;
	font-size: 1em;
	border-bottom: 1px dotted #CCC;
}

.postContent dl {
	padding: 10px;
}

.postContent dl dt {
	padding: 5px 5px 5px 0;
	float: left; 
	font-weight: bold;
}

.postContent dl dd {
	padding: 5px;
}

.postLower {
	margin-top: 10px;
	line-height: 20px;
	background: #F1F1F1;
	border: 1px solid #CCC;
	font-size: 0.8em;
}

.post a, #nextprevious a {
	color: #C00;
}

.post a:hover, #nextprevious a:hover {
	text-decoration: none;
}

#content ul, #content ol, #content blockquote {
	margin: 10px 50px;
	font-size: 0.9em;
}

#nextprevious {
	padding: 10px 0;
}

.previous {
	float: left;
}

.next {
	float: right;
}

#footer {
	background: #000;
	color: #FFF;
}

#footer p {
	margin: 0 auto;
	padding: 10px 0;
	width: 80%;
	max-width: 60em;
	line-height: 30px;
	font-size: 0.8em;
	text-align: center;
}

#footer a {
	color: #C00;
}

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

table {
	margin: 5% auto;
	width: 90%;
	margin: 10px 0;
}

th {
	background: #ccc;
	padding: 2px 5px;
	text-align: left;
}

td {
  background: #F1F1F1;
  padding: 2px 5px;
}

.officialslist th.name {width: 260px;}
.officialslist th.position {width: 170px;}
.officialslist th.club {width: 60px;}
.officialslist td.name {line-height: 90px;}
.officialslist img {margin: 5px 10px 5px 5px; float: left; height: 80px;}

.results th.position {width: 30px;}
.results th.number {width: 30px;}
.results th.name {width: 220px;}
.results th.runners {width: 255px;}
.results th.country {width: 150px;}
.results th.team {width: 85px;}
.results th.time {width: 70px;}

.interland07 th.position {width: 30px;}
.interland07 th.name {width: 180px;}
.interland07 th.nationality {width: 50px;}
.interland07 th.class {width: 50px;}
.interland07 th.team {width: 100px;}
.interland07 th.time {width: 70px;}

.clearfix { clear: both; }
.alignleft { margin: 5px 10px 5px 0; float: left; }
.alignright { margin: 5px 0 5px 10px; float: right; }