/* So the HTML5 structural tags work in older browsers */
article, aside, figure, footer, header, nav, section {
    display: block;
}

*{
	margin: 0;
	padding: 0;
}

html{
	background: #003366;
}

body {
	font-family: sans-serif;
    font-size: 87.5%;
    width: 845px;
    margin: 0 auto;
    border: 3px solid black;
    background-color: #CCCCCC;
}

a:focus, a:hover {
	font-style: italic;
}

header {
	text-align: center;
	border-bottom: 3px solid black;
	padding: 1.5em 0;
	background: linear-gradient(#F5F5F5, gray, #F5F5F5);
}

header h1 {
	text-align: left;
	padding-left: 25px;
	color: black;
	font-size: 50px;
}
header img {
	float: left;
	padding: 0 30px;
}

nav ul {
	list-style: none;
	padding: 1em 0;
	background-color: red;
	border-bottom: 3px solid black;
}
nav li {
	display: inline;
}
nav a {
	padding: 1em 2em;
	color: #fffded;
	font-weight: bold;
	border-right: 2px solid black;
}
a:hover {
	color: blue;
}
.active_nav {
	color: black;
}

section {
	clear: left;
	padding: 0 20px;
	width: 805px;
	float: right;
}

section h1 {
	font-size: 150%;
	padding: .5em 0 .25em;
}

section p {
	padding-bottom: .5em;
}

section img{
	float: left;
}

footer {
	border-top: 3px solid black;
	clear: both;
	background-color: red;
}
footer p {
	padding: 1em 0;
	text-align: center;
}

@media print {
	body {
		font-family: "Times New Roman", Times, serif;
		background-color: white;
		width: auto;
		border: none;
	}
	nav {
		display: none;
	}
	header {
		border-bottom: 3px solid #800000;
	}
	header img {
		display: none;
	}
	section h1, section p {
		font-family: Verdana, Arial, Helvetica, sans-serif;
	}
	section img {
		display: none;
	}
	section {
		font-family: Verdana, Arial, Helvetica, sans-serif;
		width: 675px;
		padding: 0;
	}
	section img {
		width: 650px;
		height: 300px;
}