/*-----------------------------------------------------------------------------
	shared styles and utilities
-----------------------------------------------------------------------------*/

* {
	margin:0;
	padding:0;
}

html, body {
	min-height:100%;
	height:auto !important;
	height:100%;
}

a {
	color:#010193;
	text-decoration:none;
}

a:visited {
	color:#4c120a;
}

a:hover {
	text-decoration:underline;
}

a img {
	border:0;
}

h1, h2, h3, h4 {
	overflow:hidden;
}

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

* html .clearfix {height: 1%;}



/*-----------------------------------------------------------------------------
	basic layout
-----------------------------------------------------------------------------*/

body {
	text-align:center;
	font:0.85em verdana, helvetica, sans-serif;
	color:#333;
	background:url('../images/template/headershadow.gif') left -10px repeat-x #181819;
}

.content {
	width:834px;
	margin:0 auto;
	text-align:left;
}

#header {
	width:920px;
	margin:0 auto;
}

#header h1 a {
	display:block;
	height:154px;
	background:url('../images/template/header.jpg') left center no-repeat;
	text-indent:-9999px;
	text-decoration:none;
}

#primarynav {
	padding:20px 0 0;
}

#contentpane {
	clear:both;
	background:#fafafa;
}

#footer {
	height:20px;
	padding-top:60px;
	color:#ccc;
	font-size:.75em;
	clear:both;
	background:url('../images/template/footerbg.gif') center bottom no-repeat;
}

#projectdata {
	display:none;
}


/*-----------------------------------------------------------------------------
	navigation
-----------------------------------------------------------------------------*/

#maintitle {
	float:left;
}

#maintitle a {
	display:block;
	width:287px;
	height:25px;
	background:url('../images/nav/title.gif') no-repeat;
	text-indent:-9999px;
}

.ancillary {
	float:right;
	margin:3px 0 0 15px;
}

#about a {
	display:block;
	width:58px;
	height:17px;
	background:url('../images/nav/about.gif') left top no-repeat;
	text-indent:-9999px;
}

#about a:hover {
	background-position:left -17px;
}

#resume a {
	display:block;
	width:74px;
	height:17px;
	background:url('../images/nav/resume.gif') no-repeat;
	text-indent:-9999px;
}

#resume a:hover {
	background-position:left -17px;
}

#webtitle {
	display:block;
	width:40px;
	height:17px;
	background:url('../images/nav/web.gif') no-repeat;
	text-indent:-9999px;
}

#printtitle {
	display:block;
	width:40px;
	height:17px;
	background:url('../images/nav/print.gif') no-repeat;
	text-indent:-9999px;
}

#portfolio {
	clear:both;
	float:left;
	width:834px;
	padding:24px 0 20px;
	position:relative;
}

#portfolio ul {
	list-style:none;
	margin:8px 0 0 -8px;
	padding:0;	
	float:left;
}

#portfolio li {
	float:left;
}

#portfolio li img {
	width:55px;
	height:55px;
}

#portfolio li a {
	display:block;
	text-align:center;
	overflow:hidden;
	width:55px;
	height:55px;
	border:2px solid #49494d;
	margin:0 0 9px 9px;
	/*opacity:.8;*/
}

#portfolio li a:hover {
	border-color:#bbb;
}

#portfolio li a.current {
	border-color:#6a0c06;
}

#webwork {
	float:left;
	width:200px;
}

#printwork {
	float:right;
	width:610px;
}

#navblocker {
	height:130px;
	width:830px;
	position:absolute;
	top:48px;
	left:0;
	z-index:100;
	display:none;	
	background:url(../images/nav/navblocker.png);
}



/*-----------------------------------------------------------------------------
	content
-----------------------------------------------------------------------------*/

#contentpane .content {
	clear:both;
	min-height:300px;
	padding-bottom:30px;
	line-height:19px;
}

#secondarynav {
	margin:0 auto;
	width:224px;
	height:46px;
}

#prevbutton {
	float:left;
	background-image:url('../images/nav/prevbutton.gif');
}

#nextbutton {
	float:right;
	background-image:url('../images/nav/nextbutton.gif');
}

.navbutton {
	display:block;
	width:96px;
	height:28px;
	text-indent:-9999px;
	margin-top:10px;
	overflow:hidden;
	background-position:left -28px;
	background-repeat:no-repeat;
}

.navbutton:hover {
	background-position:left -56px;
}

.navbutton:active {
	background-position:left -84px;
}

.disabledbutton, .disabledbutton:hover {
	background-position:left top;
}

#contentpane h2 {
	font:1.5em verdana, helvetica, sans-serif;
	background:url('../images/glyphs/h2bg.gif') -1px 5px no-repeat;
	padding:0 0 10px 18px;
	min-height:29px;
	line-height:1.3em;
}

.workimages {
	float:right;
	width:404px;
	background:url('../images/glyphs/imagebgtop.gif') center top no-repeat;
	padding:23px 0 30px;
	margin-left:20px;
}

#caption {
	background:url('../images/glyphs/imagebgbot.gif') center 8px no-repeat;
	padding-top:29px;
	text-align:center;
}

.externallink {
	margin-top:20px;
}

p#caption {
	font:1.3em verdana, helvetica, sans-serif;
	color:#898989;
}


/*-----------------------------------------------------------------------------
	footer
-----------------------------------------------------------------------------*/

.copyright {
	float:left;
}

.pretentiousoutro {
	float:right;
}

#footer a {
	color:#a7a7db;
}


/*-----------------------------------------------------------------------------
	slideshow
-----------------------------------------------------------------------------*/

#container {
	margin:0 auto;
	position:relative;
	width:400px;
	height:300px;
	overflow:hidden;
	background:#fff;
	border:1px solid #efefef;
}

#loadcontainer {
	height:25%;
	width:50%;
	position:absolute;
	top:40%;
	left:25%;
	text-align:center;
	z-index:1;
}

#photocontainer {
	visibility:hidden;
}

#linkcontainer {
	display:none;
	position:absolute;
	top:0;left:0;
	height:200px;
	width:200px;
	z-index:100;
	background:url(../images/slideshow/start.gif) 50% 50% no-repeat;
}

#prevlink, #nextlink {
	text-indent:-9999px;
	z-index:100;
	position:absolute;
	top:0%;
	height:50px;
	width:50%;
	display:block;
}

#prevlink {
	left:-1px;
}

#nextlink {
	right:-2px;
}

#prevlink:hover, #nextlink:hover {
	text-decoration:none;
}

#prevlink:hover {
	background:transparent url(../images/slideshow/prevbutton.png) left 50% no-repeat;
}

#nextlink:hover {
	background:transparent url(../images/slideshow/nextbutton.png) right 50% no-repeat;
}
