﻿.imlbWrap {
	position: fixed;
	display: none;
	vertical-align: middle;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	padding: 0 0 0 0;
	z-index: 9999;
	text-align: center;
	background: #000;
	background: rgba(0,0,0,.8);
	box-sizing: border-box;
}
.imlbWrap a {
	text-decoration: none;
}
.imlbWrap::before, .imlbWrap:before {
	content: '';
	position: relative;
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}
.imlbContent {
	position: absolute;
	top: 0px;
	background: #081f2c;
	vertical-align: middle;
	width: 100%;
	height: 100%;
}
.imlbDisplay {
	box-sizing: border-box;
	max-height: 100%;
	padding: 35px 100px;
	position: relative;
}
.imlbDisplay div {
	position: relative;
}
.imlbDisplay div img {
	border: 1px solid #fff;
	display: block;
	width: auto;
	max-height: 100%;
	height: auto;
	object-fit: contain;
}
.imlbDisplay .video {
	cursor: pointer;
}
.imlbDisplay img {
	display: block;
	margin: auto;
	width: auto;
	height: auto;
	max-height: 100%;
	max-width: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	object-fit: cover;
}
.imlbControls {
	position: fixed;
	top: 50%;
	width: 100%;
}
.imlbPrev,
.imlbNext {
	background: url(images/arrow-white-lightbox.png) no-repeat center;
	background-size: auto 2rem;
	color: #fff;
	display: block;
	font-size: 0;
	font-weight: normal;
	height: 5rem;
	opacity: .5;
	position: absolute;
	text-transform: uppercase;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	transform-origin: center;
	transition: .25s;
	width: 6.6rem;
}
.imlbPrev {
	left: 0;
	-webkit-transform: rotate(180deg) translateY(50%);
	-ms-transform: rotate(180deg) translateY(50%);
	transform: rotate(180deg) translateY(50%);
}
.imlbPrev:hover,
.imlbPrev:active,
.imlbNext:hover,
.imlbNext:active {
	opacity: 1;
}
.imlbNext {
	right: 0;
}
.imlbCaption {
		color: #fff;
		display: block;
		font-size: .8em;
		line-height: 1.25em;
		margin: 0 auto;
		max-width: 67.5em;
		padding: 1.1em 0;
		position: relative;
		width: 100%;
}
.imlbClose { background: url(images/close-white.png) no-repeat center; background-size: 1.5em auto; display: block; height: 4em; position: absolute; right: 0; top: 0; width: 4em; }
.imlbNoScroll {
	overflow: hidden;
}
.imlbHidden {
	display: none;
}
@media screen and (max-width: 767px) {
	.imlbWrap .imlbClose {
		height: 65px;
		width: 65px;
		background-size: 15px auto;
	}
	.imlbWrap .imlbDisplay {
		padding: 65px 20px;
	}
	.imlbWrap .imlbControls {
		max-height: 30%;
		top: auto;
		bottom: 0;
		margin: 0;
		height: 60px;
	}
	.imlbWrap .imlbCaption {
		bottom: 2em;
		color: #fff;
		display: block;
		font-size: .8em;
		line-height: 1.25em;
		margin: 0 auto;
		max-width: 67.5em;
		padding: 1.1em 0;
		position: relative;
		width: 90%;
	}
	.imlbPrev::before, .imlbPrev:before, .imlbNext::after, .imlbNext:after {
		width: 13px;
		height: 30px;
	}
}
