/*	eKLIPS Task Results Style Sheet For Bootstrap		*/

@media screen
{
	table#taskresultstable		{
						font-family: "Arial";
						font-size: 10pt;
						border-collapse: separate;
						margin-left: 0px;
						margin-right: 0px;
						border-width: 0px;
						padding-top: 0px;
						padding-right: 0px;
						padding-bottom: 0px;
						padding-left: 0px;
					}

	taskresultstablecaption	{	color: blue; text-align: center; }
	hr { margin-top: 10px; margin-bottom: 10px; }

	col.changeflagleft		{}
	col.rank				{}
	col.competitorid		{}
	col.competitorname		{}
	col.affiliationicon		{}
	col.affiliation			{}
	col.performance			{}
	col.performancepenalty	{}
	col.result				{}
	col.points				{}
	col.taskpenalty			{}
	col.competitionpenalty	{}
	col.score				{}
	col.gp0points			{}
	col.gp1points			{}
	col.gp2points			{}
	col.gp3points			{}
	col.gp4points			{}
	col.gp5points			{}
	col.gp6points			{}
	col.gp7points			{}
	col.gp8points			{}
	col.gp9points			{}
	col.notes				{}
	col.changeflagright		{}

	th.top-changeflagleft			{ color: blue;	text-align: left; width: 1em; }
	th.top-rank						{ color: blue;	text-align: right; }
	th.top-competitorid				{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-competitorname			{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-affiliationicon			{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-affiliation				{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-performance				{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-performancepenalty		{ color: red;	text-align: left; padding-left: 1em; }
	th.top-result					{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-points					{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-taskpenalty				{ color: red;	text-align: left; padding-left: 1em; }
	th.top-competitionpenalty		{ color: red;	text-align: left; padding-left: 1em; }
	th.top-score					{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-gp0points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-gp1points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-gp2points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-gp3points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-gp4points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-gp5points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-gp6points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-gp7points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-gp8points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-gp9points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-notes					{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-changeflagright			{ color: blue;	text-align: right; width: 1em; }

	th.bottom-changeflagleft		{ color: blue;	text-align: left; width: 1em; }
	th.bottom-rank					{ color: blue;	text-align: right; }
	th.bottom-competitorid			{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-competitorname		{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-affiliationicon		{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-affiliation			{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-performance			{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-performancepenalty	{ color: red;	text-align: left; padding-left: 1em; }
	th.bottom-result				{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-taskpenalty			{ color: red;	text-align: left; padding-left: 1em; }
	th.bottom-competitionpenalty	{ color: red;	text-align: left; padding-left: 1em; }
	th.bottom-score					{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-gp0points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-gp1points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-gp2points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-gp3points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-gp4points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-gp5points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-gp6points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-gp7points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-gp8points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-gp9points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-notes					{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-changeflagright		{ color: blue;	text-align: right; }

	td.changeflagleft		{ color: black;		text-align: left; }
	td.rank					{ color: black;		text-align: right; padding-right: 0.5em; }
	td.competitorid			{ color: black;		text-align: right; }
	td.competitorname		{ color: black;		text-align: left;	padding-left: 1em; }
	td.affiliationicon		{ color: black;		text-align: left; 	padding-left: 1em;}
	td.affiliation			{ color: black;		text-align: left;	padding-left: 1em; }
	td.performance			{ color: black;		text-align: right; }
	td.resultgroup			{ color: black;		text-align: left;	padding-left: 1em; }
	td.performancepenalty	{ color: red; 		text-align: right; }
	td.result				{ color: black; 	text-align: right; }
	td.points				{ color: black; 	text-align: right; }
	td.taskpenalty			{ color: red; 		text-align: right; }
	td.competitionpenalty	{ color: red; 		text-align: right; }
	td.score				{ color: black; 	text-align: right; }
	td.gp0points			{ color: black; 	text-align: right; }
	td.gp1points			{ color: black; 	text-align: right; }
	td.gp2points			{ color: black; 	text-align: right; }
	td.gp3points			{ color: black; 	text-align: right; }
	td.gp4points			{ color: black; 	text-align: right; }
	td.gp5points			{ color: black; 	text-align: right; }
	td.gp6points			{ color: black; 	text-align: right; }
	td.gp7points			{ color: black; 	text-align: right; }
	td.gp8points			{ color: black; 	text-align: right; }
	td.gp9points			{ color: black; 	text-align: right; }
	td.notes				{ color: black; 	text-align: left; padding-left: 1em; }
	td.changeflagright		{ color: black; 	text-align: right; width: 1em; }

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

	td#taskvariables		{ text-align: left; }

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

	.pilot1				{ width: 150px; }
	.pilot2				{ width: 150px; }
	.pilot3				{ width: 150px; }
	.balloon1			{ width: 150px; }
	.balloon2			{ width: 150px; }
	.balloon3			{ width: 150px; }
}

@page
{
	margin: 0.5cm;
}

@media print
{
	taskresultstablecaption			{ font-size: 10pt; background-color: white; color: blue; text-align: center; }
	hr { margin-top: 10px; margin-bottom: 10px; }

	table#taskresultstable		{
						font-family: "Arial";
						font-size: 9pt;
						border-collapse: separate;
						margin-left: 0px;
						margin-right: 0px;
						border-width: 0px;
						padding-top: 0px;
						padding-right: 0px;
						padding-bottom: 0px;
						padding-left: 0px;
					}

	col.changeflagleft		{}
	col.rank				{}
	col.competitorid		{}
	col.competitorname		{}
	col.affiliationicon		{ display: none; }
	col.affiliation			{}
	col.performance			{}
	col.performancepenalty	{}
	col.result				{}
	col.points				{}
	col.taskpenalty			{}
	col.competitionpenalty	{}
	col.score				{}
	col.gp0points			{}
	col.gp1points			{}
	col.gp2points			{}
	col.gp3points			{}
	col.gp4points			{}
	col.gp5points			{}
	col.gp6points			{}
	col.gp7points			{}
	col.gp8points			{}
	col.gp9points			{}
	col.notes				{}
	col.changeflagright		{}

	th.top-changeflagleft			{ color: blue;	text-align: left; width: 1em; }
	th.top-rank						{ color: blue;	text-align: right; }
	th.top-competitorid				{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-competitorname			{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-affiliationicon			{ color: blue;	text-align: left; padding-left: 1em; display: none; }
	th.top-affiliation				{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-performance				{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-performancepenalty		{ color: red;	text-align: left; padding-left: 1em; }
	th.top-result					{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-points					{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-taskpenalty				{ color: red;	text-align: left; padding-left: 1em; }
	th.top-competitionpenalty		{ color: red;	text-align: left; padding-left: 1em; }
	th.top-score					{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-gp0points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-gp1points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-gp2points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-gp3points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-gp4points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-gp5points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-gp6points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-gp7points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-gp8points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-gp9points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-notes					{ color: blue;	text-align: left; padding-left: 1em; }
	th.top-changeflagright			{ color: blue;	text-align: right; width: 1em; }
	
	th.bottom-changeflagleft		{ color: blue;	text-align: left; width: 1em; }
	th.bottom-rank					{ color: blue;	text-align: right; }
	th.bottom-competitorid			{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-competitorname		{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-affiliationicon		{ color: blue;	text-align: left; padding-left: 1em; display: none; }
	th.bottom-affiliation			{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-performance			{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-performancepenalty	{ color: red;	text-align: left; padding-left: 1em; }
	th.bottom-result				{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-taskpenalty			{ color: red;	text-align: left; padding-left: 1em; }
	th.bottom-competitionpenalty	{ color: red;	text-align: left; padding-left: 1em; }
	th.bottom-score					{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-gp0points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-gp1points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-gp2points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-gp3points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-gp4points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-gp5points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-gp6points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-gp7points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-gp8points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-gp9points				{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-notes					{ color: blue;	text-align: left; padding-left: 1em; }
	th.bottom-changeflagright		{ color: blue;	text-align: right; }

	td.changeflagleft		{ color: black;		text-align: left; }
	td.rank					{ color: black;		text-align: right; padding-right: 0.5em; }
	td.competitorid			{ color: black;		text-align: right; }
	td.competitorname		{ color: black;		text-align: left;	padding-left: 1em; }
	td.affiliationicon		{ color: black;		text-align: left; 	padding-left: 1em; display: none; }
	td.affiliation			{ color: black;		text-align: left;	padding-left: 1em; }
	td.performance			{ color: black;		text-align: right; }
	td.resultgroup			{ color: black;		text-align: left;	padding-left: 1em; }
	td.performancepenalty	{ color: red; 		text-align: right; }
	td.result				{ color: black; 	text-align: right; }
	td.points				{ color: black; 	text-align: right; }
	td.taskpenalty			{ color: red; 		text-align: right; }
	td.competitionpenalty	{ color: red; 		text-align: right; }
	td.score				{ color: black; 	text-align: right; }
	td.gp0points			{ color: black; 	text-align: right; }
	td.gp1points			{ color: black; 	text-align: right; }
	td.gp2points			{ color: black; 	text-align: right; }
	td.gp3points			{ color: black; 	text-align: right; }
	td.gp4points			{ color: black; 	text-align: right; }
	td.gp5points			{ color: black; 	text-align: right; }
	td.gp6points			{ color: black; 	text-align: right; }
	td.gp7points			{ color: black; 	text-align: right; }
	td.gp8points			{ color: black; 	text-align: right; }
	td.gp9points			{ color: black; 	text-align: right; }
	td.notes				{ color: black; 	text-align: left; padding-left: 1em; }
	td.changeflagright		{ color: black; 	text-align: right; width: 1em; }

	tr						{ line-height: 13px; }
	td						{ font-size: 9pt; };

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

	td#taskvariables		{ text-align: left; }

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

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

	table.top3competitortable { page-break-before:always; }
}