body {
  margin: 0;
  padding: 0;
  font-size: 62.5%;
  font-family: Arial, Helvetica, sans-serif;
  background: url(images/brown-bg.png) top left repeat;
  color:#2e2e2e;
}

a:link,
a:active,
a:visited {
	color: #2e2e2e;
	padding: 2px;
	text-decoration: none;
	background: url(images/link-bg.png) top left repeat-x;
	border-bottom: 1px solid #c26000;
}

a:hover {
	background: none;
	color: #c26000;
	border-bottom: 0;
}

/* slightly enhanced, universal clearfix hack */
.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.clearfix { display: inline-block; }

/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */


.wrapper {
	width: 99.8em;
	margin: 0 auto;
}

span.whtt {
	font-weight: bold;
	color: #c26000;
}


/*** HEADING STYLES ***/
#heading {
	padding-top: 3em;
	background: url(images/heading-bg.png) top left no-repeat;
}

	#heading h1 {
		margin-left: 1.8em;
	}

		#heading h1 a {
			display: block;
			width: 96.4em;
			height: 19.6em;
			overflow: hidden;
			text-indent: -1000px;
			background: url(images/logo.png) top left no-repeat;
			border-bottom: 0;
			position: relative;
			z-index: 2;
		}

	#heading h3 {
		margin: -7em 0 7em 23em;
		width: 63.1em;
		height: 3.6em;
		overflow: hidden;
		text-indent: -1000px;
		background: url(images/sub-head.png) top left no-repeat;
		position: relative;
		z-index: 1;
	}

	#heading ul#navigation {
		width: 59em;
		padding-left: 40.8em;
		padding-top: 1.5em;
		background: url(images/navigation-bg.png) bottom left no-repeat;
		list-style: none;
		float: right;
	}

		#heading ul#navigation li {
			float: left;
			height: 5.4em;
			margin: 0 0.5em;
		}

			#heading ul#navigation li a {
				display: block;
				overflow: hidden;
				text-indent: -1000px;
				background-position: top left;
				background-repeat: no-repeat;
				border-bottom: 0;
			}

				#heading ul#navigation li a#portfolio-link {
					width: 14.3em;
					height: 5.4em;
					background-image: url(images/navigation-portfolio.png);
				}

					#heading ul#navigation li a#portfolio-link:hover { margin-top: -0.5em; }
					#heading ul#navigation li a#portfolio-link:active { margin-top: 0; }

				#heading ul#navigation li a#resume-link {
					width: 13.2em;
					height: 4.9em;
					margin-top: 0.2em;
					background-image: url(images/navigation-resume.png);
				}

					#heading ul#navigation li a#resume-link:hover { margin-top: -0.3em; }
					#heading ul#navigation li a#resume-link:active { margin-top: 0.2em; }

				#heading ul#navigation li a#about-link {
					width: 11.7em;
					height: 5.1em;
					margin-top: 0.3em;
					background-image: url(images/navigation-about.png);
				}

					#heading ul#navigation li a#about-link:hover { margin-top: -0.2em; }
					#heading ul#navigation li a#about-link:active { margin-top: 0.3em; }

				#heading ul#navigation li a#contact-link {
					width: 13.7em;
					height: 4.9em;
					margin-top: 0.2em;
					background-image: url(images/navigation-contact.png);
				}

					#heading ul#navigation li a#contact-link:hover { margin-top: -0.3em; }
					#heading ul#navigation li a#contact-link:active { margin-top: 0.2em; }


/*** CONTENT STYLES ***/
#content {
	width: 93.8em;
	padding: 4em 3em;
	background: url(images/content-bg.png) top left repeat-y;
}

	#content h2 {
		margin: 0 0 2em 0;
		width: 93.8em;
		height: 6.2em;
		overflow: hidden;
		text-indent: -1000px;
		background-position: top left;
		background-repeat: no-repeat;
	}

		#index #content h2 { background-image: url(images/h2-index.png); }
		#portfolio #content h2 { background-image: url(images/h2-portfolio.png); }
		#resume #content h2 { background-image: url(images/h2-resume.png); }
		#about #content h2 { background-image: url(images/h2-about.png); }
		#contact #content h2 { background-image: url(images/h2-contact.png); }

	#content p,
	#content ul li {
		font-size: 1.4em;
		line-height: 1.5em;
	}

		#content ul li li { font-size: 1em; }

	#content p { margin-bottom: 1em; }

		#content p.notice {
			line-height: 1em;
			border-bottom: 1px solid #ffff88;
			border-left: 1px solid #ffff88;
			background-color: #ffffcc;
			margin: 0 0.71em 1.42em 0.71em;
			padding: 0.71em;
		}

		#content p.more-text {
			font-size: 1.2em;
			text-align: right;
		}

	#content ul { margin: 2em 1em; }

		#content ul li {
			padding-left: 13px;
			background: url(images/icon-bullet.png) 0 8px no-repeat;
		}

	#content .col {
		width: 44.9em;
		margin: 0 1em;
		float: left;
	}


