/*   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;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.90);
    display: none;
}

.lightbox .img-show {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    height: 80%;
    width: 80%;
    box-sizing: border-box;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 10%;
}

.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;
    background: none;
    font-size: 30pt;
    z-index: 101;
    cursor: pointer;
    color: #fff;
    border: 0px;
}

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

.img-show img {
    margin: 0 auto;
    max-width: 100%;
    max-height: 100%;
    display: block;
}


/* Next and Previous Buttons */

.btn-prev,
.btn-next {
    width: 80px;
    height: 32px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    margin-top: -40px;
    z-index: 101;
    border: 0;
    border-radius: 5px;
}

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

.btn-prev {
    left: -8px;
    rotate: 90deg;
    background: rgba(0, 0, 0, 0.30) url(../images/arrow-w.svg) no-repeat center center;
}

.btn-next {
    right: -8px;
    rotate: -90deg;
    background: rgba(0, 0, 0, 0.30) url(../images/arrow-w.svg) no-repeat center center;
}

.btn-prev:hover {
    background: #d1251a url(../images/arrow-w.svg) no-repeat center center;
}

.btn-next:hover {
    background: #d1251a url(../images/arrow-w.svg) no-repeat center center;
}