/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* slightly enhanced, universal clearfix hack */
.clearfix:after {
     visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;
     }
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */

/* -- structure -- */

html {
background-color: #EE3E23;
}

body {
  font: 18px 'Roboto', sans-serif;
  line-height: 1.5;
  color: #333;
	height: 100%;
}

header {
	width: 100%;
	height: 75%;
	position: fixed;
}

header h1 {
	display: none;
}

div#logo {
	background-image: url(../images/464-logo.svg);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 100%;
	text-align: center;
	width: 90%;
	height: 90%;
	position: relative;
	margin: auto;
}

div#logo-small {
	background-image: url(../images/464-logo.svg);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 100%;
	text-align: center;
	width: 40%;
	height: 40%;
	position: relative;
	margin: auto;
}

div#logo span.logo, div#logo-small span.logo {
	position: fixed;
}

main.inside {
  background-color: white;
  width: 100%;
	box-sizing: border-box;
  padding: 5% 10%;
  position: absolute;
	top: 35%;
	box-shadow: 0 -5px 10px 5px rgba(0,0,0,.25);
}

main.home {
	background-color: white;
	width: 100%;
	box-sizing: border-box;
	padding: 5% 10%;
	position: absolute;
	top: 75%;
	box-shadow: 0 -5px 10px 5px rgba(0,0,0,.25);
}

footer {
	padding: 30px 0 0 0;
	width: 50%;
	margin: auto;
}

section.box {
	outline: 1px solid #333333;
	padding: 30px;
	box-sizing: border-box;
	margin-bottom: 30px;
}

section.box ul, section.box p {
	width: 100%;
	margin-top: 0;
}

/* ---  nav --- */

nav {
	margin:30px auto 60px auto;
	text-align: center;
	display: block;
	font-size: .85em;
	text-transform: uppercase;
}

nav ul li {
	display:inline-block;
	padding: 6px;
	list-style-type: none;
}

nav ul li.this {
	border-bottom: 6px solid black;
}

nav ul li.this a {
	color: black;
}

nav ul li.this a:hover {
	color: #8D2005;
}

nav ul li:hover {
	border-bottom: 6px solid #8D2005;
}


nav ul li a {
	display: block;
}

nav ul li a:hover {
	text-decoration: none;
}


/* -- typography -- */


p {
  margin-bottom: 18px;
}

.caps {
	text-transform: uppercase;
}

.bold {
	font-weight: bold;
}

h1,h2,h3,h4,h5,h6,p span.init {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: -.03em;
  text-align: center;
	line-height: .9;
	clear: both;
}

h2 {
  font-size: 4em;
}

h3 {
	font-size: 2.5em;
	margin-top: 50px;
}

h4 {
	font-size: 1.5em;
	margin-bottom: 5px;
	text-align: left;
}

main p, main ul,section.box, table {
	width: 75%;
	margin: 18px auto;
}

p span.init {
	font-size: 8em;
	width: 200px;
	height: 200px;
	display: block;
	float: left;
	line-height: 200px;
	border: 6px solid #EE3E23;
	border-radius: 50%;
	color: #EE3E23;
	margin: 0;
	position: relative;
	top: -15px;
	left: -15px;
}

a {
	color: #EE3E23;
	font-weight: bold;
	text-decoration: none;
}

a:hover {
	color: #8D2005;
	text-decoration: underline;
}

div.directive {
  text-align: center;
  display: block;
  margin: auto;
  color: #EE3E23;
  text-transform: uppercase;
  margin-bottom: 50px;
}

div.directive i {
  width: 40px;
  height: 40px;
  border: 3px solid #EE3E23;
  border-radius: 50%;
  line-height: 40px;
  font-size: 24px;
}

div.directive p {
  margin-top: 10px;
  font-style: italic;
  font-size: 14px;
  letter-spacing: .2em;
}

main ul {
	list-style-type: circle;
	list-style-position: inside;
}

