
* { 
   -webkit-box-sizing: border-box; 
   -moz-box-sizing:    border-box; 
   box-sizing:         border-box; 
}

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #ecc7ae; }
body { margin: 0; font-size: 1em; line-height: 1.4; }

::-moz-selection { background: #4c9cee; color: #fff; text-shadow: none; }
::selection { background: #4c9cee; color: #fff; text-shadow: none; }

a { color: #e7e6e5; text-decoration: underline; }
a:visited { color: #e7e6e5; }
a:hover { color: #ffffff; }
a:focus { color: #ffffff; outline: thin dotted; }
a:hover, a:active { outline: 0; }

p { margin: 0px; padding: 0em 0em 1em 0em; }
p + p {  }
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; border-left: 3px solid #c1c1c1; padding-left: 2em; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; background: #302622; margin: 1em 0 2em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }

sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

svg:not(:root) { overflow: hidden; }

figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label {  }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

.textright { text-align: right; }
.textcenter { text-align: center; }

body{
	font:14px/22px Helvetica, Helvetica Neue, Arial;
	background: #261c18 url(../images/htmlbg.jpg);
}

img {
	width: 100%;
}

h1, h2, h3, h4, h5, h6 {
	color: #594A41;
	color: #ecc7ae;
	font-family: "Hoefler Text", "Baskerville old face", Garamond, "Times New Roman", serif;
	font-size: 2em;
	line-height: 1em;
	font-weight: bold;
	padding: 0em 0em .5em 0em;
	margin: 0;
}

h3 {
	font-size: 1.5em;
	line-height: 1em;
	font-weight: normal;
}

h4, h5, h6 {
	font-size: 1em;
	font-weight: bold;
}

::-moz-selection { background: #4c9cee; color: #fff; text-shadow: none; }
::selection      { background: #4c9cee; color: #fff; text-shadow: none; }

.wrapper {
	position: relative;
	width: 300px;
	margin: 0 auto;
	background: #1a1310;
	padding: 0 1em;
	border: 1px solid #302622;
	border-top: 0;
}

	#social {
		padding: 1em 0;
		text-align: center;
	}
	
		#social a, #social a:visited {
			display: inline-block;
			border-radius: 3px;
			padding: .25em;
			border: 1px solid #302622;
	        background: #2A201C;
	        margin: 0 .5em;
		}
		
		#social a:hover {
			background: #5a4a42;
		}
	
			#social a img {
				width: auto;
			}
	
	#banner {
		position: relative;
	}
	
		#banner-logo {
			background: #ecc7ae;
			padding: 1em;
		}
		
		nav {
			width: 100%;
			position: relative;
			background: #2A201C;
			background: -moz-linear-gradient(
				top,
				rgba(42,32,28,0) 100%,
				#2A201C 0%);
			background: -webkit-gradient(
				linear, left top, left bottom,
				from(#2A201C),
				to(rgba(42,32,28,0)));
		}
		
		nav ul {
			display: none;
		}
		
		nav li {  
	        display: block;
	        float: none;  
	        width: 100%;  
	    }  
	    nav a, nav a:visited {
	    	display: block;
	    	padding: .5em 1em;
	        border-bottom: 1px solid #302622;
	        background: #2A201C;
	    }
	    nav a:hover {
	    	background: #5a4a42;
	    }
		
		nav a#pull {
			position: relative;
		}
		
		nav a#pull:after {
			content:"";
			background: url(../images/nav-icon.png) no-repeat;
			width: 30px;
			height: 30px;
			display: inline-block;
			position: absolute;
			right: 1em;
			top: .5em;
		}
	
	#content {
		padding: 2em 0 1em 0;
	}

	#content img {
		border: 1em solid #5a4a42;
		margin-bottom: 1em;
	}

	#footer {
		border-top: 1px solid #302622;
		padding: 2em 0 1em 0;
		font-size: .75em;
		text-align: center;
		color: #302622;
	}
	#footer a {
		color: #302622;
	}

