/**
 * WPS Lightbox css properties.
 *
 * ########################################################
 * This is a core file of this Plugin!
 * To prevent any malfunction, do not change this file!
 * ########################################################
 *
 * @package wps\lightbox
 * @author Michael Ligabue
 * @copyright 2017 GF-IT GmbH
 * @license http://themeforest.net/licenses
 */
/**
 * #.# Main wrapper
 *
 * Main lightbox wrapper properties
 */
 
#wps-lb-wrapper,
#wps-lb-wrapper section,
#wps-lb-wrapper div,
#wps-lb-wrapper button{
	display: block;
	position: relative;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#wps-lb-wrapper{
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 10000;
	-webkit-transform: translate(0);
	-moz-transform: translate(0);
	transform: translate(0);
	text-align: center;
}

/**
 * #.# Overlay
 *
 * Properties for the overlay div
 */

#wps-lb-wrapper #wps-lb-overlay{
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	opacity: .8;
	background-image: url(img/loading.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 30px auto;
}

/**
 * #.# Controls
 *
 * Properties for the controls wrapper and single controls
 */
 
#wps-lb-wrapper #wps-lb-ctrl-wrapper{
	display: block;
	position: static;
	top: 0;
}
	
#wps-lb-wrapper .wps-lb-ctrl-arr-left,
#wps-lb-wrapper .wps-lb-ctrl-arr-right,
#wps-lb-wrapper .wps-lb-ctrl-close,
#wps-lb-wrapper .wps-lb-index{
	position: fixed;
	padding: 0;
	border: none;
	background-position: center center;
	background-repeat: no-repeat;
	z-index: 100;
}

#wps-lb-wrapper .wps-lb-index{
	display: none;
}

#wps-lb-wrapper .wps-lb-ctrl-arr-left,
#wps-lb-wrapper .wps-lb-ctrl-arr-right{
	display: none;
	width: 40px;
	height: 40px;
	top: 50%;
	background-size: auto 50%;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	transform: translateY(-50%);
}

#wps-lb-wrapper .wps-lb-ctrl-active .wps-lb-ctrl-arr-left,
#wps-lb-wrapper .wps-lb-ctrl-active .wps-lb-ctrl-arr-right{
	display: block;
}

#wps-lb-wrapper .wps-lb-ctrl-arr-left{
	left: 30px;
}

#wps-lb-wrapper .wps-lb-ctrl-arr-right{
	right: 30px;
}

#wps-lb-wrapper .wps-lb-ctrl-close{
	width: 40px;
	height: 40px;
	top: 0;
	right: 30px;
	border-radius: 0;
}

#wps-lb-wrapper .wps-lb-ctrl-active .wps-lb-index{
	display: block;
	bottom: 0;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	transform: translateX(-50%);
	color: #fff;
	text-shadow: 0 0 5px rgba(20,20,20,.5);
	font-size: 14px;
}

#wps-lb-wrapper .wps-lb-index span{
	display: inline-block;
	padding: 10px 5px;
}

#wps-lb-wrapper .wps-lb-index #wps-lb-index-length{
	opacity: .6;
}
	
/**
 * #.# Content
 *
 * Content and image properties
 */

#wps-lb-wrapper #wps-lb-cont{
	display: inline-block;
	padding: 40px 0;
	margin: 0;
	width: 100%;
	height: 100%;
}

#wps-lb-wrapper #wps-lb-cont:before{
	display: inline-block;
	position: relative;
	content: '';
	width: 0;
	height: 100%;
	vertical-align: middle;
}

#wps-lb-wrapper #wps-lb-cont img{
	display: none;
	position: relative;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	vertical-align: middle;
	opacity: 1;
}