/* reset */

html {
	color:#000;
	font-family: Arial, Helvetica, Geneva, sans-serif;
	font-size: 12px;
}

html,body {
	overflow: auto;
	height: 100%;
}

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,hr{
	margin:0;
	padding:0;
}

table {
	border-collapse:collapse;
	border-spacing:0;
}

fieldset,img{
	border:0;
	margin: 0;
}

textarea {
	height: 2.4em;
}

a {
	color: inherit;
	text-decoration: none;
	outline: none;
}

address,caption,cite,code,dfn,th,var {
	font-style:normal;
	font-weight:normal;
}

li {
	list-style:none;
}

caption,th {
	text-align:left;
}

h1,h2,h3,h4,h5,h6 {
	font-size:100%;
	font-weight:normal;
}

q:before,q:after {
	content:'';
}

abbr,acronym {
	border:0;
	font-variant:normal;
}
	
sup {
	vertical-align:text-top;
}
	
sub {
	vertical-align:text-bottom;
}
	
input,textarea,select {
	font-family:inherit;
	font-size:inherit;
	font-weight:inherit;
	outline-style:none;
	outline-width:0px;
	font-size:100%;
}

legend {
	color:#000;
}

del,ins {
	text-decoration:none;
}

hr {
	border:none;
}

.right {
	float: right !important;
}

.left {
	float: left !important;
}

.clear {
	clear: both;
	height: 0px;
	visibility: hidden;
}

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

.clearfix {
	display: inline-block;
}

* html .clearfix {
	height: 1%;
}

.clearfix {
	display: block;
}


body {
	font-family: "Helvetica Neue", "Helvetica", sans-serif;
	background: #f3f3f3 url(../images/background.gif) top left repeat;
	overflow: auto;
}

.wrapper {
	color: #333;
	width: 960px;
	margin: 0px auto;
}


/* header */

#header, #about {
	padding: 40px 14px;
	text-shadow: 0px 1px 0px #fff;
}

#about {
	padding: 30px 14px;
}

#header h1 {
	font-size: 42px;
	float: left;
}

#header h1 strong {
	font-weight: bold;
}

#header h2 {
	font-size: 16px;
	color: #999;
	clear: both;
	text-transform: uppercase;
}

#header .right {
	margin: 25px 20px 0px 0px;
}

#header .button {
	clear: none;
	margin: 0px 0px 0px 15px;
}

#about p {
	font-size: 20px;
	line-height: 1.5em;
	font-weight: normal;
	text-shadow: 0px 1px 0px #fff;
	color: #666;
	clear: both;
}

/* content */


hr {
	border-top: 1px solid #e3e3e3;
	border-bottom: 1px solid #fcfcfc;
	height: 0px;
}

a {
	color: #006699;
}

a:hover {
	text-decoration: underline;
}

.portfolio {
	text-shadow: 0px 1px 0px #fff;
}

.portfolio .project {
	margin: 40px 10px;
}

.portfolio .preview {
	float: left;
	width: 624px;
	min-height: 429px;
	background: transparent url(../images/preview.png) top left no-repeat;
}

.portfolio .preview .nav {
	position: relative;
	margin-top: 35px;
	float: left;
	width: 100%;
	height: 20px;
}

.portfolio .preview .nav .dots {
	position: absolute;
	float: left;
}

.portfolio .preview .dots li {
	display: block;
	float: left;
	cursor: pointer;
}

.portfolio .preview .dots span {
	margin: 1px 0px 0px 0px;
	display: block;
	width: 16px;
	height: 16px;
	background: transparent url(../images/dots.png) center left no-repeat;
}

.portfolio .preview .dots .active span {
	background-position: center right;
}

.portfolio .preview .arrow {
	display: none;
	width: 20px;
	height: 20px;
}

.portfolio .preview .arrow, .portfolio .preview .arrow:hover, .portfolio .preview .arrow:active {
	cursor: pointer;
}

