/* Utilities ________________________________________________________________ */

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

.clearInner {
	overflow: hidden;
}

/* Setup ____________________________________________________________________ */

body.ks {
	background-color: #f5bd05;
	color: #201d1d;
	font-family: "Calibri", "Lucida Sans", "Arial", sans-serif;
	font-size: 14px;
}

body.externalMode {
	overflow: hidden;
}

body > .bg {
	background-image:		url(assets/bg_tl.jpg),
							url(assets/bg_tr.jpg),
							url(assets/bg_bl.jpg),
							url(assets/bg_br.jpg),
							url(assets/bg_t.jpg),
							url(assets/bg_b.jpg),
							url(assets/bg_l.jpg),
							url(assets/bg_r.jpg);
							
	background-repeat:		no-repeat,
							no-repeat,
							no-repeat,
							no-repeat,
							repeat-x,
							repeat-x,
							repeat-y,
							repeat-y;
							
	background-position:	left top,
							right top,
							left bottom,
							right bottom,
							center top,
							center bottom,
							left center,
							right center;
	
	position: fixed;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	z-index: -1;
}

body > .wrapper {
	width: 940px;
	position: absolute;
	top: 0px;
	left: 20px;
}

a {
	color: #201d1d;
	text-decoration: none;
}

em {
	font-style: italic;
}

strong {
	font-weight: bold;
}

iframe {
	background-color: transparent;
	border: 0px none;
}

.miniHR {
	background-color: rgba(0, 0, 0, 0.7);
	margin: 4px 0px;
	width: 30px;
	height: 1px;
}

.hr {
	font-size: 0px;
	display: block;
	margin: 20px 0px 16px 0px;
	height: 0px;
	border-top: 1px solid rgba(0, 0, 0, 0.15);
}

/* hide elements added only for outlining purposes */
nav > header,
section > header,
aside > header {
	display: none;
}

/* Buttons __________________________________________________________________ */

.btnBlack,
.btnBlack > span {
	background: transparent url(assets/buttons.png) no-repeat scroll right 0px;
	display: block;
	height: 33px;
	color: #ffffff;
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
}

	.btnBlack {
		padding-right: 7px;
	}

	.btnBlack > span {
		background-position: left 0px;
		padding-left: 11px;
		padding-right: 4px;
		letter-spacing: 0.03em;
		line-height: 30px;
	}
	
	.btnBlack:hover {
		background-position: right -50px;
	}
	
	.btnBlack:hover > span {
		background-position: left -50px;
	}
	
	.btnBlack:active {
		background-position: right -100px;
	}
	
	.btnBlack:active > span {
		background-position: left -100px;
	}
	
.btnBlackSm {
	background: transparent url(assets/buttons.png) no-repeat scroll 0px -300px;
	display: block;
	width: 26px;
	height: 27px;
	text-indent: -9999px;
}

.btnBlackSm:hover {
	background-position: 0px -350px;
}

.btnBlackSm:active {
	background-position: 0px -400px;
}

.btnNext > span,
.btnPrev > span {
	background: transparent url(assets/icons.png) no-repeat;
	display: block;
	width: 26px;
	height: 27px;
}

.btnNext > span {
	background-position: -81px 7px;
}

.btnPrev > span {
	background-position: 7px 7px;
}

/* Headers __________________________________________________________________ */

#siteHeader h1,
#siteHeader h2,
#latestProject > h2,
#specialities > h2 {
	background: transparent url(assets/headings.png) no-repeat;
	text-indent: -9999px;
}

#siteHeader h1 {
	background-position: 0px 0px;
	width: 297px;
	height: 47px;
	text-indent: 0;
}

#siteHeader h1 a {
	display: block;
	width: 297px;
	height: 47px;
	text-indent: -9999px;
}

#siteHeader h2 {
	width: 385px;
	height: 34px;
	position: relative;
	top: -7px;
}

	#home #siteHeader h2 {
		background-position: 0px -100px;
	}
	
	#portfolio #siteHeader h2 {
		background-position: 0px -150px;
	}
	
	#resume #siteHeader h2 {
		background-position: 0px -200px;
	}

#latestProject > h2,
#specialities > h2 {
	border-top: 2px solid #000000;
	margin-bottom: 17px;
	padding-top: 7px;
	width: 540px;
	height: 24px;
}

	#latestProject > h2 {
		background-position: -1px -243px;
	}
	
	#specialities > h2 {
		background-position: 1px -293px;
	}

