html{color:#000;background:#FFF;}textarea,input{outline:none;}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{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}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;}input,textarea,select{*font-size:100%;}legend{color:#000;}

html{ /* YUI fix */
	color: none;
	background: none;
}

body {
	background: #191919;
	font-family: 'Quicksand', 'Verdana', sans-serif;
	font-size: 14px;
	font-weight: bold;
	text-shadow: 0px 2px 0px #000;
}

a:link, a:visited  {
	color: #ffffff;
	text-decoration: none;
}

a:hover {
	color: #ffffff;
	text-decoration: none;
	text-shadow: 0px 0px 8px rgba(255,255,255,0.8), 0px 0px 14px rgba(255,255,255,0.8);
}

#left {
	width: 220px;
	height: 100%;
	padding: 32px;
	color: #ffffff;
	position: fixed;
	background: rgba(0,0,0,0.2);
	z-index: 1;
}

#left .portret img {
	border: 1px solid #ffffff;
}

#left .intro {
	margin: 20px 0px;
}

#left .contact {
	margin: 20px 0px;
}

#left li {
	list-style: none;
	cursor: pointer;
}

#right {
	position: absolute;
	max-width: 100%;
	margin-left: 284px;
	padding: 32px;
}

#right .photo {
	border: 1px solid #ffffff;
	width: 200px;
	height: 200px;
	float: left;
	margin: 0px 60px 60px 0px;
}

#right .photo:hover {
	cursor: pointer;
	
	-moz-animation: hover-in;
	-moz-animation-duration: 0.5s;
	-moz-animation-fill-mode: forwards;
	
	-webkit-animation: hover-in;
	-webkit-animation-duration: 0.5s;
	-webkit-animation-fill-mode: forwards;
}

.photo-out {
	-moz-animation: hover-out;
	-moz-animation-duration: 0.5s;
	-moz-animation-fill-mode: forwards;
	
	-webkit-animation: hover-out;
	-webkit-animation-duration: 0.5s;
	-webkit-animation-fill-mode: forwards;
}

#right .photo img {
	border: 0px;
	position: absolute;
}

#overlay {
	background: rgba(0,0,0,0.5);
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 2;
	text-align: center;
	display: none;
	margin: 0px;
	padding: 0px;
}

#overlay .photo {
	height: 100%;
}

/* Photo hover */
@-moz-keyframes hover-in
{
	from {
		box-shadow: 0px 0px 0px rgba(255,255,255,0.15), 0px 0px 0px rgba(255,255,255,0.15), 0px 0px 0px rgba(255,255,255,0.15);
	}
	to {
		box-shadow: 0px 0px 5px rgba(255,255,255,0.15), 0px 0px 10px rgba(255,255,255,0.15), 0px 0px 20px rgba(255,255,255,0.15);
	}
}

@-moz-keyframes hover-out
{
	from {
		box-shadow: 0px 0px 5px rgba(255,255,255,0.15), 0px 0px 10px rgba(255,255,255,0.15), 0px 0px 20px rgba(255,255,255,0.15);
	}
	to {
		box-shadow: 0px 0px 0px rgba(255,255,255,0.15), 0px 0px 0px rgba(255,255,255,0.15), 0px 0px 0px rgba(255,255,255,0.15);
	}
}

@-webkit-keyframes hover-in
{
	from {
		box-shadow: 0px 0px 0px rgba(255,255,255,0.15), 0px 0px 0px rgba(255,255,255,0.15), 0px 0px 0px rgba(255,255,255,0.15);
	}
	to {
		box-shadow: 0px 0px 5px rgba(255,255,255,0.15), 0px 0px 10px rgba(255,255,255,0.15), 0px 0px 20px rgba(255,255,255,0.15);
	}
}

@-webkit-keyframes hover-out
{
	from {
		box-shadow: 0px 0px 5px rgba(255,255,255,0.15), 0px 0px 10px rgba(255,255,255,0.15), 0px 0px 20px rgba(255,255,255,0.15);
	}
	to {
		box-shadow: 0px 0px 0px rgba(255,255,255,0.15), 0px 0px 0px rgba(255,255,255,0.15), 0px 0px 0px rgba(255,255,255,0.15);
	}
}
