/*------------------------------------------------------------
Eric Meyer's reset reloaed code - many thanks
------------------------------------------------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
	q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

/* -----------------------------------------------------------
start of content styling
----------------------------------------------------------- */

body {
	font-family: 'Lato', Helvetica, Arial, sans-serif;
	font-size: 1em;
	color: #7E9372;
	line-height: 1.4;
	background: #fff url(../images/header.gif) top left repeat-x;
	padding: 1.1em 0;
}

/* -----------------------------------------------------------
header styling
----------------------------------------------------------- */

div#header {
	max-width: 500px;	
	margin: 0 auto;
}

div#header h1 {
	margin: -10px 10px 0 0;
	float: left;
	font-family: 'Russo One', Lucida Sans Typewriter, Lucida Console, sans-serif;
	font-size: 3.5em;
	color: #90D36C;
	line-height: 1em;
}

div#header h1 a span#surname {
	margin: -8px 10px 0 0;
	max-width: 220px;
	width: 20%;	
	font-family: 'Russo One', Lucida Sans Typewriter, Lucida Console, sans-serif;
	font-size: .92em;
	color: #7E9372;
}

div#header h1 a {
	display: block;
	max-width: 220px;
	cursor: default;
	color: #90D36C;
	padding: 12px 0 10px 160px;
	background: url(../images/logo.gif) no-repeat;
	background-position: -430px 0;
	text-decoration: none;
}

div#header h2 {
	margin: -10px 0 0 160px;
	max-width: 220px;
	float: left;
	font-family: 'Lato', Lucida Sans Typewriter, Lucida Console, sans-serif;
	font-size: 1.1em;
	font-weight: bold;
	color: #90D36C;
	clear: left;
}

/* -----------------------------------------------------------
content styling
----------------------------------------------------------- */

div#content {
	clear: both;
	margin: 20px auto;
	max-width: 800px;
	width: 80%;
	padding: 10px 0 50px 160px;
	overflow: hidden;
}

div#content h1 {
	font-family: 'Russo One', Lucida Sans Typewriter, Lucida Console, sans-serif;
	font-size: 2.1em;
	color: #90D36C;
	padding-bottom: 10px;
	margin-top: 20px;
}

div#content h2 {
	font-family: 'Russo One', Lucida Sans Typewriter, Lucida Console, sans-serif;
	font-size: 1.2em;
	color: #90D36C;
}

div#content h2#blank {
	margin-top: 10px;
	clear: left;	
}

div#content p {
	padding-bottom: 10px;	
}

/*============================================================
media queries 
============================================================*/

@media (max-width: 1215px) {
	div#content	{
		width: 67%;
	}
}

@media (max-width: 1170px) {
	div#header {
		width: 90%;
	}
	
	div#content	{
		width: 85%;
	}
}

@media (max-width: 1075px)	{
	div#content	{
		width: 74%;
	}
}

@media (max-width: 936px) {
	div#header {
		margin: 0;
		width: 50%;
	}
	
	div#content	{
		width: 50%;
		padding-left: 0;
		margin-left: 10em;
	}		
}

@media (max-width: 675px) {
	body {
		background-position: 0 8em;
	}
	div#header, div#header h1 {
		width: 100%;
	}
	div#header h1 a {
		display: block;
		width: 48%;
		margin: 0 auto;
		padding: 140px 15px 0 0;
		
	}	
	div#header h2 {
		width: 100%;
		max-width: 100%;
		margin: 0 auto;
		text-align: center;
	}
	div#content	{
		width: 90%;
		margin: 0 auto;
	}
} 