html {
	margin: 0;
	padding: 0;
	color: #fff;
	background: #333;
}

body {
	margin: 0;
	padding: 0;
	color: #fff;
	background: #333;
	font: 80% 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
	opacity: 0.9999;
}

#main {
	width: 931px;
	margin: 0 auto;
	position: relative;
	padding-top: 2.5em;
}

a img {
	border: none;
}

#main a:link, #main a:active, #main a:visited {
	color: #dc3a09;
	text-decoration: none;
}

#main a:hover {
	color: #fff;
	text-decoration: none;
}

#nav a:link, #nav a:active, #nav a:visited,
#footer a:link, #footer a:active, #footer a:visited {
	color: #fff;
	text-decoration: none;
}

#nav a:hover,
#footer a:hover {
	color: #dc3a09;
	text-decoration: none;
}

#nav {
	position: absolute;
	top: 0;
	left: 0;
	width: 931px;
	background-color: #272727;
	margin: 0;
	padding: 0;
	height: 2.7em;
	font-size: 0.9em;
	z-index: 10;
}

#nav li {
	display: block;
	float: right;
	list-style-type: none;
	margin-left: 10px;
	padding: 0.7em 15px;
}

#nav li.last {
	margin-right: 110px;
}

#nav li.active {
	color: #dc3a09;
}

#intro {
	position: absolute;
	top: -3000px;
	left: -3000px;
}

#skip {
	position: absolute;
	top: 0;
	left: 0;
	padding: 0.75em 0.5em;
	z-index: 20;
	color: #272727;
	font-size: 0.9em;
}

#skip a:link, #skip a:active, #skip a:visited {
	color: #272727;
	text-decoration: none;
	background-color: #272727;
}

#skip a:hover {
	color: #fff;
	text-decoration: none;
}

#header {
	position: relative;
	background: #000 url(../images/code2.jpg) right top no-repeat;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #666;
	height: 146px;
}

#header h1 {
	position: absolute;
	top: 0;
	left: 0;
	padding: 0;
	margin: 0 0 0 1.2em;
	height: 146px;
}

#content #contactlink {
	position: absolute;
	top: -2px;
	right: 0;
	width: 89px;
	height: 23px;
	background-image: url(../images/contact.png);
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: left top;
	padding: 2px 0 0 13px;
	color: #fff;
	font-size: 0.9em;
}

#content {
	position: relative;
	margin: 0;
	padding: 3em 2.5em;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	background-color: #272727;
	min-height: 24.5em;
	height: auto;
}

h2 {
	color: #ccc;
	text-shadow: #212121 2px 2px 1px;
	font-size: 1.4em;
	padding-bottom: 2px;
	border-bottom: 1px dotted #eee;
}

div.clearing {
	clear: both;
}

#footer {
	background: #212121 url(../images/footer-bg.jpg) repeat-x;
	margin: 0;
	border-top: 1px solid #666;
	font-size: 0.7em;
}

#footer ul {
	float: left;
	margin: 2em 1em 0em 2em;
}

#footer ul.projects {
	margin-left: 6em;
}

#footer ul li {
	list-style: none;
	list-style-image: none;
	background: #212121 url(../images/li-flame.jpg) no-repeat;
	padding: 0 0 1em 2em;
}

#footer ul li ul {
	margin-top: 1em;
}

#footer ul li ul li {
	list-style: none;
	list-style-image: none;
	background: #212121 url(../images/li-matchhead.jpg) no-repeat;
	padding: 0 0 1em 2em;
	margin-left: -6em;
}

#footer-logo {
	float: right;
}

#footer-logo p {
	margin: -2em 1em 0 2.5em;
	padding: 0;
}

#promo, #blurb {
	float: left;
	position: relative;
	margin: 0 2.5em 0 0.5em;
	padding: 0;
	width: 853px;
	min-height: 27em;
	height: auto;
	background: #333 url(../images/box-top.jpg) no-repeat left top;
	z-index: 10;
}

#promo h2, #blurb h2 {
	margin: 1.2em;
}

#promo p {
	background-color: transparent;
	z-index: 30;
	font-size: 0.9em;
	margin-left: 2em;
	width: 450px;
	line-height: 1.6;
}

div.blurbholder {
	margin: 0 1.6em;
}

#promoimage {
	position: absolute;
	right: 0;
	bottom: 0;
	background: transparent url(../images/promo-sirenic.jpg) no-repeat right bottom;
	margin-bottom: -1px;
	width: 326px;
	height: 272px;
	z-index: 20;
	opacity: 0.99;
	text-indent: -3000em;
}

