/* =======================================================

G R A P H I K . F I
stylesheet v2.31
Updated October 2010 - Now also works with IE6!

Copyright by Viljami Salminen

Contains a reset that is based on HTML5 Boilerplate's 
reset, and inludes font normalization + some base styles.

========================================================== */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, menu, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
	}

article, aside, figure, footer, header, 
hgroup, nav, section { 
	display: block; 
	}

body {
	line-height: 1;
	font-size: 100.01%;
	}

nav ul { 
	list-style: none; 
	}

a { 
	margin: 0; 
	padding: 0;
	border: 0;
	font-size: 100%; 
	vertical-align: baseline; 
	background: transparent; 
	}

ins { 
	background-color: #fff; 
	color: #000; 
	text-decoration: none; 
	}

del { 
	text-decoration: line-through; 
	}

input, select { 
	vertical-align: middle; 
	}

body, select, input, textarea { 
	color: #333; 
	}

h1,h2,h3,h4,h5,h6 { 
	font-weight: normal; 
	text-rendering: optimizeLegibility; 
	}

html { 
	overflow-y: scroll;
	}

ul {
	margin-left: 30px;
	}

label, 
input[type=button], 
input[type=submit], 
button { 
	cursor: pointer; 
	}

img { 
	-ms-interpolation-mode: bicubic; 
	}

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

.clearfix { 
	display: inline-block;
	}

* html .clearfix {
	height: 1%;
	}

.clearfix { 
	display: block;
	}


/* ===========================================
	NON-SEMANTIC HELPER CLASSES
============================================== */	

/* For image replacement */
.ir { 
	display: block;
	text-indent: -9999px;
	overflow: hidden;
	background-repeat: none; 
	}
	
/* Hide for both screenreaders and browsers */
.hidden { 
	display: none;
	visibility: hidden;
	} 
	
/* Hide only visually, but have it available for screenreaders */
.visuallyhidden { 
	position: absolute !important;    
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px); 
	}
	
/* Floating blocks */
.block {
	display: block;
	float: left;
	}


/* ===========================================
	BASE STYLES
============================================== */

@-webkit-keyframes init-animation {
	0% { opacity: 0; }
	50% { opacity: 0.5; }
	100% { opacity: 1; }
	}

::-moz-selection {
	background: #ffd6a1;
	color: #333 !important;
	text-shadow: none;
	}

::selection {
	background: #ffd6a1;
	color: #333 !important;
	text-shadow: none;
	}

body {
	font-family: Georgia, Cambria, "Times New Roman", Times, serif;
	text-align: left;
	font-size: 1em;
	line-height: 1.5;
	background: #ebebeb url(../img/layout/background.jpg) repeat fixed -50% 0;
	text-shadow: 1px 1px rgba(255,255,255, 0.6);
	}
	
#wrapper {
	background: transparent url(../img/layout/fade.png) repeat-x fixed;
	_background: none;
	position: relative;
	width: 100%;
	z-index: 2;
	}
	
#content {
	font-size: 1.4em;
	width: 960px;
	background: transparent url(../img/layout/yellowflower.png) no-repeat 410px 0;
	position: relative;
	z-index: 2;
	}
	
.noise {
	background: transparent url(../img/layout/noise.jpg) no-repeat bottom left;
	position: fixed;
	bottom: 0;
	left: 0;
	height: 472px;
	width: 663px;
	z-index: 1;
	_display: none;
	}
	
#border {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: #333;
	background: rgba(0,0,0, 0.8);
	height: 6px;
	z-index: 3;
	_margin-top: -17px;
	}
	
article {
	float: left;
	padding: 51px 0 20px;
	margin-left: 160px;
	_margin-left: 80px;
	_margin-top: -254px;
	width: 495px;
	line-height: 24px;
	-webkit-animation-name: init-animation;
	-webkit-animation-duration: .2s;
	-webkit-animation-iteration-count: 1;
	-webkit-animation-timing-function: ease-in-out;
	}
	
article section {
	margin-bottom: 24px;
	width: 100%;
	float: left;
	}
	
