
.vorschau_pic {
    width: 100%;

}

.vorschau_pic img {
    float: right;
    height: 300px;
    border-left: 1px solid #595959;
    margin-left: 20px;
}



/*
#####################################################################################
Bilder im Content
*/


.picture_middle, .picture_big, .picture_small, .picture_left {
    margin: 5px 25px;
}

.picture_middle img, .picture_big img, .picture_small img, .picture_left img, .picture_more img {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.07), 0 0 4px rgba(56, 73, 117, 0.36);
}

.picture_middle, .picture_small {
    float: right;
}

.picture_left {
    float: left;
}

.picture_middle, .picture_left {
    width: 45%;
}

.picture_small {
    width: 25%;
}

.picture_middle img, .picture_big img, .picture_small img, .picture_left img {
    width: 100%;
    height: auto;
}

.picture_more {
    margin: 0 25px;
}

.picture_more > div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.picture_more > div > div {
    width: 49%;
    margin-top: 3px;
    margin-bottom: 3px;
}

.picture_more_small > div > div {
    width: 32%;
}

.picture_more img {
    width: 100%;
    height: auto;
}

.picture_first_mobil {
    display: none;
}

@media screen and (max-width: 500px)
{
    /* Bilder auf ganzer Breite anzeigen */
    .picture_more > div > div {
        width: 100%;
    }

    .picture_more > div {
        display: block;
        -ms-flex-wrap: unset;
        flex-wrap: unset;
        -webkit-box-pack: unset;
        -ms-flex-pack: unset;
        justify-content: unset;
        width: 100%;
        position: unset;
    }

    .picture_middle, .picture_small, .picture_left {
        width: auto;
        float: none;
    }

    .picture_first_desktop {
        display: none;
    }

    .picture_first_mobil {
        display: block;
    }
}



/* MEDIATHEK */
#pictures_display {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
#pictures_display .mediathek_onepic {
    width: 300px;
    margin: 10px;
}
#pictures_display .mediathek_onepic img {
    width: 100%;
    cursor: pointer;
}
#pictures_display .mediathek_onepic img:hover {
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.22), 0 0 6px rgba(45, 74, 147, 0.57);
}

/* MEDIATHEK FILTER */
#mediathek_filter label > div {
    font-size: 15px;
    line-height: 18px;
}
#mediathek_filter span {
    width: 20px;
    height: 20px;
}
#mediathek_filter span:after {
    width: 4px;
    height: 8px;
}



/* Cover picture */
.cover {
    width: 100%;
    height: 500px;
    /*box-shadow: 0 0 0 #d9d9d9, 0 0 7px 0 #848080;*/
    margin: 0 0 20px 0;
    border-top: 1px solid #736e6e7a;
    border-bottom: 1px solid #736e6e;
    box-shadow: 0 3px 5px -2px rgba(0,0,0,0.65);
}
.cover h1 {
    color: white;
    text-shadow: 0 2px 10px #686868, 0 2px 2px #424242;
    padding: 200px 40px 3px 40px;
    vertical-align: middle;
    font-size: 90px;
    line-height: 90px;
    word-break: break-word;
    hyphens: none;
}
@media screen and (max-width: 1200px) and (min-width: 900px)
{
    .cover h1 {
        padding-top: 150px;
        font-size: 70px;
        line-height: 70px;
    }
}
@media screen and (max-width: 900px) and (min-width: 700px)
{
    .cover {
        height: 400px;
    }
    .cover h1 {
        padding-top: 150px;
        font-size: 55px;
        line-height: 55px;
    }
}
@media screen and (max-width: 700px) and (min-width: 400px)
{
    .cover {
        height: 250px;
    }
    .cover h1 {
        padding-top: 95px;
        font-size: 35px;
        line-height: 35px;
    }
}
@media screen and (max-width: 400px)
{
    .cover {
        height: 250px;
    }
    .cover h1 {
        padding-top: 95px;
        font-size: 25px;
        line-height: 25px;
    }
}


.flex_pictures {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin: 30px auto;
    padding: 0 12px;
    box-sizing: border-box;
}
.flex_pictures > div {
    position: relative;
    /* fixed size, wide-angle landscape format */
    flex: 0 0 auto;
    width: 620px;
    height: 360px;
    overflow: hidden;
    border-radius: 4px;
}
.flex_pictures .img_preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.5s ease;
}
.flex_pictures .img_preview:hover {
    transform: scale(1.08);
}
@media screen and (max-width: 520px) {
    .flex_pictures > div {
        flex: 1 1 100%;
        height: 260px;
    }
}
#gallery_overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
}
#gallery_overlay .gallery_overlay_img {
    max-width: 88vw;
    max-height: 86vh;
    object-fit: contain;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}
#gallery_overlay .gallery_overlay_close {
    position: absolute;
    top: 22px;
    right: 30px;
    color: #fff;
    font-size: 34px;
    cursor: pointer;
    line-height: 1;
}
#gallery_overlay .gallery_overlay_nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    opacity: 0.8;
}
#gallery_overlay .gallery_overlay_nav:hover {
    opacity: 1;
}
#gallery_overlay .gallery_overlay_prev { left: 10px; }
#gallery_overlay .gallery_overlay_next { right: 10px; }
@media screen and (max-width: 600px) {
    #gallery_overlay .gallery_overlay_nav { font-size: 30px; padding: 12px; }
}