html,
body {
	margin:  0px;
	padding: 0px;
}
body {
	font-family: Arial, Sans-Serif, Helvetica;
	font-size:   12px;
	color:       black;
	background:  #01519A no-repeat top center;
/*	background:  dimgray no-repeat top center; */
/*	background:  rgb(0, 135, 82) no-repeat top center; */
	text-align:  center;
}

a {
	color: #FFF;
}


.margin { margin: 0 auto; width: 800px; padding-bottom: 40px; }

input,
textarea,
select,
td {
        font-family: Arial, Sans-Serif, Helvetica;
        font-size:   12px;
}
h1 {
/*      color:       #F90; */
        color:       black;
        font-size:   22px;
        font-weight: bold;
}
h2,
h2 a {
/*      color:           #F90; */
        color:           white;
        font-size:       22px;
        font-weight:     normal;
        text-decoration: none;
}
h2 a:hover {
        text-decoration: underline;
}
h3 {
/*      color:           #F90; */
        color:       white;
        font-size:   12px;
        font-weight: bold;
}
a {
        color: white;
        font-size:   16px;
}
a img {
        border: none;
}
hr {
        height: 1px;
        color:  #EEE;
}
span.date {
        color:     #000;
        font-size: 12px;
}
/* HEADER */
div.header {
        position:            absolute;
        top:                 0px;
        left:                0px;
        z-index:             0;
        width:               100%;
        height:              159px;
        background-repeat:   repeat-x;
        background-position: top center;
}
td.header {
        position:   relative;
        height:     159px;
        text-align: right;
}
div.langMenu {
        margin-top: 120px;
}
div.langMenu img {
        margin-right: 10px;
}
/* PAGE */
table.page {
        position: relative;
        z-index:  1;
        top:      0px;
        width:    970px;
/*        width:    770px; */
        margin:   0 auto;
}
/* MAIN NAVIGATION */
td.mainNavigation {
        background-color:    #306CB4;
        background-repeat:   repeat-x;
        background-position: bottom left;
        font-size:           12px;
        color:               #39C;
}
td.mainNavigation td {
        height:  20px;
        padding: 0px 10px;
}
td.mainNavigation a {
        color:           #FFF;
        text-decoration: none;
}
td.mainNavigation td.Active {
        background-color: #315BB1;
        font-weight:      bold;
}
/* CONTENT */
td.left {
        width:               250px;
        padding:             0px 0px 20px 0px;
        background-color:    #FFF;
        background-repeat:   no-repeat;
        background-position: bottom left;
}
td.mid,
td.midFull {
        /*width:               75%;*/
        padding:             0px 0px 20px 0px;
        font-size:           12px;
        background-color:    #FFF;
        background-repeat:   no-repeat;
        background-position: bottom right;
        color: black;
        alink.color: black;
}
td.midFull {
        width: auto;
}
table.contentTable {
        width:             100%;
        background-repeat: repeat-x;
}
td.midFull td.contentSP {
        padding: 0px 20px;
}
td.sidebar {
        /*width: 35%;*/
}
div.contentContainer,
div.contentContainerLinks {
        margin-top: 20px;
        color: black;
}
div.contentContainerLinks ul,
div.contentContainerLinks li,
ul.links {
        margin:  0px;
        padding: 0px;
}
div.contentContainerLinks li,
ul.links li {
        padding:           2px 0px 2px 12px;
        background-repeat: no-repeat;
        list-style-type:   none;
}
div.contentContainer {
        padding: 0px 20px 0px 0px;
}
/* TREE */
ul.tree {
        margin:            0px;
        padding:           20px 10px 10px 20px;
        background-repeat: repeat-x;
}
ul.tree a {
        color:           #000;
        text-decoration: none;
}
ul.tree ul {
        margin:       0px;
        padding:      0px 0px 0px 10px;
}
ul.tree li {
        margin:          0px;
        padding:         0px 0px;
        list-style-type: none;
}
/* NEWS */
table.news {
        width: 100%;
}
td.date {
        width:       13%;
        white-space: nowrap;
}
td.title {
        width: 87%;
}
/* FOOTER */
td.footer {
        padding:          20px;
        background-color: #FFF;
}
td.footer td {
        font-size: 11px;
}
/* MISC */
p.message {
        position:         relative;
        padding:          20px;
        border:           1px solid #306CB4;
        background-color: #FFF;
        color:            #306CB4;
}
p.error {
        position:         relative;
        padding:          20px;
        border:           1px solid #C00;
        background-color: #FFF;
        color:            #C00;
}
ul.aanet {
        margin:  0px;
        padding: 0px;
}
ul.aanet li {
        padding:             2px 0px 2px 22px;
        background-repeat:   no-repeat;
        background-position: 0px 4px;
        list-style-type:     none;
}
ul.aanet span.details {
        color:      #555;
        font-size:  12px;
}
div.tulossivu {
        width:   100%;
        padding: 0px;
}
div.rallivalinta {
        padding: 20px 0px;
}
div.tulossivu h1 {
        color:  black; 
}
div.tulossivu h2,
div.tulossivu h3 {
        margin:  0px;
        padding: 0px;
/*      color:   #3770B7; */
        color:   #000;
        font-size:   16px;
}
div.tulossivu h3 {
        color:  #000;
}
table.rallikehys {
        position:         relative;
        width:            100%;
        border:           1px solid #DDD;
        background-color: #FFF; 
}
/*  PAIVITYS TEKSTI OTSIKKO UPDATEEKTULOKSESSA */
table.rallikehys td.otsikko {
        position:         relative;
        padding:          15px 0px 15px 15px;
        background-color: #FCFCFC;
/*      background-color: #FCFCFC;*/
}
table.lisavalinnat {
        position: absolute;
        top:      -4px;
        right:    10px;
}
table.lisavalinnat td {
        padding:   0px 4px 4px 0px;
        font-size: 11px;
        color:     #666;
}
table.lisavalinnat select {
        font-size: 11px;
}
table.rallikehys td.vasen,
table.rallikehys td.oikea {
        width: 50%;
}
table.tulostaulu {
        width: 100%;
        background-color: #01519A; 
 /*       background-color: dimgray; */
 /*       background-color: rgb(0, 135, 82); */
}
/*  PAIVITYS TEKSTI OTSIKKOLAATIKKO EKNIMI PALKKI EKTULOKSESSA */
table.tulostaulu caption {
        padding:          4px 10px;
        background-color: #01519A; 
/*        background-color: dimgray; */
/*        background-color: rgb(0, 135, 82); */
/*      background-color: #3770B7;*/
        font-size:        12px;
        text-transform:   uppercase;
        color:            #FFF;
        border-bottom:    1px solid #FFF;
}
/*  PAIVITYS TEKSTI OTSIKKOLAATIKKO SARAKEOTSIKOT PALKKI EKTULOKSESSA */
table.tulostaulu th {
        padding:          2px 4px;
        background-color: #01519A; 
/*        background-color: dimgray;  */
/*        background-color: rgb(0, 135, 82); */
/*      background-color: #6C9AD2; */
        color:            #FFF;
        font-size:        11px;
        font-weight:      bold;
        text-align:       left;
        white-space:      nowrap;
}
table.tulostaulu td {
        padding:          2px 4px;
        background-color: #FCFCFC;
        font-size:        11px;
        vertical-align:   middle;
}
table.tulostaulu tr.oddrow td {
        background-color: #EEE;
}
table.tulostaulu td.eka {
        border-left: 1px solid #EEE;
}
table.tulostaulu td.vika {
        border-right: 1px solid #EEE;
}
table.tulostaulu td.sijoitus_y {
        color: #090;
}
table.tulostaulu td.sijoitus_a {
        color: #E60000;
}
table.tulostaulu td.split_pohja {
        color: 			#E60000;
        font-weight:      bold;
}
table.tulostaulu td.split_time {
        color: 			#090;
        font-weight:      bold;
}
p.print {
        padding-left:        17px;
        background-repeat:   no-repeat;
        background-position: 0px 1px;
        font-size:           11px;
        color: black;
}
p.print a {
        text-decoration: none;
        color: rgb(51, 102, 153);
/*        color: dimgray; */
/*        color: rgb(0, 135, 82); */
}

div.small {
       color: white;
}


@media print {
    #logo_norf img {
        display:none;
    }
    #logo_norf:after {
        content:url(/images/logo_musta_86.png);
    }
    #logo_fia img {
        display:none;
    }
    #logo_fia:after {
        content:url(/images/fia_musta.png);
    }
    #logo_wrc img {
        display:none;
    }
    #logo_wrc:after {
        content:url(/images/wrc_musta.png);
    }
}


@media screen {
    #logo_norf img {
        display:none;
    }
    #logo_norf:after {
        content:url(/images/logo_86.png);
    }
    #logo_fia img {
        display:none;
    }
    #logo_fia:after {
        content:url(/images/fia.png);
    }
    #logo_wrc img {
        display:none;
    }
    #logo_wrc:after {
        content:url(/images/wrc.png);
    }
}