.button, .button:visited {
	display: block;
	margin: 0 0 1em 0;
	padding:.5em 0em;
	font-weight: bold;
	font-style: normal;
	width: 100%;
	color: #1a1310;
	text-decoration: none;
	text-align: center;
	background: #ecc7ae;
	border: 1px solid #cba68d;
	background: -moz-linear-gradient(
			top,
			#ecc7ae 0%,
			#cba68d 100%);
	background: -webkit-gradient(
			linear, left top, left bottom,
			from(#ecc7ae),
			to(#cba68d));
	text-shadow: 0px 1px #cba68d;
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,0.5),
		0 2px 4px rgba(0,0,0,0.2);
	-webkit-box-shadow:
		inset 0 1px 0 rgba(255,255,255,0.5),
		0 2px 4px rgba(0,0,0,0.2);
	-moz-box-shadow:
		inset 0 1px 0 rgba(255,255,255,0.5),
		0 2px 4px rgba(0,0,0,0.2);
}
.button:hover {
	color: #ffffff;
	text-decoration: none;
	background: #cba68d;
	border: 1px solid #a9866e;
	background: -moz-linear-gradient(
			top,
			#cba68d 0%,
			#a9866e 100%);
	background: -webkit-gradient(
			linear, left top, left bottom,
			from(#cba68d),
			to(#a9866e));
}

.nowrap {
	white-space: nowrap;
}

.row {
	width: 100%;
	margin: 0 auto;
}
.row:before, .row:after { content: ""; display: table; }
.row:after { clear: both; }
.row { *zoom: 1; }
.column {
	position: relative;
}

.colbg {
	background: #2A201C;
	padding: 1em 1em 0 1em;
}

/* =============================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {
	.wrapper {
		width: 420px;
		padding: 0 2em;
	}
}

@media only screen and (min-width: 768px) {
	
	.wrapper {
		width: 720px;
		padding: 0 2em;
	}
	
	h1, h2 {
		font-size: 4em;
		line-height: 1em;
	}
	
	#banner-logo {
		position: absolute;
		top: .5em;
		left: .5em;
		width: 240px;
		padding: 0;
		margin: 0;
		background: transparent;
	}
	
	nav a#pull {
		display: none;
	}
	
	nav ul {
		display: block;
		margin: 0 .5em;
	}
	
	nav li {
		width: 14.28571%;
		float: left;
	}
	
	nav a, nav a:active, nav a:visited {
		text-align: center;
		padding: 2em 0;
		margin: 1em .5em;
		border: 0;
		background: #1a1310;
	}
    nav a:hover {
    	background: #5a4a42;
    }
	
	.column {
		margin-left: 2.127663%;
		float: left;
	}
	.column:first-child {
		margin-left: 0px;
	}
	
	.row .one.column 		{ width: 6.382989%; }
	.row .two.column 		{ width: 14.893641%; }
	.row .three.column 		{ width: 23.404293%; }
	.row .four.column 		{ width: 31.914945%; }
	.row .five.column 		{ width: 40.425597%; }
	.row .six.column 		{ width: 48.936249%; }
	.row .seven.column 		{ width: 57.446901%; }
	.row .eight.column 		{ width: 65.957553%; }
	.row .nine.column 		{ width: 74.468205%; }
	.row .ten.columns 		{ width: 82.978857%; }
	.row .eleven.column		{ width: 91.489509%; }
	.row .twelve.column		{ width: 100%; }
	
	.floatimgright {
		width: 31.914945%;
		float: right;
		margin-left: 2.127663%;
		margin-bottom: 1em;
	}
	
}

@media only screen and (min-width: 960px) {

	.wrapper {
		width: 940px;
	}
	
	#banner-logo {
		width: 340px;
	}
	
	#social {
		position: absolute;
		padding: .5em .25em;
		top: 0;
		right: 2.5em;
		background: #2A201C;
		z-index: 9999;
		border-bottom-right-radius: 5px;
		border-bottom-left-radius: 5px;
	}
	
		#social a {
			border: 0;
		}

}

@media only screen and (min-width: 1440px) {

	.wrapper {
		width: 1280px;
	}
	
	#banner-logo {
		top: 1em;
		left: 1em;
		width: 420px;
	}

}

/* =============================================================================
   Non-Semantic Helper Classes
   ========================================================================== */

.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

/* =============================================================================
   Print Styles
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; }
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
