@media 
only screen and (max-width: 720px),
 {

	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
    margin: auto;
    width: 100%;
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	tr { border: 0px solid #ccc; }
	
	td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 0px solid #eee; 
		position: relative;
		padding-left: 25%; 
    text-align: left;
	}
	
	td:before { 
		/* Now like a table header */
		position: absolute;
    font-weight: bold;
    text-align: center;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		padding-right: 0px; 
		white-space: nowrap;
	}
    
	.page-item.active .page-link {
    background-color: lightgrey !important;
    border: 1px solid black;
}
.page-link {
    color: black !important;
}
	/*
	Label the data
	*/
	td:nth-of-type(1):before { content: "Class"; }
	td:nth-of-type(2):before { content: "Location"; }
	td:nth-of-type(3):before { content: "Seats"; }
	td:nth-of-type(4):before { content: "Meeting"; }
	td:nth-of-type(5):before { content: "Instructor"; }
   td:nth-of-type(1) {background-color:#009999; color:#fff; font-weight: bold;}
}