aside {
	width: 180px;
	margin: 359px 42px 0 0;
	*margin: 350px 42px 0 0;
	_margin: 109px 20px 0 0;
	float: right;
	padding-left: 40px;
	border-left: 1px dashed #bbb;
	overflow: hidden;
	font-size: 11px !important;
	-webkit-animation-name: init-animation;
	-webkit-animation-duration: .2s;
	-webkit-animation-iteration-count: 1;
	-webkit-animation-timing-function: ease-in-out;
	}
	
aside section {
	margin-bottom: 46px;
	*margin-bottom: 30px;
	width: 100%;
	}
	
aside section:last-child { 
	margin-bottom: 0;
	}

nav {
	left: 0;
	position: fixed;
	padding-top: 62px;
	width: 104px;
	}

header {
	float: left;
	}
	
footer {
	height: 70px;
	position: relative;
	width: 90%;
	float: left;
	}


/* ===========================================
	LINKS
============================================== */

a:link, 
a:visited {
	border-bottom: 0;
	padding-bottom: 3px;
	background: url(../img/layout/underline.png) repeat-x bottom left;	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	color: #333;
	font-style: normal;
	font-weight: 500;
	text-decoration: none;
	font-variant: small-caps;
	letter-spacing: 3px;
	text-transform: lowercase;
	white-space: nowrap;
	-webkit-transition: all .1s ease;
	-moz-transition: all .1s ease;
	transition: all .1s ease;
	}
	
a:hover,
a:focus {
	background: #ff6 url(../img/layout/underline.png) repeat-x bottom left;	
	-webkit-transition: all .1s ease;
	-moz-transition: all .1s ease;
	transition: all .1s ease;
	text-shadow: none;
	outline: none;
	}
	
a:active {
	background: #ffd6a1 url(../img/layout/underline.png) repeat-x bottom left;	
	-webkit-transition: none;
	-moz-transition: none;
	transition: none;
	}

p a { 
	margin-left: 3px;
	}

footer a:link,
footer a:visited { 
	margin-left: 0;
	background: transparent none;
	padding-bottom: 0;
	border-bottom: 1px dotted #333;
	font-variant: normal;
	text-transform: none;
	font-style: italic;
	letter-spacing: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	}
	
footer a:hover { 
	border-bottom: 1px solid #404040;
	}

footer a:focus { 
	border-bottom: 1px solid #404040;
	background: #ff6;
	}

#lists a { 
	letter-spacing: 0;
	text-transform: none !important;
	background: transparent none;
	border-bottom: 1px dotted #404040 !important;
	padding: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	}
	
#lists a:hover { 
	border-bottom: 1px solid #404040 !important;
	}

#lists a:focus { 
	border-bottom: 1px solid #404040 !important;
	background: #ff6 !important;
	}

/* ===========================================
	NAVIGATION
============================================== */

#menu a { 
	border-bottom: 0;
	}

#menu {
	text-align: right;
	margin: 0;
	display: block;
	float: left;
	}

#menu li {
	display: block;
	float:left;
	}
	
#menu a:link,
#menu a:visited {
	background: transparent none;
	color: #333;
	font-size: 16px;
	width: 102px;
	height: 20px;
	border-bottom: none;
	margin-bottom: 4px;
	font-style: normal;
	font-variant: normal; 
	letter-spacing: 0; 
	text-transform: none;
	border-bottom: 1px dashed #bbb;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	display: block;
	float: left;
	}
	
#menu a:hover {
	text-shadow: none;
	border-bottom: 1px solid #404040;
	background: rgba(0,0,0, 0.05);
	}
	
#menu .selected a:link,
#menu .selected a:visited,
#menu .selected a:hover,
#menu a:focus {
	border-bottom: 1px solid #404040;
	-webkit-transition: none;
	-moz-transition: none;
	-o-transition: none;
	transition: none;
	background: #ff6;
	color: #333;
	outline: none;
	}
	
#menu a:active {
	background: #ffd6a1;
	-webkit-transition: all .1s ease;
	-o-transition: none;
	}

