/* ------------------------------------------------------------------ */
/* Responsive table
/* ------------------------------------------------------------------ */

	table { 
		width: 100%; 
		border-collapse: collapse;
		margin-bottom: 75px;
	}
	
	thead tr {
		border-bottom: 1px solid #11ABB0;
		font: 14px/24px opensans,sans-serif;
		letter-spacing: 1px;
		text-transform: uppercase;
		color: #11ABB0;
	}
	
	/* Zebra striping */
	tr:nth-of-type(odd) { 
		background: #eee; 
	}
	th { 
		background: #fff; 
		color: #11ABB0;
	}
	td, th { 
	padding: 5px; 
	}
   
   
/* 
	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)  {
		
		body { 
			margin: 0; 
			width: auto; }
	
		/* 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: none;
		 }
		
		td { 
			/* Behave  like a "row" */
			border: 1px solid #fff;
			border-bottom: 1px solid #eee;
			position: relative;
			padding-left: 50%;
			text-align: left;
		}
		
			
		td:before { 
			/* Now like a table header */
			position: absolute;
			/* Top/left values mimic padding */
			top: auto;
			left: 5px;
			width: auto;
			white-space: nowrap;
			font: 15px/30px 'opensans-bold', sans-serif;
			text-transform: uppercase;
			color: #11ABB0;
		}
		
		/*
		Label the data
		*/
		td:nth-of-type(1):before { content: "#"; }
		td:nth-of-type(2):before { content: "Date"; }
		td:nth-of-type(3):before { content: "Job Tittle"; }
		td:nth-of-type(4):before { content: "Item"; }
		td:nth-of-type(5):before { content: "Entries"; }
		td:nth-of-type(6):before { content: "Time left"; }
	}
	
	/* Smartphones (portrait and landscape) ----------- */
	@media only screen
	and (min-device-width : 320px)
	and (max-device-width : 480px) {
		
		body { 
			margin: 0; 
			width: auto; }

		}
	
	/* iPads (portrait and landscape) ----------- */
	@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
		
		body { 
			margin: 0; 
			width: auto; }
	}