.fs-gal-view {
    display: none;
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    backdrop-filter: blur(10px);
    position: fixed;
    left: 0;
    top: 0;
    text-align: center;
    background-size: contain;
    background-position: center center;
    background-color: rgba(20,20,20,.7);
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: 999999;
    flex-direction: column;
    justify-content: center;
    align-items: center
}

.fs-gal-view h1 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    height: 50px;
    line-height: 50px;
    overflow: hidden;
    background: rgba(0,0,0,.8);
    color: #fff;
    font-weight: 300;
    font-size: 22px;
}

.fs-gal-prev,.fs-gal-next,.fs-gal-close {
    position: absolute;
    top: calc(50vh - 20px);
    height: 40px;
    width: 40px;
    z-index: 999999
}

.fs-gal-prev:hover,.fs-gal-next:hover,.fs-gal-close:hover {
    -webkit-filter: drop-shadow(4px 4px 4px rgba(0,0,0,0.9));
    filter: drop-shadow(4px 4px 4px rgba(0,0,0,0.9));
    cursor: pointer
}

.fs-gal-prev {
    left: 40px
}

.fs-gal-next {
    right: 40px
}

.fs-gal-close {
    top: 20px;
    right: 44px;
    height: 25px;
    width: 25px;
    background: rgba(0, 0, 0, 0.4);
    padding: 10px;
    border-radius: 100%;
}

.fs-gal-main {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.fs-gal:hover,.fs-gal-nav:hover,.fs-gal-close:hover {
    cursor: pointer
}

@media screen and (max-width: 1024px) {
    .fs-gal-prev {
        left:5px;
        width: 22px;
        height: 22px
    }

    .fs-gal-next {
        right: 5px;
        width: 22px;
        height: 22px
    }

    .fs-gal-view h1 {
        font-size: 16px;
        height: auto;
        line-height: 20px;
        padding: 10px 0;
    }

    .fs-gal-close {
        right: 14px;
        width: 20px;
        height: 20px;
    }
}
