.thumbnail {
    background-position: center center;
    background-size: cover;
}

.thumbnail img {
    max-width: 100%;
    max-height: 100%;
}

.thumbnail.no-avatar img {
    opacity: 1;
    background-color: #edf6fa;
    background-image: none;
}

.teaser .thumbnail {
    position: relative;
}

.teaser .thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
}
