﻿#objectContent img[data-zoomable=true] {
	cursor: pointer;
	cursor: -webkit-zoom-in; 
	cursor: -moz-zoom-in;
}
#objectContent .image-zoom,
#lightbox .button span {
	background-color: transparent;
	background-image: url(/sites/mainweb/img/desktop/sprite_lightbox.png);
	background-repeat: no-repeat;
	background-position: center center;
}
#objectContent .image-zoom {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 23px;
	height: 23px;
	background-position: center -35px;
	cursor: pointer;
	cursor: -webkit-zoom-in;
	cursor: -moz-zoom-in;
	opacity:.4;
}
#objectContent #media-list .image-zoom { /* 1px border am img */
	left:1px;
	bottom:1px;
}
#objectContent .visual:hover .image-zoom {
	background-color:rgba(0,0,0,.6);
	opacity:1;
}
#lightbox {
	position:fixed;
	top:-100%;
	width:100%;
	height:100%;
	background:#333;
	opacity:0;
	-webkit-transition: opacity .25s ease-in-out;
	-moz-transition: opacity .25s ease-in-out;
	-o-transition: opacity .25s ease-in-out;
	transition: opacity .25s ease-in-out;
	z-index:1500;
}
#lightbox.active {
	top:0;
	opacity:1;
}
#lightbox .content {
	width: 100%;
	height: 100%;
	text-align:center;
}
#lightbox img,
#lightbox .video iframe {
	-webkit-box-shadow: 0 0 40px 0px #000;
	-moz-box-shadow: 0 0 40px 0px #000;
	box-shadow: 0 0 40px 0px #000;
}
#lightbox img {
	position: absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	width: auto;
	height:auto;
	max-height: 90%;
	max-width: 90%;
	margin: auto;
}
#lightbox iframe.document {
	width:90%;
	height:100%;
	max-width:800px;
	border:none;
	margin:0 auto;
}
#lightbox .video iframe {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: #000;
}
#lightbox .outer {
	width: 70%;
	margin: auto;
	display: inline-block;
	vertical-align: middle;
}
#lightbox .inner {
	height: 0px;
	padding-bottom: 56.25%;
	position: relative;
}
#lightbox .video {
	text-align: center;
	height: 100%;
}
#lightbox .video:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}
#lightbox .button {
	opacity: .7;
	cursor: pointer;
	z-index:100;
}
#lightbox .button:hover,
#lightbox .button.active {
	opacity: 1;
}
#lightbox .button.close {
	position: fixed;
	top: 10px;
	right: 10px;
	height: 35px;
	width: 35px;
}
#lightbox .button.close span { 
	display:block;
	height: 35px;
	width: 35px;
	background-position: center top;
}
#lightbox .button.previous,
#lightbox .button.next {
	position: absolute;
	top: 30%;
	width: 45px;
	height: 40%;
	margin-top: -20px;
}
#lightbox .button.previous span,
#lightbox .button.next span {
	display: block;
	position: absolute;
	top: 50%;
	width: 100%;
	height: 40px;
	margin-top: -20px;
}
#lightbox .button.previous {
	left: 0;
}
#lightbox .button.next {
	right: 0;
}
#lightbox .button.previous span {
	background-position: center -58px;
}
#lightbox .button.next span {
	background-position: center bottom;
}
