

@page { size: A4 portrait; margin: 5mm; }

@media print {
	body {width:20cm; margin: 0mm;}
	footer { position: fixed; bottom: 0mm; width: 100%;}
	header { position: fixed; top: 0mm; width: 100%; }
  .page { padding-top:35mm; padding-bottom: 23mm; page-break-after:always;page-break-inside:avoid; }
}


*{padding:0; margin:0;}
body {width:20cm; margin: 0; font-size:10px; background-color:rgb(255,255,255); font-family:verdana,arial,sans-serif;} /*Font-size: 1.0em = 10px when browser default size is 16px*/

div {padding: 0; margin: 0; display: block;}

#REVISION {
  	 position: fixed;
    top: 2.6cm;
    left: 16cm;
    width: 4.5cm;
    height: 1.5cm;
    color: white;
    background-color: black;
    font-weight: bolder;
    font-variant: small-caps;
    text-align: center;
    display: flex;
}
#TxtRev {font-size: 20px;}
#HRev{font-size: 12px;}
#CREV{margin: auto;}

#pageFooter:after { counter-increment: NBpage; content: counter(NBpage); }

header h1 {clear:both; margin:0 0 10px 0; font-family:"trebuchet ms",arial,sans-serif; color:rgb(0,0,0); font-weight:normal; font-size:20px; text-align:center;}
header h2 {clear:both; margin:3mm 0 3mm 0; font-family:"trebuchet ms",arial,sans-serif; color:rgb(0,0,0); font-weight:normal; font-size:20px; border-bottom:2px solid black;}

header table {font-size: 10px; width: 100%}
header table .HeaderGauche {width:5cm; text-align: left;}
header table .HeaderCentre {text-align: center;}
header table .HeaderDroite {width:5cm; text-align: right;}
header img {max-width: 50mm; max-height: 25mm;}


footer {clear:both; width:100%; text-align:center;}
footer table {font-size: 10px; width: 100%}
footer table .TxtFooterGauche {width:5cm; text-align: left;}
footer table .TxtFooterCentre {text-align: center;}
footer table .TxtFooterDroite {width:5cm; text-align: right;}
footer img {width: 200mm; max-height: 15mm;}

#ETlogo {z-index: 8;}
#ETtxt {z-index: 1;}


/********************/
/*  PRINT CS        */
/********************/
.page {page-break-after:always; page-break-inside: avoid; }
.page h1 {clear:both; padding-top:16px; font-family:"trebuchet ms",arial,sans-serif; font-weight:bold; font-size:16px; border-bottom:1px solid black; }
.page h2 {clear:both; padding-top:16px; padding-bottom:8px; font-family:"trebuchet ms",arial,sans-serif; font-weight:bold; font-size:16px;}
.page h3 {clear:both; padding:12px 0 6px 18px; font-family:"trebuchet ms",arial,sans-serif; font-weight:bold; font-size:14px;}
.page table {clear:both; width:200mm; table-layout: auto; margin-left:5mm; border-collapse:collapse; empty-cells:show; font-size: 10px; border-spacing: 0px; margin: Opx; padding:0px; background-color:transparent; border: 1px solid #224099;}
.page table th.top {padding:10px 1px 10px 1px; height:auto; border-bottom:1px solid #224099; background-color:#E1E1E1; text-align:left;}
.page table th {padding:3px 1px 2px 1px; height:auto; border:none; border-bottom:1px solid #224099; background-color:#E1E1E1; text-align:left; font-size: 10px; font-style:italic; }
.page table td {padding: 1px; border:none;}


.Note {font-size: 8px; margin-top: 12px;}
.NotePrint {font-size: 12px; margin-top: 12px;}


/********************/
/*  TIMING          */
/********************/
.Timing table {margin-left:1cm; width: 18cm; font-size: 12px; border: none;}
.Timing table td {padding:2px;}
.T1 {width: 2cm;}
.T2 {width: 3cm; max-width:3cm; overflow-x: visible; white-space: nowrap;}
.T3 {width: 2cm; max-width:2cm; font-style: italic; overflow-x: visible; white-space: nowrap;}
.T4 {width: 4cm;}
.T5 {width: 4cm;}
.T6 {width: auto;}


/********************/
/*  RACES           */
/********************/
.Races table {margin-left:1cm; width: 18cm; border: none;}
.Races table th {font-size: 8px; font-style: italic; background-color: transparent; height: auto; border:none;}
.Races table td {padding:2px;}
.GrasRaces {font-weight: bold;}




