﻿.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;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
.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: #000;
	background: rgba(0, 0, 0, .6);
	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 {
	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 {
	padding: 0px 25px 15px 25px;
	color: #fff;
	text-align: center;
	margin: 0 auto;
}
.imlbClose {
	background: #ed1c24;
	display: block;
	height: 2.9em;
	overflow: hidden;
	position: absolute;
	right: 0;
	top: 0;
	width: 2.9em;
}
.imlbClose::before,
.imlbClose::before {
	background: -moz-linear-gradient(-45deg, rgba(102,45,145,0) 0%, rgba(102,45,145,0) 25%, rgba(102,45,145,1) 100%);
	background: -webkit-linear-gradient(-45deg, rgba(102,45,145,0) 0%,rgba(102,45,145,0) 25%,rgba(102,45,145,1) 100%);
	background: linear-gradient(135deg, rgba(102,45,145,0) 0%,rgba(102,45,145,0) 25%,rgba(102,45,145,1) 100%);
	content: '';
	display: block;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00662d91', endColorstr='#662d91',GradientType=1 );
	height: 100%;
	left: 101%;
	position: absolute;
	top: 0;
	transition: .25s;
	width: 100%;
}
.imlbClose:hover::before,
.imlbClose:hover::before,
.imlbClose:active::before,
.imlbClose:active::before {
	left: 0%;
}
.imlbClose::after,
.imlbClose::after {
	background: url(../../images/close-white.png) no-repeat center;
	background-size: contain;
	bottom: 0;
	content: '';
	display: block;
	height: 1.1em;
	left: 0;
	margin: auto;
	position: absolute;
	right: 0;
	top: 0;
	width: 1.1em;
}
.imlbNoScroll {
	overflow: hidden;
}
.imlbHidden {
	display: none;
}
.imlbWrap .imlbCaption {
	bottom: 1em;
	color: #fff;
	display: block;
	font-size: .8em;
	line-height: 1.25em;
	margin: 0 auto;
	max-width: 67.5em;
	/*padding: 1.1em 0;*/
	padding: 0;
	position: relative;
	width: 90%;
	text-align:left;
}
@media screen and (max-width: 767px) {
	.imlbWrap .imlbDisplay {
		padding: 65px 20px;
	}
	.imlbWrap .imlbControls {
		max-height: 30%;
		top: auto;
		bottom: 0;
		margin: 0;
		height: 60px;
	}
	.imlbWrap .imlbCaption {
		font-size: 12px;
		line-height: 20px;
	}
	.imlbPrev::before, .imlbPrev:before, .imlbNext::after, .imlbNext:after {
		width: 13px;
		height: 30px;
	}
}
