/*   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;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-caption {
	background: rgba(0, 0, 0, 0.3);
	padding: 10px;
	position: absolute;
	bottom: 0;
	display: block;
	z-index: 101;
	color: #fff;
	text-shadow: 1px 0.4px rgba(0, 0, 0, 0.5);
	width: 100%;
	box-sizing: border-box;
}

.lightbox .btn-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 32px;
	height: 32px;
border: 0px;
	background: transparent;
/*	border-radius: 50%;*/
	text-align: center;
	font-size: 30px;
	z-index: 101;
/*    line-height: 23px;*/
	cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}


.lightbox .lightbox-status {
	position: absolute;
	top: 20px;
	left: 20px;
	color: #fff;
	font-size: 14px;
	z-index: 101;
}

.img-show img {
	width: 700px;
	height: 467px;
	position: absolute;
	display: block;
	top: 0;
	bottom: 0;
	margin: auto;
    border-radius: 10px;
}

@media only screen and (max-width: 767px) {
  .img-show img { 
   width: 100%;
	height: auto;
  }
}


/* Next and Previous Buttons */

.btn-prev,
.btn-next {
	width: 32px;
	height: 100px;
/*	background: rgba(0, 0, 0, 0.30);*/
    background: transparent;
	cursor: pointer;
	position: absolute;
	top: 50%;
	margin-top: -50px;
	z-index: 101;
	border: 0;
	font-family: FontAwesome;
	color: #fff;
	color: rgba(255, 255, 255, 0.6);
	font-size: 18pt;
	border-radius: 5px;
}

.btn-prev:hover,
.btn-next:hover {
/*	background: rgba(0, 0, 0, 0.7);*/
/*	color: #fff;*/
    background: transparent;
	transition: .4s;
	-webkit-transition: .4s;
	-moz-transition: .4s;
	-ms-transition: 0.4s;
	-o-transition: .4s;
}

.btn-prev {
	left: 5px;
}

.btn-next {
	right: 10px;
}

.btn-prev:before {
	content: ".";
    background-image: url("../images/left-arrow.svg")!important;
    background-position: left top!important;
    background-repeat: repeat!important;
    background-size: 100% 100%;
    width: 28px;
    height: 36px;
    color: #000;
    display: block;
}

.btn-next:before {
	content: ".";
    background-image: url("../images/right-arrow.svg")!important;
    background-position: left top!important;
    background-repeat: repeat!important;
    background-size: 100% 100%;
    width: 28px;
    height: 36px;
    color: #000;
    display: block;
}

.lightbox {
    width: 100%!important;
    height: 100%!important;
}


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