#promofooter, #blurbfooter {
	position: absolute;
	bottom: 0;
	right: 0;
	width:  853px;
	height: 29px;
	background: transparent url(../images/box-bottom.jpg) no-repeat right bottom;
	z-index: 15;
	margin-bottom: -1px;
}

#contact {
	margin: 0;
	padding: 1em 1em 1em 1.5em;
	background-color: #222;
	min-height: 16em;
	height: auto;
	border-top: 1px solid #eee;
}

#contact h2 {
	text-shadow: white 0 0 5px;
	background: url(../images/h2-flame.jpg) no-repeat;
	color: #000;
	padding: 0 0 5px 30px;
	margin: 0 0 0.5em 0;
	border-bottom: none;
}

#contact p {
	padding-right: 40px;
	font-size: 0.8em;	
}

#contact div.contact_section {
	width: 260px;
	float: left;
}

#contact input.normal,
#contact textarea {
	background-color: #fff;
}

#contact input.normal:focus,
#contact textarea:focus {
	background-color: #fbfd70;
}

#contact label,
#contact input,
#contact textarea {
	width: 20em;
	float: left;
	margin: 0 0 1em 0;
	display: block;
	text-align: left;
	font-size: 0.8em;
}

#contact label {
	width: 15em;
	padding: 0 10px 0 0;
	font-size: 0.8em;	
}

#contact label.narrowlabel {
	width: 10em;
}

#contact textarea {
	width: 245px;
	height: 11em;
}

#contact input.button {
	width: auto;
	margin-left: 9em;
}

#contact br {
	clear: left;
}

p.formerror {
	font-size: 0.8em;
	text-align: left;
	font-style: italic;
	color: #fbfd70;
	margin: 0 3em -10px 0;
	padding: 0;
	line-height: 1;
}

/* RECENT PROJECTS PAGE */

#project-menu {
	float: left;
	position: relative;
	margin: 0 2.5em 0 0;
	padding: 0;
	width: 199px;
	background: #333 url(../images/menu-top.jpg) no-repeat left top;
}

#project-menu h2 {
	color: #fff;
	padding-left: 1em;
	border-bottom: none;
}

#project-menu ul {
	margin: 0 0 3em 0;
}

#project-menu ul li {
	list-style: none;
	list-style-image: none;
	margin: 0 0 0.5em -2em;
}

#project-menu ul li a {
	padding: 0 0 1em 2em;
}

#project-menu ul li a:link,
#project-menu ul li a:visited,
#project-menu ul li a:active {
	color: #fff;	
}

#project-menu ul li a:hover,
#project-menu ul li a.active {
	color: #dc3a09;
	background: #333 url(../images/li-projects-flame.jpg) no-repeat 4px 2px;
}

#project-menu-footer,
#cv-download-footer {
	position: absolute;
	bottom: 0;
	right: 0;
	width:  199px;
	height: 28px;
	background: transparent url(../images/menu-bottom.jpg) no-repeat right bottom;
	z-index: 15;
	margin-bottom: -1px;
}

#projectholder {
	float: left;
	width: 630px;
}

#projectholder h2 {
	text-shadow: white 0 0 5px;
	background: url(../images/h2-projects-flame.jpg) no-repeat;
	color: #000;
	padding: 0 0 5px 35px;
	margin: 1em 0 1em 0;
	border-bottom: none;
}

#projectholder img {
	float: right;
	padding: 40px 0 10px 10px;
}

#projectholder img.inline {
	margin: 0; 
	padding: 0; 
	float: none; 
	vertical-align: middle;
}

p.sitelink {
	background: transparent url(../images/go-button.jpg) no-repeat;
	padding: 0 0 .3em 2em;
}

/* CV PAGE */

div.cv {
	position: relative;
}

#cv-download {
	position: absolute;
	top: 50px;
	right: 0;
	width: 199px;
	text-align: center;
	font-size: 0.8em;
	padding: 0;
	background-color: #333;
	background: #333 url(../images/menu-top.jpg) no-repeat right top;
}

#cv-download p {
	margin: 2em 5px;
}

p.cvlink {
	padding: 0.2em 0 0.4em 2em;
	background: url(../images/pdficon_small.gif) no-repeat 30px 0;
}

#cv-download p.readerlink {
	margin-bottom: 2em;
}

td h1 {
	font-size: 1.6em;
	margin: 0;
	border-bottom: 1px dotted #eee;
	padding-bottom: 3px;
}

td h2 {
	margin-bottom: 0;
	border-bottom: none;
}

td h3 {
	margin: 0;
	font-size: 1.1em;
}

td {
	padding: 5px 0;
}

#ShadowBox td {
	padding: 0;
}

td.jobdetails {
	padding-top: 0;
	padding-left: 20px;
}

td.jobdetails p {
	padding-top: 0;
	margin-top: 0;
}