/*	eKLIPS Competition Standings Style Sheet For Bootstrap		*/

@media screen
{
	table#competitionstandingstable	{
						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;
					}

	caption				{ color: blue; }

	col.rank			{}
	col.competitorid		{}
	col.competitorname		{}
	col.affiliationicon		{}
	col.affiliation			{}
	col.taskscore			{}
	col.totalscore			{}

	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-taskscore		{ color: blue; text-align: left; padding-left: 1em; }
	th.top-totalscore		{ color: red; text-align: left; padding-left: 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-taskscore		{ color: blue; text-align: left; padding-left: 1em; }
	th.bottom-totalscore		{ color: red; text-align: left; padding-left: 1em;  }

	td.rank				{ color: black; text-align: right; }
	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.taskscore			{ color: black; text-align: right; }
	td.totalscore			{ color: red; text-align: right; }

   	td.competitor1			{ color: black; text-align: center; padding-left: 1em; }
	td.competitor2			{ color: black; text-align: center; padding-left: 1em; }
	td.competitor3			{ color: black; text-align: center; padding-left: 1em; }

	td.taskversion			{ text-align: right; }
	td.taskscorechecksum		{ text-align: right; }
 	td.totalscorechecksum		{ text-align: right; }
    
	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; }
}

@page
{
	margin: 0cm;
}

@media print
{
	table#competitionstandingstable	{
						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;
					}

	caption				{ color: blue; }

	col.rank			{}
	col.competitorid		{}
	col.competitorname		{}
	col.affiliationicon		{}
	col.affiliation			{}
	col.taskscore			{}
	col.totalscore			{}

	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-taskscore		{ color: blue; text-align: left; padding-left: 1em; }
	th.top-totalscore		{ color: red; text-align: left; padding-left: 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-taskscore		{ color: blue; text-align: left; padding-left: 1em; }
	th.bottom-totalscore		{ color: red; text-align: left; padding-left: 1em;  }

	td.rank				{ color: black; text-align: right; }
	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.taskscore			{ color: black; text-align: right; }
	td.totalscore			{ color: red; text-align: right; }

   	td.competitor1			{ color: black; text-align: center; padding-left: 1em; }
	td.competitor2			{ color: black; text-align: center; padding-left: 1em; }
	td.competitor3			{ color: black; text-align: center; padding-left: 1em; }

	td.taskversion			{ text-align: right; }
	td.taskscorechecksum		{ text-align: right; }
 	td.totalscorechecksum		{ text-align: right; }
    
	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; }
}