#menu .selected a:focus {
	background: rgba(0,0,0, 0.05) !important;
	}

nav .arrows {
	_display: none;
	font: 11px Georgia, Times, serif;
	color: #999;
	float: right;
	font-style: italic;
	text-align: right;
	margin: 9px 5px 0 0;
	background: transparent none !important;
	letter-spacing: 0;
	}


/* ===========================================
	HEADINGS
============================================== */

h1,h2,h3,h4,h5,h6 {
	font-weight: 500;
	font-style: normal;
	font-size: 48px;
	line-height: 48px;
	margin: 0 0 29px;
	letter-spacing: 0;
	text-shadow: 1px 1px rgba(255,255,255, 0.9);
	}
	
h2 { 
	font-size: 24px; 
	line-height: 36px; 
	margin-bottom: 23px; 
	color: #666;
	}

h2 .alternate {
	font-weight: 300;
	font-family: Baskerville, Garamond, Cambria, "Times New Roman", Times, Georgia, serif;
	font-variant: normal;
	text-transform: none;
	font-style: italic;
	margin-left: 0.2em;
	white-space: nowrap;
	font-size: 32px;
	color: #333;
	}
	
h2 abbr {
	font-weight: 300;
	font-size: 29px;
	font-family: Baskerville, Garamond, Cambria, "Times New Roman", Times, Georgia, serif;
	border-bottom: 0 !important;
	background: transparent none !important;
	-webkit-transition: all .4s ease-in;
	-moz-transition: all .4s ease-in;
	-o-transition: all .4s ease-in;
	transition: all .4s ease-in;
	letter-spacing: 0.06em;
	}
	
h2 abbr:hover {
	color: #555;
	color: rgba(0,0,0, 0.01);
	text-shadow: 0 0 4px #555 !important;
	cursor: help;
	}

.body-lab h2 .alternate {
	margin: 0 0.1em;
	}
	
aside h3 {
	margin-bottom: 21px;
	color: #333;
	line-height: 16px;
	font-size: 16px;
	border-bottom: none;
	font-style: normal;
	font-variant: normal; 
	letter-spacing: 0; 
	text-transform: none;
	}

.notice h3 {
	margin: 34px 0 14px;
	padding-bottom: 3px;
	letter-spacing: 0;
	font-size: 18px; 
	line-height: 24px; 
	color: #333;
	text-transform: none;
	font-variant: normal;
	}


/* ===========================================
	PARAGRAPHS
============================================== */

p,ul,ol {
	font-size: 14px;
	line-height: 24px;
	margin-bottom: 24px;
	font-style: normal;
	font-weight: 500;
	}

p:last-child { 
	margin-bottom: 0;
	}

article p:last-child {
	margin-bottom: 24px;
	}

.notice p:last-child {
	margin-bottom: 0;
	}	

