/*   Project: Popup Lightbox 
 *   Author: Asif Mughal
 *   URL: www.codehim.com
 *   License: MIT License
 *   Copyright (c) 2019 - Asif Mughal
 */
 
/* File: popup-lightbox.css */

.lightbox {
	position: fixed;
	background: rgba(0, 0, 0, 0.90);
	display: none;
	z-index: 100;
}

.lightbox .img-show {
	position: absolute;
	height: 100%;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
}

.img-caption {
	background: rgba(0, 0, 0, 0.6);
	padding: 2em;
	position: absolute;
	bottom: 0;
	display: block;
	z-index: 101;
	color: #fff;
	width: 100%;
	box-sizing: border-box;
    font-family: sans-serif;
    letter-spacing: 0.03em;
}

.lightbox .btn-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 32px;
	height: 32px;
	border: 0.1em solid #fff;
	background: #F0B047;
	border-radius: 50%;
	text-align: center;
	font-size: 1.5em;
	z-index: 101;
	cursor: pointer;
}

.lightbox .btn-close:hover {
	background: #fff;
}

.lightbox .lightbox-status {
	position: absolute;
	top: 20px;
	left: 20px;
	color: #fff;
	font-size: 1em;
	z-index: 101;
    font-family: sans-serif;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.3em;
}

.img-show img {
	width: 100%;
	height: auto;
	position: absolute;
	display: block;
	top: 0;
	bottom: 0;
	margin: auto;
}


/* Next and Previous Buttons */

.btn-prev,
.btn-next {
	width: 32px;
	height: 60px;
	background: rgba(240, 176, 71, 0.8);
	cursor: pointer;
	position: absolute;
	top: 52%;
	margin-top: -50px;
	z-index: 101;
	border: 0;
	font-family: FontAwesome;
	color: #fff;
	color: rgba(255, 255, 255, 0.9);
	font-size: 18pt;
    font-weight: 700;
	border-radius: 5px;
}

.btn-prev:hover,
.btn-next:hover {
	background: rgba(240, 176, 71, 0.8);
	color: #fff;
	transition: .4s;
	-webkit-transition: .4s;
	-moz-transition: .4s;
	-ms-transition: 0.4s;
	-o-transition: .4s;
}

.btn-prev {
	left: 5px;
}

.btn-next {
	right: 5px;
}

.btn-prev:before {
	content: "\f104";
}

.btn-next:before {
	content: "\f105";
}

@media only screen and ( min-width: 680px) {
	.lightbox {
		border-radius: 5px;
		box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
	}
}
