 /* On-Air Table */
table.onairtable {
  width: 100%;
  margin-left: auto;
  margin-right: auto;  
  margin-bottom: 10px;
  background-color: #ffffff;
  border-spacing: 0;
  border-collapse: separate !important;
  border: 2px solid #ffffff;
  box-shadow: 2px 2px 5px 0px #bfbfbf;
  border-radius: 0.4em 0.4em 0.4em 0.4em;
    -moz-border-radius: 0.4em 0.4em 0.4em 0.4em;
    -webkit-border-radius: 0.4em 0.4em 0.4em 0.4em;
  background-clip: border-box;
    -moz-background-clip: border-box;
    -webkit-background-clip: border-box;    
}

/* Zebra striping 
table.onairtable tr:nth-of-type(odd) { 
  background: #eee; 
}*/

table.onairtable th { 
  text-align: left; 
  padding: 0; 
  margin: 0;  
  color: #000000;
}

table.onairtable tr { 
  text-align: left; 
  padding: 0; 
  margin: 0;  
}

table.onairtable td { 
  text-align: left; 
  padding: 0; 
  margin: 0;  
}

label.onairlabel {
  margin-left: 5px;
}

@keyframes blink {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

.blinkonair {
  margin-left: 15px;
  animation: blink 2s infinite;
}

/* 
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.onairtable table, table.onairtable thead, table.onairtable tbody, table.onairtable th, table.onairtable td, table.onairtable tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	table.onairtable thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	table.onairtable tr { border: none;  }
	
	table.onairtable td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: none; 
		position: relative;
		padding-left: 110px;		
	}
	
	table.onairtable td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 0px;
		left: 0px;
		width: 110px; 
		padding-right: 10px; 
		white-space: nowrap;			
	}
	
	/*
	Label the data
	*/
	table.onairtable td:nth-of-type(1):before { content: "Date:"; padding-left: 5px; color: #000000; font-weight: bold; }
	table.onairtable td:nth-of-type(2):before { content: "Time:"; padding-left: 5px; color: #000000; font-weight: bold; }
	table.onairtable td:nth-of-type(3):before { content: "Type:"; padding-left: 5px; color: #000000; font-weight: bold; }
	table.onairtable td:nth-of-type(4):before { content: "Cart #:"; padding-left: 5px; color: #000000; font-weight: bold; }
	table.onairtable td:nth-of-type(5):before { content: "Title:"; padding-left: 5px; color: #000000; font-weight: bold; }
	table.onairtable td:nth-of-type(6):before { content: "Run Time:"; padding-left: 5px; color: #000000; font-weight: bold; }
	table.onairtable td:nth-of-type(7):before { content: ""; padding-left: 5px; color: #000000; font-weight: bold; }
}
