/* reset page */

html, body, h1, h2, h3, h4, p, ul, ol, li, a, img {
	margin:0;
	padding:0;
	border:none;
	background:none;
	list-style:none;
	float:none;
	font-family:GillSansStd, HelveticaNeue, Helvetica, Geneva, Arial, sans-serif;
	text-rendering: optimizeLegibility;
}

/* standard font sizes */

html {
	font-size:62.5%;
}

body {
	background:#fff;
	margin-top:5px;
}

html>body {
	font-size: 10px;
}

p {
	font-size:1.2em;
	line-height:1.5em;
	padding-top:0.3em;
	margin-bottom: 1em;
}

/* page layout */

#content {
	position:absolute;
	top:0;
	left:50%;
	width:900px;
	height:865px;
	margin:0;
	border-bottom:7px solid #fff;
	border-top:7px solid #fff;
	padding:0;
	margin-left: -450px;
	background: url(images/pageBackground.gif) left top no-repeat;
	overflow:hidden;
}

/* header, page title etc */

#header {
	width:890px;
	height:360px;
	position:absolute;
	top:0;
	left:0;
	background:url(images/headerBG.jpg) top left no-repeat;
}

h1, h2 {
	position:absolute;
	width:850px;
	left:0;
	text-align:right;
	padding:0 40px 0 0;
	background-color:#fff;
	overflow:hidden;
	color:#014E8D;
}

h1, h2, h3, h4, #menu ul li a {
	font-family:FFFHarmony;
	font-weight: normal;
}

h1 {
	top:13px;
	height:23px;
	line-height:24px;
	font-size: 2.4em;
}

h2 {
	height:20px;
	line-height:1em;
	font-size: 1.6em;
	top:63px;
}

h3 {
	font-size:1.6em;
	line-height: 1.6em;
	color:#CD2B3E;
	background:none;
	margin-top:0;
	padding-top:0;
}

h4 {
	font-size:8px;
	line-height:1.6em;
	color:#000;
	margin-top:1em;
	margin-bottom:2.2em;
}

/* menu and menu animations */

#menu {
	position:absolute;
	width:850px;
	padding-right:40px;
	height:22px;
	top:315px;
	left:0;
	background:#fff;
	text-align:right;
}

#menu ul {
	list-style:none;
	height:22px;
	text-align:right;
	overflow:hidden;
	display:block;
}

#menu ul li {
	list-style:none;
	height:24px;
	padding-left: 52px;
	background:#fff url(images/menuSeparator.gif) left center no-repeat;
	display: inline;
	list-style-type: none;
}

#menu ul li:first-child {
	padding-left:0;
	background:none;
}

#menu ul li a {
	font-size: 1.6em;
	color:#014E8D;
	text-decoration:none;
	background:#fff;
	height:24px;
	-webkit-transition: background 1s ease-in-out, color 1s ease-in-out;  
   	-moz-transition:background 1s ease-in-out, color 1s ease-in-out;  
   	-o-transition:background 1s ease-in-out, color 1s ease-in-out;  
   	transition:background 1s ease-in-out, color 1s ease-in-out;   
}

#menu ul li a:hover {
	background: #CD2B3E;
	color:#fff;
}

/* side scrolling portfolio menu thumbs */

#subNav {
	position:absolute;
	top:360px;
	left:0;
	width:890px;
	height:140px;
	background:url(images/subNavBG.jpg) repeat-x;
	overflow:hidden;
}

#subNav ul {
	position:absolute;
	width:870px;
	margin:0;
	padding:10px 10px 0 10px;
	height:100px;
}

#subNav ul#subPage2 {
	position:absolute;
	left: 890px;
}

#subNav ul#subPage3 {
	position:absolute;
	left: 1780px;
	padding-right:40px;
}

#subNav ul li {
	float:left;
	margin-right:19px;
	width:96px;
	height:72px;
}

#subNav ul li.leftArrow, #subNav ul li.rightArrow {
	float:left;
	margin:0;
	padding:0;
	width:30px;
	height:72px;
}

#subNav ul li.leftArrow {
	margin-right:10px;
}

#subNav ul li.rightArrow {
	margin-left:10px;
}

