/*  
Sticky Footer Solution
by Steve Hatcher 
http://stever.ca
http://www.cssstickyfooter.com
*/

* {margin:0;padding:0;} 

/* must declare 0 margins on everything, also for main layout components use padding, not 
vertical margins (top and bottom) to add spacing, else those margins get added to total height 
and your footer gets pushed down a bit more, creating vertical scroll bars in the browser */


html, body, #wrap {height: 100%;
}

body > #wrap {height: auto; min-height: 100%;}

body{
	background: #fff;
	background-image:url(http://79.170.44.123/patrickwoodroffe.com/images/bg.jpg);
	background-position:50% 0;
	background-repeat:no-repeat;
	color:#002a4f;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size:14px;		
}


#main {padding-bottom: 51px;}  /* must be same height as the footer */

#footer {position: relative;
	margin-top: -51px; /* negative value of footer height */
	height: 51px;
	width:100%;
	background-color:#8EA5CE;
	clear:both;} 
	
	#footer #footerLinks {
		width:640px;
		margin:0 auto 0 auto;
		padding: 20px 0 0 0;
		color:#FFF;
	}
	
	#footer #footerLinks ul{
		display:block;
		width:auto;
		list-style:none;
		margin:0 auto 0 auto;
		padding:0;
		}	
		
		#footer #footerLinks ul li{
			float:left;
			margin: 0 10px 0 0;
			font-size:12px;
			}		
			
			#footer #footerLinks ul li a:link, #footer #footerLinks ul li a:visited, #footer #footerLinks ul li a:active{
				text-decoration:none;
				font-size:12px;
				color:#d5e3ff;
				}	
				
			#footer #footerLinks ul li a:hover {
				text-decoration:underline;
				}					

/* CLEAR FIX*/
.clearfix:after {content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

/* ----------------- Main -- */


h1,h2,h3,h4,h5,h6 {
	margin:0;
	padding:0;	
	}

a:link, a:visited, a:active{
	color:#00529b;
	text-decoration:none;
	}	

a:hover {
	text-decoration:underline;
}		

p{
	margin: 0 0 10px 0;
	padding: 10px 0 0 0;	
}

hr{
	color: #00529b;
	background-color: #00529b;
	height: 1px;	
}

/* ----------------- CLASSES -- */

.left {
	float:left;}

.right {
	float:right}

.clear {
	clear:both}

.sixTwentyCentered{
	display:block;
	width:640px;
	margin: 0 auto 0 auto;	
	padding:0px;
}

/* ----------------- STRUCTURE -- */

#container{
		min-height:500px;
}

#header {
	width:100%;
	height:131px;
	}
	
	#header h1 {
		width:362px;
		height:131px;
		text-indent:-999px;
		background: #00529b url(../images/header.gif) no-repeat 0 0;
		}

#nav {
	width:100%;
	height:51px;
	}
	
#nav .sixTwentyCentered{
	height:51px;	
	}	
	
	#nav ul{
		list-style:none;
		padding:0;
		position:relative;
		left:-5px;
		text-transform:lowercase;
		}	
		
		#nav ul li{
			float:left;
			margin: 15px 43px 0 0;
			}	
			
		
		#nav ul li a:link, #nav ul li a:active, #nav ul li a:visited {
				text-decoration:none;	
				color:#fff;
				font-size:16px;
				font-weight:bold;
				text-align:right;
		}
		
		#nav ul li a:link.selected, #nav ul li a:active.selected, #nav ul li a:visited.selected {
				color:#00529b;
		}
			

