﻿
/* IE11 Fallback */
.videoGalleryContainer {
    column-count: 3;
}

.videoGalleryContainer {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
    grid-gap: 20px;
    grid-auto-rows: 225px;
}

/* IE11 Fallback */
.videoGalleryEntry {
    margin-bottom: 20px;
}

@supports (display: grid) {
    .videoGalleryEntry {
        margin-bottom: 0;
    }
}

.videoGalleryEntry {
    border: 1px solid #ccc;
    box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.3);
    background-color: #fff;
    position: relative;
}


/* IE11 Fallback */
#content .videoGalleryContainer img {
    display: block;
}

.videoGalleryImage
{
    display: inline;
}

#content .videoGalleryContainer img {
    margin: 0;
    max-width: 100%;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

#content .videoGalleryEntry:hover {
    opacity: 0.7;
    cursor: pointer; 
}

/* Large Videos */

#videoGallery {
    position: relative;
}

.videoGalleryDetailContainer {
    max-height: 1500px;
    transition: max-height 0.75s ease-in;
    overflow: hidden;
    margin-bottom: 20px;
}

.videoGalleryDetailContainerHidden {
    transition: max-height 0.05s ease-out;
    display: none;
}

.videoGalleryEntry
{
    position: relative;
}

/*#videoGallery .videoPlayButtonContainer {
    display: none;
}*/

.videoPlayButtonContainer {
    display: block;
    color: #fff;
    position: absolute;
    top: calc(50% - 23px);
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    pointer-events: none;
}

.videoPlayButton {
    background-color: rgba(0, 0, 0, 0.6);
    display: inline-block;
    padding: 6px 15px 6px 20px;
    border-radius: 5px;
}

.svg-inline--fa {
    color: #fff;
    font-size: 28px;
}

#videoGallery .videoLoadingSysmbolContainer {
    display: block;
    position: absolute;
    top: calc(50% - 20px);
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    pointer-events: none;
}

#videoGallery .videoLoadingSysmbolContainer .svg-inline--fa {
    color: #fff;
    font-size: 40px;
}

/*.videoLoadingSysmbolContainer {
    display: none;
}
*/
.videoCloseButton {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 1;
    cursor: pointer;
    background-color: #000;
    padding: 2px 12px 2px 12px;
    border-radius: 5px;
    color: #fff;
}

.videoCloseButton:hover {
    background-color: #00ADEF;
}

#videoGallery .videoCloseButton .svg-inline--fa {
    color: #fff;
    font-size: 30px;
}


@media screen and (max-width: 1000px) {
    .videoGalleryContainer {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        grid-gap: 20px;
        grid-auto-rows: 168px;
    }
}

@media screen and (max-width: 850px) {
    .videoGalleryContainer {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
        grid-gap: 10px;
        grid-auto-rows: 142px;
    }

    .videoGalleryEntry {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 767px) {
    .videoGalleryContainer {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
        grid-gap: 10px;
        grid-auto-rows: 200px;
    }
}

@media screen and (max-width: 600px) {
    .videoGalleryContainer {
        column-count: auto;
        display: inline-block;
    }

    #content .videoGalleryContainer img {
        margin: 0 !important;
    }
}