#home #siteHeader {
	margin-bottom: 40px;
}

#portfolio #siteHeader {
	margin-bottom: 40px;
}

#resume #siteHeader {
	margin-bottom: 40px;
}

/* Navigation _______________________________________________________________ */

#navBorder {
	background: #000000;
	height: 4px;
}

	#home #navBorder {
		width: 582px;
	}
	
	#portfolio #navBorder {
		width: 676px;
	}
	
	#resume #navBorder {
		width: 750px;
	}

body > .wrapper > header {
	height: 37px;
}

#mainMenu {
	display: block;
	padding-top: 7px;
	text-align: right;
	overflow: hidden;
}

#mainMenu h1 {
	display: none;
}

#mainMenu a {
	background: transparent url(assets/navigation.png) no-repeat;
	display: inline-block;
	height: 14px;
	text-indent: 9999px;
}

#mainMenu a + a {
	margin-left: 15px;
}

	#mainMenu a.home {
		background-position: 0px 3px;
		width: 40px;
	}
	
		#home #mainMenu a.home {
			background-position: -100px 3px;
		}
	
	#mainMenu a.portfolio {
		background-position: 0px -47px;
		width: 75px;
	}
	
		#portfolio #mainMenu a.portfolio {
			background-position: -100px -47px;
		}
	
	#mainMenu a.resume {
		background-position: 0px -100px;
		width: 56px;
	}
	
		#resume #mainMenu a.resume {
			background-position: -100px -100px;
		}

	#mainMenu a.experiments {
		background-position: 0px -147px;
		width: 92px;
	}
	
		#experiments #mainMenu a.experiments {
			background-position: -100px -147px;
		}
	
	#mainMenu a.contact {
		background-position: 0px -197px;
		width: 62px;
	}
	
		#contact #mainMenu a.contact {
			background-position: -100px -197px;
		}

/* Footer ___________________________________________________________________ */

#pageFooter {
	width: 940px;
	height: 31px;
	margin-top: 30px;
	position: relative;
	left: -1px;
	z-index: 500;
}

	#pageFooter.anchored {
		position: fixed;
		left: 20px;
		bottom: 0px;
	}

#pageFooter > p {
	position: absolute;
	right: 13px;
	bottom: 14px;
}

#pageFooter > p small {
	color: #2f2a1b;
	font-size: 11px;
}

#footerLinks h1 {
	display: none;
}

#footerLinks > a {
	background: #f5bd05 url(assets/footer.png) no-repeat;
	display: inline-block;
	width: 33px;
	height: 31px;
	text-indent: -9999px;
}

	#footerLinks > a.email {
		background-position: 0px 0px;
	}
	
	#footerLinks > a.facebook {
		background-position: -50px;
	}
	
	#footerLinks > a.twitter {
		background-position: -100px 0px;
	}
	
	#footerLinks > a.lastFm {
		background-position: -150px 0px;
	}
	
	#footerLinks > a.vimeo {
		background-position: -200px 0px;
	}


/* Homepage _________________________________________________________________ */

#aboutMe {
	width: 380px;
	float: left;
}

#aboutMe p {
	width: 300px;
	line-height: 24px;
}

#aboutMe p + p {
	margin-top: 24px;
}

#aboutMe strong {
	color: #141313;
	font-weight: bold;
}

#home .sideBar {
	margin-top: 7px;
	margin-left: 20px;
	width: 540px;
	float: left;
}

#latestProject > div {
	position: relative;
}

#latestProject .projectOverlay {
	background-color: rgba(0, 0, 0, 0.8);
	padding: 12px 10px 0px 15px;
	width: 515px;
	height: 52px;
	position: absolute;
	bottom: 2px;
	left: 0px;
	color: #ffffff;
}

#latestProject .projectOverlay h3 {
	font-size: 24px;
}

#latestProject .projectOverlay dl {
	color: #d2ced6;
	font-size: 14px;
	font-style: italic;
}

#latestProject .projectOverlay dl dt {
	display: none;
}

#latestProject .projectOverlay a.viewProject {
	background: transparent url(assets/icons.png) no-repeat scroll right -47px;
	display: inline-block;
	padding-right: 10px;
	position: absolute;
	bottom: 15px;
	right: 10px;
	color: #ffffff;
	font-size: 12px;
}

