/* So the HTML5 structural tags work in older browsers */
article, aside, figure, footer, header, nav, section {
    display: block;
}

/* the styles for the reset selector */

* {
	margin: 0;
	padding: 0;
}

html {
	background-color: #FFF;
}

/* the styles for the elements */
body {
	font-family: Arial, Helvetica, sans-serif;
    font-size: 87.5%;
	width: 800px;
	margin: 0px auto;
	border: 3px solid #931420;
	background-color: #fffded;
}

a:hover {
	font-style: italic;
}

/* the styles for the header */

header {
	border-bottom: 3px solid #931420;
	padding-top: 1.5em;
	padding-bottom: 4.5em;
	background-image: linear-gradient(30deg, #f6bb73 0%, #f6bb73 30%, white 50%, #f6bb73 80%, #f6bb73 100%); 
	background-image: -moz-linear-gradient(30deg, #f6bb73 0%, #f6bb73 30%, white 50%, #f6bb73 80%, #f6bb73 100%); 	background-image: -webkit-linear-gradient(30deg, #f6bb73 0%, #f6bb73 30%, white 50%, #f6bb73 80%, #f6bb73 100%);
	background-image: -o-linear-gradient(30deg, #f6bb73 0%, #f6bb73 30%, white 50%, #f6bb73 80%, #f6bb73 100%);
}

header img {
	float: left;
	padding-left: 30px;
	padding-right: 30px;
}

header h1 {
	color: #800000;
}

header h2 {
	font-size: 170%;
	color: #800000;
}

header h3 {
	font-size: 130%;
	font-style:italic;
}

/* the styles for the nav */
#nav_menu ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	position: relative;
}

#nav_menu ul li {
	float: left;
}

#nav_menu ul li a {
	display: block;
	width: 160px;
	text-align: center;
	padding-top: 1em;
	padding-bottom: 1em;
	text-decoration: none;
	background-color: #800000;
	color: white;
	font-weight: bold;
}
	
#nav_menu a.current {
	color: yellow;
}

#nav_menu ul ul {
	display: none;
	position: absolute;
	top: 100%;
}

#nav_menu ul ul li ul {
	position: aboslute;
	left: 100%;
	top: 0;
}

#nav_menu ul ul li {
	float: none;
}

#nav_menu ul li:hover > ul {	
	display: block;
}

#nav_menu > ul:after {
	content: "";
	clear: both;
	display: block;
}

/* the styles for the section */

section {
	clear: left;
	width: 525px;
	float: right;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 20px;
}

section h1 {
	font-size: 150%;
	padding-top: .5em;
	padding-bottom: .25em;
	margin: 0;
	color: #800000;
}

section h2 {
	font-size: 130%;
	color: #800000;
	padding-top: .5em;
	padding-bottom: .25em;
}

section h3 {
	font-size: 105%;
	padding-bottom: .25em;
}


section p {
	padding-bottom: .5em;
}

section blockquote {
	padding-left: 2em; 
	padding-right: 2em;
}

section ul {
	padding-bottom: .25em;
	padding-left: 1.25em;
}

section ul li {
	padding-bottom: .35em;
}

/* the styles for the aside */

aside {
	width: 215px;
	float: right;
	padding-left: 20px;
	padding-bottom: 20px;
}

aside h2 {
	font-size: 130%;
	color: #800000;
	padding: .5em 0 .25em 0;
}

aside h3 {
	font-size: 105%;
	padding-bottom: .25em;
}

aside img {
	padding-bottom: 1em;
}

/* the styles for the article */

article {
	padding-top: .5em;
	padding-bottom: .5em;
	/*border-bottom: 2px solid #800000;
	border-top: 2px solid #800000;*/
}

article img {
	float: right;
	margin-bottom: .25em;
	margin-left: .25em;
	margin-top: .25em;
	border: 1px solid black;
}

figure {
	float: right;
	margin-right: 1.5em;
}

Figcaption {
	display: block;
	font-weight: bold;
	padding-top: .25em;
	margin-bottom: 1em;
	border-bottom: 1px solid #000;
}

article h2 {
	padding-top: 0;
}

article h3 {
	font-size: 105%;
	padding-bottom: .25em;
}


.shadow {
	text-shadow: 2px 2px 2px #800000;
}

/* the styles for the footer */

footer {
	border-top: 3px solid #931420;
	background-color: #931420;
	clear: both;
}

footer p {
	text-align: center;
	color: #FFF;
	padding-bottom: 1em;
	padding-top: 1em;
}


