/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
	color: #222;
	font-size: 1em;
	line-height: 1.4;
}

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
	vertical-align: middle;
}

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

textarea {
	resize: vertical;
}

.browserupgrade {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
	font: 16px/1.4 Helvetica, Helvetica Neue, Arial;
	height: 100%;
}
.wrapper {
	width: 90%;
	margin: 0 5%;
}

/* ===================
	ALL: Orange Theme
   =================== */
/*
.header-container {
	border-bottom: 20px solid #e44d26;
}

.footer-container,
.main aside {
	border-top: 20px solid #e44d26;
}

.header-container,
.footer-container,
.main aside {
	background: #f16529;
}

.title {
	color: white;
}
*/
/* ==============
	MOBILE: Menu
   ============== */

nav ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

nav a {
	display: block;
	margin-bottom: 10px;
	padding: 15px 0;

	text-align: center;
	text-decoration: none;
	font-weight: bold;

	color: white;
	background: #008BB0;
}

nav a:hover,
nav a:visited {
	color: white;
}

nav a:hover {
	text-decoration: underline;
}

/* ==============
	MOBILE: Main
   ============== */

.main {
	/*padding: 30px 0;*/
}

.main article h1 {
	font-size: 2em;
}

.main aside {
	/*color: white;*/
	/*padding: 0px 5% 10px;*/
}

.footer-container footer {
	color: white;
	padding: 20px 0;
}

/* ===============
	ALL: IE Fixes
   =============== */

/*.ie7 .title {
	padding-top: 20px;
}
*/
/*	==========================================================================
	Author's custom styles
	======================================================================= */
/*	===================
	Presets
	=================== */
h1,h2,h3,h4 {
	font-family: 'Open Sans Condensed', sans-serif;
	text-transform: capitalize;
}
a, a:visited {
	color: #008BB0;
}
/*	===================
	Helper Classes
	=================== */
.onefive-em {
	font-size: 1.5em;
}
.two-em {
	font-size: 2em;
}
/*	===================
	Notification Boxes
	=================== */
.notice {
	color: #000;
	background-color: #ffffc9;
	border: 1px solid #FFE498;
	border-radius: 10px;
	padding: 1em;
	text-align: left;
	text-shadow: 0px 0px #000;
}
.alert {
	color: #000;
	background-color: #f5a9a9;
	border: 1px solid #cc0000;
	border-radius: 10px;
	padding: 1em;
	text-align: left;
}
.alert a { color: #000; }
.success {
	color: #000;
	background-color: #9ae69a;
	border: 1px solid #00cc00;
	border-radius: 10px;
	padding: 1em;
	text-align: left;
}
/*	===================
	Button
	=================== */
.button {
	display: inline-block;
	padding: 0.5em 1.5em;

	font-family: 'Open Sans', sans-serif;
	/*font-weight: bold;*/
	text-decoration: none;
	text-shadow: none;

	color: #fff;
	background-color: #26a4de;
	box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.10);
	/*box-shadow: 1px 3px 2px #002A5C;*/

	border:none;
	border-radius: 10px;
}
:hover.button {
	/*text-decoration: underline;*/
	background-color: #008BB0;
}
:active.button {
	/*color: #002A5C;*/
	background-color: #7BA4D9;
	/*box-shadow: 0 1px #002A5C;*/

	transform: translateY(2px);
}
/* Link buttons */
a:visited.button {
	color: #fff;
}
/* Form buttons */
input.button[disabled] {
	background-color: #808080;
	cursor: not-allowed;
}
/*	===================
	Tooltip
	=================== */
a.tooltip {
	text-decoration: none;
	border-bottom: 1px dotted #008BB0;
}
span.tooltip {
	text-decoration: none;
	border-bottom: 1px dotted #fff;
	cursor: help;
}

/* ===================
	ALL: U of T Theme
   =================== */
html, body {
	height: 100%;
	font-family: 'Open Sans', sans-serif;
}
#page-container {
	min-height: 100%;
	position: relative;
	overflow: hidden;
	/*background-image: url('../img/frontcampus_blur.jpg');*/
	background-color: #eee;
	background-size: cover;

	/*transition: background-image 1s linear;*/
}
#page-container.fade { background-color: #eee; }
#page-container.bg1 { background-image: url('../img/utm_cct_building.png'); }
#page-container.bg2 { background-image: url('../img/utm_library.png'); }
#page-container.bg3 { background-image: url('../img/utm_student_centre.png'); }
#page-container.bg4 { background-image: url('../img/utsc_science_building.png'); }
#page-container.bg5 { background-image: url('../img/utsc_science_wing.png'); }
#page-container.bg6 { background-image: url('../img/utsc_student_centre.png'); }
#page-container.bg7 { background-image: url('../img/utsg_chapter_house.png'); }
#page-container.bg8 { background-image: url('../img/utsg_trinity_quad.png'); }
#page-container.bg9 { background-image: url('../img/utsg_university_college.png'); }
.darken-background {
	background-color: rgba(0, 0, 0, 0.45);
	position: absolute;
	top: 0px;
	bottom: 0px;
	width: 100%;
	z-index: 1;
}

