	
	.demo{position:relative;margin-top:2em;}
	.gallery_demo{width:702px;margin:0 auto;}
	.gallery_demo li{width:68px;height:50px;border:3px double #111;margin: 0 2px;background:#000;}
	.gallery_demo li div{left:200px}

	
	/*#main_image{
	margin:0 auto 60px auto;
	height:438px;
	width:700px;
	background:black;}
	
	#main_image img{margin-bottom:10px;}*/
	
	/* previous/next buttons */
	
.nav {
	padding-top:20px;
	clear:both;
	font-family:arial, sans-serif;
	font-size: 3em;
	line-height: 0.5em;
	letter-spacing:3px;
	text-transform:uppercase;
	text-align: center;
	}
	
.nav a {
	color: #000;
	text-decoration: none;
	
}

.nav a:hover {
	color: #FFF;
	background-color: #007eff;
	
}

.nav a:active {
	color: #DEDEDE;
	background-color: #0074ea;
	
}	
	

	
img.replaced {
	max-height: 600px;
	max-width: 800px;

}

.caption {
	font-family: "helvetica neue," helvetica, arial, sans-serif;
	font-weight: bold;
	font-size: 0.8em;
	text-transform: uppercase;
	line-height: 1em;
	text-align: center;
	letter-spacing: 1px;
	}

.galleria_container {
	text-align: center;
	padding-bottom: 0px;
	
}

.galleria_wrapper {
	padding-bottom: 10px;
}
/*
.gallery gallery_demo galleria ul {
	display:inline;
}*/


.gallery {
	list-style:none;
	width:800px
}



.gallery li {
	display:inline;
	width:80px;height:80px;
	overflow:hidden;
	float:left;
	margin: 8px;

	}
	
.gallery li a{
	display:none
	}
	
.gallery li div {
	position:absolute;
	visibility: hidden;
	top:0;
	left:0px;
	}
	
.gallery li div img {
	cursor:pointer
	}
	
.gallery li.active div img,.gallery li.active div {
	display:inline;
	}
	
.gallery li img.thumb {
	cursor:pointer;
	top:auto;
	left:auto;
	display:inline;
	width:auto;
	height:auto;
	}
	
.gallery li .caption {
	display:block;
	padding-top:.5em
	
	}
	

* html .gallery li div span {
	width:400px
	
	} /* MSIE bug */