@charset "utf-8";
/* CSS Document */

/* Table of Contents -------------------------------------------------------------- */
/* -------------------------------------------------------------------------------- */
/*

Colors
HTML5
Universal
Structure
Headings
Links
Paragraphs
Lists
Images
Forms
Misc. Content
Classes
Ads

*/

/* Colors ------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------- */
/*

Color (example elements): #hexvalue

*/

/* HTML5 -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------- */
header, hgroup, nav, section, article, aside, figure, figcaption, footer {
	display: block;
}

/* Universal ---------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------- */
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
}

/* Structure ---------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------- */
html {
	background: #f3f3f3;
}
body {
	margin: 0;
	padding: 0;
	font-size: 62.5%;
}
#container {
	color: #444;
	margin: 0 auto;
	font: 1.5em/2 Calibri, Helvetica, Arial, sans-serif;
	text-shadow: 0 1px #fff;
}
header {
	background: #f3f3f3;
	background: -webkit-linear-gradient(top, #fff, #eee);
	background: -moz-linear-gradient(top, #fff, #eee);
	background: -ms-linear-gradient(top, #fff, #eee);
	background: -o-linear-gradient(top, #fff, #eee);
	background: linear-gradient(top, #fff, #eee);
	width: 100%;
	border-bottom: 1px solid #000;
	box-shadow: 1px 0 0 #bbb;
	position: fixed;
	z-index: 10;
}
#main-nav {
	background: url(../images/bg-nav.png) 50% 1em no-repeat;
	width: 25%;
	height: 4em;
	padding: 4em 0 0 0;
	border-bottom: 1px solid #000;
	border-left: 1px solid #000;
	position: fixed;
	top: 0;
	right: 0;
	z-index: 9;
	cursor: pointer;
}
#main-content {
	max-width: 33em;
	margin: 0 auto;
	padding: 6em 2.5% 0 2.5%;
}
footer {}

/* Headings ----------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------- */
h1, h2, h3 {
	color: #000;
	font-family: "Goudy Old Style", "Times New Roman", Times, serif;
	font-weight: normal;
}
h1 {
	margin: 0;
	font-size: 3em;
	line-height: 1.333;
}
h2 {
	margin: 1em 0 -1em 0;
	font-size: 2em;
	line-height: 1;
}
h3 {
	margin: 1.333 0 0 0;
	font-size: 1.5em;
	line-height: 1.333;
}

/* Links -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------- */
a {
	color: #00f;
	text-decoration: none;
}
	#main-content a:hover {
		text-decoration: underline;
	}
	#main-content a:visited {
		color: #80f;
	}
#logo, #main-nav a {
	display: block;
}
#logo {
	color: #000;
	font-family: "Goudy Old Style", "Times New Roman", Times, serif;
	font-size: 2em;
	line-height: 1;
	padding: .5em 0 .5em 2.5%;
}
#main-nav a {
	background: #f3f3f3;
	background: -webkit-linear-gradient(top, #f3f3f3, #e0e0e0);
	background: -moz-linear-gradient(top, #f3f3f3, #e0e0e0);
	background: -ms-linear-gradient(top, #f3f3f3, #e0e0e0);
	background: -o-linear-gradient(top, #f3f3f3, #e0e0e0);
	background: linear-gradient(top, #f3f3f3, #e0e0e0);
	color: #000;
	width: 405%;
	padding: 0 0 0 2.5%;
	border-top: 1px solid #000;
	position: relative;
	left: -305%;
}
	#main-nav a:last-of-type {
		border-bottom: 1px solid #000;
	}

/* Paragraphs --------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------- */
p {
	margin: 2em 0;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	-o-hyphens: auto;
	hyphens: auto;
}
#copyright {
	border-top: 1px solid #000;
}

/* Lists -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------- */
ul, ol {
	margin: 2em 0;
	padding: 0;
	list-style-position: inside;
}

/* Images ------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------- */
img {
	display: block;
	max-width: 100%;
	margin: 2em auto;
}

/* Forms -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------- */
label, input, textarea {
	display: block;
}
input, textarea {
	margin: 0 0 2em 0;
}
textarea {
	width: 100%;
	height: 8em;
}

/* Misc. Content ------------------------------------------------------------------ */
/* -------------------------------------------------------------------------------- */
em em, i em {
	font-style: normal;
}

/* Classes ------------------------------------------------------------------------ */
/* -------------------------------------------------------------------------------- */
.float-left {
	float: left;
	margin: 0 1em 0 0;
}
.float-right {
	float: right;
	margin: 0 0 0 1em;
}

@media screen and (min-width: 640px) {
#container {
	font-size: 1.8em;
}
header {
	border: none;
}
#main-nav {
	background: none;
	width: 100%;
	height: -webkit-calc(2em + 6px);
	height: calc(2em + 6px);
	overflow: visible;
	padding: 0;
	border: none;
	position: static;
	cursor: default;
}
	#main-nav a, #main-nav a:last-of-type {
		color: #000;
		width: 25%;
		float: left;
		padding: 0;
		border-bottom: none;
		border: none;
		position: static;
		text-align: center;
		box-shadow: inset 0 -1px 0 1px #ccc,
					inset 0 -2px 0 1px #888,
					inset 0 -3px 0 1px #aaa,
					inset 0 0px 0 1px #fff,
					0 -1px 0 0 #aaa,
					0 1px 0 0 #fff;
		border-top: 3px solid #eee;
		border-bottom: 1px solid #eee;
		position: relative;
		top: 1px;
		left: 0;
	}
		#main-nav a:last-of-type {
			border-right: none;
		}
		#main-nav a:hover, #main-nav a:focus {
			background: -webkit-linear-gradient(top, #fff, #eee);
			background: -moz-linear-gradient(top, #fff, #eee);
			background: -ms-linear-gradient(top, #fff, #eee);
			background: -o-linear-gradient(top, #fff, #eee);
			background: linear-gradient(top, #fff, #eee);
			outline: 0;
		}
		#main-nav a:active {
			background: -webkit-linear-gradient(top, #e8e8e8, #d0d0d0);
			background: -moz-linear-gradient(top, #e8e8e8, #d0d0d0);
			background: -ms-linear-gradient(top, #e8e8e8, #d0d0d0);
			background: -o-linear-gradient(top, #e8e8e8, #d0d0d0);
			background: linear-gradient(top, #e8e8e8, #d0d0d0);
			box-shadow: inset 0 -1px 0 1px #ddd,
						inset 0 -2px 0 1px #ccc,
						inset 0 -3px 0 1px #888,
						inset 0 0px 0 1px #f8f8f8,
						0 -1px 0 0 #aaa,
						0 1px 0 0 #fff;
		}
#main-content {
	padding: 8em 2.5% 0 2.5%;
}
ul, ol {
	list-style-position: outside;
}
}

@media screen and (min-width: 1200px) {
#container {
	font-size: 2.3em;
}
}

/* Ad Styles */
#ad {
	background: url(../images/horizontal-ad.png) no-repeat;
	background-size: contain;
	display: block;
	margin: 0 auto;
}
	#ad img {
		width: 100%;
	}
#ad-here {
	display: block;
	width: 100%;
	margin: -4em 0 0 0;
	text-align: center;
}
@media screen and (min-width: 929px) {
	#ad {
		background: url(../images/vertical-ad.png) no-repeat;
		width: 163px;
		height: 470px;
		margin: 0;
		position: absolute;
		top: 8em;
		right: 0px;
	}
		#ad img {
			display: none;
		}
	#ad-here {
		width: 163px;
		position: absolute;
		top: 650px;
		top: -webkit-calc(12em + 430px);
		top: -moz-calc(12em + 430px);
		top: calc(12em + 430px);
		right: 0;
	}
}