/*
 * Lightbox-FS
 * Copyright 2019
 * Author: Faisal Rashid
 * All Rights Reserved.
 * Use, reproduction, distribution, and modification of this code is subject to the terms and
 * conditions of the MIT license, available at http://www.opensource.org/licenses/mit-license.php
 *
 * Project: https://github.com/FaisalST32/fs-lightbox
 */

.lightbox-image {
    position: fixed;
    top: 50vh;
    left: 50vw;
    transform: translate(-50%, -50%);
    z-index: 50;
    padding: 10px 10px 10px 10px;
    background-color: white;

}

    .lightbox-image img {
        max-height: 70vh;
        max-width: 80vw;
    }

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.7);
}

.lightbox-controls {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    text-align: center;
    color: white;
}
    .lightbox-controls span.lb-next {
        position: fixed;
        top: 50vh;
        right: 5vw;
        font-size: 40px;
        transform: translateY(-50%);
    }

    .lightbox-controls span.lb-prev {
        position: fixed;
        top: 50vh;
        left: 5vw;
        font-size: 40px;
        transform: translateY(-50%);
    }


    .lightbox-controls span.lb-next, .lightbox-controls span.lb-prev {
        cursor: pointer;
        user-select: none;
    }

        .lightbox-controls span.lb-next:active, .lightbox-controls span.lb-prev:active {
            color: darkorange;
        }

img[data-lightbox-index] {
    cursor: pointer;
}

.lightbox-controls span.lb-disabled {
    cursor: default;
    color: gray;
}

.lightbox-counter {
    display: block;
    color: black;
    font-weight: bold;
}

@media screen and (max-width: 991px){
    .lightbox-image img {
        max-width: 70vw;
    }

    .lightbox-controls span.lb-next {
        font-size: 25px;
        right: 10px;
    }

    .lightbox-controls span.lb-prev {
        font-size: 25px;
        left: 10px;
    }
}