.gallery-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.gallery-inner.inactive {
    height: 0;
    overflow: hidden;
}

.gallery .image {
    text-align: center;
    width: calc(33% - 13.3333px);
    margin-right: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.gallery .image:after {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.3);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery .image:hover:after {
    opacity: 1;
}

.gallery .image:nth-of-type(3n) { margin-right: 0; }

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0);
    transition: box-shadow 0.3s ease;
}

.gallery-more {
    width: 100%;
    margin-top: 80px;
    text-align: center;
}

.button.button-green-full.gallery-more-button {
    padding-left: 55px;
    padding-right: 55px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.gallery-more-button img {
    height: 14px;
    margin-left: 12px;
}

@media screen and (max-width: 540px) {
    .gallery .image { width: calc(50% - 10px); }

    .gallery .image:nth-of-type(3n) { margin-right: 20px; }

    .gallery .image:nth-of-type(2n) { margin-right: 0; }
}