/*** INDEX STYLES ***/
#index #content #contact-btn {
	font-size: 1em;
	line-height: 1em;
	width: 42.7em;
	height: 10.8em;
	overflow: hidden;
	margin: 4.5em 0 0 0;
	text-indent: -1000px;
	position: relative;
}

	#index #content #contact-btn a {
		display: block;
		width: 42.7em;
		height: 10.8em;
		overflow: hidden;
		background: none;
		border-bottom: 0;
		background: url(images/contact-btn.png) top left no-repeat;
	}

		#index #content #contact-btn a:hover { margin-top: -0.5em; }
		#index #content #contact-btn a:active { margin-top: 0; }

#index #content #right-col h3 { display: none; }

#index #content #right-col ul {
	margin: 0;
	position: relative;
	height: 31.6em;
}

	#index #content #right-col ul li {
		display: inline;
		padding: 0;
		background: none;
		position: absolute;
	}

		#index #content #right-col ul li#front {
			top: 0;
			z-index: 10;
		}

		#index #content #right-col ul li#back {
			top: 6px;
			right: 0;
			z-index: 9;
		}

#index #content #right-col #description {
	width: 37.4em;
	height: 14.3em;
	padding: 5em 1.5em 0 1.5em;
	margin: -4em auto 0 auto;
	background: url(images/featured-description-bg.png) top left no-repeat;
}

	#index #content #right-col #description p {
		line-height: 1.2em;
	}

	#index #content #right-col p.more-text { margin: 1em 2.5em 0 0; }


/*** PORTFOLIO STYLES ***/
#portfolio .piece {
	margin-bottom: 4em;
	padding-bottom: 4em;
	background: url(images/portfolio-separator.png) center bottom no-repeat;
}

	#portfolio #code-samples {
		margin: 0;
		padding: 0;
		background: transparent;
	}

	#portfolio .piece h3 {
		width: 60em;
		height: 3.6em;
		overflow: hidden;
		margin: 0 0 2em 27em;
		text-indent: -1000px;
		background-position: top left;
		background-repeat: no-repeat;
	}

		#portfolio .piece.even h3,
		#portfolio #code-samples h3 {
			margin-left: 1em;
		}

		#portfolio #hellohawk-website h3 { background-image: url(images/portfolio/h3-hellohawk-website.png); }
		#portfolio #abi-compare h3 { background-image: url(images/portfolio/h3-abi-compare.png); }
		#portfolio #assembla h3 { background-image: url(images/portfolio/h3-assembla.png); }
		#portfolio #innercalm h3 { background-image: url(images/portfolio/h3-innercalm.png); }

		#portfolio #code-samples h3 { background-image: url(images/portfolio/h3-code-samples.png); }

	#portfolio .piece .thumbnail {
		width: 24.3em;
		margin: -5.6em 1em 0 1em;
		float: left;
	}

		#portfolio .piece.even .thumbnail { float: right; }

		#portfolio .piece .thumbnail a {
			padding: 0;
			margin: 0;
			background: transparent;
			border: 0;
		}

			#portfolio .piece .thumbnail img {
				position: relative;
				z-index: 2;
			}

		#portfolio .piece .thumbnail ul {
			margin: -1.8em 0.7em 1.8em 0;
			width: 9.5em;
			float: right;
			position: relative;
			z-index: 1;
		}

			#portfolio .piece.even .thumbnail ul {
				margin: -1.8em 0em 1.8em 0.7em;
				float: left;
			}

			#portfolio .piece .thumbnail ul li {
				font-size: 1em;
				float: left;
				margin: 0;
				padding: 0;
				width: 2.1em;
				height: 3.7em;
				margin: 0 0.1em;
				background: none;
			}

				#portfolio .piece .thumbnail ul li a {
					font-size: 1em;
					display: block;
					width: 2.1em;
					height: 3.2em;
					overflow: hidden;
					padding: 0;
					text-indent: -1000px;
					background-position: top left;
					background-repeat: no-repeat;
					border-bottom: 0;
				}

					#portfolio .piece .thumbnail ul li.thumb-1 a { background-image: url(images/portfolio/thumb-tab-1.png); }
					#portfolio .piece .thumbnail ul li.thumb-2 a { background-image: url(images/portfolio/thumb-tab-2.png); }
					#portfolio .piece .thumbnail ul li.thumb-3 a { background-image: url(images/portfolio/thumb-tab-3.png); }
					#portfolio .piece .thumbnail ul li.thumb-4 a { background-image: url(images/portfolio/thumb-tab-4.png); }

					#portfolio .piece .thumbnail ul li a:hover { margin-top: 0.3em; }

	#portfolio .piece .description {
		width: 42.4em;
		margin: 0 0 0 2em;
		float: left;
	}

		#portfolio #code-samples .description {
			width: auto;
			margin-right: 2em;
		}

			#portfolio #code-samples .description ul li { margin-bottom: 0.5em; }

	#portfolio .piece .notes {
		width: 20.4em;
		margin: 0 0 0 2em;
		float: left;
	}

		#portfolio .piece .notes ul { margin: 0; }

			#portfolio .piece .notes ul li { margin-bottom: 0.6em; }


