﻿#lightbox{
	position: fixed;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	background-color: rgba(0,0,0,0.9);
	display: none;
	z-index: 999999;
}

#lightbox-inner{
	display: grid;
	height: 100%;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	position: relative;
}

#lightbox-previous{
	position: absolute;
	top: 50%;
	left: 0px;
	width: 200px;
	height: 200px;
	transform: translateY(-50%);
	cursor: pointer;
	z-index: 4;
	text-align: left;
}

#lightbox-previous img{
	width: 50px;
	position: absolute;
	left: 0px;
	top: 50%;
	transform: translateY(-50%);
}

#lightbox-next{
	position: absolute;
	top: 50%;
	right: 0px;
	width: 200px;
	height: 200px;
	transform: translateY(-50%);
	cursor: pointer;
	z-index: 4;
	text-align: right;
}

#lightbox-next img{
	width: 50px;
	position: absolute;
	right: 0px;
	top: 50%;
	transform: translateY(-50%);
}

#lightbox-close{
	position: absolute;
	top: 0px;
	right: 0px;
	width: 50px;
	height: 50px;
	cursor: pointer;
	z-index: 4;
}

#lightbox-close img{
	width: 20px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
}

#lightbox-count{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100px;
	height: 50px;
	padding: 8px 15px;
	font-size: 16px;
	color: #fff;
	z-index: 4;
}

.lightbox-img{
	max-width: 100%;
	max-height: 100vh;
	margin: auto;
	position: relative;
	z-index: 3;
}

#lightbox-inner-cover{
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	z-index: 1;
}

#lightbox-title{
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 16px;
	color: #fff;
	z-index: 4;
	width: 100%;
	text-align: center;
}