/************************************************************************************
RESET
*************************************************************************************/
html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul,
dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, legend, fieldset {
	margin: 0;
	padding: 0;
}

img{
	border: 1px;
	border-color: #ffb505;
	border-style: solid;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	max-width: 80%;
	height: auto;
	width: auto\9; /* ie8 */
}

/* set html5 elements to block */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
}
img, fieldset {
	border: 0;
}

/* set image max width to 100% */
img {
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}
/************************************************************************************
GENERAL STYLING
*************************************************************************************/
body {
	background: #f5f2ed url(images/body-bg.jpg) repeat-x left top;
	font: .86em/150% Arial, Helvetica, sans-serif;
	color: #753F26;
}
a {
	color: #7d7fff;
	text-decoration: none;
	outline: none;
}
a:hover {
	text-decoration: underline;
}
p {
	margin-top: 0;
	margin-right: 0;
	margin-left: 0;
	margin-bottom: 0em;
	padding: 0;
	align: j;
	top: -10px;
	position: static;
}

/* list */
ul, ol {
	margin: 1em 0 1.4em 24px;
	padding: 0;
	line-height: 140%;
}
li {
	margin: 0 0 .5em 0;
	padding: 0;
}

/* headings */
h1, h2, h3, h4, h5, h6 {
	line-height: 1.4em;
	margin: 20px 0 .4em;
	color: #753F26;
}
h1 {
	font-size: 2em;
}
h2 {
	font-size: 1.6em;
}
h3 {
	font-size: 1.4em;
}
h4 {
	font-size: 1.2em;
}
h5 {
	font-size: 1.1em;
}
h6 {
	font-size: 1em;
}
/************************************************************************************
STRUCTURE
*************************************************************************************/
#pagewrap {
	width: 980px;
	margin-top: 20px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 0;
}
/************************************************************************************
HEADER
*************************************************************************************/
#header {
	position: relative;
	height: 230px;
	background: #0d1424 url(images/header-bg.jpg) repeat-x left top;
	margin-top: 20px;
}
/* site logo */
#site-logo {
	position: absolute;
	top: 61px;
	left: 230px;
}
#site-logo a {
	font: bold 36px/100% Arial, Helvetica, sans-serif;
	color: #f3fda9;
	text-decoration: none;
}
/************************************************************************************
MAIN NAVIGATION
*************************************************************************************/
#main-nav {
	width: 100%;
	background: #6a6a6a url(images/nav-bar-bg.png) repeat-x;
	margin: 0;
	padding: 0;
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 100;
}
#main-nav li {
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
	position: relative;
}
#main-nav li:first-child {
	margin-left: 10px;
}
#main-nav a {
	line-height: 100%;
	font-weight: bold;
	color: #EBD4AB;
	display: block;
	padding: 14px 15px;
	text-decoration: none;
	text-shadow: 0 -1px 0 rgba(0,0,0,.5);
}
#main-nav a:hover {
	color: #fff;
	background: #BCAB8D;
}
/************************************************************************************
CONTENT
*************************************************************************************/

#content {
	margin: 0px;
	padding-top: 40px;
	padding-right: 40px;
	padding-left: 40px;
	padding-bottom: 0px;
	width: 900px;
	float: left;
	background: #E1CCA2 url(images/content-bg.jpg) repeat-y center top;
}
.image {
	margin: 0px;
	border: 1px;
	border-color: #753F26;
	border-style: solid;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	max-width: 80%;
	height: auto;
	width: auto\9; /* ie8 */
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
/************************************************************************************
FOOTER
*************************************************************************************/
#footer {
	clear: both;
	color: #753F26;
	font-size: 85%;
	background: #E1CCA2 url(images/footer-bg.png) no-repeat left top;
}
/************************************************************************************
CLEARFIX
*************************************************************************************/
.clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.clearfix { display: inline-block; }
.clearfix { display: block; zoom: 1; }