.header-container, .footer-container {
	color: #fff;
	background-color: #002A5C;
	position: relative;
	z-index: 1000;
}
.header-container a, .footer-container a {
	color: #fff;
}
.header-container header h1 {
	display: inline-block;
	border-right: 1px solid rgba(255, 255, 255, 0.5);
	margin: 20px 20px 20px 0;
	padding: 0 20px 0 0;
}
.header-container header h1 a img {
	height: 51px;
}
.header-container header h2 {
	display: inline-block;
	font-size: 2em;
}
.header-container header h2 a {
	text-decoration: none;
}
.footer-container {
	position: absolute;
	width: 100%;
	bottom: 0;
	overflow: hidden;
}
.footer-container h3 a {
	text-decoration: none;
}
.main-container {
	padding-bottom: 100px;
	color: #fff;
	text-shadow: 1px 1px #000;
	text-align: center;
	position: relative;
	z-index: 9999;
}
.main-container header {
	margin: 3em 0;
}
.main-container .mid-section {
	margin: 1em 0;
	padding: 1em 0;
	border-top: 1px solid #e3e3e3;
	border-bottom: 1px solid #e3e3e3;
}
.main-container .mid-section section {
	display: inline-block;
	vertical-align: middle;
}
.main-container .mid-section > div {
	display: block;
	vertical-align: middle;
	min-width: 125px;
}
.main-container footer {
	margin: 2em 2%;
}
.main-container ul {
	display: inline-block;
	text-align: left;
}


/* ==========================================================================
   Font Awesome Fix - For use without <i> tags
   ========================================================================== */
.fa-before::before {
	display: inline-block;
	font: normal normal normal 14px/1 FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	transform: translate(0, 0);
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {

/* ====================
	INTERMEDIATE: Menu
   ==================== */

	nav a {
		float: left;
		width: 27%;
		margin: 0 1.7%;
		padding: 25px 2%;
		margin-bottom: 0;
	}

	nav li:first-child a {
		margin-left: 0;
	}

	nav li:last-child a {
		margin-right: 0;
	}

/* ========================
	INTERMEDIATE: IE Fixes
   ======================== */

	nav ul li {
		display: inline;
	}

	.oldie nav a {
		margin: 0 0.7%;
	}
}

@media only screen and (min-width: 768px) {

/*	====================
	WIDE: CSS3 Effects
	==================== */

	.header-container header h1 a img {
		height: 91px;
	}

/* ============
	WIDE: Menu
   ============ */

	.title {
		float: left;
	}

	nav {
		float: right;
		width: 38%;
	}

/* ============
	WIDE: Main
	============ */
	/*.main article {
		float: left;
		width: 57%;
	}

	.main aside {
		float: right;
		width: 28%;
	}*/
}

@media only screen and (min-width: 1250px) {

/*	===============
	Maximal Width
	=============== */
	.wrapper {
		width: 1200px; /* 1140px - 10% for margins */
		margin: 0 auto;
	}

	.header-container header h1 {
		margin: 20px 40px 20px 0;
		padding: 0 40px 0 0;
	}

	.main-container header {
		margin: 5em 0;
	}
	.main-container .mid-section {
		margin: 2em 0;
		padding: 2em 0;
	}

	.main-container .mid-section > div {
		display: inline-block;
	}

	.main-container .mid-section section:first-child {
		text-align: right;
	}
	.main-container .mid-section section:last-child {
		text-align: left;
	}
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
	display: none !important;
	visibility: hidden;
}

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

.invisible {
	visibility: hidden;
}

.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

.clearfix {
	*zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
	*,
	*:before,
	*:after {
		background: transparent !important;
		color: #000 !important;
		box-shadow: none !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}

	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	a[href^="#"]:after,
	a[href^="javascript:"]:after {
		content: "";
	}

	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	thead {
		display: table-header-group;
	}

	tr,
	img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}
}