.jsgalContainer {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 1000000;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.91);
    display: none;
}

.jsSlideContainer {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: space-between;
    align-items: center;
}

.jsgalBtPrev {
    width: 90px;
    height: 226px;
    background-image: url(pics/prev.svg);
    cursor: pointer;
}

.jsgalBtNext {
    width: 90px;
    height: 226px;
    background-image: url(pics/next.svg);
    cursor: pointer;
}

.jsgalPicture {
    max-width: 70%;
    max-height: 90%;
    margin: 0em 1em;
    border: solid 2px #ffffff;
    cursor: pointer;
}

.jsGalClose {
    width: 52px;
    height: 52px;
    background: url(pics/close.svg);
    position: absolute;
    top: 10px;
    right: 10px;
}

@keyframes imageOut {
    from {
        opacity: 1.0;
        filter: blur(0px);
    }
    
    to {
        opacity: 0.0;
        filter: blur(8px);
    }
}

@keyframes imageIn {
    from {
        opacity: 0.0;
        filter: blur(8px);
    }
    
    to {
        opacity: 1.0;
        filter: blur(0px);
    }
}

.jsGalImageOut {
    animation-name: imageOut;
    animation-duration: 0.2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.jsGalImageIn {
    animation-name: imageIn;
    animation-duration: 0.2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

/*------------------------------------------*/

@media (max-width: 640px) {  
    .jsgalBtNext {
        display: none;
    }
    
    .jsgalBtPrev {
        display: none;
    }

    .jsSlideContainer {
        display: flex;
        align-items: center;
        justify-content: center;
    }    

    .jsgalPicture {
        max-width: 90%;
        max-height: 80%;
        border: solid 2px #ffffff;
        cursor: pointer;
    }
    
    .jsGalClose {
        display: none;
    }
}