.intro:first-child:first-letter,
.intro:first-letter {
	-webkit-text-fill-color: transparent;
	-webkit-background-clip: text;
	background-image: -webkit-gradient(linear, 100% 0%, 100% 100%, from(#222), to(#111));
	background-repeat: no-repeat;
	text-shadow: 0 1px 3px rgba(255,255,255, 0.3);
	letter-spacing: 0;  
	text-transform: uppercase;   
	font: 48px Baskerville, "Palatino Linotype", "Palatino", Garamond, "Times New Roman", "Times", Georgia, serif;
	float: left;
	font-weight: 300;
	margin: 0.20em 0.18em 0 0;  
	line-height: 34px; 
	*margin: 0 0.15em 0 0;
	*line-height: 48px;
	}
	
footer p {
	font-size: 11px;
	color: #666;
	font-style: italic;
	line-height: 18px;
	display: block;
	float: left;
	}

.notice ul strong {
	font-family: Cochin, Baskerville, "Palatino Linotype", Georgia, Serif;
	font-style: italic;
	font-size: 14px;
	padding: 1px 7px;
	width: 13px;
	-webkit-border-radius: 90px;
	-moz-border-radius: 90px;
	border-radius: 90px;
	text-align: center;
	margin: 0 10px 3px 0;
	display: block;
	float: left;
	border: 0;
	text-shadow: 0 1px 0 rgba(255,255,255, 0.7);
	border-top: 1px solid rgba(255,255,255,0.7);
	background-image: -webkit-gradient(radial, 50% 0, 100, 50% 0, 0, from( rgba(255,255,255,0) ), to( rgba(255,255,255,0.7) ));
	background-image: -moz-radial-gradient(top, ellipse cover, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.4) 100%);
	background-image: gradient(radial, 50% 0, 100, 50% 0, 0, from( rgba(255,255,255,0) ), to( rgba(255,255,255,0.7) ));
	color: hsl(0, 0%, 40%) !important;
	background-color: #bbb;
	background-color: hsl(0, 0%, 75%);
	-webkit-box-shadow: inset rgba(255,254,255,0.2) 0 0.3em .3em, inset rgba(0,0,0,0.1) 0 -0.1em .3em, hsl(0, 0%, 80%) 0 0 1px, hsl(0, 0%, 60%) 0 .2em 1px;
	-moz-box-shadow: inset rgba(255,254,255,0.1) 0 0.3em .3em, inset rgba(0,0,0,0.1) 0 -0.1em .3em, hsl(0, 0%, 80%) 0 0 1px, hsl(0, 0%, 60%) 0 .2em 1px;
	box-shadow: inset rgba(255,254,255,0.2) 0 0.3em .3em, inset rgba(0,0,0,0.1) 0 -0.1em .3em, hsl(0, 0%, 80%) 0 0 1px, hsl(0, 0%, 60%) 0 .2em 1px;
	-webkit-background-clip: padding-box;
	}

.notice .arrow strong {
	font-family: Arial, Helvetica, Verdana, sans-serif;
	}


/* ===========================================
	FOOTER
============================================== */

#vs {
	width: 40px;
	height: 40px;
	background: transparent url(../img/layout/logo_small.png) no-repeat top left !important;
	border-bottom: 0 !important;
	margin-right: 20px;
	display: block;
	float: left;
	opacity: 0.96;
	}

#vs:hover { 
	opacity: 0.7;
	-webkit-transition: all .3s ease-in;
	-moz-transition: all .3s ease-in;
	-o-transition: all .3s ease-in;
	transition: all .3s ease-in;
	}

#vs:focus,
#vs:active { 
	opacity: 0.5;
	outline: none;
	-webkit-transition: none;
	-moz-transition: none;
	-o-transition: none;
	transition: none;
	}


/* ===========================================
	ASIDE
============================================== */

#social ul {
	margin: 0;
	padding: 0;
	}

#social li {
	height: 23px;
	width: 25px;
	}

#social a {
	height: 20px;
	width: 20px;
	border-bottom: 0;
	opacity: 0.97;
	filter: alpha(opacity = 97);
	-webkit-transition: all .2s ease;
	-moz-transition: all .2s ease;
	-o-transition: all .2s ease;
	transition: all .2s ease;
	}

#social a:hover,
#social a:focus { 
	opacity: 0.5;
	filter: alpha(opacity = 50);
	outline: none;
	}

#social .feed { background: transparent url(../img/layout/sprite.gif) no-repeat 0 0 }
#social .dribbble { background: transparent url(../img/layout/sprite.gif) no-repeat -25px 0 }
#social .delicious { background: transparent url(../img/layout/sprite.gif) no-repeat -50px 0 }
#social .twitter { background: transparent url(../img/layout/sprite.gif) no-repeat -75px 0 }
#social .facebook { background: transparent url(../img/layout/sprite.gif) no-repeat -100px 0 }
#social .linkedin { background: transparent url(../img/layout/sprite.gif) no-repeat -125px 0 }
#social .flickr { background: transparent url(../img/layout/sprite.gif) no-repeat -150px 0 }
#social .forrst { background: transparent url(../img/layout/sprite.gif) no-repeat -175px 0 }

