/*Dan Brandenburg 
  Java.css*/

/* So the HTML5 structural tags work in older browsers */
article, aside, figure, footer, header, nav, section {
    display: block;
}
/* the styles for the elements */
* {
	margin: 0;
	padding: 0;
}
html {
	background-color: white;
}
body {
	font-family: Arial, Helvetica, sans-serif;
    font-size: 87.5%;
    width: 800px;
    margin: 0 auto;
    border: 3px solid black;
    background-color: red;
}
a:focus, a:hover {
	font-style: italic;
}
/* the styles for the header */
header {
	
	padding: 1.5em 0;
	border-bottom: 3px solid black;
}
header h1 {
	text-align: center;
	color: white;
}
header h2 {
	text-align: center;
	font-style: italic;
}
header img {
	float: right;
	padding: 0 30px;
	
}
.shadow {
	text-shadow: 2px 2px 2px #800000;
}
/* the styles for the navigation bar */
nav {
	clear: none;
	margin: 0;
	padding: 0;
	
}
nav ul {
	margin-left: 0;
	margin-bottom: 20;
	list-style: none;
	background-color: red;
}
nav li {
	
	
	
}
nav a{
	color: #fffded;
	text-decoration: none;
	font-weight: bold;
		
}

nav a.current { color: black; }
/* the styles for the section */
section {
	clear: right;
	padding: 0 20px;
	width: 525px;
	float: right;
	
	margin: auto;
}
section h1 {
	color: black;
	font-size: 150%;
	padding-bottom: .5em;
	border-bottom:2px solid black;
	text-align: center;
}
section h2 {
	font-size: 120%;
	padding-bottom: .25em;
}
section p {
	padding-bottom: .5em;
}
section blockquote {
	padding: 0 2em;
	font-style: italic;
}
section ul {
	padding: 0 0 1.5em 1.25em;
	list-style-type: circle;
}
section li {
	padding-bottom: .35em;
}
section img{
	border-bottom: 2px solid black;
	border-left: 2px solid black;
	border-right: 2px solid black;
	border-top: 2px solid black;
	float: left;
	margin: 1em 1em 1em 1em;
}


article h1 {
	color: black;
}
article img {
	float: right;
	margin: 1em 0 1em 1em;
	border: 1px solid black;
}
aside {
	width: 215px;
	float: right;
	
		}


/*styles for table*/
figure {	margin-top: 1em;
 }
figcaption {
		color: #800000;
		font-weight:bold;	
		}
table {
		border-collapse: collapse;
}
thead, tfoot {		
		border-top: 2px solid #black;
		border-bottom: 2px solid #black;
}
th, td {
		padding: .2em .7em;
		text-align: left;
}
	
.border_bottom {
border-bottom: 2px solid #black;


}
.right {
text-align: right;

}
	
/* the speakers styles for exercise 5-1 */
#speakers {
	
}
/* the speakers styles for exercise 5-2 
#speakers {
	border: 3px double #800000;
	margin-bottom: .75em;
	border-radius: 10px;
	box-shadow: 5px 5px;
	padding: .5em 0 .5em 2em;
	background-color: white;
}
*/
/* the styles for the footer */
footer {
	border-top: 3px solid black;
	clear: both;
}
footer p {
	padding: 1em 0;
	text-align: center;
}
