/*
Theme Name: Orrcon Racing
Theme URI: 
Description: This theme has been developed for the Orrcon Racing Website
Author: BAM
Author URI: 
Tags: 

*/

/*________ MAIN ELEMENTS ________*/

* {
	margin: 0;
	padding: 0;
}

body {
	font: 12px Arial, Verdana, Helvetica, Sans Serif;
	color: #fff;
	text-align: left;
	background: #2a5d9a url(/images/bg-body.jpg) repeat-x top;
}

a {
	color: #fec91d;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:active {
	outline: none;
}

a:focus {
	-moz-outline-style: none;
}

img {
	display: block;
	border: none;
}

p {
	line-height: 1.4em;
}

p.small {
	font: 10px Arial, Verdana, Helvetica, Sans Serif;
	color: #fec91d;
}

/*________ CONTAINER ________*/

#container {
	width: 840px;
	margin-right: auto;
	margin-left: auto;
	border: px solid red;
	overflow: ;
}

/*________ HEADER ________*/

#header {
	padding-bottom: 20px;
}

#nav {
	list-style-type: none;
	font: 14px Arial, Verdana, Sans Serif;
	font-weight: bold;
	margin: 0 5px 1px 5px;
	height: 40px;
}


#nav ul {
	list-style: none;
	z-index: 99;
	overflow:visible;
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background:#0067a4;
	width:160px;
	font-weight: normal;
	font-size: 12px;
}

#nav li {
	position: relative;
	float:left;   
	background: url(/images/bg-nav-items.png) no-repeat right;
}

#nav li.noBg {
	background: none;
}

#nav ul li { 
	width: 100%;
	border: none; 
}

#nav a {
	display: block;
	color: #fff;
	padding: 11px 15px 12px 15px;
	float: left;
}

#nav li a:hover {
	color: #fec91d;
	text-decoration: none;
}

#nav :hover > a {
	color: #fec91d;
	text-decoration: none;
}

#nav li:hover ul ul {
     display:none;
}

#nav li:hover ul, #nav ul li:hover ul, #nav ul ul li:hover ul, #nav ul ul ul li:hover ul, #navl ul ul ul ul li:hover ul{
     display:block;
}

#nav ul{
     display:none;
}

#nav ul ul{
	display:none;
	position:absolute;
	top: 0;
	left: 100%;
}

#nav li li a, #nav li li a:visited {
	display: block;
	color: #fff;
	padding: 8px 0 8px 10px;
	height: auto;
	width:150px;
	border-bottom: 1px solid #fec91d;
}

#nav li li a:hover {
	color: #fec91d;
}

/*________ SIDEBAR ________*/

#sidebar {
	float: right;
	width: 180px;
	background: #2a5d9a;
	padding: 10px 20px;
	margin-bottom: 20px;
}

#sidebar div {
	margin-bottom: 20px;
}

#sidebar #points h3 {
	padding-bottom: 3px;
}

#sidebar #points h3 span {
	color: #fec91d;
}

#sidebar #recentImages img {
	margin: 0px 10px 10px 0;
	float: left;
	border: 1px solid #fec91d;
}

#sidebar #recentImages img.noRightMargin {
	margin: 0px 0px 10px 0;
}

h2 {
	color: #fec91d;
	font: 20px Arial, Verdana, Helvetica, Sans Serif;
	font-weight: bold;
	border-bottom: 1px solid #fec91d;
	width: 100%;
	margin-bottom: 5px;
}

h2 a:hover {
	color: #fff;
	text-decoration: none;
}

h3 {
	color: #fff;
	font: 14px Arial, Verdana, Helvetica, Sans Serif;
	font-weight: bold;
}

/*________ CONTENT ________*/

#content {
	width: 600px;

}

#content #newsList {
	width: 290px;
	float: left;
	margin-right: 18px;
}

#content #newsList ul {
	list-style: none;
	font-size: 10px;
}

#content #newsList ul li {
	border-bottom: 1px dotted #2a5d9a;
	padding: 8px 0;
}

#content #video {
	float: left;
	display: block;
	width: 275px;
	height: 207px;
	padding: 15px 0 0 15px;
	background: url(/images/bg-youtube-clips.jpg)no-repeat ;
}

#content #buttons ul {
	clear: both;
	list-style: none;
	overflow: hidden;
	padding: 20px 0 20px 0px;
}

#content #buttons ul li {
	float: left;
	margin-right: 20px;
}

#content #buttons ul li a {
	width: 181px;
	height: 57px;
	display: block;
	text-indent:-9999px;
}

#content #buttons ul li.tippingButton a {
	background: url(/images/bg-buttons.gif);
}

#content #buttons ul li.superschoolButton a {
	background: url(/images/bg-buttons.gif);
	background-position: -181px 0px;
}

#content #buttons ul li.merchandiseButton {
	margin-right: 0px;
}

#content #buttons ul li.merchandiseButton a {
	background: url(/images/bg-buttons.gif);
	background-position: -362px 0px;
}

#content #buttons ul li.tippingButton a:hover {background-position: 0px 57px;}
#content #buttons ul li.superschoolButton a:hover {background-position: -181px 57px;}
#content #buttons ul li.merchandiseButton a:hover {background-position: -362px 57px;}

#content a.tippingButton {
	width:412px;
	height: 56px;
	background: url(/images/bg-button-tipping.gif);
	display: block;
	text-indent:-9999px;
	margin: 10px 0 20px 0;
}

#content a.tippingButton:hover {background-position: 0px 56px;}

#content a.enterButton {
	width:212px;
	height: 56px;
	background: url(/images/bg-button-enter-tips.gif);
	display: block;
	text-indent:-9999px;
	margin: 10px 0 10px 0;
	float: right;
}

