* {
	margin: 0;
	padding: 0;
	outline: none;
	line-height: 1.5em;
}
/** html5 stuf **/
header, footer, section, article, nav {
    display: block;
}

/*** fonts ***/
@font-face {
    font-family: "Sketchetikk";
    src: url(fonts/sketchetik.otf);
}

html {
    background: #111 url(img/bg.png) fixed;
}

body {
    background: url(img/bg-rad.png) fixed no-repeat;
	color: #bbb;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 93%;
	width: 4800px;
	height: 100%;
	overflow: hidden;
}
a {
	color: #99bbff;
	text-decoration: none;
}
a:hover {
    color: #72ff9d;
}
a img {
    border: 0;
}

h1,h2,h3,h4,h5,h6 {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: normal;
}

.yui3-js-enabled span.enh {
    /* for hiding certain text from screen but not screen readers */
    position: absolute;
    top: -9999px;
    left: -9999px;
}

/*** header styles ***/
#hd {
    font-family: "Sketchetik", "Helvetica Neue", Helvetica, Arial, sans-serif;
    width: 100%;
    position: fixed;
    height: 60px;
}
#hd h1 {
    position: relative;
    display: inline-block;
    *display: inline;
    font-weight: normal;
    font-size: 400%;
    margin: 0.1em 0.1em 0 0.3em;
    line-height: 100%;
}
.yui3-js-enabled #hd h1 a {
    display: inline-block;
    *float: left;
    *padding-left: 20px;
    background: url(img/indorg.png) no-repeat 100% 100%;
    width: 355px;
    height: 58px;
    margin-top: 0.2em;
}
#hd nav {
    display: inline-block;
    vertical-align: 20px;
    margin: 20px 0 0 10px;
}
#hd nav li {
    list-style-type: none;
    display: inline-block;
    *display: inline;
    font-size: 200%;
    margin-right: 0.2em;
}
#hd nav li a {
    padding: 0.2em 30px 0.2em 0.2em;
    color: #fff;
    background: url(img/bg-nav.png) no-repeat 100% 0;
}
#hd nav li a:hover {
    color: #72ff9d;
}
#hd nav li.work a:hover {
    background-position: 100% -50px;
}
#hd nav li.writing a {
    background-position: 100% -100px;
}
#hd nav li.writing a:hover {
    background-position: 100% -150px;
}
#hd nav li.websites a {
    background-position: 100% -200px;
    padding-right: 20px;
}
#hd nav li.websites a:hover {
    background-position: 100% -250px;
    padding-right: 20px;
}
#hd nav li.contact a {
    background-position: 100% -300px;
    padding-right: 50px;
}
#hd nav li.contact a:hover {
    background-position: 100% -350px;
    padding-right: 50px;
}
#hd nav em {
    font-style: normal;
    text-transform: lowercase;
}

/*** page layout styles ***/
#greeting,
#introduction,
#info,
#work,
#writing,
#websites,
#contact {
    position: relative;
    margin: 90px 30px 0 30px;
    width: 590px;
    display: inline-block;
    vertical-align: top;
    padding-left: 390px;
    height: 460px;
    z-index: 1;
    overflow: hidden;
}
section header,
section footer,
section aside {
    padding: 30px 30px 0 30px;
}
section .bd {
    padding: 10px 30px 0 30px;
    clear: both;
}
section aside {
    position: absolute;
    top: 0;
    left: 0;
    margin-top: 9em;
    width: 340px;
}
section aside h2 {
    font-size: 200%;
    margin-bottom: 0.5em;
}
/*
section .bd h1,
section .bd h2,
section .bd h3,
section .bd h4,
section .bd h5 {
    color: #e15a83;
}
*/
section footer {
    padding: 10px 30px;
    clear: both;
    font-size: 85%;
}

/* for the nice semi opaque border around images, to be applied via js enhancement */
section .bd img {
    background: url(img/bg-img.png);
    padding: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.nice-border {
    border: 3px solid #000;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"; /* IE8 */
    filter:alpha(opacity=30); /* IE */
    opacity: 0.3;
    position: absolute;
    top: 3px;
    left: 3px;
}
.border-wrapper {
    position: relative;
}
#info .nice-border,
#work-triggers .nice-border {
    border: 5px solid #000;
    top: 5px;
    left: 5px;
}
#info .bd img,
#work-triggers img {
    padding: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}


/** greeting div **/
#greeting {
    font-family: "Sketchetik", "Helvetica Neue", Helvetica, Arial, sans-serif;
    width: 400px;
    position: fixed;
    padding: 0;
    z-index: 2;
    font-size: 150%;
    height: 150px;
}
.yui3-js-enabled #greeting {
    background: url(img/bg-hello.png) no-repeat 30px 33px;
}
#greeting h1 {
    font-size: 260%;
    color: #e15a83;
}

/** information div **/
#info img.me {
    float: left;
    margin-right: 20px;
}
#info dl {
    margin-bottom: 1em;
}
#info dl dt {
    float: left;
    margin-bottom: 0.2em;
}
#info dl dd {
    margin-left: 210px;
    color: #E15A83;
    margin-bottom: 0.2em;
}
#info .bd p {
    margin-bottom: 1em;
}
#info blockquote {
    font-style: italic;
    font-size: 116%;
    margin: 0 60px 0 160px;
    color: #3ef8b9;
    color: #7ef8c5;
}

