html, body {
	background: black;
	text-shadow: 0 0 0.2em #666;
}

body {
 	font: 14px Helvetica, Arial, sans-serif;
	overflow: hidden;
}

a, a:visited {
 	color: #00B7FF;
}

.menu {
	padding: 1em;
	color: white;
	background: black;
	background: rgba(0, 0, 0, .4);
	position: relative;
	z-index: 20;
	border: 1px solid #000;
	width: 220px;
	min-height: 100px;
	left: 50px;
	top: -1px;
	border-radius: 0 0 8px 8px;
}
	
.menu,
.gallery li,
.photo a {
	box-shadow:
		2px 2px 5px rgba(0, 0, 0, .5),
		-2px -2px 5px rgba(0, 0, 0, .5);
}

.menu > a,
.menu > a:visited {
	background-image: url(../images/logo.png);
	background-position: left top;
	background-repeat: no-repeat;
	font-weight: bold;
	font-size: 20px;
	line-height: 40px;
	height: 60px;
	text-decoration: none;
	display: block;
	padding: 0 0 0 50px;
	color: white;
}

.menu ul a {
	display: inline-block;
	margin-top: 1em;
}

.gallery {
	overflow: hidden;
	width: 1000px;
	background: transparent;
	position: fixed;
	left: 25px;
	bottom: 25px;
	z-index: 20;
	padding: 25px;
	height: 66px;
}

.gallery li {
	float: left;
	background: black;
	border: 1px solid black;
	width: 50px;
	height: 50px;
	overflow: hidden;
}

.gallery li:hover,
.gallery .active {
	border-color: #eee;
}

.gallery li:hover {
	width: 75px;
	height: 75px;
	position: relative;
	top: -12px;
	left: -12px;
	margin-right: -25px;
	z-index: 25;
}

.gallery li:hover img {
	top: 0;
	left: 0;
}

.gallery img {
	width: 75px;
	height: 75px;
	display: block;
	margin: 0 auto;
	position: relative;
	top: -12px;
	left: -12px;
	opacity: 0.75;
}

.gallery .active img,
.gallery li:hover img {
	opacity: 1;
}

.photo {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: black;
}

.photo .level {
	z-index: 2;
	background-repeat: no-repeat;
	/*
    -moz-transition: all 0.1s ease-out;
    -o-transition: all 0.1s ease-out;
	-webkit-transition: all 0.1s ease-out;
	*/
}

.photo .level + .level {
	z-index: 1;
}

.photo img {
	display: block;
	margin: 0 auto;
	position: absolute;
}

.photo .loader {
	visibility: hidden;
}

.photo a {
	z-index: 5;
	position: fixed;
	bottom: -1px;
	right: 50px;
	font-weight: bold;
	background: black;
	background: rgba(0, 0, 0, .4);
	border: 1px solid #000;
	padding: 1em;
	border-radius: 4px 4px 0 0;
}

@-moz-keyframes loading {
    0% {
    	opacity: 1.0; 
   	}
    50% {
    	opacity: 0.75;
   	}
    100% {
    	opacity: 0.5;
   	}
}

@-webkit-keyframes loading {
    0% {
    	opacity: 1.0; 
   	}
    50% {
    	opacity: 0.75;
   	}
    100% {
    	opacity: 0.5;
   	}
}

@-ms-keyframes loading {
    0% {
    	opacity: 1.0; 
   	}
    50% {
    	opacity: 0.75;
   	}
    100% {
    	opacity: 0.5;
   	}
}

@keyframes loading {
    0% {
    	opacity: 1.0; 
   	}
    50% {
    	opacity: 0.75;
   	}
    100% {
    	opacity: 0.5;
   	}
}

img.loading {
	-moz-animation-name: loading;
	-moz-animation-duration: 2s;
	-moz-animation-iteration-count: infinite;
	-moz-animation-direction: alternate;
	-moz-animation-timing-function: ease-in-out;
	-webkit-animation-name: loading;
	-webkit-animation-duration: 2s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-direction: alternate;
	-webkit-animation-timing-function: ease-in-out;
	-ms-animation-name: loading;
	-ms-animation-duration: 2s;
	-ms-animation-iteration-count: infinite;
	-ms-animation-direction: alternate;
	-ms-animation-timing-function: ease-in-out;
	animation-name: loading;
	animation-duration: 2s;
	animation-iteration-count: infinite;
	animation-direction: alternate;
	animation-timing-function: ease-in-out;
}

.next,
.previous {
	position: fixed;
	top: 0;
	width: 25%;
	height: 100%;
	z-index: 15;
	cursor: pointer;
}

.next {
	right: 0;
}
