#gallery {
	margin-bottom: 1.5em;
	padding-bottom: 0.5em;
/* 	overflow: hidden; */
}
#gallery.gallery-border-bottom {
/* 	border-bottom: 1px #ddd solid; */
}

#gallery .images {
	font-size: 0;
	line-height: 0;
	margin-bottom: 0;
	padding-right: 0;
	position: relative;
	z-index: 900;
	overflow: hidden;
}
#gallery img {
}
.gallery-item {
	display: none;
	cursor: pointer;
	float: left;
	position: absolute;
	background: #EEE;
	text-align: center;
	width: 100%;
}
.gallery-item.n-0 {
	display: block;
}
#gallery .nav {
	list-style: none;
	padding: 10px 0 10px;
	margin: 0;
	position: relative;
	z-index: 999;
	background: #FFF;
	text-align: center;
}
#gallery .nav-item {
	margin: 0;
	display: inline-block;
	font-size: 30px;
	line-height: 10px;
	padding: 3px 0;
	cursor: pointer;
	width: 14px;
	text-align: center;
	opacity: 0.2;
	font-family: sans-serif;
}

#gallery .nav-item.current, #gallery .nav-item:hover {
	opacity: 1;
}

#gallery .nav-arrows {
	position: absolute;
	z-index: 888;
/* 	background: #ffd; */
}
#gallery .nav-arrows .arrow {
	position: relative;
	height: 100%;
	padding: 0 10px;
	cursor: pointer;
	width: 10px;
}
#gallery .nav-arrows .prev {
	float: left;
	left: -30px;
	background-image: url('arrow-prev.png');
	background-repeat: no-repeat;
	background-position: center center;
}
#gallery .nav-arrows .next {
	float: right;
	left: 30px;
	background-image: url('arrow-next.png');
	background-repeat: no-repeat;
	background-position: center center;
}

#gallery .captions {
	font-size: 10px;
	line-height: 13px;
	z-index: 9999;
	position: absolute;
	right: 0;
	display: inline-block;
	display: none;
}
#gallery .caption {
	display: none;
	background: white;
	color: black;
	opacity: 0.6;
	padding: 0.5em 1em;
	text-align: right;
}
#gallery .caption.n-0 {
	display: block;
}

/* GRID ZOOMER */

#loading {
	display: none;
	position: fixed;
	top: 10px;
	right: 10px;
	z-index: 10001;
}
#viewer {
	display: none;
	position: fixed;
	z-index: 10001;
}
#viewer {
	box-shadow: 0px 5px 20px rgba(0,0,0,0.2);
	font-size: 0;
	line-height: 0;
	padding: 5px;
	background: white;
}
#viewer .caption {
	font-size: 12px;
	padding: 6px 2px 2px;
	line-height: 1.1em;
	text-align: right;
}
#curtain {
	display: none;
	position: fixed;
	height: 100%;
	width: 100%;
	background: white;
	opacity: 0.9;
	top: 0;
	left: 0;
	z-index: 9999;
}