<!--

body {
	background:url('../2017/pics/back.jpg') no-repeat right top #FFF;
	background-attachment:fixed;
	-webkit-background-size: cover;
  	-moz-background-size: cover;
  	-o-background-size: cover;
  	background-size: cover;
	font: 100%/1.4 Open Sans, Arial, Helvetica, sans-serif;
	margin: 0;
	padding: 0;
	color: #000;
}

/* ~~ Element/tag selectors ~~ */
ul, ol, dl { /* it's best practices to zero padding and margin on lists. */
	padding: 0;
	margin: 0;
	color: black;

}
li{
	margin-left: 10%;
}

h1
/*Home Page Title*/
{
	font-family: 'Open Sans', sans-serif;
	color: white;
	font-size: 60px;
	margin-bottom: 0%;
	margin-left: 0;
	padding: 20px;
	text-align: center;
	margin: 190px auto 0;
	background: rgba(0,0,0, 0.7);


}
h2
/*Page Headings*/
{
	font-family: 'Open Sans', sans-serif;
	text-align: left;
	color: white;
	font-size: 85px;
	text-align: center;
	margin: 0;
	font-weight:300;
}
h3
/*Sub-Page Headings*/
{
	font-family: 'Open Sans', sans-serif;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 20px;;
	padding-left: 50px;;
	color: rgb(51,51,51);
	font-size: 40px;
	text-align: left;
	font-weight:300;

}
h4
/*Home Page Sub-Headings*/
{
	font-family: 'Open Sans', sans-serif;
    padding-top: 0px;
    margin-top: 0px;
    text-align: center;
    padding: 20px;
    color: black;
    font-size: 30px;
    background: rgba(58, 150,189, 0.7);
    font-weight:300;
}
h5{
	font-family: 'Open Sans', sans-serif;
	margin-top: 0;
	padding-right: 20%;
	padding-left: 10%;
	padding-bottom: 0px;
	margin-bottom: 3px;
	color: black;
	font-size: 40px;
	text-align: left;
	font-weight:300;
}
h6{
	padding-right: 20%;
	padding-left: 20%;
	padding-bottom: 2px;
	padding-top: 0%;
	padding-bottom: 10px;
	color: black;
	font-size: 15px;
	margin-bottom: 0px;
	margin-top: 0px;
	font-weight: 300;
}
h7{
	font-family: 'Open Sans', sans-serif;
	margin-bottom: 0px;
	padding-top: 25px;;
	padding-left: 80px;;
	color: rgb(51,51,51);
	font-size: 30px;
	text-align: left;
}
p {

	padding-right: 13%;
	padding-left: 13%;
	padding-bottom: 10px;
	color: black;
}
hr
/*Horizontal Line (Home Page)*/
{
	display: block;
    margin-top: .1%;
    margin-bottom: 0;
    margin-left: 100px;
    margin-right: 100px;
    border-style: ridge;
    border-width: 1px;
	border-color: rgb(153,153,153);

}
a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
	border: none;
}

/*Gray Box that holds text on Pages*/
.box{
	margin-top: 6%;
	background: rgba(256,256,256, .9);
	margin-right: 15%;
	margin-left: 15%;
	margin-bottom: 45px;
	box-shadow: 0 0 50px rgba(0,0,0, 0.2);
}


/* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
a:link {
	color: #3A96BD;
	text-decoration: none; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
}
a:visited {
	color: #3A96BD;
	text-decoration:none;
	font-weight: bold;
}
a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
	color: #3A96BD;
	font-weight: bold;
}

/* this container surrounds all other divs giving them their percentage-based width */
.container {
	width: 100%;
	/*max-width: 1260px;*/

	min-width: 780px;
	margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout. It is not needed if you set the .container's width to 100%. */
}

/* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
.header {
	background: rgba(57,57,57,.7);
	color: white;
	margin: 20px 15%;
	padding: 20px;
}

}
.title{
	text-align: right;
}
.logo1{
	padding-top: 15%;
	padding-bottom: 0px;
	padding-left: 45%;
}
.centeredImage{
    display:block;
	margin-left: auto;
	margin-right: auto;
}

/* ~~ These are the columns for the layout. ~~

1) Padding is only placed on the top and/or bottom of the divs. The elements within these divs have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.

2) No margin has been given to the columns since they are all floated. If you must add margin, avoid placing it on the side you're floating toward (for example: a right margin on a div set to float right). Many times, padding can be used instead. For divs where this rule must be broken, you should add a "display:inline" declaration to the div's rule to tame a bug where some versions of Internet Explorer double the margin.

3) Since classes can be used multiple times in a document (and an element can also have multiple classes applied), the columns have been assigned class names instead of IDs. For example, two sidebar divs could be stacked if necessary. These can very easily be changed to IDs if that's your preference, as long as you'll only be using them once per document.

4) If you prefer your nav on the right instead of the left, simply float these columns the opposite direction (all right instead of all left) and they'll render in reverse order. There's no need to move the divs around in the HTML source.

*/
.sidebar1 {
	position: fixed;
	height: 100%;
	float: left;
	top: 0;
	left: 0;
	width: 16%;
	max-width: 600px;
	min-width: 150px;
	background: rgba(37,37, 37,.8);
	/*padding-bottom: 10px;*/
}