#subNav ul li.leftArrow a, #subNav ul li.rightArrow a {
	float:left;
	width:30px;
	height:0;
	margin-top:21px;
	padding-top:30px;
	background:url(images/leftArrow.png) no-repeat;
	text-decoration:none;
	overflow:hidden;
	border:none;
}

#subNav ul li.rightArrow a {
	background:url(images/rightArrow.png) no-repeat;
}


#subNav ul li.last {
	margin-right:0;
}

#subNav ul li a {
	float:left;
	width:92px;
	height:72px;
	border:2px solid #fff;
	background:#fff;
	text-decoration:none;
	overflow:visible;
}

#subNav ul li.arrow a {
	width:30px;
	height:30px;
	border:none;
}

#subNav ul li a .bubble {
	opacity:0;
	display:block;
	-webkit-transition: opacity 1s ease-in-out;
	-moz-transition: opacity 1s ease-in-out;
	-o-transition: opacity 1s ease-in-out;
	transition: opacity 1s ease-in-out; 
	background:url(images/bubble.png) no-repeat;
	width:124px;
	height:36px;
	color:#fff;
	position:relative;
	left:-16px;
	top:-25px;
	display:block;
	padding:20px 0 0 0;
	margin:0;
	font-size:1.1em;
	line-height:1.4em;
	text-decoration:none;
	text-align:center;
}

#subNav ul li a:hover .bubble {
	opacity:100;
	-webkit-transition: opacity 1s ease-in-out;
	-moz-transition: opacity 1s ease-in-out;
	-o-transition: opacity 1s ease-in-out;
	transition: opacity 1s ease-in-out;
}

/* main pane in page */

#mainPageHolder {
	position:absolute;
	top:500px;
	left:40px;
	width:810px;
	height:350px;
	overflow:hidden;
}

#mainPageHolder li {       
	width:5670px;
	height:330px;
	margin-bottom:30px;
	padding:0;
}

#mainPageHolder li#about, #mainPageHolder li#CV, #mainPageHolder li#contact {  
	width:810px;
}


#mainPageHolder li.thePortfolio ul {
	width:5670px;
	height:330px;
}

#mainPageHolder li.thePortfolio ul li, #mainPageHolder li#about ul#bio li {
	width:810px;
	height:330px;
	overflow:hidden;
	float:left;
}


#mainPageHolder li#blog {
	width:810px;
	height:350px;
	overflow:auto;
}

#mainPageHolder li#blog ul {
	width:810px;
	
}

#mainPageHolder li#blog li {
	width:433px;
	padding: 40px 40px 40px 300px;
}

.screenshot, .bigPic {
	border:1px solid #ccc;
	background-color:#fff;
	padding:6px;
	float:left;
	margin: 0 40px 20px 0;
}

.bigPic {
	border:none;
	padding:0 14px 0 0;
	background:none;
}

/* the 'view the site' button */ 


.previewButton {
	height:60px;
	width: 222px;
	overflow:hidden;
	position:relative;
	top:195px;
	left:-250px;
	margin-bottom:-60px;
	/*display:block;*/
	float:none;
}

#mainPageHolder li.thePortfolio ul li .previewButton {
	float:none;
}

.previewButton a {
	float:left;
	color:#fff;
	background:url(images/previewButton.png) no-repeat;
	height:60px;
	width:222px;
	overflow:hidden;
	text-decoration:none;
}

.previewButton a:hover {
	background-position: 0 -60px;
}

.previewButton a h5, .previewButton a p {
	color:#fff;
	width: 155px;
	padding: 3px 0 0 50px;
	margin:0;
}

.previewButton a h5 {
	font-size:1.4em;
	line-height:1.5em;
	font-weight:300;
	padding-bottom:0;
	margin-bottom:0;
}

.previewButton a p {
	font-size:0.9em;
	line-height:1.5em;
	font-weight:normal;
	text-decoration:none;
}

.textInput, textarea, .captcha {
	font-size:1em;
	width:360px;
	height:1em;
	padding:0.2em;
	border:1px solid #000;
	color:#666;
}

textarea {
	line-height:1.4em;
	height:5.6em;
	font-family:Geneva, Arial, Helvetica, sans-serif;
}

.captcha {
	width:5em;
	text-align:center;
}

.sentMessage {
	height:11.2em;
}

.error {
	color:#CD2B3E;
	font-style:italic;
}