#specialities {
	margin-top: 43px;
}

#specialities > ul {
	margin-top: 25px;
}

#specialities > ul > li {
	min-height: 100px;
	padding-top: 3px;
	padding-left: 152px;
	background: transparent url(assets/specialities.png) no-repeat;
	cursor: pointer;
}

#specialities > ul > li + li {
	margin-top: 9px;
	border-top: 1px solid rgba(0, 0, 0, 0.15);
	padding-top: 26px;
}

#specialities .development {
	background-position: 0px 0px;
}

#specialities .ux {
	background-position: -1px -127px;
}

#specialities .design {
	background-position: -1px -275px;
}

#specialities > ul > li > ul > li {
	background: transparent url(assets/icons.png) no-repeat scroll 0px -96px;
	padding-left: 7px;
}

#specialities > ul > li > ul > li + li {
	margin-top: 2px;
}

#specialities h3 {
	background: transparent url(assets/headings.png) no-repeat;
	margin-left: 7px;
	width: 380px;
	height: 18px;
	text-indent: -9999px;
}

#specialities .development h3 {
	background-position: 0px -350px;
}

#specialities .ux h3 {
	background-position: 0px -400px;
}

#specialities .design h3 {
	background-position: 0px -450px;
}

/* Portfolio ________________________________________________________________ */

#worksMenu {
	background: transparent url(assets/marquee.png) no-repeat;
	display: block;
	width: 940px;
	height: 47px;
	margin-bottom: 8px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
}

#worksMenu > a {
	/*background: transparent url(assets/logos.png) no-repeat;/**/
	background-image: url(assets/logos.png);
	background-repeat: no-repeat;
	display: block;
	width: 118px;
	height: 47px;
	text-indent: -9999px;
	overflow: hidden;
	float: left;
	opacity: 0.5;
	-webkit-transition-property: opacity;
	-webkit-transition-duration: 0.125s;
	-webkit-transition-delay: 0;
	-webkit-transition-timing-function: ease-out;
}

#worksMenu > a:hover {
	opacity: 1;
}
	
	#worksMenu > a + a {
		background-image: url(assets/logo_divider.png), url(assets/logos.png);
		background-repeat: no-repeat, no-repeat;
	}
	
	#worksMenu a.ea {
		background-position: center 10px;
		width: 116px;
	}
	
	#worksMenu a.nintendo {
		background-position: 0px 0px, center -90px;
	}
	
	#worksMenu a.natGeo {
		background-position: 0px 0px, center -190px;
	}
	
	#worksMenu a.fox {
		background-position: 0px 0px, center -287px;
		width: 115px;
	}
	
	#worksMenu a.eaMobile {
		background-position: 0px 0px, center -384px;
	}
	
	#worksMenu a.atari {
		background-position: 0px 0px, center -487px;
	}
	
	#worksMenu a.timeWarner {
		background-position: 0px 0px, center -586px;
		width: 119px;
	}
	
	#worksMenu a.promega {
		background-position: 0px 0px, center -694px;
	}


body.ea #worksMenu a.ea,
body.nintendo #worksMenu a.nintendo,
body.natGeo #worksMenu a.natGeo,
body.fox #worksMenu a.fox,
body.eaMobile #worksMenu a.eaMobile,
body.atari #worksMenu a.atari,
body.timeWarner #worksMenu a.timeWarner,
body.promega #worksMenu a.promega {
	opacity: 1;
}

#projectWindow {
	margin-bottom: 17px;
	width: 940px;
	height: 343px;
	overflow: hidden;
	position: relative
}

#projectWindow .corners {
	position: absolute;
	background: transparent url(assets/porthole_bg.png) no-repeat;
	width: 940px;
	height: 343px;
}

#projectWindow .porthole {
	background: transparent url(assets/marquee.png) no-repeat scroll 0px -47px;
	width: 940px;
	height: 343px;
	position: absolute;
	z-index: 202;
	cursor: pointer;
}

#projectWindow .frameWrapper {
	width: 940px;
	height: 343px;
	cursor: pointer;
}

#projectWindow iframe {
	position: relative;
	z-index: 201;
	width: 2000px;
	height: 600px;
	overflow: hidden;
	cursor: normal !important;
}

