/* Some CSS resets, mixed selectively from Eric Meyer and HTML5 Boilerplate */
html, body, div, span, 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,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin: 0px;
	padding: 0px;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}








/* ==================================== 
 This will enforce block-level properties to HTML5 elements */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, dl, dt, dd {
	display: block;
}


@font-face {
    font-family: 'QuattrocentoRomanRegular';
    src: url('quattrocento/Quattrocento-Regular-webfont.eot');
    src: url('quattrocento/Quattrocento-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('quattrocento/Quattrocento-Regular-webfont.woff') format('woff'),
         url('quattrocento/Quattrocento-Regular-webfont.ttf') format('truetype'),
         url('quattrocento/Quattrocento-Regular-webfont.svg#QuattrocentoRomanRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}




body {
/*font-family: 'CardoRegular', Monaco, 'Palatino Linotype', serif;*/
font-family: 'QuattrocentoRomanRegular', Monaco, 'Palatino Linotype', serif;
line-height:2.25em;
}



#container {
margin:0.7em;
margin-top:4%;
}

h1 {
font-size:2em;
line-height:1.25em;
}


a {
text-decoration:none;
color:rgb(241,64,2);
font-weight:700;
padding:.75em;
display:block;
text-align:center;
}


a:hover, a:focus {
color:white;
background:rgb(3,174,254);
-moz-border-radius:4px;
-webkit-border-radius:4px;
border-radius:4px;
}

.contact {
display:inline;
padding:.5em 1.5em;
border:1px solid rgb(121,210,251);
-moz-border-radius:4px;
-webkit-border-radius:4px;
border-radius:4px;
}

dt {
	font-weight:bold;
}

dd {
	margin-bottom:1.5em;
}




/*=====================
	NAVIGATION
=====================*/


nav {
margin-top:30px;
}


nav ul {
list-style:none;
margin-bottom:20px;
}

nav > ul > li {
margin-bottom:6px;
}


nav ul li a {
display:block;
background:rgb(74,74,74);
color:white;
text-decoration:none;
font-weight:900;
padding:12px;
padding-bottom:13px;
margin:.2em;
text-align:center;
line-height:1em;
}

nav ul li a:hover, nav ul li a:focus {
background:rgb(254,68,3);
color:white;
}


nav ul li ul li a {
background:black;
}



nav ul li ul li a:hover, nav ul li ul li a:focus {
background:rgb(254,68,3);
color:white;
}


.currentpage {
background:rgb(3,174,254);
}

.passed {
	background:rgb(45,45,45);
	color:rgb(154,154,154);

}

a time {
font-weight:normal;
}



/*=====================
	PAGE CONTENT
=====================*/

article {
position:relative;
margin-bottom:1.25em;
}

article>header h1 {
font-size:1.75em;
font-weight:900;
margin:1em;
}

article section h1 {
font-size:1.25em;
line-height:1.15em;
margin-bottom:0.75em;
font-weight:700;
padding-left:2em;
}

article section h2 {
margin-bottom:0.5em;
font-weight:700;
}

article section {
padding:1em 1.25em 1.5em 1.25em;
margin-bottom:20px;
}

article a {
border:1px solid rgb(121,210,251);
-moz-border-radius:4px;
-webkit-border-radius:4px;
border-radius:4px;
}

#covered {
border:1px solid rgb(165,165,165);
}

#covered ul {
list-style:none;
}

#covered ol {
 padding-left:20px;
}


.resource_section {
border:1px solid rgb(165,165,165);
position:relative;
padding:.5em 1em .75em 1em;
}

#homework {
border:1px solid black;
position:relative;
}

.resource_section ul {
list-style:none;
margin-left:25px;
margin-top:15px;
}

.resource_section ul li {
margin-bottom:0.75em;
}




p {
margin-bottom:1em;
}

article time {
position:absolute;
top:25px;
right:30px;
font-size:1.5em;
color:rgb(165,165,165);
}


.top {
color:white;
text-decoration:none;
display:block;
font-size:0.75em;
line-height:1em;
padding:2px 4px;
background:rgb(165,165,165);
color:white;
position:absolute;
bottom:-16px;
right:-1px;
border:0;
}

.top:hover, .top:focus {
background:rgb(254,68,3);
color:white;
-moz-border-radius:0;
-webkit-border-radius:0;
border-radius:0;
}

strong {
font-weight:900;
}

em {
	font-style: italic;
}



.tooltip {
	display:none;
	background:rgba(100,26,1,0.9);
	font-size:1em;
	height:auto;
	width:200px;
	padding:10px;
	color:white;
	-webkit-border-radius:6px;	
	-moz-border-radius:6px;	
	border-radius:6px;	
	-webkit-box-shadow:-3px 2px 4px rgba(30, 30, 30, 0.8);
	-moz-box-shadow:-3px 2px 4px rgba(30, 30, 30, 0.8);
	box-shadow:-3px 2px 4px rgba(30, 30, 30, 0.8);
border:1px solid white;
}

figure {
	margin-bottom:1em;
}

.button {
	background:rgb(241,64,2);
	color:white;
	padding:3px 8px;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
}

hr {
	width:80%;
	margin:auto;
	height:1px;
	color:#999;
	background:#999;
	border: 0 none;
	margin-bottom:1em;
}




/* =====================
Anders M. Anderson method for responsive media-sharing embeds:
http://amobil.se/2011/11/responsive-embeds/
	====================== */
	
.embed-container {
    position: relative;
    padding-bottom: 56.25%; /* 16/9 ratio */
    padding-top: 30px; /* IE6 workaround*/
    height: 0;
    overflow: hidden;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	z-index:1;
}

/* =====================
	MEDIA QUERIES 
	====================== */
	
@media all and (min-width: 481px) {


#container {
width:460px;
margin:auto;
margin-top:4%;
}

}



@media all and (min-width: 768px) {

body {
line-height:1.15em;
}

#container {
width:740px;
}

nav {
width:195px;
float:left;
}

article {
width:500px;
float:right;
}

h1 {
padding:0;
}

article section h1 {
	padding-left:0;
}


a {
padding:0;
display:inline;
}

a:hover, a:focus {
color:rgb(3,174,254);
background:none;
}

.contact {
padding:0;
border:0;
}


article a {
border:none;
}


nav ul li a {
padding:4px;
padding-bottom:5px;
margin:.1em;
}

ul#schedule li a {
text-align:left;
text-indent:35px;
}


.resource_section ul li {
margin-bottom:0;
}


#covered ul {
list-style:disc;
padding-left:1.5em;
}

.button:hover {
	background:black;
	color:white;
}



}


/*
@media all and (min-width: 1024px) {

body {
background: url('../pics/heatwavebg.gif');
}

#container {
width:800px;
}

#container > header {
width:220px;
background:white;
-webkit-box-shadow:0px 0px 12px 20px white;
-moz-box-shadow:0px 0px 12px 20px white;
box-shadow:0px 0px 12px 20px white;
}

article {
background:white;
-webkit-box-shadow:0px 0px 16px 26px white;
-moz-box-shadow:0px 0px 16px 26px white;
box-shadow:0px 0px 16px 26px white;
}

}
*/


