.galleria{list-style:none;width:200px;}
.galleria li{display:block;width:80px;height:80px;overflow:hidden;float:left;margin:0 10px 10px 0;}
.galleria li a{display:none;}
.galleria li div{position:absolute;display:none;top:0;left:180px;}
.galleria li div img{cursor:pointer;}
.galleria li.active div img,.galleria li.active div{display:block;}
.galleria li img.thumb{cursor:pointer;top:auto;left:auto;display:block;width:auto;height:auto;}
.galleria li .caption{display:block;padding-top:.5em;}
* html .galleria li div span{width:400px;} /* MSIE bug */

a{color:#FFF;text-decoration:none;outline:none;}
a:hover{color:#515151;}
.caption{font-style:italic;color:#887;}
.gallery_demo{width:845px;margin:0 auto;}
.gallery_demo li{width:55px;height:40px;border:3px double #111;margin: 0 2px;background:#000;}
.gallery_demo li div{left:240px}
.gallery_demo li div .caption{font:italic 0.7em/1.4 Verdana,serif;}

#main_image{margin:20px auto;height:450px;width:835px;background:black;}
#main_image img{margin-bottom:10px;}

.nav{padding-top:15px;clear:both;font:0.7em 'helvetica neue',sans-serif;letter-spacing:3px;text-transform:uppercase;}
.nav a{color:#fff;}
.nav a:hover{color:#515151;}

.galleria_wrapper {height:450px;margin: auto;}
.replaced {height: 450px; margin: auto;}
.replaced2 {max-height: 450px;width: 835px;margin: auto;}

.prev {
	position: absolute;
	width: 420px;
	height: 450px;
	cursor: pointer;
}
.next {
	position: absolute;
	margin-left: 420px;
	width: 415px;
	height: 450px;
	cursor: pointer;
}
.prev:hover {
	background-position: left 150px;
	background-image: url('../img/prev.png');
	background-repeat: no-repeat;
}
.next:hover {
	background-position: right 150px;
	background-image: url('../img/next.png');
	background-repeat: no-repeat;
}
#test {
width: 300px
height: 300px;
}