@charset "utf-8";
/* CSS Document */

table {
	border-collapse: collapse;
	border: thin solid #666;
	font-size: 12px;
	background-color: #FFF;
	background: #FFFFFF;
	max-width: 600px;
}
caption, th, td {
	padding: 0.1em 1em;
	border-top-width: thin;
	border-right-width: thin;
	border-bottom-width: thin;
	border-left-width: thin;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
}
th {
	background-color:#77A3BF;
	color:#000;
}

caption {
	font-size: 150%;
	font-weight: bold;
	color: #000;
	background-color:#77A3BF;
}
tr:nth-of-type(odd) {
	background-color: #D1D1CB;
}
tr:nth-of-type(even) {background-color:#fff;}
body {
}
/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 868px
and also iPads specifically.
*/
@media 
only screen and (max-width: 868px),
(min-device-width: 868px) and (max-device-width: 1024px)  {

	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	tr { border: 1px solid #ccc; }
	
	td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
	
	td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	
	/*
	Label the data
	*/
	td:nth-of-type(1):before { content: "Date"; }
	td:nth-of-type(2):before { content: "Race"; }
	td:nth-of-type(3):before { content: "Boat Time"; }
	td:nth-of-type(4):before { content: "Tactician"; }
	td:nth-of-type(5):before { content: "Main"; }
	td:nth-of-type(6):before { content: "Trim"; }
	td:nth-of-type(7):before { content: "Tail"; }
	td:nth-of-type(8):before { content: "Bow"; }
	td:nth-of-type(9):before { content: "Mast"; }
	td:nth-of-type(10):before { content: "Pit"; }
	td:nth-of-type(11):before { content: "Float"; }
}
