/*<!-- Author: Tom LeBar CIS126 2015 Winter Term-->*/
/* So the HTML5 structural tags work in older browsers */
article, aside, figure, footer, header, nav, section {
    display: block;
}

/* remove all of the styles for the elements */
* {
	margin: 0;
	padding: 0;
}

/* entire page styling */
html {
	background-color: rgba(255, 255, 255, .5);
	padding-top: .7em;		
}

/* body styling */
body {
	font-family: Arial, Helvetica, sans-serif;
    font-size: 87.5%;
	font-weight: 500;
	width: 900px;
    margin: 0 auto;   
	background-color: rgba(255, 255, 255, .5);
}

/* the styles for the header */
header {
	border: 2px solid blue;
	border-radius: 0 0 .75em .75em;
	box-shadow: .7em .7em .7em rgba(0,0,0,.5);
	padding: 1.25em 0;	    
	background-image: -moz-linear-gradient(left, #fff 0%, #008 115%);
	background-image: -webkit-linear-gradient(left, #fff 0%, #008 115%);
	background-image: -ms-linear-gradient(left, #fff 0%, #008 115%);
	/* background-image: linear-gradient(left, #fff 0%, #008 115%); */
}
header h1 {
	color: #008;
}
header h2 {
	font-style: italic;
}
header img {
	float: left;	
	padding: 0em 3em;
}
header .shadow {
	text-shadow: .1em .1em .1em #008;
}

/* link default color is black */
a:link {
	color: #000;
}

/* change font-style and color when hovering over link*/
a:focus, a:hover {
	font-style: italic;
	color: #00f;
}

/* change current page link to red */
.current {
	color: #f00;
}

/* the styles for the navigation buttons */
nav {		
	margin: .75em;		
	padding: .3em;
}
nav ul {
	margin: .5em 0 .2em 5em;/*adds space between button row and header*/
}
nav li {	
	display: inline;	
}
nav a{
	padding: .75em 2.75em; /*padding around <a> elements, adds separation*/
	text-decoration: none; /*removes the underlines from the <a> elements*/
	color: black; /*text color for the <a> elements*/
	background-color: #9f9;	
	border: 2px solid black;
	border-radius: .75em;
	box-shadow: .7em .7em .7em rgba(0,0,0,.5);	
}

/* the styles for the section */
section {
	margin: .5em .75em .5em 1.5em;	
	width: 74%;
	float: left;	
}
section h2 {
	font-size: 120%;	
}
section p {
	padding: .25em;
}

/* the styles for the article image*/
article img {
	width: 18em;
	float: left;
	margin: .25em 1em .75em 1.75em;
	border: 2px solid black;
	border-radius: .3em;
	box-shadow: .7em .7em .7em rgba(0,0,0,.5);
}

/* specifics for .article1 style */
.article1  h2 {
	color: #800;
	padding-left: 1em;
}

/* style top article */
.article1{	
	border: 2px solid #008;
	border-radius: .75em;
	box-shadow: .7em .7em .7em rgba(0,0,0,.5);
	padding: .25em;
	background-color: #fff;	
	-moz-column-count: 2; /* provide two columns for content */
	-webkit-column-count: 2;
	column-count: 2;	
}

.article2 h2{	
	color: #008;
	padding: .5em 0;
	text-align: center;	
}
.textpic {
	width: 5em;
	height: 5em;
	margin: 1em 0 0 5em;						
	float: left;
	border: 2px solid black;
	border-radius: .3em;
	box-shadow: .7em .7em .7em rgba(0,0,0,.5);
	margin: .5em  ;
	padding: .3em;
	background-color: #9f9;
}
/* the styles for the aside */
aside h2 {
	font-size: 120%;
	padding-bottom: .25em;
	padding-top: .25em;
	color: #008
}

/* the styles for #aside1 (left sidebar) including block quote*/
 #aside1 {
	width: 18%;
	height: 48em;
	background-color: #fff;	
	float: left;
	border: 2px solid #008;
	border-radius: .75em;
	box-shadow: .7em .7em .7em rgba(0,0,0,.5);
	margin: .5em 0;
	padding: .2em .5em;
}
#aside1 li {	
	list-style-type: none;		
	margin: 0 .1em .65em .1em;
	padding: .2em;
	border: 2px solid black;
	border-radius: .3em;
	box-shadow: 10px 10px 10px rgba(0,0,0,.5);
	background-color: #9f9;	
}
#aside1 a {
	text-decoration: none;
}
#aside1 blockquote {
	width: 85%;
	margin: 1.5em 0em 0em .15em;
	padding: .25em;
	font-family: Arial, Helvetica, sans-serif;
    font-size: 200%;
	font-weight: 500;
	border: 2px solid black;
	border-radius: .5em 1em 0 1em;
	box-shadow: .7em .7em .7em rgba(0,0,0,.5);
	background-image: -moz-linear-gradient(left, #fff 0%, #008 115%);
	background-image: -webkit-linear-gradient(left, #fff 0%, #008 115%);
	background-image: -ms-linear-gradient(left, #fff 0%, #008 115%);
	/* background-image: linear-gradient(left, #fff 0%, #008 100%); */
}
 
/* the picture table images.html graphic table styles */
#image_list {
	background-color: #fff;
	width: 100%;
	border-collapse: collapse;
	margin: .5em auto;
	border: 2px solid #008;
	border-radius: .75em;
	box-shadow: .7em .7em .7em rgba(0,0,0,.5);	
}

/* picture table page caption style */
figcaption {
	display:block;
	font-weight: bold;
	text-align: center;
	font-size: 120%;
	margin: 1em 0 .5em 0;
	padding-bottom: .25em;
	color: #008;
}

/* picture table page title and data style */							
#image_list th, td {
		border: 2px solid black;
		padding: .2em .75em;
}

