*{
	/* Universal reset: */
	margin:0;
	padding:0;
}

header,footer,
article,section,
hgroup,nav,
figure{
	/* Giving a display value to the HTML5 rendered elements: */
	display:block;
}

body{
	/* Setting the default text color, size, page background and a font stack: */
	font-size:0.825em;
	color:#002244;
	background:#000000 url("../img/fffbackground.jpg") 0 0 no-repeat;
	font-family:Arial, Helvetica, sans-serif;
}
article ul {
	margin:5px 20px 20px;
}
/* Hyperlink Styles: */

a, a:visited {
	color:#005E80;
	text-decoration:none;
	outline:none;
}

a:hover{
	text-decoration:none;
	color:#008EB0;
}

a img{
	border:none;
}

/* Headings: */

h1,h2,h3{
	font-family:"Myriad Pro","Helvetica Neue",Helvetica,Arial,Sans-Serif;	
	text-shadow:0 1px 1px black;
}

header h3 {
	color:#ffffff;
	position:absolute;
	right:15px;
	top:15px;
	font-size:1.3em;
	text-shadow:none;
}

header a, header a:visited {
	color:#ffffff;
}

h1{
	/* The logo text */
	font-size:3.5em;
	padding:0.5em 0 0;
	text-transform:uppercase;
}

h3{
	/* The slogan text */
	font-family:forte,"Myriad Pro","Helvetica Neue",Helvetica,Arial,Sans-Serif;
	font-size:1.4em;
	font-weight:normal;
	margin:0 0 1em;
}


h2{
	font-size:1.8em;
	font-weight:normal;
	letter-spacing:0.01em;
	text-transform:capitalize;
}

h2 sub {
	padding-left:10px;
	font-size:.65em;
	text-transform:none;
}

h2 .small {
	font-size:.65em;
}

p{
	line-height:1.5em;
	padding-bottom:1em;
}

.line{
	/* The dividing line: */
	height:1px;
	background-color:#24404c;
	border-bottom:1px solid #416371;
	margin:1em 0;
	overflow:hidden;
}

article .line{
	/* The dividing line inside of the article is darker: */
	background-color:#aaaaaa;
	border-bottom-color:#cccccc;
	margin:1.3em 0;
}

footer {
	color:#ffffff;
}

footer .line{
	margin:2em 0;
}

nav{
	background:url(../img/gradient_light.jpg) repeat-x 50% 50% #f8f8f8;
	opacity:.8;	
	padding:0 5px;
	right:0;
	top:4em;
	
	border:1px solid #FCFCFC;

	-moz-box-shadow:1px 1px 3px #333333;
	-webkit-box-shadow:0 1px 3px #333333;
	box-shadow:0 1px 3px #333333;
}

/* The clearfix hack to clear the floats: */

.clear:after{
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* The navigation styling: */

nav ul li{
	list-style:none;
	position:relative;
	float:left;
}

nav ul li a,
nav ul li a:visited,
nav ul li a:hover{
	top:5px;
	text-align:center;
	white-space:nowrap;
	color:#333333;
	display:block;
	float:left;
	font-size:1em;	
	margin:5px 2px;
	padding:6px 10px 4px;
	text-shadow:1px 1px 1px white;
	text-transform:uppercase;
}

nnav ul li a:hover{
	text-decoration:none;
	background-color:#f8f8f8;
	color:#008EB0;
}

nav, article, nav ul li a,figure,#fridge{
	/* Applying CSS3 rounded corners: */
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	border-radius:10px;
}

/* Article styles: */

#page{
	width:960px;
	margin:0 auto;
	position:relative;
}

article{
	background-color:#e2e2e2;
	opacity:.9;
	margin:2em 0;
	padding:20px;	
	text-shadow:0 2px 0 #e4e4e4;
	border:solid 1px #fcfcfc;
	position:relative;
}

figure{
	border:15px solid #ffffff;
	float:right;
	height:300px;
	margin-left:15px;
	overflow:hidden;
	width:400px;
	-moz-box-shadow:2px 2px 4px #666666;
	-webkit-box-shadow:2px 2px 4px #666666;
	box-shadow:2px 2px 4px #666666;
}

figure:hover{
	-moz-box-shadow:2px 2px 6px #444444;
	-webkit-box-shadow:2px 2px 6px #444444;
	box-shadow:2px 2px 6px #444444;
}

figure img{
	margin-left:0px;
}

/* Footer styling: */

footer{
	margin-bottom:30px;
	text-align:center;
	font-size:0.825em;
}


footer p{
	margin-bottom:-2.5em;
	position:relative;
}

footer a,footer a:visited{
	color:#cccccc;
	background-color:#213e4a;
	display:block;
	padding:2px 4px;
	z-index:100;
	position:relative;
}

footer a:hover{
	text-decoration:none;
	background-color:#142830;
}

