div.ma-lightbox {
    display: grid;
    place-items: center;
    position: fixed;
    z-index: 8;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    box-shadow: inset 0px 0px 0px 100vh #000000cf;
}

div.ma-lightbox-titulo {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    font-size: 1.6rem;
}

div.ma-lightbox-prev {
    left: -60px;
}

div.ma-lightbox-imagem {
    position: relative;
    margin: 3rem;
    margin-top: -3rem;
}

div.ma-lightbox-next {
    right: -60px;
}

div.ma-lightbox-seta {
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.7rem;
    cursor: pointer;
}

div.ma-lightbox-seta i {
    pointer-events: none;
}

div.ma-lightbox-bg {
    display: grid;
    background-color: #000;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 7;
    opacity: 0.8;
}

div.ma-lightbox-titulo i {
    color: #fff;
    margin-left: auto;
    cursor: pointer;
    font-size: 23px;
}

div.ma-lightbox-img {
    position: relative;
    overflow: auto;
    top: 0px;
    transform: translate(0%, 0%);
    display: flex;
    /* width: 700px;*/
    scroll-snap-type: x mandatory;
    touch-action: pan-x;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}

div.ma-lightbox-img img {
    max-height: calc(100vh - 164px);
    max-width: 1200px;
    pointer-events: none;
    /* width: 100%; */
}


@media screen and (max-width: 960px) {
    div.ma-lightbox-img img {
        width: 100%;
    }
} 