#contentArea {
	margin:18px 0 100px 0;
	padding:0px;	
	}
	
	h3.home{
		color:#6683bb;
		font-size:28px;
	}
	
	#homepageFlash{
		width:640px;
		height:340px;
		margin:40px 0 30px 0;
	}
	
	#subMenu{
		width:150px;
		float:right;
		margin:0px 0 0 0;
		color:#FFF;
		padding:10px;
		background: #8EA5CE url(../images/subnav_bg.jpg) no-repeat 0 0;
		position:relative;
		top:-28px;
	}
	
		#subMenu ul li {
			margin:10px 0 15px 15px !important;
		}	
		
		
			#subMenu ul li a:link, #subMenu ul li a:active, #subMenu ul li a:visited{
				text-transform:lowercase;
				font-weight:normal;
				color:#FFF;
				text-decoration:none;
			}	
			
			#subMenu ul li a:link.selected, #subMenu ul li a:active.selected, #subMenu ul li a:visited.selected{
				color:#d0d5de;
			}			
			
			#subMenu ul li a:hover{
				color:#00529b;
			}		
	
	#contentArea ul{
		list-style:none;
		margin: 5px 0 5px 0;
	}
	
		#contentArea ul li{
			margin:0 0 0 0;
		}	
		
			#contentArea ul li h3 {
				margin:28px 0 20px 0;
				text-transform:lowercase;
				color:#00529b;
			}	
			
			#contentArea ul li h3.subnav {
				margin:0px 0 0px 0;
				text-transform:lowercase;
				color:#fff;
			}				
			

			
			#contentArea ul ul li {
				margin:0 0 2px 20px;
				color:#8da5cd;
			}		
			
			#contentArea ul ul li a{
				color:#8da5cd;
			}					
	
	#text{
		width:540px;}


	#textHome{
		font-size:28px;
		color:#6683bb;
		}
		
	#text img{
		padding: 0 10px 10px 0;}		

	
			
		
/* ----------------- PROJECTS -- */	

#cats{
	width:100%;
	margin: 0 0 20px 0;
}

	.genreForm{
		margin: 0 50px 0 0;
		float:left;
	}
	
	
	#cats h3{
		color:#0074c2;
		font-size:18px;
		margin:0 10px 0 0;
	}

#projectsThumbs{
	margin: 30px auto 20px auto;
}

	.thumb{
		width:200px;
		height:120px;	
		float:left;
		margin: 0 10px 10px 0;
		position:relative;
	}
	
		
		.thumbBorder {
			width:200px;
			height:120px;		
			background:url(../images/projects.png) 0 0 repeat;
			border:0px;
			position:absolute;
			top:0;
			left:0;
		}
		
		*html .thumbBorder {
			background:none;
		}		
		
		.thumbBorder:hover{
			background-position: -200px 0px;
		}
		
		*html .thumbBorder {
			background:none;
		}		
		
		.thumb img {
			width:200px;
			height:120px;	
			border:0px;
			position:absolute;
			top:0;
			left:0;		
		}	
		
		#tooltip { 
			display:none; 
			background: url(../images/tooltipBG.png) repeat-x 0 0;
			border: 2px solid #fff;
			color:#fff;
			font-size:18px;
			font-weight:bold;
			padding:3px 5px 3px 5px; 
			font-size:15px;
			font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
		}			
			
		
/* ----------------- PROJECT -- */

.ShowName{
	color:#00529B;
	font-size:20px;
}

#flash{
	width:640px;
	height:464px;
	margin: 24px 0 20px 0;
}

#galleria{
	width:640px;
	height:464px;
	margin: 24px 0 20px 0;
}

#galleriaHome{
	width:640px;
	height:404px;
	margin: 24px 0 20px 0;
}
	
	#galleriaHome .galleria-image{
		width:640px !important;
		height:404px;		
	}
	
	#galleriaHome .galleria-image img{
		width:640px !important;	
	}	

#video{
	width:640px;
	height:385px;
	margin: 24px 0 20px 0;
	background:#8da4cd;
}

#projectNav{
	font-size:18px;
	height:40px;
}

	#projectNav ul{
		list-style:none;
		margin:0;
		padding:0;
	}
	
		#projectNav ul li{
			float:left;
			margin: 0 50px 0 0;
		}	
		
			#projectNav ul li a{
				color:#8da5cd;
				text-decoration:none;
			}	
			
			#projectNav ul li.selected a{
				color:#00529B;
			}			
						
			
			
		
