#outerholder {
    max-width: 100%;
    height: auto;
    max-height: 100%;
}

/* ersetzt imgholder */

#idx-flex {
    margin-bottom: -2%;
}

#idx-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: flex-start;

}

#idx-flex > div {
    width: 32%;
    margin-bottom: 2%;
}

#idx-flex img {
    width: 100%;
    height: auto;
    border-width: 0px;
}

@media (max-width: 640px) {

    #idx-flex > div {
    width: 49%;
    }

}


