/* TERVALA.CSS - AL 2009 */

/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:inherit;font-weight:inherit;}del,ins{text-decoration:none;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:baseline;}sub{vertical-align:baseline;}legend{color:#000;}input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;}input,button,textarea,select{*font-size:100%;}

html {
	text-align: center;
	background: url(../img/background.gif) #5e080b repeat;
	background: url(../img/white_wave.png) #5e080b repeat;
	font-size: 100%;
}

/* =body */
body {
	position: relative;
	width: 940px;
	margin: 0 auto;

	min-height: 200px;

/*	
	background: url(../img/content-bg.gif) #fff repeat-y;
*/
	background-color: #fff;
	color: #000;

	font-family: verdana, sans-serif;
	text-align: left;
	
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.20);
    -moz-box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.20);
    -webkit-box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.20);
}

h1, h2, h3, h4, h5, h6 {
		font-family: Georgia, "Times New Roman", Times, serif;
		font-weight: bold;
}

h2 {
	margin: 5px 0 10px;
}

em {
	font-style: italic;
}

/* =branding */
#branding {
	height: 280px;
}

#branding h2 {
	position: relative;
	background-image: url(../img/tervala.png);
	background-repeat: no-repeat;
	text-indent: -9999px;
	width: 275px;
	height: 37px;
	float: left;
	margin: 210px 0 0 39px;
	z-index: 98;
}
#branding h2 a {
	position: relative;
	display: block;
	width: 275px;
	height: 37px;
	z-index: 99;
}

/* =navigation */
#navigation {
	position: relative;
	height: 30px;
	padding: 9px 0 0 35px;
	
	font-size: 0.9em;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: bold;
	
	background: url(../img/menu-bg.gif) repeat-x;
}

#navigation li {
	float: left;
}

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

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

.js #navigation a:hover {
	text-decoration: none;
}

/* =content */
#content {
	position: relative;
	margin: 60px 23px 60px 127px;
	min-height: 50px;
	
	font-size: 0.8em;
}

#content h1 {
	font-size: 1.8em;
	margin: 0 0 15px;
}

#content p {
	clear: both;
	margin: 15px 0;
}

#content p.clear-float:after {
	content: ".";
	display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

#content a {
	color: #921A1E;
}

#content strong {
	font-weight: bold;
}

#team #content strong {
	display: inline-block;
	width: 205px;
	text-align: right;
}

#content .float {
	float: left;
	margin-bottom: 15px;
}

#content ul.float {
	margin-left: 5px;
}

#content table {
	margin: 5px 0 25px;
}

#content th {
	background: #921A1E;
	color: #fff;
	border-bottom: 1px solid black;
	font-weight: bold;
}

#content th,
#content td {
	padding: 1px 7px;
	vertical-align: top;
}

#content tr.even {
	background: #dedede;
}

#content table p {
	margin: 0 0 3px;
}

/* =main */
#main {
	width: 440px;
	float: left;
}

/* =secondary */
#secondary {
	width: 300px;
	float: left;
	margin: 0 0 0 40px;

	color: #848484;
	font-size: 0.9em;
}

#secondary h4 {
	width: 300px;
	height: 22px;
	padding: 3px 0 0;
	
	text-align: center;
	font-size: 1.1em;

	background: url(../img/box-bg.gif) repeat-x;
	color: #fff;
}

#secondary .results, 
#secondary .races {
	display: block;
	padding: 20px 10px;

	border: 1px solid #dedede;
	border-top: none;
}

#secondary ol li {
	list-style: decimal;
	margin: 0 0 0 30px;
}

/* =car */
#car {
	clear: both;
	position: absolute;
	top: 20px;
	right: 53px;
	z-index: 50;
}

/* =footer */
#footer {
	clear: both;
	
	height: 25px;
	
	background: url(../img/footer-bg.gif) repeat-x;
}

/* =lavalamp */
/* Represents the background of the highlighted menu-item. */
#navigation li.back {
    background: url("../img/lava.gif") no-repeat right -20px;
	height: 20px;
	width: 9px;
    z-index: 8;
    position: absolute;
	margin: 1px 0 0 0px;
}

#list li {
    list-style-type: circle;
}

#navigation li.back .left {
    background: url("../img/lava.gif") no-repeat top left;
    height: 20px;
	margin-right: 9px;
}
	
/* Styles for each menu-item. */
#navigation li a {
    position: relative; 
	margin: auto 10px;
	top: 2px;
    z-index: 10; 
}

/* =nivoslider */
.nivoSlider {
    position:relative;
    width:940px; /* Change this to your images width */
    height:280px; /* Change this to your images height */
	z-index: 10;
}
.nivoSlider img {
    position:absolute;
    top:0px;
    left:0px;
    display:none;
}
.nivoSlider a {
    border:0;
    display:block;
}
.nivo-controlNav,
.nivo-caption {
	display: none;
}