/* LIGHTUP LIGHTBOX STYLING */

.lightup-overlay {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	display: none;
	text-align: center;
}

.lightup-back {
	background: rgba(0,0,0,0.85);
	cursor: pointer;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	position: absolute;
}

.lightup-img-cont {
	position: relative;
	display: inline-block;
	margin-top: 5%;
	overflow: hidden;
	height: auto;
	width: auto;
	height: 85%;
	width: 96%;
	cursor: pointer;
	opacity: 1;
	-webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.lightup-img-cont.loading {
	opacity: 0;
	cursor: default;
}

.lightup-img {
	width: auto;
	max-height: 100%;
	position: relative;
	display: inline-block;
}

.lightup-close {
	display: inline-block;
	cursor: pointer;
	position: absolute;
	top: 15px;
	right: 15px;
	color: #ffffff;
	opacity: 0.6;
	-webkit-transition: opacity 0.4s;
	transition: opacity 0.4s;
	z-index: 99;
	text-align: right;
	font-size: 26px;
	width: 24px;
	height: 24px;
	/* Change below to affect image used for close button */
	background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAhUlEQVRIid2V3QnAIAyEQ2dwQx2g3VXoOFeh+iKk/uUoGMiTue8wapS9AkBI6Rb0LuWlLXq8EWdMMjxmxtkqGDLp1s6YDGtGBNO77hGutLQJWIZ/gczgismd0wZemRRwMeqCH/J3UFtEPWTqNQXzoYE5KsAcdmCPa9h+OF4rsvgyg2wUIg9yfE2FenyGJQAAAABJRU5ErkJggg==') no-repeat center center;
	background-size: contain;
}

.lightup-close:hover {
	opacity: 1;
}

.lightup-nav {
    position: absolute;
    z-index: 50;
    top: 0;
    bottom: 0;
    width: 60px;
    cursor: pointer;
    opacity: 0.4;
    -webkit-transition: opacity 0.2s;
    transition: opacity 0.2s;
}

.lightup-nav.invis {
    opacity: 0;
    cursor: default;
}

.lightup-nav:not(.invis):hover {
    opacity: 1;
}

.lightup-nav-prev {
    left: 0;
    /* Change below to affect image used for prev button */
    background: url(/assets/_front/images/prev.png) no-repeat center center;
}

.lightup-nav-next {
    right: 0;
    /* Change below to affect image used for next button */
    background: url(/assets/_front/images/next.png) no-repeat center center;
}
