/* SLIMBOX */

#lbOverlay {
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	cursor: pointer;
}

#lbCenter, #lbBottomContainer {
	position: absolute;
	z-index: 9999;
	overflow: hidden;
	background-color: #fff;
}

#lbBottomContainer {
	top: -100px;
}

.lbLoading {
	background: #fff url(loading.gif) no-repeat center;
}

#lbImage {
	position: absolute;
	left: 0;
	top: 0;
	border: 40px solid #fff;
	border-width: 40px 60px 20px 60px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

#lbPrevLink, #lbNextLink {
	display: block;
	position: absolute;
	top: 0;
	width: 50%;
	outline: none;
}

#lbPrevLink {
	left: -40px;
}

#lbPrevLink {
	background: transparent url(prevlabel.png) no-repeat 0 50%;
}

#lbNextLink {
	right: -40px;
}

#lbNextLink {
	background: transparent url(nextlabel.png) no-repeat 100% 50%;
}

#lbBottom {
	text-align: left;
	border: 10px solid #fff;
	border-top-style: none;
}

#lbCloseLink {
	display: block;
	float: right;
	width: 76px;
	height: 22px;
	background: transparent url(closelabel.gif) no-repeat center;
	margin: 5px 0;
	outline: none;
}

#lbCaption, #lbNumber {
	margin-left: 50px;
	margin-right: 71px;
}

#lbCaption {
	color: #0f3959;
	font-size: 1.4rem;
	line-height: 1.2em;
}

#lbImage {
	max-height: 80vh;
	max-width: 90vw;
}
#lbImage div {
	max-height: 80vh;
	max-width: 90vw;
}

@media only screen 
and (max-height : 737px) {
	#lbImage {
		max-height: 90vh;
		max-width: 98vw;
	}
	#lbImage div {
		max-height: 90vh;
		max-width: 98vw;
	}
}