body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background:#000;
}


/* results_table
- tables have max 5 categories / columns
- if there are more than 5 categories, a second table is created below with a div (class results_table_separator) between.
- results_table td.empty is an empty cell. it should not be visible.
*/

.results_table {
width:100%;
border-collapse:collapse;
font-family:Arial,Tahoma,sans-
serif;
min-width:800px;
}

.results_table td {
height: 25px;
text-align:center;
border-style:solid;
border-width:1px;
border-color:black;
color : white;
font-size:14px;
}

.results_table td.empty 
{
background-color: #000;
}

.results_table_separator
{
height:50px;
}


/* CATEGORIES TITLES FORMAT
- .results_table td.category_title is the common format
- .results_table td.category_title.category_kf3 is the specific format for kf3
- ...
*/

.results_table td.category_title
{
font-size:24px;
background-color: rgb(51,51,51);
text-shadow : 2px 2px 2px #000;
font-weight: bold;
}

.results_table  td.category_title.category_minikart
{
color:#ffea0a;
}.results_table  td.category_title.category_efk{color:#2900a0;}

.results_table  td.category_title.category_mini60
{
color:#f88;
}

.results_table  td.category_title.category_minime
{
color:#f88;
}

.results_table  td.category_title.category_minimecadet
{
color:#f88;
}

.results_table  td.category_title.category_cadet
{
color:#f80;
}

.results_table  td.category_title.category_rotax
{
color:#f39;
}

.results_table  td.category_title.category_rotaxmax
{
color:#f39;
}

.results_table  td.category_title.category_rotaxmtr
{
color:#d44;
}
.results_table  td.category_title.category_rotaxsm
{
color:#f39;
}
.results_table  td.category_title.category_dd2
{
color:#f00;
}

.results_table  td.category_title.category_nationale
{
color:#04c;
}

.results_table  td.category_title.category_x30
{
color:#ade;
}

.results_table  td.category_title.category_smg
{
color:#ade;
}

}
.results_table  td.category_title.category_senior
{
color:#ade;
}

.results_table  td.category_title.category_x30m
{
color:#5ee;
}
.results_table  td.category_title.category_formule20000{color:#5ee;}
.results_table  td.category_title.category_kz2
{
color:#fe0;
}

.results_table  td.category_title.category_kz
{
color:#fe0;
}
.results_table  td.category_title.category_kz2master
{
color:#fa0;
}
.results_table  td.category_title.category_kzm
{
color:#fa0;
}.results_table  td.category_title.category_groupe1historikart
{color:#20f000;}
.results_table  td.category_title.category_groupe2historikart
{
color:#20d000;
}
.results_table  td.category_title.category_groupe3historikart
{
color:#20a000;
}

.results_table  td.category_title.category_kzg
{
color:#fa0;
}
.results_table  td.category_title.category_kz2gentleman
{
color:#5ee;
}
.results_table  td.category_title.category_kzsm
{
color:#fe0;
}

.results_table  td.category_title.category_endurance
{
color:#fa0;
}


/*CLASS LIST
- date : display a date
- hour : display an hour

- entry_list
- participants_list
- practice : display free practice
- qualifying : display qualifying results 
- merge_qualifying : display qualifying merged results
- heat : display heat results
- merge_heat : display heats merged results
- race : display race results
- merge_race : display races merged results
- manual_file : display user pdf document

- start_list : have a link to a pdf start list document
- results : have a link to a pdf results document
- pending : results are pending
- official : results are official
 */

.results_table td.hour
{
border-right-width : 0px;
font-size:12px;
}

.results_table td.date
{
border-left-width : 0px;
background-color: rgb(40, 40, 40);
text-align : center;
text-shadow : 2px 2px 2px #000;
font-weight: bold;
font-size:14px;
}

.results_table td.new_date
{
background-image:url('new_date.png');
background-repeat:repeat-x;
background-position: center top;
}
 
 .results_table td.new_date.results
{
background-image:none;
}
 
.results_table td.hour.start_list
{
}

.results_table td.entry_list
{
background-color: rgb(70, 70, 70);
}

.results_table td.participants_list
{
background-color: rgb(85, 85, 85);
}

.results_table td.practice
{
border-left-width : 0px;
background-color: rgb(50,100,50);
}

.results_table td.hour.practice
{
}

.results_table  td.qualifying
{
border-left-width : 0px;
background-color: rgb(0,150,0);
}

.results_table  td.hour.qualifying
{
}

.results_table td.merge_qualifying
{
border-left-width : 0px;
background-color: rgb(0,100,0);
}

.results_table td.heat
{
border-left-width : 0px;
background-color: rgb(0,50,50);
}

.results_table td.hour.heat
{
}

.results_table td.merge_heat
{
border-left-width : 0px;
background-color: rgb(150,0,0);
}

.results_table td.race
{
border-left-width : 0px;
background-color: rgb(0,0,50);
}

.results_table td.hour.race
{
}

.results_table td.merge_race
{
border-left-width : 0px;
background-color: rgb(200,0,0);
}

.results_table td.hour.results
{
background-image:url('results.png');
background-repeat:no-repeat;
background-position: center center;
}

.results_table td.hour.results.pending
{
}

.results_table td.hour.results.official
{
}

.results_table td.manual_file
{
border-left-width : 0px;
background-color: rgb(200,125,0);
}

.results_table a
{
text-decoration:none;
color : white;
font-weight:bold;
}

.results_table a:hover
{
text-decoration:underline;
}