#lists li,
#lists p { 
	font-size: 11px;
	line-height: 18px;
	margin-bottom: 15px;
	color: #555;
	font-style: italic;
	}

#lists p { 
	color: #555;
	}

.height li {
	margin-bottom: 5px !important;
	}

#lists a {
	font-size: 13px !important;
	color: #333;
	}

#lists li:last-child { 
	margin-bottom: 0;
	}

#lists ul {
	list-style-image: url(../img/layout/bullet.gif);
	list-style-type: square;
	padding-left: 16px;
	margin: 0;
	}


/* ===========================================
	CONTACT FORM
============================================== */

#contactform {
	margin: 24px 0;
	position: relative;
	z-index: 10;
	}

#contactform ul { 
	margin: 0;
	}

#contactform li {
	width: 490px;
	height: 33px;
	margin-bottom: 15px;
	}
	
#contactform .height { 
	height: auto !important;
	}

#contactform li:last-child { 
	margin-bottom: 0; 
	}

#contactform div {
	width: 110px;
	text-align: right;
	}

label { 
	cursor: pointer;
	}

#contactform span {
	font-family: Baskerville, "Palatino Linotype", "Palatino", "Times New Roman", "Times", Georgia, serif;
	font-variant: normal;
	text-transform: none;
	font-weight: 300;
	font-style: normal;
	color: #d2493d;
	letter-spacing: 0.083em;
	margin-left: 0.45em;
	}
	
input,
textarea {
	float: right !important;
	width: 330px !important;
	display: block;
	padding: 6px 10px;
	font: 13px Georgia;
	border: 1px solid #bbb;
	background: #fff;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	background: -webkit-gradient(linear, left bottom, left top, from(#fff), to(#f9f9f9));
	background: -moz-linear-gradient(top, #f9f9f9, #fff);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#FFF9F9F9, endColorstr=#FFFFFFFF);
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#FFF9F9F9, endColorstr=#FFFFFFFF)";
	-webkit-box-shadow: 0 -1px 0 rgba(0,0,0, 0.1), 0 1px 0 rgba(255,255,255, 0.7);
	-moz-box-shadow: 0 -1px 0 rgba(0,0,0, 0.1), 0 1px 0 rgba(255,255,255, 0.7);
	box-shadow: 0 -1px 0 rgba(0,0,0, 0.1), 0 1px 0 rgba(255,255,255, 0.7);
	-webkit-background-clip: padding-box;
	}

input:hover,
textarea:hover {
	border: 1px solid #777;
	}
	
input:focus,
textarea:focus {
	border: 1px solid #404040;
	background: #fff;
	filter: none;
	-ms-filter: none;
	-webkit-box-shadow: 1px 1px 3px rgba(0,0,0, 0.3);
	-moz-box-shadow: 1px 1px 3px rgba(0,0,0, 0.3);
	box-shadow: 1px 1px 3px rgba(0,0,0, 0.3);
	outline: none;
	-webkit-transition: all .6s ease;
	-moz-transition: all .6s ease;
	-o-transition: all .6s ease;
	transition: all .6s ease;
	}
	
textarea {
	height: 152px;
	resize: vertical;
	line-height: 24px;
	}
	
#submit {
	margin-right: 222px;
	_margin-right: 111px;
	width: 130px !important;
	text-align: center;
	filter: none;
	-ms-filter: none;
	cursor: pointer;
	border: 0;
	text-shadow: 0 1px 0 rgba(255,255,255, 0.7);
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	padding: 7px 20px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	border-top: 1px solid rgba(255,255,255,0.8);
	background-image: -webkit-gradient(radial, 50% 0, 100, 50% 0, 0, from( rgba(255,255,255,0) ), to( rgba(255,255,255,0.7) ));
	background-image: -moz-radial-gradient(top, ellipse cover, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 100%);
	background-image: gradient(radial, 50% 0, 100, 50% 0, 0, from( rgba(255,255,255,0) ), to( rgba(255,255,255,0.7) ));
	-webkit-transition: background .2s ease-in-out;
	-moz-transition: background .2s ease-in-out;
	transition: background .2s ease-in-out;
	color: hsl(0, 0%, 40%) !important;
	background-color: #bbb;
	background-color: hsl(0, 0%, 75%);
	-webkit-box-shadow: inset rgba(255,254,255,0.2) 0 0.3em .3em, inset rgba(0,0,0,0.1) 0 -0.1em .3em, hsl(0, 0%, 80%) 0 0 1px, hsl(0, 0%, 60%) 0 .2em 1px;
	-moz-box-shadow: inset rgba(255,254,255,0.2) 0 0.3em .3em, inset rgba(0,0,0,0.1) 0 -0.1em .3em, hsl(0, 0%, 80%) 0 0 1px, hsl(0, 0%, 60%) 0 .2em 1px;
	box-shadow: inset rgba(255,254,255,0.2) 0 0.3em .3em, inset rgba(0,0,0,0.1) 0 -0.1em .3em, hsl(0, 0%, 80%) 0 0 1px, hsl(0, 0%, 60%) 0 .2em 1px;
	-webkit-background-clip: padding-box;
	}
	