#work .hd {
    margin-bottom: 10px;
}
#work .bd {
    position: relative;
    overflow: hidden;
    padding: 0 30px;
    height: 290px;
}
#work .bd-hidden {
    height: 0;
}
#work .bd h2 {
    text-align: right;
    margin-bottom: 0.5em;
}
#work .bd h2 a {
    display: inline-block;
    height: 26px;
    width: 26px;
    margin-left: 5px;
    background: url(img/ico-arrows.png) no-repeat 0 0;
}
#work .bd h2 a:hover {
    background-position: 0 -50px;
}
#work .bd h2 a span {
    position: absolute;
    top: -999px;
}
#work .detail-screenshots a {
    display: inline-block;
}

#work-triggers li {
    list-style-type: none;
    clear: both;
    margin: 0 0 10px 0;
}
#work-triggers li img {
    float: left;
    margin: 0 10px 10px 0;
}
#work-triggers li p {
    font-size: 85%;
}
#work-tools li {
    list-style-type: disc;
    margin-left: 1em;
    margin-bottom: 0.3em;
    font-size: 93%;
}

#work-code,
#work-design {
    width: 530px;
    overflow: hidden;
}
#work .work-container li {
    list-style-type: none;
    display: inline-block;
    margin: 0 5px 5px 0;
}
.work-container {
    width: 15000px;
    position: absolute;
    left: 0;
}
.work-container nav,
.work-container article {
    width: 530px;
    padding-left: 30px;
    float: left;
    overflow: hidden;
}
.work-container nav li {
    cursor: pointer;
}
.work-container article h3 {
    background: url(img/ico-quote.png) no-repeat 0 3px;
    padding-left: 22px;
    color: #ddd;
}
.work-container article p {
    font-size: 93%;
    margin-bottom: 0.5em;
}
.work-detail-back {
    font-size: 93%;
    display: block;
    margin-top: 1.5em;
    padding-left: 31px;
    background: url(img/ico-arrows.png) no-repeat 0 -98px;
}
.work-detail-back:hover {
    background-position: 0 -148px;
}

#work footer {
    text-align: center;
}
#work .divider {
    font-size: 75%;
    margin: 0 0.1em;
}
#work .size-6 {
    font-size: 75%;
}
#work .size-7 {
    font-size: 85%;
    color: #c4a8b1;
}
#work .size-8 {
    font-size: 93%;
    color: #cb8ea0;
}
#work .size-9 {
    font-size: 100%;
    color: #d6708f;
}
#work .size-10 {
    font-size: 116%;
    color: #E15A83;
}

#writing .bd ul li {
    list-style-type: none;
    display: inline-block;
    *display: inline;
    margin: 0 10px 10px 0;
    overflow: hidden;
    position: relative;
    vertical-align: middle;
    height: 100px;

    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}
#writing .bd ul li.girl {
    background: #6e1923;
}
#writing .bd ul li.geek {
    background: #383838;
}
#writing .bd ul li.reader {
    background: #1c4a6b;
}
#writing .bd ul li.writer {
    background: #0b5b2b;
}
#writing .bd ul li.gamer {
    background: #461962;
}
#writing .bd ul li a {
    position: relative;
    display: inline-block;
    *display: inline;
    padding: 10px;
    width: 130px;
    height: 80px;
    overflow: hidden;
    
    color: #fff;
}
#writing .bd ul li .bg-over {
    position: absolute;
    top: 0;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"; /* IE8 */
    *filter:alpha(opacity=30); /* IE */
    opacity: 0.3;
    height: 100px;
    width: 150px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

#websites ul {
    margin-bottom: 1em;
}
#websites li {
    list-style-type: none;
    display: inline-block;
    margin: 0.1em;
}

#ft {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: url(img/bgft.png) no-repeat 100% 100%;
    height: 25px;
    padding: 25px 0;
}
#ft h1 {
    position: absolute;
    left: -9999999px;
}
#ft nav {
    float: right;
    margin-right: 25px;
}
#ft nav li {
    list-style-type: none;
    display: inline-block;
}
#ft nav li span {
    position: absolute;
    left: -9999999px;
}

/**** START OF LIGHTBOX CSS ****/
#lightbox {
	position: absolute;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
}
#lightbox img { width: auto; height: auto; }
#lightbox a img { border: none; }

#outerImageContainer {
	position: relative;
	/*background-color: #fff; */
	width: 250px;
	height: 250px;
	margin: 0 auto;

	background-color: #111;
	border: 1px solid #333;
	border-bottom: 0;
}
#imageContainer { padding: 10px; }

#loading {
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	background: url(loading.gif) no-repeat top center;
	width: 100%;
	text-align: center;
	line-height: 0;
}
#hoverNav {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
}
#imageContainer > #hoverNav { left: 0; }
#hoverNav a { outline: none; }

#prevLink, #nextLink {
	width: 49%;
	height: 100%;
	background-image: url(data:image/gif;base64,AAAA);
	/* Trick IE into showing hover */ display: block;
}
#prevLink { left: 0; float: left; }
#nextLink { right: 0; float: right; }
#prevLink:hover, #prevLink:visited:hover { background: url(prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(nextlabel.gif) right 15% no-repeat; }

#imageDataContainer {
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	overflow: auto;
	width: 100%;

	background-color: #111;
	border: 1px solid #333;
	border-top: 0;
}

#imageData { padding:0 10px; color: #666; }
#imageData #imageDetails { width: 70%; float: left; text-align: left; }	
#imageData #caption { font-weight: bold; }
#imageData #numberDisplay { display: block; clear: left; padding-bottom: 1.0em; }			
#imageData #bottomNavClose {
	width: 66px;
	height:22px;
	background: url(closelabel.gif) no-repeat;
	float: right;
	padding-bottom: 0.7em;
	outline: none;
}

#overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
}