#content a.enterButton:hover {background-position: 0px 56px;}

#content h1 {
	padding-bottom: 10px;
}

#content p {
	padding-bottom: 8px;
}

#content ul.plainList {
	padding-left: 25px;
	padding-bottom: 8px;
	font-style: italic;
}

#content ul.plainList li {
	padding: 3px 0;
	list-style: none;
	border-bottom: 1px solid #2a5d9a;
}

#content a img.imageFloatLeft,
#content img.alignleft {
	float: left;
	margin: 0 10px 10px 0;
	border: 1px solid #fec91d;
}

#content img.imageFloatRight,
#content img.alignright {
	float: right;
	margin: 0 0 10px 10px;
	border: 1px solid #fec91d;
}

#content .newsItem,
#content .post {
	padding-bottom: 20px;
	overflow: hidden;
width: 595px;
}

#content .newsItem img.imageFloatLeft,
#content .post img.imgThumb {
	float: left;
	margin: 0 10px 10px 0;
	border: 1px solid #fec91d;
}

#content span {
	color: #fec91d;
	font-style: italic;
}

#content .gallery {
	padding-bottom: 20px;
	overflow: hidden;
	clear: left;
width: 590px;
}

#content .gallery img {
float: left;
	margin: 0 10px 10px 0;
	border: 1px solid #fec91d;
}

#content .video {
	margin-right: 20px;
	margin-bottom: 20px;
	padding: 10px 20px 20px 20px;
	background: #2a5d9a;
	float: left;
}

#content .video h3 {
	padding-bottom: 10px;
}

#content .video object {
	border: 1px solid #fec91d;
	display: block;
}

#content ul#calendar {
	list-style: none;
}

#content ul#calendar li {
	padding: 5px 0;
	border-bottom: 1px solid #fec91d; 
}

#content h4 {
	color: #fec91d;
	padding-bottom: 5px;
	font: 14px Arial, Verdana, Helvetica, Sans Serif;
	font-weight: bold;
}

#content .techSections {
	padding: 10px 0 5px 0;
}

#content .sponsorDiv {
	margin-right: 20px;
	margin-bottom: 20px;
	padding-bottom: 5px;
	background: #2a5d9a;
	float: left;
}

#content .sponsorDiv p {
	padding: 0px;
	margin: 0px;
	text-align: center;
}

#content .sponsorDiv img {
	margin: 10px 10px 5px 10px;
	border: 1px solid #fec91d;
}

#content .sponsorDiv p a {
	font-size: 10px;
}

/*________ SUBSCRIBE ________*/

#regoForm {
padding: 15px 0;
}

#regoForm fieldset {
border: 0;
}

#regoForm fieldset label {
float: left;
clear: left;
width: 165px;
text-align: right;
margin: 0 10px 10px 0;
padding-top: 4px;
font-weight: bold;
}

#regoForm fieldset input {
display: block;
border: 1px solid #fec91d;
width: 196px;
margin: 0 0 10px 0;
padding: 3px 0 3px 4px;
}

#regoForm fieldset select {
display: block;
border: 1px solid #fec91d;
width: 200px;
margin: 0 0 10px 0;
}

#regoForm input {
margin: 0 0 0 175px;
}

#regoForm #verification {
width: 450px;
overflow: hidden;
}

#regoForm #verification img {
margin: 0 10px 10px 175px;
float: left;
}

#regoForm #verification a {
display: block;
font-size: 11px;
margin: 12px 0 10px 0;
}

.errorText {
background-color: red;
padding: 10px;
line-height: 1.6;
color: #fff;
font-size: 90%;
margin-bottom: 10px;
}
.errorText p {
font-weight: bold;
}
.errorText ul {
padding-left: 40px;
}
.successText {
background-color: #005c2a;
padding: 10px;
text-align: center;
font-weight: bold;
}

/*________ FOOTER ________*/

#footer {
	clear: both;
	border-top: 1px solid #fec91d;
	background: #2a5d9a;
	padding: 20px 0;
	overflow: hidden;
}

#footerContent {
	width: 840px;
	margin-right: auto;
	margin-left: auto;
}

#footer #twitterPanel {
background: url(/images/twitter.gif) no-repeat left top;
}

#footer #twitter_update_list {
	color: #fff;
	width: 560px;
	font: 12px Arial, Verdana, Helvetica, Sans Serif;
	padding: 0px 0px 7px 40px;
	float: left;
	margin: 0px 20px 0 0;
	list-style: none;
}

#footer #twitterPanel p.twitterDate {
	clear: left;
	margin-top: 0px;
	text-align: left;
	padding-left: 40px;
	margin-bottom: 15px;
}

#footer #twitterPanel img.facebookButton {
	float: right;
}

#footer #footerNav {
	text-align: center;
	font: 10px Arial, Verdana, Helvetica, Sans Serif;
	clear: both;
	border-top: 1px solid #fec91d;
	padding-top: 10px;
	padding-bottom: 10px;
}

#footer #footerNav li {
	display: inline;
}

#footer #footerNav li a {
	color: #fff;
}

#footer p {
	text-align: center;
}

/*________ MISC ________*/

.aligncenter,
div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}

div.alignleft {
float: left;
}

div.alignright {
float: right;
}

.wp-caption {
border: 1px solid #fec91d;
text-align: center;
background-color: #2e5e9c;
color: #fec91d;
padding-top: 4px;
margin: 10px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}

.wp-caption img {
margin: 0 auto 4px auto;
}

.wp-caption p.wp-caption-text {
font-size: 11px;
padding: 0 4px 5px;
margin: 0;
}

