.maincontent_wrapper {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-image: linear-gradient( 180deg,rgba(255,255,255,.8) 0%,rgba(255,255,255,.8) 100%) , url(/imageserver/Textures/testPattern.png);
}


.gallery {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding: 3% 2%;
}
.gallery img {
    max-width: 330px;
    border: 10px solid #ddd;
    display: block;
    margin: 0 auto;
}
.gallery p {
    text-align: center;
    margin: 25px auto;
}


.gallery-title {
    color: #3e43cc;
    font-weight: bold;
    font-size: 1.5em;
    display: block;
}
.gallery-item {
    width: 50%;
    margin-bottom: 15px;
    padding: 15px;
}


@media (max-width: 700px) {
    .gallery-item {
        width: 100%;
    }
}