/*  -----------------------------------------------------
    ListView & ShowView
    ----------------------------------------------------- */

#nngallery_list,
#nngallery_show {
    padding-top: 40px;
}

@media (max-width: 768px) {
    #nngallery_list,
    #nngallery_show {
        padding-top: 0;
    }
}

/*  -----------------------------------------------------
    ListView
    ----------------------------------------------------- */

#nngallery_list .gallery {
    /*height: 100px;*/
    background-color: lightgrey;
    background-size: cover;
    text-align: center;
    margin-bottom: 3px;
    padding-top: 20px;
    position: relative;
    padding: 0;
    margin-bottom: 20px;
}

#nngallery_list .gallery.active h3 {
    color: #575756;
    text-shadow: none;
}

#nngallery_list .gallery h3 {
    margin: 0 0 10px 0;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    padding: 0;
}


/*  -----------------------------------------------------
    ShowView
    ----------------------------------------------------- */

#nngallery_show .grid-sizer,
#nngallery_show .item {
    width: 30%;
}

@media (max-width: 768px) {
    #nngallery_show .grid-sizer,
    #nngallery_show .item {
        width: 48%;
    }
}

@media (max-width: 500px) {
    #nngallery_show .grid-sizer,
    #nngallery_show .item {
        width: 100%;
    }
}

#nngallery_show .image,
#nngallery_show .video {
    margin-bottom:10px;
    cursor: pointer;
    /*height: auto;
    width: 350px;*/
}

#nngallery_show .image img,
#nngallery_show .video img{
    width: 100%;
    height: auto;
}

#nngallery_show .video .video-play-icon {
    width: 100%;
    height: 100%;
    background-image: url(../Icons/pfeil_grau_kreis.svg);
    background-repeat: no-repeat;
    background-position: center 40%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

#nngallery_show .image-title,
#nngallery_show .video-title {
    /*position: absolute;
    bottom: 0;*/
    width: 100%;
    text-align: center;
    padding: 15px 5px 5px 0;
    position: relative;top: 5px;
}

#nngallery_show .hint-text {
    text-align: center;
    margin: 20px 0 0 0;
}

/*
#nngallery_show .image img {
    width: 100%;
    height: auto;
}



@media screen and (max-width: 768px) {
    #nngallery_show .image {
        width: 49%;
        margin: 0 1% 8px 0;
        float: left;
    }
}*/