.portfolio .preview:hover .arrow {
	display: block;
}

.portfolio .preview .arrow.prev {
	background: transparent url(../images/arrow_back.png) center left no-repeat;
	margin: 0px 0px 0px 20px;
	float: left;
}

.portfolio .preview .arrow.next {
	background: transparent url(../images/arrow_next.png) center left no-repeat;
	margin: 0px 20px 0px 0px;
	float: right;
}

.portfolio .preview .pictures {
	width: 600px;
	height: 400px;
	overflow: hidden;
	position:relative;
	top: 12px;
	left: 12px;
}

.portfolio .preview .pictures ul {
	width: 10000px;
	position: absolute;
}

.portfolio .preview .pictures li {
	display: block;
	float: left;
	position: relative;
}

.portfolio .preview .view {
	display: none;
	top: 0px;
	position: absolute;
	height: 100%;
	width: 100%;
	background: transparent url(../images/hover.png);
	cursor: pointer;
}

.portfolio .preview li:hover .view {
	display: block;
}

.portfolio .details {
	float: left;
	margin: 25px 0px 0px 30px;
	width: 286px;
}

.portfolio .details h3 {
	font-size: 24px;
	font-weight: bold;
}

.portfolio .details .skills {
	font-size: 11px;
	text-transform: uppercase;
	color: #999;
	margin-top: 2px;
}

.portfolio .details .info {
	margin: 30px 0px;
}

.portfolio .details p {
	font-size: 12px;
	color: #666;
	line-height: 20px;
}

.portfolio .details p+p {
	margin: 1.4em 0px 0px;
}

.button {
	background: transparent url(../images/button.png) left top no-repeat;
	color: #006699;
	display: block;
	height: 34px;
	padding-left: 12px;
	text-decoration: none;
	float: left;
	clear: left;
	position: relative;
	left: -2px;
}

.button > span {
	background: transparent url(../images/button.png) right top no-repeat;
	display: block;
	height: 100%;
	line-height: 26px;
	padding: 0 30px 0 0;
}

.button > span span {
	color: #aaa;
	font-size: 10px;
	position:relative;
	top:-1px;
}

/* footer */

#footer {
	padding: 15px 0px;
	color: #999;
	text-shadow: 0px 1px 0px #fff;
}

#footer .copyright {
	margin: 0px 0px 0px 15px;
}

#footer ul {
	margin: 0px 20px 0px 0px;
}


#footer ul li {
	float: left;
	margin: 0px 0px 0px 20px;
}

#footer ul li a {
	color: inherit;
}

/* lightbox */

#lightbox {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
}

#lightbox_background {
	background-color: rgba(0,0,0,0.6);
	position: absolute;
	width: 100%;
	height: 100%;
}

#lightbox_content {
	width: 100px;
	height: 100px;
	margin: -50px auto;
	position: relative;
	top: 50%;
	background-color: #fff;
	padding: 10px;
	-moz-box-shadow: 0px 5px 20px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0px 5px 20px rgba(0,0,0,0.5);
}

/* webkit scrollbar */

@media screen and (-webkit-min-device-pixel-ratio:0) {
	body {
		position: relative;
		right: 10px;
	}
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    margin: 0px 10px 0px 0px;
}

::-webkit-scrollbar-button:start:decrement,
::-webkit-scrollbar-button:end:increment {
    display: block;
    height: 10px;
}

::-webkit-scrollbar-button:vertical:increment {
	background-color: #f3f3f3;
}

::-webkit-scrollbar-track-piece {
    background-color: #ccc;
    -webkit-border-radius: 3px;
}

::-webkit-scrollbar-thumb:vertical {
    height: 50px;
    background-color: #999;
    -webkit-border-radius: 3px;
    cursor: pointer;
}

::-webkit-scrollbar-thumb:horizontal {
    width: 50px;
    background-color: #999;
    -webkit-border-radius: 3px;
    cursor: pointer;
}