.content {
	height: auto;
    width: 80%;
    min-width: 700px;
    max-width: 2500px;
    margin: 0 auto;
    padding-left: 17%;
}

/* ~~ This grouped selector gives the lists in the .content area space ~~ */
.content ul, .content ol {
	padding: 0 15px 15px 40px;
	 /* this padding mirrors the right padding in the headings and paragraph rule above. Padding was placed on the bottom for space between other elements on the lists and on the left to create the indention. These may be adjusted as you wish. */
}

/* ~~ The navigation list styles (can be removed if you choose to use a premade flyout menu like Spry) ~~ */
ul.nav {
	list-style-type: none;
	list-style: none; /* this removes the list marker */
	border-top: 1px solid #666; /* this creates the top border for the links - all others are placed using a bottom border on the LI */
	margin-bottom: 15px; /* this creates the space between the navigation on the content below */
	background: rgba(37,37, 37,.8);
	opacity: .7;
	text-align: right;
}
ul.nav li {
	list-style-type: none;
	border-bottom: 1px solid #666; /* this creates the button separation */
	background: rgba(37,37, 37,.9);
	text-align: right;
}
ul.nav a, ul.nav a:visited {
	list-style-type: none; /* grouping these selectors makes sure that your links retain their button look even after being visited */
	padding: 5px 5px 5px 15px;
	display: block; /* this gives the link block properties causing it to fill the whole LI containing it. This causes the entire area to react to a mouse click. */
	text-decoration: none;
	background: rgba(37,37, 37,.9);
	color: white;
	text-align: right;
}
ul.nav a:hover, ul.nav a:active, ul.nav a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
	background: rgba(57,57, 57,.9);
	color: #FFF;
	text-align: right;
}

/* ~~ The footer ~~ */
/*.footer {
	padding: 10px 0;
	background: #6F7D94;
	position: relative;/* this gives IE6 hasLayout to properly clear */
	/* clear: both; /* this clear property forces the .container to understand where the columns end and contain them */
/*}

/* ~~ miscellaneous float/clear classes ~~ */
.fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}
-->

table {
	border: 0px;
	padding-left: 13%;
	padding-right: 13%;
}

td {
	align: left;
	padding: 15px;
}

th {
	align: center;
	padding: 15px;
}

td p {
	padding-left: 0px;
	padding-right: 0px;
}

.lessontable{ /*formatting for unordered lists within the lessons page*/
	padding: 0px;
	margin-left: 55px;
	margin-right: 0px;
	margin-top: -25px;
	margin-bottom: -25px;
}

.lessonparagraph{ /*formatting for paragraphs in the Lessons page that have a UL above and another paragraph below them*/
	padding-right: 13%;
	padding-left: 13%;
	padding-bottom: 10px;
	color: black;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 10px;
	margin-bottom: -20px;
}

.lessonparagraph2{ /*formatting for paragraphs in the Lessons page that have an UL above and a new week begins below*/
	padding-right: 13%;
	padding-left: 13%;
	padding-bottom: 10px;
	color: black;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 10px;
	margin-bottom: 0px;
}

.lessonparagraph3{ /*formatting for the [field trip] section in week 5, so there will be white space underneath it*/
	padding-right: 13%;
	padding-left: 13%;
	padding-bottom: 10px;
	color: black;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 10px;
	margin-bottom: 60px;
}

.past_table{ /*formatting for the table on the "past" homepage*/
	 align: center;
	 margin-right: auto;
	 margin-left: auto;
}

.past_table td { /*formatting for table cells on the "past" homepage*/
	vertical-align: top;
	width: 175px;
}

.past_table td h7 { /*formatting for h7 in table cells on the "past" homepage*/
	padding-left: 0;
}

.iframediv {
	text-align: center;
	width: 100%;
}

<!--[if lte IE 7]>

.content { margin-right: -1px; } /* this 1px negative margin can be placed on any of the columns in this layout with the same corrective effect. */
ul.nav a { zoom: 1; }  /* the zoom property gives IE the hasLayout trigger it needs to correct extra whitespace between the links */


@media screen and (max-width: 1000px) {
	h1 {
		font-size: 48px;
	}
}
