.videos .grid {
    display: block;
}

.teaser {
    width: 100%;
}

.social {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3em;
}

.facebook-button,
.instagram-button,
.youtube-button {
    flex: 1 100%;
    justify-content: center;
}

.video_gallery {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.video_gallery #player {
    flex: 0 0 auto;
    justify-self: center;
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
}

.video_gallery #player img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video_gallery ul {
    flex: 1 100%;
    list-style-type: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 5em;
}

.video_gallery ul li {
    display: block;
    flex-shrink: 0;
    flex-grow: 1;
    flex-basis: calc(100% / 2 - 1em); /* bug in IE, darum auseinander */
    height: 170px;
    position: relative;
    cursor: pointer;
    margin-bottom: 1em;
}

.video_gallery ul li:nth-of-type(odd) {
    margin-right: 1em;
}

.video_gallery .preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    cursor: pointer;
    position: absolute;
    height: 72px;
    width: 72px;
    left: 50%;
    top: 50%;
    margin-left: -36px;
    margin-top: -36px;
    background: url("../../../media/plugins/moeli/facebook/play.png") no-repeat;
}

@media screen and (min-width: 575px) {
}

@media screen and (min-width: 768px) {
    .video_gallery ul li {
        flex-basis: calc(100% / 3 - 1em); /* bug in IE, darum auseinander */
        margin-right: 1em;
    }

    .video_gallery ul li:nth-of-type(3n+3) {
        margin-right: 0;
    }

    .video_gallery ul li {
        height: 160px;
    }
}

@media screen and (min-width: 991px) {
    .social {
        flex-direction: row;
    }

    .facebook-button,
    .instagram-button,
    .youtube-button {
        flex: 1;
        justify-content: unset;
    }

    .video_gallery ul li {
        height: 200px;
    }
}

@media screen and (min-width: 1199px) {}