
* {
	box-sizing: border-box;
}

#wrapper {
	display: grid;
	grid-auto-rows: minmax(0px, auto);
	grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0px, 175px)) minmax(0px, 1fr);

} 

body {
	background-image: linear-gradient(#eeeeee, #ffffff);
	background-attachment: fixed;
	font-family: 'Verdana', sans-serif;
	margin:0px;
}

header {
	background-color:#BA1C21;
	color:#fff;
	font-family: 'Georgia', sans-serif;
	grid-column: 2 / 8;
	grid-row: 1 / 2;
}

header a {
	text-decoration: none;
	color: #FFFFFF;

}
header h1 {
	font-weight:900;
	line-height: 240%;	
	background-image: 
	url("images/dsu.jpg");
	background-repeat: no-repeat;
	background-position: right;
	padding-left: 0.5rem;
	height: 72px;
	margin: 0;
}

nav {
	background-color: #424242;
	grid-column: 2 / 8;
	grid-row: 2 / 3;
	top:0;
	font-weight: bold;
	
}

nav a {
	text-align: center;
	text-decoration: none;
	color: #ffffff;
	padding: 1rem 0rem;
	display: block;
}

nav a:hover {
	background-color: #BA1C21;
}

nav ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
	display: flex;
	flex-flow: row nowrap;
}

nav ul li {
	width: 100%;
}

main {
	color: #666666;
	padding-left: 2em;
	padding-right: 2em;
	padding-top: 1px;
	padding-bottom: 1px;
	display: block;
	background-color: #FFFFFF;
	grid-column: 2 / 8;
	grid-row: 4 / 5;
}

h2 {
	color: #424242;
	font-family: 'Georgia', sans-serif;
}

h3 {
	color: #BA1C21;
}

.dsu {
	color: #BA1C21;
	font-size: 1.2em;
}

footer {
	color: #666666;
	background-color: #FFFFFF;
	font-size: .70em;
	text-align: center;
	font-style: italic;
	padding: 1rem;
	grid-column: 2 / 8;
	grid-row: 5 / 6;
}

#redbar {
	background-color: #BA1C21;
	grid-column: 1 / 9;
	grid-row: 1 / 2;
}

#greybar {
	background-color: #424242;
	grid-column: 1 / 9;
	grid-row: 2 / 3;
}

#homeHero {
	background-image: url("images/homehero.jpg");
	height: 300px;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: cover;
}

#studentHero {
	background-image: url("images/studenthero.jpg");
	height: 300px;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: cover;
}

#facultyHero {
	background-image: url("images/facultyhero.jpg");
	height: 300px;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: cover;
}

#alumniHero {
	background-image: url("images/alumnihero.jpg");
	height: 300px;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: cover;
}
#homeHero, #studentHero, #facultyHero, #alumniHero {
	grid-column: 1 / 9;
	grid-row: 3 / 4;
}

form {
	display: grid;
	grid-template-rows: auto;
	grid-template-columns: 200px 1fr;
	grid-gap: 0.75rem;
	width: 100%;
}

input, textarea {
	font-size: 1rem;
	padding: 10px;
	color: #666666;
	background-color: #fafafa;
	border: none;
}

input:focus, textarea:focus  {
	outline: none;
	background-color: #f0f0f0;
}

label {
	padding: 10px;
	text-align: right;
}

#mySubmit {
	width: 10rem;
	grid-column: 2/3;
}

section {
	float: left;
	width: 33%;
	padding-right: 1rem;
}

table {
	margin: 0 auto;
	border: 1px solid #424242;
	width: 100%;
	border-collapse: collapse;
}

td, th {
	padding: 5px;
	border: 1px solid #424242;
}

table td {
	text-align: center;
}

td.text {
	text-align: left;
}

tr:nth-of-type(even) {
	background-color: #F3F3F3;

}

.left {	float: left;}
.right { float: right;}
.clear { clear: both;}

/* large/medium/tablet */

@media only screen and (max-width: 1100px) {
	#wrapper {
		grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0px, 150px)) minmax(0px, 1fr);
	}
}

@media only screen and (max-width: 900px) {
	nav {
		grid-row: 2 / 3;
		grid-column: 1 / 5;
	}
	nav ul {
		flex-flow: column nowrap;
	}
	#homeHero, #studentHero, #facultyHero, #alumniHero {
		grid-row: 2 / 3;
		grid-column: 5 / 8;
		height: auto;
	}
	section {
		float: none;
		width: 100%;
		padding-right: 0px;
	}	
}

/* Mobile */

@media only screen and (max-width: 600px) {
	header h1 {
		background-image: none;
		text-align: center;
	}
	nav {
		grid-row: 2 / 3;
		grid-column: 1 / 9;
	}
	#homeHero, #studentHero, #facultyHero, #alumniHero {
		display: none;
	}
}