/*   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.9);
    display: none;
    z-index: 3000 !important;
    top: 0 !important;
    left: 0 !important;
}

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

.lightbox .img-show figcaption {
    /* background: rgba(0, 0, 0, 0.3); */
    padding: 10px;
    position: absolute;
    bottom: 9px;
    display: block;
    z-index: 101;
    color: #000;
    /* text-shadow: 1px 0.4px rgba(0, 0, 0, 0.5); */
    width: 100%;
    box-sizing: border-box;
    text-align: center !important;
}

.lightbox .btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    text-align: center;
    font-size: 18pt;
    z-index: 101;
    cursor: pointer;
    box-shadow: none !important;
    background-image: url('data:image/svg+xml;utf8,<?xml version="1.0" encoding="utf-8"?><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 14.2 14.2" style="enable-background:new 0 0 14.2 14.2;" xml:space="preserve"><style type="text/css">.st0{fill:none;stroke:%23000000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}</style><line class="st0" x1="1.4" y1="12.8" x2="12.8" y2="1.4"/><line class="st0" x1="12.7" y1="12.7" x2="1.5" y2="1.5"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
}

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

.img-show img {
    display: block;
    margin: auto;
}


/* Next and Previous Buttons */

.btn-prev,
.btn-next {
    width: 50vw;
    height: 100vh;
    cursor: pointer;
    position: absolute;
    top: 0;
    background-color: transparent;
    margin-top: -50px;
    z-index: 101;
    border: 0;
    font-size: 18pt;
    border-radius: 5px;
}

.btn-prev:hover,
.btn-next:hover {
    transition: 0.4s;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -ms-transition: 0.4s;
    -o-transition: 0.4s;
}

.btn-prev {
    left: 5px;
}

.btn-next {
    right: 5px;
}

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