/*---------- Containers ------------------------------------*/


#lightbox {
            display:none;
            /*padding:2px;*/
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50.5%);        /*trick to center fixed position*/
            z-index:21;
            /*background-color: #fff;*/
            box-sizing: border-box;
        }

#photoOverlay {
                background-color: rgba(255,255,255,.9);
                height: 100%;
                width:100%;
                 position: fixed;
                left: 0;
                top: 0;
                overflow: auto;
                z-index:20;
                }



/*----------Popup content ------------------------------------*/


.vertical, .horizontal {
    height: auto;
    width:92vw;
}

/*mobile turned horizontal*/
@media (max-height: 400px) {

    .vertical, .horizontal {
        height: 79vh;
        width:auto;
    }
}


@media (min-width: 600px) {



    .vertical  {
        height: 93vh;
        width:auto;
    }

}

@media (min-width: 1200px) {

    .horizontal {
        height: 80vh;
        width:auto;
    }
}

@media (min-width: 1400px) {

    .horizontal {
        height: 93vh;
        width:auto;
    }
}




/*---------- Next/prev buttons ------------------------------------*/

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    z-index:30;

}

/* Position the "next button" to the right */
.next {
    right: 0;
    margin-right:3px;
    border-radius: 3px 0 0 3px;
}

.prev {
    margin-left:3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


/*---------- Lightbox close button  ------------------------------------*/

#clsBtnLb {
    font-family: "raleway light", "calibri", sans-serif;
    font-size:2.8em;
    line-height: 35px;
}

#closeLightbox {
    background-color:white;
    width: 40px;
    height: 40px;
    /*z-index:333;*/
    position:absolute;
    top:0;
    right:0;
    transition: 0.6s ease;
    text-align:center;
}


@media (min-width: 850px) {

    #closeLightbox {

        width: 40px;
        height: 40px;
        position:absolute;
        top:0;
        right:-42px;
    border: 1px solid black;

    }
}





