body {
	margin: 0;
	background-color: #eaeaea;
}

#import-export-container {
	position: fixed;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.3);
	z-index: 4;
	display: none;
	opacity: 0;
}

#import-export-modal {
	position: relative;
	display: none;
	width: 400px;
	margin: 0 auto;
	padding: 10px 25px 20px 25px;
	box-sizing: border-box;
	height: auto;
	background-color: #fff;
	box-shadow: 1px 1px 5px #000;
}

#export-modal {
	display: block;
}

#import-modal {
	display: none;
}

#exit-modal-button {
	background-color: #d4e5ee;
	float: right;
}

#import-button {
	background-color: #d4e5ee;
	float: right;
}

#import-modal textarea, #export-modal textarea {
	width: 350px;
	height: 100px;
	resize: none;
}

textarea {
	display: block;
	background-color: #fff;
	min-height: 30px;
	border: 1px solid #777;
	margin: 0 10px 20px 0;
	padding: 0;
	box-sizing: border-box;
	color: #000;
	-webkit-appearance: none;
	-moz-appearance: none;
	transition: box-shadow 0.3s;
	outline: none;
	font-family: monospace;
}

textarea:focus {
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

#splash-container {
	position: absolute;
	display: block;
	width: 100%;
	height: 725px;
	background: linear-gradient(to right, #eaeaea, #fff);
	opacity: 1;
	overflow: hidden;
	z-index: 3;
}

.center-content {
	margin: 0 auto;
	width: 850px;
}

.center-content::after {
	content: "";
	display: block;
	clear: both;
}

#description {
	position: relative;
	display: block;
	width: 550px;
	margin-top: 200px;
	float: left;
}

#description h1 {
	font-family: "Arvo", serif;
	font-weight: normal;
	font-size: 40px;
	text-align: left;
	width: 300px;
	margin: 0;
	line-height: 1;
}

#description p, #form-container p, #export-modal p, #import-modal p, label, legend, footer {
	font-family: "Open Sans", sans-serif;
	font-weight: 400;
	font-size: 16px;
	text-align: left;
	margin: 10px 0;
	line-height:normal;
}

#form-container a, #description a, footer a {
	color: #8f2c29;
}

footer {
	position: absolute;
	bottom: 0;
	display: block;
	text-align: center;
	width: 100%;
	margin-bottom: 10px;
}

button {
	font-family: "Open Sans", sans-serif;
	font-weight: 400;
	font-size: 16px;
	text-align: left;
	padding: 10px 20px;
	margin: 0;
	border: none;
	border-radius: 0;
	background-color: rgba(0,0,0,0);
	cursor: pointer;
	box-shadow: 0 3px 10px rgba(0,0,0,0.1);
	transition: box-shadow 0.3s;
	-webkit-appearance: none;
	outline: none;
}

button:hover {
	box-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

button:disabled {
	background-color: #ddd !important;
	cursor: default;
}

button[disabled]:hover {
	box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

#begin-button, #schedule-button, #print-button, #use-data-button {
	background-color: #b9e6b2;
}

#use-data-button, #begin-button {
	float: left;
}

#add-button {
	background-color: #d4e5ee;
	float: right;
	margin: 0 25px 0 0;
}

#remove-button {
	background-color: #ebbcbc;
	float: right;
	margin: 0 10px 0 0;
}

#print-button {
	float: left;
	margin-bottom: 10px;
}

#export-button, #edit-button {
	float: right;
	margin-bottom: 10px;
	background-color: #d4e5ee;
}

#edit-button {
	margin-right: 10px;
}

#schedule-button {
	float: left;
	margin: 0 0 0 25px;
}

#before-after-container {
	position: relative;
	display: block;
	float: left;
	width: 250px;
	height: 324px;
	margin-top: 200px;
	margin-left: 50px;
	box-sizing: border-box;
}

#page-before, #page-after {
	position: absolute;
	display: block;
	width: 250px;
	height: 324px;
	transform-origin: bottom left;
	background-color: #fff;
	box-shadow: 1px 1px 5px #000;
}

#page-before {
	z-index: 2;
	left: 0;
	background-image: url("old-page.jpg");
	background-size: cover;
	/*background-color: rgb(4, 108, 153);*/
}

#page-after {
	z-index: 1;
	transform-origin: bottom left;
	left: 0;
	background-image: url("new-page.jpg");
	background-size: cover;
}

#form-container {
	position: absolute;
	display: none;
	width: 100%;
	height: auto;
	background-color: #eaeaea;
	overflow: hidden;
	z-index: 2;
	margin-top: 100px;
}

#form-container h1 {
	font-family: "Arvo", serif;
	font-weight: normal;
	font-size: 40px;
	text-align: left;
	width: 300px;
	margin: 10px 0;
	line-height: 1;
}

form {
	width: 100%;
	height: auto;
	padding: 10px 25px 20px 25px;
	background-color: #fff;
	box-sizing: border-box;
}

.form-section {
	float: left;
}

.form-section p {
	width: 350px;
}

.week {
	width: 50px;
}

.week .show-label {
	margin: 0;
	text-align: center;
}

.week-check {
	margin: 0 auto 20px auto;
	width: 20px;
	min-height: 20px;
	border: 1px solid #777;
	background:url(check.png) left top no-repeat;
	background-size: cover;
}