footer a.by{
	float:left;

}

footer a.up{
	float:right;
}

.jobdate {
	padding-right:15px;
	text-align:left;
	width:300px;
}

.joblocation {
	padding-left:15px;
	text-align:right;
	width:300px;
}
.jobcompany {
	font-style:italic;
	font-weight:bold;
	text-align:left;
	white-space:nowrap;	
}
.jobtitle {
	font-style:italic;
}

table.skill {
	padding-top:15px;
	width:460px;
}
table.skill th {
	background-color:#cccccc;
	padding:3px;
}
table.skill tr:nth-child(odd) {
	background-color:#dddddd;
}
table.skill tr.even {
	background-color:#dddddd;	
}
table.skill tr:nth-child(even) {
	background-color:#f2f2f2;	
}
table.skill th {
	text-align:left;
	font-size:1.1em;
}
table.skill td {
	padding:2px 0px;
} 
div.job {
	display:inline;
}
#timeline {
    height: 550px;
    margin-top: 10px;
    padding: 20px;
    overflow: auto;
    /*cursor: -moz-grab !important;*/ /* should this be applied with JS? */
	border:1px solid #FCFCFC;
	-moz-box-shadow:0 1px 1px #333333;
	-webkit-box-shadow:0 1px 1px #333333;
	box-shadow:0 1px 1px #333333;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	border-radius:10px;			
}
#timescale {
	border:solid 1px #cccccc;
	width:470px;
	-moz-box-shadow:0 1px 1px #333333;
	-webkit-box-shadow:0 1px 1px #333333;
	box-shadow:0 1px 1px #333333;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;			
}
#timescale a {
	padding:4px 9px;
}
/* Photography Section */
.imageCarousel div {
	float:left;
	margin:0 8px -10px -5px;
	-webkit-transform:  rotate(1deg);
	-moz-transform: rotate(1deg);			
}
.imageCarousel img{
	padding:3px 10px;
	background-color:#ffffff;
	border:solid 1px #eeeeee;
	-moz-box-shadow:0 1px 1px #333333;
	-webkit-box-shadow:0 1px 1px #333333;
	box-shadow:0 1px 1px #333333;
	-moz-border-radius:7px;
	-webkit-border-radius:7px;
	border-radius:7px;	
}
.imageCarousel div:nth-child(3n) {
	-webkit-transform:  rotate(3deg);
	-moz-transform: rotate(3deg);			
}
.imageCarousel div:nth-child(5n) {
	-webkit-transform:  rotate(-2deg);
	-moz-transform: rotate(-2deg);			
}
/* Woodworking image hover stuff  */
#main_view {
	float:right;
	text-align:center;
	width:530px;
	height:430px;
	line-height:390px;
	padding:0;
	background-color:#ffffff;
	border:solid 1px #eeeeee;
	-moz-box-shadow:0 1px 1px #333333;
	-webkit-box-shadow:0 1px 1px #333333;
	box-shadow:0 1px 1px #333333;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	border-radius:10px;
	ooverflow:hidden;			
}
#main_view .desc {
	text-align:center;
	line-height:20px;
}
#main_view img {
	display:inline;
	vertical-align:middle;
}
ul.thumb {
	float: left;
	list-style: none;
	margin: 0; padding: 10px;
	width: 360px;
}
ul.thumb li {
	margin: 0; padding: 5px;
	float: left;
	position: relative;  /* Set the absolute positioning base coordinate */
	width: 110px;
	height: 110px;
}
ul.thumb li img {
	width: 100px; height: 100px; /* Set the small thumbnail size */
	-ms-interpolation-mode: bicubic; /* IE Fix for Bicubic Scaling */
	border: 1px solid #ddd;
	padding: 5px;
	background: #f0f0f0;
	position: absolute;
	left: 0; top: 0;
}
ul.thumb li img.hover {
	background:url(../img/thumb_bg.png) no-repeat center center;  /* Image used as background on hover effect
	border: none; /* Get rid of border on hover */
}
#fridge {
	bottom:15px;
	background-color:#FFFFFF;
	right:20px;
	width:370px;
	height:300px;
	float:right;
	clear:both;
	margin-top:10px;
	border:15px solid #ffffff;
	-moz-box-shadow:2px 2px 4px #666666;
	-webkit-box-shadow:2px 2px 4px #666666;
	box-shadow:2px 2px 4px #666666;		
}
#fridge div {
	cursor:pointer;
	display:inline;
	height:15px;
	width:15px;
	font-weight:bold;
	font-size:2em;
	color:#FF0000;
	text-shadow:0 2px 2px black;
}
#fridge div:nth-child(2n) {
	color:#00FF00;
}
#fridge div:nth-child(3n) {
	color:#0000FF;
}
#fridge div:nth-child(4n) {
	color:#FFFF00;
}
#fridge div:nth-child(5n) {
	color:#00FFFF;
}