#project > header {
	border-top: 4px solid #000000;
	padding-top: 6px;
	width: 300px;
	float: left;
	position: relative;
}

#project > header .btnPrev {
	position: absolute;
	top: 11px;
	right: 29px;
}

#project > header .btnNext {
	position: absolute;
	top: 11px;
	right: 0px;
}

#project > header h1 {
	color: #000000;
	font-size: 36px;
}

#project > header dl {
	margin-top: 9px;
	font-family: Cambria;
	font-size: 14px;
	font-style: italic;
	font-weight: bold;
}

#project > header dl dt {
	display: none;
}

#project > header dl dd + dd {
	margin-top: 5px;
}

#project > header a.url {
	display: block;
	margin-top: 9px;
}

#launchProject {
	display: inline-block;
	margin-top: 22px;
}

#launchProject > span:after {
	content: '\BB';
	color: #eab506;
	padding-left: 4px;
}

#goBack {
	background-color: #f5bd05;
	position: fixed;
	top: -60px;
	z-index: 901;
	padding: 8px 5px 5px 5px;
	width: 100%;
	box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4);
	-moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4);
}

#goBackBtn {
	display: inline-block;
}

#goBackBtn > span:before {
	content: '\AB';
	color: #eab506;
	padding-right: 4px;
}

#project div.description {
	margin-top: 11px;
	margin-left: 20px;
	width: 620px;
	float: left;
}

#project div.description p {
	line-height: 16px;
}

#project div.description p + p {
	margin-top: 16px;
}

#project aside {
	margin: 29px 60px 34px 60px;
}

#project aside blockquote {
	font-size: 22px;
	font-style: italic;
	font-weight: bold;
	letter-spacing: 0.001em;
	line-height: 24px;
}

#project aside small {
	display: block;
	margin-top: 5px;
	margin-right: 60px;
	font-size: 14px;
	text-align: right;
}

#revealContent {
	border: 0px none;
	bottom: 0px;
	height: 100%;
	left: 0px;
	overflow: hidden;
	position: fixed;
	top: 0px;
	width: 100%;
	z-index: -1;
	zoom: 1;
	opacity:  0.05;
	*filter: alpha(opacity = 5);
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=5)";
}

#revealContent.active {
	overflow: auto;
	z-index: 900;
}

/* Resume ___________________________________________________________________ */

#resume .pdfIcon {
	display: block;
	background: transparent url(assets/pdf_icon.png) no-repeat;
	text-indent: -9999px;
	position: absolute;
	top: 71px;
	right: -3px;
	width: 68px;
	height: 69px;
}

#resume article div {
	position: relative;
	padding-left: 240px;
}

#resume article div > h1 {
	background: transparent url(assets/headings.png) no-repeat;
	text-indent: -9999px;
	width: 200px;
	height: 18px;
	position: absolute;
	top: 0px;
	left: 0px;
}

#resume #experience > h1 {
	background-position: 1px -497px;
}

#resume #education > h1 {
	background-position: 2px -546px;
}

#resume #honors > h1 {
	background-position: 2px -600px;
}

#resume #qualifications > h1 {
	background-position: 2px -650px;
}

#resume article section hgroup {
	margin-bottom: 9px;
	position: relative;
}

#resume article section hgroup h1 {
	font-size: 18px;
	line-height: 20px;
}

#resume article section hgroup h2 {
	font-size: 14px;
	font-style: italic;
	font-weight: normal;
}

#resume article section hgroup h3 {
	font-size: 12px;
	font-weight: normal;
	position: absolute;
	top: 14px;
	right: 0px
}

#resume article div ul {
	position: relative;
	left: -7px;
}

#resume article div li {
	background: transparent url(assets/icons.png) no-repeat scroll 0px -94px;
	padding-left: 7px;
	line-height: 16px;
}

#resume article > div.hr {
	margin: 20px 0px 15px 240px;
}

#resume article dl {
	margin-right: 20px;
	width: 140px;
	float: left;
	position: relative;
	left: -7px;
}

#resume article dl dt {
	display: none;
}

#resume article dl dd {
	margin-bottom: 7px;
}

#resume article dl dl {
	margin-top: 4px;
	margin-right: 0px;
	width: auto;
	float: none;
	left: 12px;
}

#resume article dl dl dd {
	background-image: none;
	margin-bottom: 2px;
	padding-left: 0px;
	font-style: italic;
}
