
.header-row th.header-cols { padding: 5px 10px!important; text-transform: uppercase; text-align: center; }
.pads { padding: 0 10px; }
.gameline { background-color: #013369; }
.gamelines_wrapper td, .header-row th { margin: 0; padding: 0; }
.gamelines_event_time { background-color: #720510; color: #fff; }
.game_teams img { max-height: 25px; margin-right: 5px; }
.game_teams { border-right: 1px solid #4d4d4d; }


/*
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)  {
	
	.whitesmoked .btn-add-admin-user { position: relative!important; margin: 0px 0 20px; text-align: right; }

	/* 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 {
	  margin: 0 0 1rem 0;
	}
	  
	tr:nth-child(odd) {
	  /* background: #ccc; */
	}
	
	.gameline td { padding-left: 50%; }
	.gameline td:nth-of-type(1) { padding-top: 5px; padding-bottom: 5px; }
	.gameline td:nth-of-type(2) { padding-top: 5px; padding-bottom: 5px; }
	.gamelines_wrapper td .game_teams { border: none; }
	
	td {
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee;
		position: relative;
		padding-left: 50%!important;
	}

	td:before {
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 0;
		left: 6px;
		/* width: 45%; */
		padding-right: 10px;
		white-space: nowrap;
	}

	/*
	Label the data
		You could also use a data-* attribute and content for this. That way "bloats" the HTML, this way means you need to keep HTML and CSS in sync. Lea Verou has a clever way to handle with text-shadow.
	*/
	.gameline td:nth-of-type(1):before { content: "Schedule"; padding: 5px 0 0 0; }
	.gameline td:nth-of-type(2):before { content: "Game"; padding: 5px 0 0 0; }
	.gameline td:nth-of-type(3):before { content: "Action"; padding: 5px 0 0 0; color: #fff; }
	
	.gamelines_wrapper td:nth-of-type(1):before { content: "Time"; text-align: left; }
	.gamelines_wrapper td:nth-of-type(2):before { content: "Game/Teams"; }
	.gamelines_wrapper td:nth-of-type(3):before { content: "Spread"; }
	.gamelines_wrapper td:nth-of-type(4):before { content: "Score"; }
	.gamelines_wrapper td:nth-of-type(5):before { content: "Status"; color: #000; }
	.gamelines_wrapper td:nth-of-type(6):before { content: "Remarks"; }
}