/* picture table page thumbnail picture .pic class style */
#image_list .pic {
	margin: 1em 0 0 5em;						
	float: left;
	border: 2px solid black;
	border-radius: .3em;
	box-shadow: .7em .7em .7em rgba(0,0,0,.5);
	margin: .5em  ;
	padding: .3em;
	background-color: #9f9;									
}

#caption {
	position: fixed;
	left: 2px;
	top: 380px;
	border: 2px solid black;
	border-radius: .3em;
	box-shadow: .7em .7em .7em rgba(0,0,0,.5);
	margin: .1em  ;
	padding: .3em;
	background-color: #0ff;	
} 

/* slide show CSS */
section #image_list li {
	display: inline;
}
section #image_list a {
	border:none;
}
ul #image_list {
	width: 680px;
	
}
.caption {
	clear: both;
}


/* styles for sign-in form */
fieldset { 
	background-color: #fff;
	padding: .75em 0 .75em 6em;
	border: 2px solid #008;
	border-radius: .75em;
	box-shadow: .7em .7em .7em rgba(0,0,0,.5);
	margin: 1.5em 0 0 0;	
}

fieldset img{
	width: 215px; 	
	border: 2px solid black;
	border-radius: .7em;
	box-shadow: .7em .7em .7em rgba(0,0,0,.5);
}

fieldset h2 {
	font-size: 120%;
	color: #f00;
}

.formpic {
	padding: .5em  0 .5em 5em;
	border-radius: .75em;
	box-shadow: .7em .7em .7em rgba(0,0,0,.5);
	background-image: -moz-linear-gradient(left, #fff 0%, #008 115%);
	background-image: -webkit-linear-gradient(left, #fff 0%, #008 115%);
	background-image: -ms-linear-gradient(left, #fff 0%, #008 115%);
	/* background-image: linear-gradient(left, #fff 0%, #008 100%); */
}

/* The form page fieldset text styles */
legend {
    color: #008;
    font-weight: bold;
    font-size: 100%;
}

/* The form page label styles */
label {
    float: left;
    width: 10em;
	font-weight: bold;
    font-size: 85%;
    text-align: right;
}

/* The form page text box styles */
input, select {
    width: 15em;
    margin-left: 0.5em;
    margin-bottom: 0.5em;
	padding: .2em;
	border: 2px solid black;
	border-radius: .3em;
	box-shadow: .7em .7em .7em rgba(0,0,0,.5);
	background-color: #ffa;	
}

/* The form page field validation styles if input is a required field*/
input:required, input[required] {
	border: 2px solid #f00;
	color: #f00;	
	border-radius: .3em;
	box-shadow: .7em .7em .7em rgba(0,0,0,.5);
	background-color: #ffa;	
}

/* The form page field validation styles if input is not a required field*/
input:valid {
	border: 2px solid black;
}

/* The form page field validation styles if input does not meet requirements*/
input:invalid {
	color: #f00;
	box-shadow: none;	
	border-radius: .3em;
	box-shadow: 10px 10px 10px rgba(0,0,0,.5);
	background-color: #ffa;	
}

/* The form page field submit and reset buttons styles*/
#buttons input {
	width: 10em;
	height: 3em;
	background-color: #9f9;	
	border: 2px solid black;
	border-radius: .75em;
	box-shadow: .7em .7em .7em rgba(0,0,0,.5);
}
/* the form page definition type style */
dt 
	{
        font-weight: bold;
    }

/* the styles for the video page */
video {
	background-color: #fff;
	border: 2px solid #008;
	border-radius: .7em;
	box-shadow: .7em .7em .7em rgba(0,0,0,.5);
	margin: .75em 0 0 4em;
	padding: 1em ;	
}
.video h2{
	color: #008;
	margin: .25em 0 0 0;
}

/* the styles for the footer */
footer {	
	clear: both;
	border: 2px solid #008;
	border-radius: .7em .7em 0 0;
	box-shadow: .7em .7em .7em rgba(0,0,0,.5);
	padding: 1em 0;		
	background-image: -moz-linear-gradient(left, #fff 0%, #008 115%);
	background-image: -webkit-linear-gradient(left, #fff 0%, #008 115%);
	background-image: -ms-linear-gradient(left, #fff 0%, #008 115%);
	/* background-image: linear-gradient(left, #fff 0%, #008 115%); */
}
footer p {
	text-align: center;
}
