/*   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: 99999999;
    overflow: visible !important;
    
}

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

.img-caption {
    background: rgba(8, 53, 93, 0.6);
    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;
    font-weight: 100;
    line-height: 25px;
}

.lightbox .btn-close {
    position: absolute;
    top: -31px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-align: center;
    font-size: 18pt;
    z-index: 99999999;
    cursor: pointer;
    background: none;
    border: 0;
    color: #FFF;
}

.lightbox .btn-close:hover {

}

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

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


/* Next and Previous Buttons */

.btn-prev,
.btn-next {
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.30);
    position: absolute;
    top: 60%;
    margin-top: -50px;
    z-index: 101;
    border: 0;
    border-radius: 5px;
    background-size: 10px !important;
}

.btn-prev {
    left: 5px;
    background:url('../images/icon/arrow-left-album.png') no-repeat;left: -30px;
}

.btn-next {
    right: 5px;
    background:url('../images/icon/arrow-right-album.png') no-repeat;right: -45px;
}

.btn-prev:before {
}

.btn-next:before {
}

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