/* \css\botoes_fotos_site.css */
.gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-left: 0%;
    margin-right: 0%;
}

.bloco_gallery .card_img {
    max-width: 99px;
    max-height: 150px;
    overflow: hidden;
    margin: 10px;
    border-radius: 10px;
}

.bloco_gallery img {
    display: flex;
    max-width: 100%;
    align-items: center;
    border-radius: 10px;
    object-fit: cover;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 2;
    padding-top: 0%;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox img {
    margin: auto;
    display: block;
    margin-top: 10px;
    max-height: 100%;
    border-radius: 15px;
    border-style: outset;
    border-color: antiquewhite;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.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;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.row {
    margin-left: 10%;
    margin-right: 10%;
}

@media only screen and (max-width: 1000px) {
    .lightbox img {
        margin: auto;
        display: block;
        margin-top: 35%;
        width: 90%;
        border-radius: 15px;
        border-style: outset;
        border-color: antiquewhite;
    }

    .row {
        margin-left: 0%;
        margin-right: 0%;
    }

    .modal {
        display: flex;
        justify-content: center;
        width: 100%;
        height: 100%;
        background-color: #000;
    }

    .modal-content {
        margin: 20px;
        max-width: 90%;
    }

    .close {
        top: 5px;
        right: 5px;
        font-size: 50px;
    }

}