/*** RESUME STYLES ***/
#resume #content h3 {
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	font-size: 4.8em;
	font-weight: normal;
	margin-left: 4.85em;
	margin-bottom: 0.6em;
}

#resume #content a {
	color: #c26000;
	padding: 0;
	background: none;
	border-bottom: 0;
}

	#resume #content a:hover { text-decoration: underline; }

#resume #content #main {
	width: 68.2em;
	float: right;
	padding-left: 2em;
	border-left: 1px solid #2e2e2e;
}

	#resume #content #main .section {}

		#resume #content #main .section h4 {
			font-family: Verdana, Geneva, sans-serif;
			font-size: 1.8em;
			margin-bottom: 0.6em;
		}

		#resume #content #main .sub-section { margin-bottom: 3.5em; }

			#resume #content #main .sub-section table { width: 100%; }

			#resume #content #main .sub-section p,
			#resume #content #main .sub-section table tr td {
				font-family: Georgia, "Times New Roman", Times, serif;
				font-size: 1.4em;
			}

				#resume #content #main .sub-section p.title { font-style: italic; margin-bottom: 0.5em; }

				#resume #content #main .sub-section table tr td { font-weight: bold; }

					#resume #content #main .sub-section table tr td.date { text-align: right; }

#resume #content #sidebar {
	width: 20.5em;
	float: left;
	margin-left: 1em;
	font-family: Georgia, "Times New Roman", Times, serif;
}

	#resume #content #sidebar #contact-info { margin-bottom: 4em; }

		#resume #content #sidebar #contact-info ul { margin: 0 0 2em 0; }

			#resume #content #sidebar #contact-info ul li {
				margin: 0;
				padding: 0;
				background: none;
			}

	#resume #content #sidebar #technologies {}

		#resume #content #sidebar #technologies h4 {
			font-size: 1.4em;
			margin: 1.5em 0 0.5em 0;
		}


/*** ABOUT STYLES ***/
#about #content .section { margin: 0 0 4em 1em; }
	#about #content #eric { margin-bottom: 0; }

		#about #content #eric img#headshot { float: right; }

	#about #content .section h3 {
		width: 34.5em;
		height: 3.6em;
		overflow: hidden;
		text-indent: -1000px;
		margin-bottom: 1em;
		background-position: top left;
		background-repeat: no-repeat;
	}

		#about #content #whtt h3 { background-image: url(images/h3-whtt.png); }
		#about #content #eric h3 { background-image: url(images/h3-eric.png); }

		#about #content .section p.footnote { font-size: 1.2em; font-style: italic; }

			#about #content .section p.footnote span.whtt { font-size: 1.2em; }

			#about #content .section p.footnote em { text-decoration: underline; }


/*** CONTACT STYLES ***/
#contact #content .col {
	padding: 0 1em;
	margin: 0;
}

#contact #content #contact-form {
	width: 43.8em;
	padding-right: 2em;
	border-right: 1px solid #2e2e2e;
}

	#contact #content #contact-form form { margin: 2em 1em; }

		#contact #content #contact-form form .form-field { margin-bottom: 0.5em; }

			#contact #content #contact-form form .form-field label {
				display: block;
				float: left;
				width: 6em;
				padding-top: 2px;
				font-weight: bold;
				font-size: 1.4em;
				line-height: 1.5em;
				cursor: pointer;
			}

			#contact #content #contact-form form .form-field input[type="text"],
			#contact #content #contact-form form .form-field select,
			#contact #content #contact-form form .form-field textarea {
				font-size: 1.2em;
				border: 1px solid #aaa;
				padding: 4px;
			}

				#contact #content #contact-form form .form-field input[type="text"]:focus,
				#contact #content #contact-form form .form-field select:focus,
				#contact #content #contact-form form .form-field textarea:focus { border-color: #c26000; }

			#contact #content #contact-form form .form-field textarea { font-size: 1.6em; }

		#contact #content #contact-form form .submit-btn { margin-left: 8.5em; }


#contact #content #contact-info {
	width: 43.9em;
	padding-left: 2em;
}

#contact #content #contact-info ul li strong {
	display: block;
	width: 4.8em;
	float: left;
}


/*** FOOTER STYLES ***/
#footer {
	width: 93.8em;
	height: 15.1em;
	padding: 0 3em;
	background: url(images/footer-bg.png) top left no-repeat;
}

	#footer ul {
		margin-top: 11.8em;
		list-style: none;
		float: left;
	}

		#footer ul li {
			font-size: 1.2em;
			float: left;
			padding: 2px 5px;
			border-right: 1px solid #2e2e2e;
		}

			#footer ul li.last { border-right: 0; }

	#footer p {
		float: right;
		width: 29.8em;
		height: 2.1em;
		overflow: hidden;
		text-indent: -1000px;
		margin-top: 2em;
		background: url(images/copyright.png) top left no-repeat;
	}