/* 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:Geneva, Arial, Helvetica, sans-serif;
}

/* standard font sizes */

html {
	font-size:75%;
}

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

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

p {
	font-size:1.1em;
	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;
	height:0;
	left:0;
	text-align:right;
	padding-right:40px;
	background-color:#fff;
	overflow:hidden;
}

h1 {
	padding-top:30px;
	top:13px;
	background:#fff url(images/www-alanmoore-info.gif) 559px 0px no-repeat;
}

h2 {
	padding-top:22px;
	top:63px;
	background:#fff url(images/web-design-and-development-portfolio-of-alan-moore.gif) 358px 0px no-repeat;
}

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

h4 {
	font-size:0.8em;
	line-height:1.5em;
	color:#000;
	margin-top:1em;
	height:3.375em;
}

/* 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;
	width:638px;
	margin-left:212px;
}

#menu ul li {
	float:left;
	height:22px;
	padding-left: 52px;
	background:url(images/menuSeparator.gif) no-repeat;
	overflow:hidden;
}

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

#menu ul li a {
	color:#014E8D;
	text-decoration:none;
	background:#fff;
	height:0;
	padding-top:22px;
	overflow:hidden;
}

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

#menu ul li#menuCV {
	width:124px;
}

#menu ul li#menuCV a {
	float:left;
	width:124px;
	height:0;
	background:url(images/menuCV.gif);
}

#menu ul li#menuPortfolio {
	width:82px;
}

#menu ul li#menuPortfolio a {
	float:left;
	width:82px;
	height:0;
	background:url(images/menuPortfolio.gif);
}

#menu ul li#menuAbout {
	width:168px;
}

#menu ul li#menuAbout a {
	float:left;
	width:168px;
	height:0;
	background:url(images/menuAbout.gif);
}


#menu ul li#menuContact {
	width:108px;
}

#menu ul li#menuContact a {
	float:left;
	width:108px;
	height:0;
	background:url(images/menuContact.gif);
}
#menu ul li#menuCV a:hover, #menu ul li#menuPortfolio a:hover, #menu ul li#menuAbout a:hover, #menu ul li#menuContact a:hover {
	background-position: 0 -22px;
}

/* 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 {
	display:none;
}

#subNav ul li a:hover .bubble {
	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:1em;
	line-height:1.4em;
	text-decoration:none;
	text-align:center;
}

/* 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 {
	position:relative;
	top:0;
	left:0;
	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;
}


/*#mainPageHolder li.thePortfolio ul li h3, #mainPageHolder li.thePortfolio ul li h4, #mainPageHolder li.thePortfolio ul li p {
	width:380px;
	float:left;
}

#mainPageHolder li.thePortfolio ul li h4 {
	margin-bottom:1em;
} */ 

.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;
}

/* 3 pages for bio */

#bioNav {
	height:120px;
	width: 30px;
	overflow:hidden;
	position:relative;
	top:185px;
	left:340px;
	margin-bottom:-120px;
	/*display:block;*/
	float:none;
}

#bioNav li {
	width:30px;
	height:30px;
	margin:10px 0 0 0;
	padding:0;
	overflow:hidden;
}

#bioNav li a {
	height:0;
	width:30px;
	float:left;
	padding-top:30px;
	overflow:hidden;
}

#bioNav li a.bio1 {
	background:url(images/1.png) no-repeat;
}

#bioNav li a.bio2 {
	background:url(images/2.png) no-repeat;
}

#bioNav li a.bio3 {
	background:url(images/3.png) no-repeat;
}

/* 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;
}