ul#navbar  {
	list-style: none;
	padding: 0;
}
ul#navbar li {
	margin: 0;
	background: #fafafa;
	padding: 0;
	border: 1px solid #eee;
	border-top: 0;
}

ul#navbar li:first {
	border-top: 1px solid #eee;
}

ul#navbar li a {
	text-decoration: none;
	display: block;
	padding: 5px 10px;
}

ul#navbar li.parent {
	background: #8c6e96;
}

ul#navbar li.parent a {
	color: white;
}
			ul#navbar .active {
				background: #ddd;
			}

ul.children {
	list-style: none;
	padding-left: 2px;
}
ul#navbar li.child {
	background: #fdfdfd;
}

#photo {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-top: 22px;
	font-size: small;
	margin-bottom: 22px;
}

#photo img {
	border-radius: 50%;
}

.module_stats {
	margin-bottom: 2px;
	display: flex;
	width: 100%;
	justify-content: flex-end;
	align-items: center;
}

#availability {
	flex: 1 1 auto;
	font-size: 70%;
	
	display: flex;
	flex-direction: column;
}

#availability > div {
	display: inline-block;
	border-radius: 4px;
	margin: 0 3px 3px 0;
	padding: 3px 8px;
}

#availability div.core {
	background: #aaddce;
}
#availability div.core:before {
	font-weight: bold;
	content: 'Core module for: ';
}

#availability div.ocore {background: #d8efe9;
	
}
#availability div.ocore:before {
	font-weight: bold;
	content: 'Optional Core module for: ';
}



#availability div.option {
	background: #eee;
}

#availability div.option:before {
	font-weight: bold;
	content: 'Optional module for: ';
}

#term {
	padding: 3px 6px;
	display: flex;
}

#cats {
	flex: 0 0 auto;
	color: white;
	background: #8c6e96;
	text-align: center;
	border-color: #5b3069;
}

.exam-tag {
	background: #ccc;
	border-radius: 4px;
	border: 1px solid #aaa;
	font-size: 70%;
	padding: 3px 6px;
	margin-left: 3px;
}

.notrunning {
	background: red;
	color: white;
	border-radius: 4px;
	font-size: 70%;
	padding: 3px 6px;
	margin-left: 3px;	
}

				.module_stats .prereq, .module_stats .prereqfor {
			background: #d8efe9;
			padding: 3px 8px;
			border-radius: 4px;
			font-size: 70%;
			display: inline-block;
			margin: 0 3px 3px 0;
		}
		.module_stats .prereq {
			background: #e4dee7;
		}

#intro {
	margin-bottom: 22px;
}