#submit:hover,
#submit:focus {
	background: #ddd;
	outline: 0;
	}
	
#submit:active {
	-webkit-box-shadow: inset rgba(255,254,255,0.2) 0 0.3em .3em, inset rgba(0,0,0,0.1) 0 -0.1em .3em, /* inner shadow */hsl(0, 0%, 80%) 0 0 1px, hsl(0, 0%, 55%) 0 .1em 1px;
	-moz-box-shadow: inset rgba(255,254,255,0.2) 0 0.3em .3em, inset rgba(0,0,0,0.1) 0 -0.1em .3em, /* inner shadow */hsl(0, 0%, 80%) 0 0 1px, hsl(0, 0%, 55%) 0 .1em 1px;
	box-shadow: inset rgba(255,254,255,0.2) 0 0.3em .3em, inset rgba(0,0,0,0.1) 0 -0.1em .3em, /* inner shadow */hsl(0, 0%, 80%) 0 0 1px, hsl(0, 0%, 55%) 0 .1em 1px;
	-webkit-transform: translateY(.2em);
	-moz-transform: translateY(.2em);
	transform: translateY(.2em);
	}

.notice {
	display: block;
	padding: 30px;
	margin-top: 10px;
	border: 1px solid #bbb;
	background: #fff;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: 1px 1px 0 rgba(255,255,255, 0.5);
	-moz-box-shadow: 1px 1px 0 rgba(255,255,255, 0.5);
	box-shadow: 1px 1px 0 rgba(255,255,255, 0.5);
	-webkit-background-clip: padding-box;
	margin-bottom: 44px !important;
	width: 87%;
	}

.notice ul {
	list-style-type: none;
	margin: 0;
	}

.notice li {
	margin: 0 0 3px;
	float: left;
	display: block;
	width: 100%;
	}


/* ===========================================
	VALIDATION
============================================== */

.error input,
.error textarea {
	border: 1px solid #d2493d;
	background: #fff;
	-webkit-box-shadow: 1px 1px 0 #d2493d;
	-moz-box-shadow: 1px 1px 0 #d2493d;
	box-shadow: 1px 1px 0 #d2493d;
	outline: none;
	}
	
.error { 
	height: auto !important;
	}

#contactform .messages li {
	float: right;
	display: block;
	width: 350px;
	font-size: 11px;
	color: #d2493d;
	margin: 0 0 -10px 0 !important;
	}


/* ===========================================
	PORTFOLIO
============================================== */

.work { 
	margin: 16px 0 0;
	}
	
.work .even img { 
	margin: 0 0 20px;
	}

.work li { 
	*margin: 0 0 20px;
	position: relative;
	}
	
