/* Mohammad Farooq Lab 3*/
*{
	font-family: Arial, Verdana, sans-serif;
}
img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
table {
	margin: auto;
	width: 700px;
	border: 5px solid #000066;
	border-collapse: collapse;
}
thead{ 
	background-color: #003300;
	color: white;
}
td,th {
	padding: 1em;
}
caption {
	font-size: 1.2em;
	font-weight: bold;
	padding-bottom: 10px;
}
h1 {
	text-align: center;
}	
tr:nth-child(even) {
	background-color: #f2f2f2;
}
tr.semester {
	background-color: #009900; 
	color: white;
	font-weight: bold;
	text-align: center;
}
.average {
	text-align: center;
	font-weight: bold;
}
td:first-of-type {
	text-align: center;
	font-weight: bold;
}
td:last-of-type {
	text-align: center;
	font-weight: bold;
}
td:nth-child(3) {
	text-align: center;
}
tfoot {
	background-color: #003300;
	color: white;
	font-weight: bold;
	text-align: center;
}