#custom-search { width: calc(100% - 200px); min-width: 200px; max-width: 300px; margin-right: 5px; float: left; }

#course-search { margin-bottom: 20px; }

ul.course-list { clear: left; margin-top: 30px; }

ul.course-list li { padding: 5px !important; }

div#column-headings { clear: left; margin-top: 0; }

div.degree { display: none; }

ul.course-list li:nth-of-type(odd) {
	background: #f8f8f8 !important;
}

ul.course-list li:nth-of-type(even) {
	background: none;
}

ul.course-list a { text-decoration: none; }
ul.course-list a:hover { text-decoration: underline; }

ul#atoz {
	list-style: none;
	padding: 0;
	margin: 1em 0 0 0;
	clear: both;
	overflow: hidden;
}

ul#atoz li {
	float: left;
	padding: 0;
	margin: 0;
	margin-left: 3px;
	border-bottom: none;
	background: none;
	text-align: center;
}
ul#atoz li.selected {
	padding: 0 10px 0 10px;
	background: #784594;
}
ul#atoz li:first-child {
	margin-left: 0;
}
ul#atoz li a,
ul#atoz li span {
	display: block;
	padding: 2px 5px;
	width: 10px;
	text-decoration: none;
	min-width: 30px;
}
ul#atoz li a:hover {
	text-decoration: underline;
}
ul#atoz li.blank a {
	color: #ddd;
	cursor: default;
}
ul#atoz li.blank a:hover {
	text-decoration: none;
}
ul#atoz li.selected a,
ul#atoz li.selected span {
	color: white;
}
ul#atoz li:first-child a {
	width: 48px;
	margin-left: 0;
}

li#search {
	width: 70px;
}

@media only screen and (max-width: 599px) {
	ul.course-list .screenreader { position: relative; width: auto; height: auto; left: auto; }
}

@media only screen and (min-width: 600px) {
	ul#atoz li a {
		min-width: 20px;
	}

	div#column-headings { display: block; }

	div.column-heading {
		background: #784594;
		border-bottom: 8px solid #5a2678;
		font-weight: normal;
	}

	div.degree { display: none; }

	ul.course-list li { padding: 0 !important; }
}

@media only screen and (min-width: 700px) {
	ul#atoz li a {
		min-width: inherit;
	}
}

@media only screen and (min-width: 1200px) {
	div.column-heading {
		padding-top: 12px !important;
		padding-bottom: 12px !important;
	}
}