.work img {
	opacity: 1.0;
	filter: alpha(opacity = 100);
	border: 0;
	padding: 8px;
	margin: 0 20px 20px 0;
	_margin: 0 10px 10px 0;
	background: #fff;
	border: 1px solid #ddd;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: 1px 1px 0 rgba(0,0,0, 0.04);
	-moz-box-shadow: 1px 1px 0 rgba(0,0,0, 0.04);
	box-shadow: 1px 1px 0 rgba(0,0,0, 0.04);
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
	-webkit-background-clip: padding-box;
	display: block;
	float: left;
	}
	
.work a:hover img,
.work a:focus img {
	opacity: 0.5;
	filter: alpha(opacity = 50);
	cursor: pointer;
	border: 1px solid #888;
	-webkit-box-shadow: 1px 1px 0 rgba(0,0,0, 0.3);
	-moz-box-shadow: 1px 1px 0 rgba(0,0,0, 0.3);
	box-shadow: 1px 1px 0 rgba(0,0,0, 0.3);
	}
	
.work a {
	padding-bottom: 0 !important;
	background: transparent url(../img/layout/glass.png) no-repeat 105px 61px !important;
	outline: none;
	display: block;
	float: left;
	-webkit-transition: none;
	-moz-transition: none;
	-o-transition: none;
	transition: none;
	}

.body-work h2 abbr { 
	margin-left: -5px;
	}


/* ===========================================
	QUOTES
============================================== */

.quote ul {
	list-style-image: url(../img/layout/quote.gif) !important;
	list-style-type: square;
	padding-left: 24px !important;
	margin: 0 !important;
	}
	
.quote li {
	font-style: italic;
	color: #555;
	}
	
.quote em {
	line-height: 30px;
	font-style: normal;
	font-weight: bold;
	color: #333;
	}


/* ===========================================
	LAB
============================================== */

.body-lab #delicious {
	list-style-type: none;
	margin: 14px 0 0;
	}

#lab-main li {
	margin-bottom: 30px;
	display: block;
	float: left;
	width: 100%;
	}

#lab-main a {
	white-space: normal;
	}

#lab-main div,
#lab-main .tags {
	display: block;
	float: left;
	width: 100%;
	padding-bottom: 10px;
	color: #333;
	}

.tags a:link,
.tags a:visited {
	font-size: 14px;
	line-height: 24px;
	margin-bottom: 24px;
	color: #666;
	letter-spacing: 0;
	padding: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	font-weight: normal;
	font-style: normal;
	text-transform: none;
	font-variant: normal;
	background: transparent none;
	text-shadow: none;
	-webkit-transition: all .1s ease;
	-moz-transition: all .1s ease;
	-o-transition: all .1s ease;
	transition: all .1s ease;
	}

.tags a:hover,
.tags a:focus {
	border-bottom: 1px solid #404040;
	color: #333;
	outline: none;
	}

#lab-main .header {
	padding-bottom: 3px;
	background: url(../img/layout/underline.png) repeat-x bottom left;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	letter-spacing: 0;
	font-size: 18px; 
	line-height: 24px; 
	color: #333;
	text-transform: none;
	font-variant: normal;
	border-bottom: 0;
	-webkit-transition: all .1s ease;
	-moz-transition: all .1s ease;
	transition: all .1s ease;
	}

#lab-main .header:hover,
#lab-main .header:focus {
	border-bottom: 0;
	background: #ff6 url(../img/layout/underline.png) repeat-x bottom left;
	text-shadow: none;
	outline: none;
	}

#lab-main .header:active {
	background: #ffd6a1 url(../img/layout/underline.png) repeat-x bottom left;	
	-webkit-transition: none;
	-moz-transition: none;
	-o-transition: none;
	transition: none;
	}


/* ===========================================
	PRINT STYLES
============================================== */

@media print {
	
	nav,
	aside,
	#vs {
		display: none !important;
		}
	
	article {
		margin: 20px 0 !important;
		width: 94%;
		}
	
	footer {
		width: 100%;
		margin: 0;
		}
	
	.work .even { 
		margin: 0 20px 0 0;
		}

	* { 
		background: transparent !important; 
		color: #000 !important; 
		text-shadow: none; 
		}

	a, a:visited { 
		color: #333 !important; 
		text-decoration: underline; 
		}
  
	.ir a:after { 
		content: "";
		}
  
	pre, blockquote { 
		border: 1px solid #999; page-break-inside: avoid;
		}
  
	img { 
		page-break-inside: avoid; 
		}

	@page {
		margin: 0.5cm;
		}

	p,h2,h3 {
		orphans: 3; 
		widows: 3;
		}

	h2,h3 { 
		page-break-after: avoid;
		white-space: normal;
		}
 
	}


