/* Photo lightbox for the Fissure site — replaces the old Lightwindow
   (Prototype/Scriptaculous) gallery with the same look. */

#lb-overlay {
	position: fixed;
	inset: 0;
	z-index: 500;
	background: rgba(0, 0, 0, 0.7);
	opacity: 0;
	transition: opacity 0.3s;
}

#lb-window {
	position: fixed;
	z-index: 999;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: 0;
	transition: opacity 0.3s;
}

#lb-overlay.lb-open,
#lb-window.lb-open {
	opacity: 1;
}

#lb-titlebar {
	height: 25px;
	line-height: 25px;
	overflow: hidden;
}

#lb-title {
	float: left;
	color: #ffffbe;
	font-size: 14px;
}

#lb-close {
	float: right;
	color: #ffffbe;
	cursor: pointer;
	text-decoration: none;
}

#lb-close:hover {
	color: #ffffff;
}

#lb-stage {
	position: relative;
	border: 10px solid #ffffff;
	background-color: #ffffff;
	line-height: 0;
}

#lb-image {
	display: block;
}

#lb-prev,
#lb-next {
	position: absolute;
	top: 0;
	width: 49%;
	height: 100%;
	outline: none;
}

#lb-prev {
	left: 0;
}

#lb-next {
	right: 0;
}

#lb-prev:hover {
	background: url(../images/prevlabel.gif) left 15% no-repeat;
}

#lb-next:hover {
	background: url(../images/nextlabel.gif) right 15% no-repeat;
}

#lb-data {
	background-color: #ffffff;
	padding: 0 10px 10px 10px;
}

#lb-details {
	background-color: #f0f0f0;
	padding: 0 10px;
	height: 20px;
	line-height: 20px;
	font-size: 10px;
	color: #666666;
}

#lb-count {
	float: left;
	width: 40%;
	overflow: hidden;
}

#lb-author {
	float: right;
	width: 40%;
	overflow: hidden;
	text-align: right;
	font-style: italic;
}

#lb-caption {
	clear: both;
	padding: 10px 0 0 0;
	color: #666666;
	line-height: 25px;
}
