/* CSS Document */

body,html {
width:100%;
height:100%;
margin:0;
padding:0;
}

body {
background:#333 url(/files/jpeg/16/body_bg.jpg) repeat-y 50% 0;
font-family:Arial, Helvetica, sans-serif;
font-size:0.75em;
line-height:1.6em;
color:#FFF;
}

img {
border:0;
}

h1, h2, h3 {
margin:0;
}

a {
color:#F5F0AB;
text-decoration:underline;
}

a:hover {
text-decoration:none;
}

#wrap {
background:transparent url(/files/jpeg/17/header_bg.jpg) no-repeat 50% 0;
width:100%;
height:auto !important;
height:100%;
min-height:100%;
position:relative;
}

#header {
width:960px;
height:240px;
margin:0 auto;
}

#logo {
background:transparent url(/files/png/18/logo.png) no-repeat;
width:480px;
height:240px;
position:absolute;
top:0;
left:50%;
margin-left:-480px;
}

#photos {
float:right;
}

#nav {
width:960px;
height:52px;
margin:0 auto;
}

#nav ul {
width:100%;
list-style:none;
padding:0;
margin:0;
}

#nav li {
float:left;
}

#nav li a {
height:52px;
display:block;
font-size:0;
text-decoration:none;
color:#676358;
}

a.nav-etusivu {
width:88px;
background:transparent url(/files/jpeg/19/valikko.jpg);
background-position:0 0;
}

a:hover.nav-etusivu {
background-position:0 -52px;
}

a.nav-ajankohtaista {
width:111px;
background:transparent url(/files/jpeg/19/valikko.jpg);
background-position:-88px 0;
}

a:hover.nav-ajankohtaista {
background-position:-88px -52px;
}

a.nav-seuraesittely {
width:105px;
background:transparent url(/files/jpeg/19/valikko.jpg);
background-position:-199px 0;
}

a:hover.nav-seuraesittely {
background-position:-199px -52px;
}

a.nav-kuljettajat {
width:89px;
background:transparent url(/files/jpeg/19/valikko.jpg);
background-position:-304px 0;
}

a:hover.nav-kuljettajat {
background-position:-304px -52px;
}

a.nav-jasenasiat {
width:86px;
background:transparent url(/files/jpeg/19/valikko.jpg);
background-position:-393px 0;
}

a:hover.nav-jasenasiat {
background-position:-393px -52px;
}

a.nav-toimisto {
width:77px;
background:transparent url(/files/jpeg/19/valikko.jpg);
background-position:-479px 0;
}

a:hover.nav-toimisto {
background-position:-479px -52px;
}

a.nav-hallitus {
width:70px;
background:transparent url(/files/jpeg/19/valikko.jpg);
background-position:-556px 0;
}

a:hover.nav-hallitus {
background-position:-556px -52px;
}

a.nav-parinoita {
width:80px;
background:transparent url(/files/jpeg/19/valikko.jpg);
background-position:-626px 0;
}

a:hover.nav-parinoita {
background-position:-626px -52px;
}

a.nav-galleria {
width:73px;
background:transparent url(/files/jpeg/19/valikko.jpg);
background-position:-706px 0;
}

a:hover.nav-galleria {
background-position:-706px -52px;
}

a.nav-linkit {
width:58px;
background:transparent url(/files/jpeg/19/valikko.jpg);
background-position:-779px 0;
}

a:hover.nav-linkit {
background-position:-779px -52px;
}

a.nav-yhteystiedot {
width:123px;
background:transparent url(/files/jpeg/19/valikko.jpg);
background-position:-837px 0;
}

a:hover.nav-yhteystiedot {
background-position:-837px -52px;
}

#content {
width:960px;
margin:0 auto;
position:relative;
}

#news {
width:170px;
float:left;
padding:0 20px 0 0;
text-align:right;
}

#news h1 {
font-size:1em;
}

#news p {
text-align:left;
}

#main {
width:540px;
float:left;
padding:20px;
}

#main h1 {
background:#555;
padding:.4em;
font-size:1.8em;
letter-spacing:-1px;
text-transform:uppercase;
color:#F6E82A;
border-bottom:1px dashed #F6E82A;
}

#main h2 {
background:#555;
padding:.4em;
font-size:1.3em;
letter-spacing:-1px;
text-transform:uppercase;
color:#F6E82A;
}

#main h3 {
font-size:1.2em;
letter-spacing:-1px;
text-transform:uppercase;
color:#F6E82A;
}

#main h1 a , #main h2 a, #main h3 a  {
color:#F6E82A;
text-decoration:none;
}

#main li {
list-style-type:disc;
}

#main table {
margin:1em 0;
}

#main th {
font-size:1.2em;
letter-spacing:-1px;
text-transform:uppercase;
color:#F6E82A;
text-align:left;
}

#main td {
background:#666;
padding:.7em;
font-size:1.1em;
border:1px dotted #F5F0AB;
}

#sponsors {
width:170px;
float:left;
padding:0 0 0 20px;
}

#sponsors p {
margin:0 0 5px 0;
background:#FFF;
width:168px;
padding:4px 0;
text-align:center;
display:block;
border:1px solid #692C19;
}

#contentclear {
clear:both;
padding:140px 0 0 0;
}

#helmet {
width:208px;
height:250px;
background:transparent url(/files/png/138/racing_helmet.png) no-repeat 0 0;
position:absolute;
bottom:0;
left:50%;
margin-left:-480px;
z-index:1;
}

#footer {
width:100%;
height:150px;
background:transparent url(/files/jpeg/21/footer.jpg) no-repeat 50% 0;
position:absolute;
bottom:0;
left:0;
text-align:center;
overflow:hidden;
}

a.external {
background:transparent url(/files/png/81/out.png) 100% 6px no-repeat;
padding-right:8px;
}
