/* 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;
}


video {
	width:100%;
	height:auto;
}





/* ==================================== 
 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;*/
font-family: 'Questrial', 'Franklin Gothic Book', Helvetica, sans-serif;
line-height:1.75em;
}

h1.orbitron {
font-size:24px;
font-family:'Orbitron';
font-weight:bold;
margin-bottom:6px;
}

h2.orbitron {
font-family:'Orbitron';	
}

#container {
margin:0.7em;
margin-top:4%;
}

h1 {
font-size:2em;
line-height:1em;
margin:1em 0;
}

h2 {
	font-size:1.35em;
	font-weight:700;
	margin-bottom:.75em;
}



a {
text-decoration:none;
color:rgb(241,64,2);
font-weight:700;
padding:.2em;
display:inline-block;
text-align:center;
}


a:hover, a:focus {
color:white;
background:rgb(3,174,254);
}

.contact {
display:inline;
border:1px solid rgb(121,210,251);
border-radius:4px;
}





/*=====================
	NAVIGATION
=====================*/


nav {
margin-top:30px;
}

nav h1 {
	font-size:1.5em;
	font-weight:900;
}

nav p {
	padding-bottom:0px;
	padding-top:16px;
	margin-bottom:0px;
	font-size:0.8em;
	line-height:0.8em;
	clear:left;
}

nav ul {
list-style:none;
margin-top:0px;
margin-bottom:20px;
}

nav ul li {
width:18%;
float:left;
margin-bottom:6px;
}


nav ul li a {
	display:block;
background:rgb(125,125,125);
color:white;
text-decoration:none;
font-weight:900;
padding:6px;
margin:0.2em;
text-align:center;
font-size:0.9em;
line-height:1em;
min-height:30px;
}

nav ul li a:hover, nav ul li a:focus {
background:rgb(125,125,125);
color:white;
cursor:default;
}


a.active {
background:rgb(50,50,50);
}


a.active:hover, a.active:focus {
background:rgb(254,68,3);	
color:white;
cursor:pointer;
}

nav ul li a.dead {
opacity:0.2;
}

nav ul li a.dead:hover, nav ul li a.dead:focus {
background:rgb(125,125,125);
}

a time {
font-weight:normal;
}


a.video-link {
	display:block;
	width:200px;
	text-align:center;
	font-size:1.35em;
	line-height:1.1em;
	/*background:rgb(254,68,3);*/
	background:rgb(209, 56, 2);
	color:white;
	padding:10px 14px;
	margin-bottom:9px;
}

a.video-link.lighter {
	background:rgb(229, 98, 0);
}

a.video-link:hover,
a.video-link:focus {
	color:orange;
	background:orange !important;
}
	
	
a.video-link.showcase {
	margin-top:25px;
	background:rgb(253,108,1);
}

/*=====================
	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.55em;
line-height:1.15em;
margin-bottom:0.75em;
font-weight:700;
padding-left:2em;
}

article section h2 {
font-size:1.35em;
margin-bottom:0.5em;
font-weight:700;
}

article section h3 {
font-size:1.15em;
margin-bottom:0.75em;
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);
}

article ul, #covered ul {
list-style:none;
margin-top:0em;
margin-bottom:1em;
}

article ul a, #covered ul a {
	line-height:1.5em;
	text-align:left;
	margin-bottom:5px;
}

#covered ol {
 padding-left:20px;
}

#covered li {
	margin:0.35em 0;
}


.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;
}

hr {
border:0px;
height:1px;
color:rgb(215,215,215);
background:rgb(215,215,215);
}


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;
}

code {
	display:block;
	line-height:1.25em;
	padding:0.5em;
	font-family:Arial, sans-serif;
}



.promotion-buttons a {
	font-size:1.25em;
	display: inline-block;
	text-align:center;
	background:black;
	color:white;
	border:0px;
		margin-bottom:5px;
	padding:6px;
}
.promotion-buttons a:hover {
	background:magenta;
	color:aqua;
}



.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:1.5em;
}

figcaption {
	font-size:0.8em;
	line-height:0.9em;
	padding:6px 6px 2px 6px;
}

img {
	width:100%;
	height:auto;
	max-width:800px;
}

.button {
	background:rgb(241,64,2);
	color:white;
	padding:3px 8px;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
}

.htmlbox {
	border:1px solid black; padding:10px; 
	margin:1.75em auto;
}

.codebox {
	border:1px solid black; padding:10px; background:black; color:white;
}

.box {
border:1px solid black; 
padding:15px;
margin-bottom:1em;
}

.orange {
	color:rgb(255,155,0);
	font-weight:900;
}

.lime {
	color:rgb(61,255,0);
	font-weight:900;
}

.grey {
color:magenta;
}

table {
	border: 1px solid black;
border-bottom: none;
	border-collapse:collapse;
}


td {
	padding:7px;
border-bottom: 1px solid black;
}

td:first-child {
	border-right:1px solid black;
}

#covered td {
	border-right: 1px solid black;
}



/* =====================
Anders M. Anderson method for responsive media-sharing embeds:
http://amobil.se/2011/11/responsive-embeds/
	====================== */
	
.responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16/9 ratio */
    height: 0;
    overflow: hidden;
}

.responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	z-index:1;
}


.desktop {
	display:none;
}



/* =====================
	MEDIA QUERIES 
	====================== */
	
@media all and (min-width: 481px) {


#container {
width:460px;
margin:auto;
margin-top:4%;
}

.promotion-buttons a {
display:block;
width:175px;
}

}



@media all and (min-width: 850px) {

body {
line-height:1.15em;
}

#container {
width:800px;
}

nav {
width:290px;
float:left;
}

article {
width:480px;
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;
}


nav ul li {
width:24%;
}


nav ul li a {
		min-height:30px;
		padding:3px 6px;
}


article a {
border:none;
}

article a.unveil {
	color:white;
	background:rgba(241,64,2,0.7);
	cursor:pointer;
	padding:2px 4px;
}

article a.unveil:hover {
	color:white;
	background:rgba(241,64,2,1);
}


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;
}


article ul, #covered ul {
list-style:disc;
padding-left:1.5em;
}

.button:hover {
	background:black;
	color:white;
}

.mobile {
	display:none;
}


.desktop {
	display:inline;
}



a.video-link:hover,
a.video-link:focus {
color:white;
}



@media all and (min-width: 1024px) {

body {
background: url('../pics/heatwavebg.gif');
}

#container {
width:1000px;
}

nav {
	width: 400px;
}

nav ul li {
width:15%;
}

nav ul li a {
padding:6px 8px;
}

article {
width:590px;
}

}



