/* 
Generic Styling, for Desktops/Laptops 
*/
table { 
  width: 100%; 
 
  
  
  border:1px solid #ccc;
  float:left; 
   
   border-bottom:0px; 
   margin-bottom:45px; 
   border-top-left-radius:6px; 
   border-top-right-radius:6px;
  
}
/* Zebra striping */
tr:nth-of-type(odd) { 
  background: white; 
}

th{
	background:#0099D3; 
	padding:9px 0px; 
	color:#fff; 
	font-size:16px; 
	border-top-left-radius:6px; 
	border-top-right-radius:6px; 
	font-weight:400;}
	
	
	th.t20{border-top-left-radius:0px;}
	th.t21{border-top-right-radius:0px;}
	
td, th { 
  padding:15px 10px;
  border-bottom: 1px solid #ccc; 
  text-align: center; 
  font-size:15px;
}
input[type="text"]{ text-alignx:center; border:1px solid #ccc; padding:8px 5px;}

span{font-size:11px; color:#FF0000; padding-left:10px;}
 img.paypal{float:right;}
/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media 
only screen and (max-width: 760px),
(min-device-width: 768px) 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%; 
		white-space: normal;
		text-align:left;
	}
	
	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;
		text-align:left;
		font-weight: bold;
		content: attr(data-title);
	}
	input[type="text"]{ text-align:center; border:1px solid #ccc; padding:8px 0px;}
	
	span{font-size:11px; color:#FF0000; padding-left:10px;}
 img.paypal{float:right;}
	/*
	Label the data
	*/
	
	
	td:nth-of-type(1):before { content: attr(data-title); }
	/*td:nth-of-type(1):before { content: "Ticket Type"; }
	td:nth-of-type(2):before { content: "Unit Price"; }
	td:nth-of-type(3):before { content: "Quantity"; }
	td:nth-of-type(4):before { content: "Total"; }
	td:nth-of-type(5):before { content: "Wars of Trek?"; }
	td:nth-of-type(6):before { content: "Porn Name"; }
	td:nth-of-type(7):before { content: "Date of Birth"; }
	td:nth-of-type(8):before { content: "Dream Vacation City"; }
	td:nth-of-type(9):before { content: "GPA"; }
	td:nth-of-type(10):before { content: "Arbitrary Data"; }*/
}
