/*	eKLIPS Task Results Style Sheet		*/

@media screen
{
	body				{ background: white url(eKLIPSCopyright.gif) no-repeat center center fixed; }

	div#eventname			{ font-family: "Arial"; font-size: 24pt; color: black; text-align: center; }
	div#eventlocation		{ font-family: "Arial"; font-size: 18pt; color: black; text-align: center; }
	div#competitionname		{ font-family: "Arial"; font-size: 16pt; color: black; text-align: center; }

	caption				{ color: blue; }

	table				{ border-collapse: collapse; }
	table#resultstable		{ font-family: "Arial"; border-collapse: collapse; margin-left: auto; margin-right: auto; }
	table#top3competitortable	{ font-family: "Arial"; border-collapse: collapse; margin-left: auto; margin-right: auto; }

	col#rank			{ text-align: right; }
	col#number			{ text-align: right; }
	col#name			{ text-align: left; }
	col#country			{ text-align: left; }
	col#performance 		{ text-align: right; }
	col#performancepenalty		{ text-align: right; color: red; }
	col#result			{ text-align: right; }
	col#points			{ text-align: right; }
	col#taskpenalty			{ text-align: right; color: red; }
	col#competitionpenalty		{ text-align: right; color: red; }
	col#score			{ text-align: right; }
        col#gp0points           	{ text-align: right; }
	col#note			{ text-align: left; }

	tr.newcurrentresult		{ background-color:  yellow; }
	td.previousresult		{ text-decoration: line-through; }

	td#taskvariables		{ text-align: left; }

	img#flag1			{ width: 100px; }
	img#flag2			{ width: 100px; }
	img#flag3			{ width: 100px; }
	img#pilot1			{ width: 100px; }
	img#pilot2			{ width: 100px; }
	img#pilot3			{ width: 100px; }
	img#balloon1			{ width: 100px; }
	img#balloon2			{ width: 100px; }
	img#balloon3			{ width: 100px; }

	table#upperlogotable		{ width: 100%; }
	img#upperleftlogo		{ width: 50%; border: 0; }
	img#upperrightlogo		{ width: 50%; border: 0; }
	img#upperlogo1			{ width: 50%; border: 0; }
	img#upperlogo2			{ width: 50%; border: 0; }
	img#upperlogo3			{ width: 50%; border: 0; }
	img#upperlogo4			{ width: 50%; border: 0; }
	img#upperlogo5			{ width: 50%; border: 0; }

	table#lowerlogotable		{ width: 100%; border: 0; }
	img#lowerlogo1			{ width: 25%; border: 0; }
	img#lowerlogo2			{ width: 25%; border: 0; }
	img#lowerlogo3			{ width: 25%; border: 0; }
	img#lowerlogo4			{ width: 25%; border: 0; }
	img#lowerlogo5			{ width: 25%; border: 0; }

	table#messagelogotable		{ width: 50%; border: 0; }
	img#messagelogo1		{ width: 50%; border: 0; }
	img#messagelogo2		{ width: 50%; border: 0; }
	img#messagelogo3		{ width: 50%; border: 0; }
	img#messagelogo4		{ width: 50%; border: 0; }
	img#messagelogo5		{ width: 50%; border: 0; }
}

@page
{
	margin: 1cm;
}

@media print
{
	h1			{ font-size: 10pt; line-height: 50%; background-color: white; color: blue; display: none}
	h2			{ font-size: 14pt; line-height: 50%; background-color: white; color: blue; }
	h3			{ font-size: 10pt; line-height: 50%; background-color: white; color: blue; }

	title			{ font-size: 10pt; line-height: 50%; }

	body			{ background: white url(eKLIPSCopyright.gif) no-repeat center center fixed; }

	div#eventname		{ font-family: "Arial"; font-size: 18pt; color: black; text-align: center; }
	div#eventlocation	{ font-family: "Arial"; font-size: 14pt; color: black; text-align: center; }
	div#competitionname	{ font-family: "Arial"; font-size: 16pt; color: black; text-align: center; }

	caption			{ font-size: 10pt; background-color: white; color: blue; text-align: center; }

	table			{ border-collapse: collapse; }

	col#rank		{ text-align: right; }
	col#number		{ text-align: right; }
	col#name		{ text-align: left; }
	col#country		{ text-align: left; }
	col#performance 	{ text-align: right; }
	col#performancepenalty	{ text-align: right; color: red; }
	col#result		{ text-align: right }
	col#points		{ text-align: right; }
	col#taskpenalty		{ text-align: right; color: red; }
	col#competitionpenalty	{ text-align: right; color: red; }
	col#score		{ text-align: right; }
     	col#gp0points           { text-align: right; }
	col#note		{ text-align: left; }

	tr			{ line-height: 70%; }

	td			{ font-size: 11pt; }

	tr.previousresult	{ background-color: yellow; font-weight: bold; }
	td.previousresult	{ text-decoration: line-through; }

	td#taskvariables	{ text-align: left; }

	img#flag1			{ width: 100px; }
	img#flag2			{ width: 100px; }
	img#flag3			{ width: 100px; }
	img#pilot1			{ width: 100px; }
	img#pilot2			{ width: 100px; }
	img#pilot3			{ width: 100px; }
	img#balloon1			{ width: 100px; }
	img#balloon2			{ width: 100px; }
	img#balloon3			{ width: 100px; }

	table#upperlogotable	{ width: 100%; }
	img#upperleftlogo	{ width: 100; border: 0; }
	img#upperrightlogo	{ width: 50%; border: 0; }
	img#upperlogo1		{ width: 50%; border: 0; }
	img#upperlogo2		{ width: 50%; border: 0; }
	img#upperlogo3		{ width: 50%; border: 0; }
	img#upperlogo4		{ width: 50%; border: 0; }
	img#upperlogo5		{ width: 100%; border: 0; }

	table#lowerlogotable	{ width: 100%; border: 0; }
	img#lowerlogo1		{ width: 100; border: 0; }
	img#lowerlogo2		{ width: 100; border: 0; }
	img#lowerlogo3		{ width: 100; border: 0; }
	img#lowerlogo4		{ width: 100; border: 0; }
	img#lowerlogo5		{ width: 100; border: 0; }

	table#messagelogotable	{ width: 50%; border: 0; }
	img#messagelogo1	{ width: 50%; border: 0; }
	img#messagelogo2	{ width: 50%; border: 0; }
	img#messagelogo3	{ width: 50%; border: 0; }
	img#messagelogo4	{ width: 50%; border: 0; }
	img#messagelogo5	{ width: 50%; border: 0; }

	table#top3competitortable {page-break-before:always}

	a:link			{ color: black; text-decoration: none; }
	a:visited		{ color: black; text-decoration: none; }

	#linktootherformats { display: none; }
	#w3validation { display: none; }
}
