/* Gallery Images */
figure {
    margin: 0px;
}

.imgEntry, .imgFalseEntry {
    display: none;
    width: 31%;
    padding: 1.1%;
}

.shownEntry:hover {
    cursor: pointer;
}

.imgEntry img{
    width: 100%;
}

.imgEntry figcaption {
    padding: 5px;
    text-align: center;
}

.flex_wrap {
    display: flex;
    justify-content : space-between;
    flex-wrap: wrap;
}

.imgEntry /*.description*/{
    display: none;
}

/* Button Extras */

.gallery_btn {
    width: 15%;
    margin: 0 1%;
}

.gallery_constrain {
    width: 60%;
    padding: 1%;
}

.categoryBtn {
    padding: 1%;
    padding-bottom: 0;
}


/* Show Images */
.g_show {
    display: block;
}

/**** Lightbox ****/
.flexWrapper{
    display: flex;
    justify-content: center;
    align-items: center;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;
}

#lightbox {
    display: none;
    z-index: 1;

    position: fixed;
    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.7);
}

#lightbox .closeLightBox {
    position: absolute;
    top: 40px;
    right: 40px;

    font-size: 30px;
    color: rgba(255,255,255, 0.75);
    z-index: 10;
}

#lightbox .leftArrow {
    position: absolute;
    top: 50%;
    left: 40px;
    z-index: 10;
}

#lightbox .rightArrow {
    position: absolute;
    top: 50%;
    right: 40px;
    z-index: 10;
}



.arrowContainer{
    display: flex;
    padding: 0 25px;
    padding-top: 40%;

    width: 15%;
    height: 100%;

}

.leftArrow{
    justify-content: flex-end;    
}

.rightArrow{
    justify-content: flex-start;    
}

#lightbox .arrowLightBox {
    font-size: 40px;
    color: rgba(255,255,255, 0.75);
}


#lightbox i:hover{
    cursor: pointer;
}

#lightbox .lightBox_IMG {
    width: 85vw;
    height: 85vh;
}

.lightBox_IMG img {
    display: block;
    position: relative;
    
    width: 100%;
    height: 100%;
    object-fit: contain;
    /*
    width: 100%;
    max-height: 100%;
    */
}

.figureContainer {
    position: relative;
    /*
    width: 100%;
    max-height: 100%;
    */
    z-index: 1;

}

.figureContainer figcaption {
    position: absolute;
    bottom: 20px;

    width: 100%;
    padding: 10px 0;

    font-family: 'Source Sans Pro', sans-serif;
    font-size: 30px;
    font-weight: 600;

    color: rgba(255,255,255, 1);
    text-align: center;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
/*    background-color: rgba(255,255,255, 0.3);*/
}

.lightBox_IMG /*.description*/{
    width: 100%;
    height: 80px;
    padding: 5px 0;
    margin: 0;
    color: #FFF;
    text-align: center;
}
 
/* Media Queries */
/* Middle Screen */
@media only screen and (max-width : 1324px){
    .gallery_constrain {
        width: 80%;

    }
}

/* Tablets and Up ----------- */
@media only screen and (max-width : 1024px){
    .imgEntry, .imgFalseEntry {
        width: 48%;
        padding: 1%;
    }
    
    .gallery_constrain {
        width: 90%;

    }
}

/* Smartphones (landscape) ----------- */
@media only screen and (max-width: 768px){
    .imgEntry, .imgFalseEntry {
        width: 100%!important;
        padding: 0%;
        margin-bottom: 15px;
    }

    .gallery_btn {
        width: 28%;
        margin: 1% 1%;
    }

    .categoryBtn {
        flex-wrap: wrap;
        padding: 2% 0;
    }

    .gallery_constrain {
        padding: 0;
    }
    .constrain {
        width: 100%!important;
    }
}