/* ===========================================
	MOBILE STYLES
============================================== */

@media screen and (max-width: 1024px) and (orientation: landscape) {

	.noise { 
		background: transparent none;
		}	

	#contactform input,
	#contactform textarea {
		float: none;
		width: 90%;
		padding: 6px 10px;
		}
	
	}

@media screen and (max-width: 980px) {
	html { 
		overflow-x: hidden;
		}
	}

@media screen and (max-width: 930px) {
	
	html { 
		-webkit-text-size-adjust: none;
		-ms-text-size-adjust: none;
		overflow-x: hidden;
		}
	
	#wrapper {
		background: transparent url(../img/layout/fade.png) repeat-x top left;
		}
	
	#border {
		position: absolute;
		}
	
	nav {
		position: relative;
		margin: 0;
		padding: 6px 0 0;
		width: 100%;
		}
	
	nav ul {
		position: relative;
		margin: 0;
		padding: 0;
		width: 100%;
		}
	
	nav li {
		float: left;
		width: auto;
		margin-left: 7%;
		}

	nav li a {
		color: #333 !important;
		float: left;
		padding: 20px 3px 0;
		width: auto !important;
		}
	
	nav .arrows {
		display: none !important;
		}
		
	#content {
		width: 100%;
		background: transparent none;
		}

	.noise { 
		background: transparent none;
		}

	article {
		padding: 31px 0 0;
		margin: 0 7%;
		width: 85%;
		float: left;
		line-height: 24px;
		-webkit-animation-name: none;
		}

	article section {
		margin-bottom: 5px;
		}
	
	aside { 
		display: none !important;
		-webkit-animation-name: none;
		}

	header h1 { 
		margin-bottom: 18px;
		}
	
	header h2,
	header h2 .alternate,
	header h2 abbr,
	.body-work h2 abbr,
	.body-lab h2 .alternate {
		line-height: 24px;
		font-size: 18px;
		font-family: Georgia, serif;
		letter-spacing: 0;
		color: #666 !important;
		margin-bottom: 20px;
		}

	article p { 
		margin-bottom: 20px;
		}
	
	footer p {
		width: 75%;
		margin-top: 6px;
		line-height: 14px;
		font-size: 8px;
		}

	#contactform {
		margin-top: 0;
		margin-left: -3px;
		width: 100%;
		overflow: hidden;
		}

	#contactform li,
	#contactform .messages li {
		width: 100%;
		height: auto;
		margin-bottom: 10px !important;
		}
	
	#contactform .messages li {
		width: 98%;
		}

	#contactform div {
		float: none;
		width: auto;
		text-align: left;
		margin-left: 2%;
		}

	#contactform input,
	#contactform textarea {
		float: none;
		width: 98% !important;
		padding: 8px 0;
		font-size: 16px;
		}

	#contactform #submit {
		margin: 10px 0 0 0;
		width: 130px !important;
		-webkit-appearance: none;
		}

	.work { 
		width: 93%;
		margin-left: 7%;
		}
	
	.work img { 
		-webkit-transition: none !important;
		-moz-transition: none !important;
		-o-transition: none !important;
		transition: none !important;
		}
	
	.work a { 
		background: transparent none !important;
		}
	
	.body-lab #delicious {
		margin-top: 18px;
		}
	
	#lab-main .header {
		font-size: 15px; 
		}
		
	.notice {
		margin-top: 15px;
		width: 80% !important;
		}

	}

@media screen and (max-width: 640px) {
	
	.work li,
	.work li.even {
		float: none !important;
		margin-left: auto;
		margin-right: auto;
		}
	
	}