input[type="checkbox"]:checked {
	background:url(check.png) right top no-repeat;
	background-size: cover;
}

.next-line {
	clear: both;
}

#student-information, #advisor-information, #college-color-information, #college-term-information {
	width: 350px;
	margin: 0 25px;
	float: left;
}

#course-information {
	margin: 0;
	clear: both;
}

#course-legend {
	display: none;
}

.course-container {
	width: 350px;
	margin: 0 25px;
	float: left;
}

#student-title, #advisor-title { width: 80px }
#student-full-name, #advisor-full-name { width: 260px; margin-right: 0 }
#major, #advisor-phone { width: 170px }
#degree, #advisor-email { width: 170px; margin-right: 0 }
#address, #college, #college-color, #college-logo, #college-term, #college-year { width: 350px; margin-right: 0 }
#student-city { width: 170px }
#student-state { width: 80px }
#zip { width: 80px; margin-right: 0 }
#student-phone { width: 170px }
#student-email { width: 170px; margin-right: 0 }
#advisor-building { width: 260px }
#advisor-room { width: 80px; margin-right: 0}

.course-title, .course-credits { width: 350px; margin-right: 0 }
.course-abbr-1 { width: 80px }
.course-abbr-2 { width: 80px; margin-right: 0}
.course-building { width: 260px }
.course-room { width: 80px; margin-right: 0}
.meeting-1, .course-instructor { width: 170px }
.meeting-2, .course-contact { width: 170px; margin-right: 0 }


fieldset {
	border: none;
	padding: 0;
}

label {
	display: none;
}

.show-label {
	display: block;
}

legend {
	font-weight: 600;
}

input {
	display: block;
	background-color: #fff;
	min-height: 30px;
	border: 1px solid #777;
	border-radius: 0;
	margin: 0 10px 20px 0;
	padding: 0 10px;
	box-sizing: border-box;
	color: #000;
	-webkit-appearance: none;
	-moz-appearance: none;
	transition: box-shadow 0.3s;
	outline: none;
}

input:focus, select:focus {
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

select {
	min-height: 30px;
	border: 1px solid #777;
	margin: 0 10px 20px 0;
	padding: 0 0 0 10px;
	color: #000;
	-webkit-appearance: none;
	transition: box-shadow 0.3s;
	outline: none;
	border-radius: 0;
}

#print-container {
	position: absolute;
	display: none;
	width: 100%;
	height: auto;
	background-color: #eaeaea;
	overflow: hidden;
	z-index: 1;
	margin-top: 100px;
}

#print-schedule-information {
	position: relative;
	display: block;
	width: 850px;
	margin: 0 auto;
	background-color: #fff;
	padding: 10px 25px;
	box-sizing: border-box;
}

#print-schedule-information::after {
	content: "";
	display: block;
	clear: both;
}

#print-schedule-information p {
	font-family: "Open Sans", sans-serif;
	font-weight: 400;
	font-size: 16px;
	text-align: left;
	margin: 10px 0;
	line-height:normal;
}

@media (max-width: 850px) {
	.center-content {
		width: 100%;
	}

	#description {
		width: 300px;
		padding: 10px;
		margin: 0 auto 20px auto;
		float: none;
	}

	#description h1 {
		font-size: 30px;
		width: 300px;
		margin: 0 auto 10px auto;
	}

	#form-container h1 {
		font-size: 30px;
		width: 300px;
		margin: 10px auto;
	}

	#form-container p {
		width: 300px;
		margin: 10px auto;
	}

	#address, #college, #college-color, #college-logo, #college-term, #college-year, .course-title, .course-credits { width: 300px; }
	#student-title, #advisor-title, #student-state, #zip , #advisor-room, .course-abbr-1, .course-abbr-2, .course-room { width: 67.5px; }
	#student-full-name, #advisor-full-name, #advisor-building, .course-building { width: 222.5px; }
	#major, #advisor-phone, #degree, #advisor-email, #student-city, #student-phone, #student-email, .course-instructor, .course-contact, .meeting-1, .meeting-2 { width: 145px; }

	button { padding: 10px 15px; }
	form { padding: 10px; }

	#student-information, #advisor-information, #college-color-information, #college-term-information, #course-information, .course-container {
		width: 300px;
		margin: 0 auto;
		float: none;
	}

	#before-after-container { margin: 0 auto; float: none; }
	.course-container { margin: 0; width: 100%; }
	.week { width: 42.8px; }

	#add-button, #remove-button, #schedule-button, #print-button, #export-button, #edit-button {
		display: block;
		margin: 0 auto 20px auto;
		float: none;
		clear: both;
	}

	#print-schedule { overflow: scroll; }
	#print-schedule-information { width: 100%; padding: 10px; }

	#print-schedule-information p {
		width: 300px;
		margin: 0 auto;
	}

	#import-export-modal { width: 250px; }
	#import-export-modal textarea { width: 100%; }
}

@media print {
	#print-container {
		position: relative;
		display: block;
		width: 7.5in; /*TODO: Find out why changing to 7.5in instead of 100% fixes margins*/
		height: auto;
		background-color: #fff;
		margin-top: 0;
	}

	#splash-container, #form-container, #import-export-modal {
		display: none;
	}

	#print-schedule { overflow: hidden; }
}