footer p {
	text-align: center;
	margin: auto;
	padding-bottom: 3px;
	border-bottom: 1px solid #ee3e23;
	margin-bottom: 3px;
}

footer p:last-child {
	padding-bottom: 0;
	border-bottom: none;
	margin-bottom: 0;
}

/* --- images  --- */

main figure.full {
	width: 100%;
	margin: 18px 0;
}

figure img {
	width: 100%;
}

figcaption {
	margin: 9px 0 36px 0;
	font-style: italic;
}

figure.req {
	width: 30%;
	margin-right: 5%;
	text-align: center;
	float: left;
}

figure.req:last-child {
	margin-right: 0;
}

.icon {
	width: 100px;
	height: 100px;
	float: left;
	margin: 0 18px 18px 0;
}

figure.half {
	width: 50%;
}

figure.left {
	float: left;
	margin: 0 18px 18px 0;
}

figure.right {
	float: right;
	margin: 0 0 18px 18px;
}

figure.align {
	width: 75%;
	margin: auto;
}

section.handout img {
	width: 30%;
	margin-right: 2.5%;
	margin-bottom: 30px;
	box-shadow: 3px 3px 3px rgba(0,0,0,.4);
	transform:rotate(4deg);
	position: relative;
	left: 1.5%;
}

section.handout img:hover {
	transform:scale(1.05);
	transition: ease-in-out 400ms;
}


/* --- calendar  --- */

th {
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
	border-bottom: 3px solid black;
	text-align: left;
}

tr {
	line-height: 36px;
	border-bottom: 1px dotted #333333;
}

tr:last-child {
	border-bottom: none;
}

tr.toprow {
	line-height: 24px;
}

td.number {
	width: 10%;
}

td.number img {
	width: 40px;
	text-align: center;
	position: relative;
	top: 6px;
	left: 6px;
}

td.number span {
	display: none;
}

td {
	line-height: 36px;
	vertical-align: middle;
}

td.day {
	width: 20%;
}

td.date {
	width: 25%;
}

@media only screen and (max-width: 768px) {
	main.home {
		padding: 5% 5%;
		top: 80%;
	}

	main.inside {
		background-color: white;
		width: 100%;
		box-sizing: border-box;
		padding: 5% 5%;
		position: absolute;
		top: 80%;
		box-shadow: 0 -5px 10px 5px rgba(0,0,0,.25);
	}
	div#logo-small {
		background-image: url(../images/464-logo.svg);
		background-position: center center;
		background-repeat: no-repeat;
		background-size: 100%;
		text-align: center;
		width: 90%;
		height: 90%;
		position: relative;
		margin: auto;
	}
	main p, main ul,section.box, table {
		width: 100%;
		margin: 18px auto;
	}
	nav ul li {
		display:block;
		padding: 0 9px 6px 9px;
		list-style-type: none;
	}

	nav ul li.slash {
		display: none;
	}

	nav ul li.this, nav ul li:hover {
		border-bottom: none;
	}

	p span.init {
		font-size: 4em;
		width: 100px;
		height: 100px;
		display: block;
		float: left;
		line-height: 100px;
		border: 6px solid #EE3E23;
		border-radius: 50%;
		color: #EE3E23;
		margin: 0;
		position: relative;
		top: -15px;
		left: -15px;
	}

	figure.align {
		width: 100%;
		margin: auto;
	}

	figure.req {
		width: 100%;
		margin-right: 0;
		text-align: center;
		float: none;
	}

	figure.req img {
		width: 80%;
		margin: auto;
	}

	section.box h4 {
		text-align: center;
	}

	section.handout img {
		width: 40%;
		margin-right: 5%;
		margin-bottom: 30px;
		box-shadow: 3px 3px 3px rgba(0,0,0,.4);
		transform:rotate(4deg);
		position: relative;
		left: 2.5%;
	}


}
