/*	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; }
	hr 			{ margin-top: 10px; margin-bottom: 10px; }
	thead 		{ font-size: 10pt; }
	tbody 		{ font-size: 10pt; line-height: 110%; }
	
	/* Zebra striping */
    /* tbody tr:nth-of-type(odd) {  background: #f4f4f4; } */

	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; 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.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: 0.5cm;
}

@media print
{
	#content { width: 100%; margin: 20px; float: none; } 

	.container { width: 100%; }
	div.table-responsive { overflow-x: visible; font-size: 11pt; }
  table#nacscoringtable { page-break-before: always; }
	table#competitionstandingstable	{
						width: 100%;
						margin: 0;
						float: none;
						font-family: "Arial";
						font-size: 8pt;
						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					{ font-size: 12pt; background-color: white; color: blue; text-align: center; }
    hr						{ margin-top: 5px; margin-bottom: 5px; }
	
	col.rank				{}
	col.competitorid		{}
	col.competitorname		{}
	col.affiliationicon		{ display: none; }
	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; display: none; }
	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; display: none; }
	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; 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.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; }

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

	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; }
}