﻿.video-gallery {
    font-family: "Overpass", sans-serif;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    grid-gap: 15px;
    max-width: 1100px;
    padding: 15px;
    margin: 0 auto;
    box-sizing: border-box;
    user-select: none;
}

    .video-gallery .gallery-item {
        position: relative;
        width: 100%;
        background: #000;
        cursor: pointer;
        overflow: hidden;
    }

    .video-gallery *::-webkit-scrollbar, .video-gallery *::-webkit-scrollbar-thumb, .videoPlayer2_list::-webkit-scrollbar, .videoPlayer2_list::-webkit-scrollbar-thumb {
        width: 26px;
        border-radius: 13px;
        background-clip: padding-box;
        border: 10px solid transparent;
    }

    .video-gallery *::-webkit-scrollbar-thumb, .videoPlayer2_list::-webkit-scrollbar-thumb {
        box-shadow: inset 0 0 0 10px;
    }


    .video-gallery .gallery-item img {
        position: relative;
        display: block;
        width: 100%;
        height: 300px;
        object-fit: cover;
        opacity: 0.5;
    }

    .video-gallery .gallery-item .gallery-item-caption {
        padding-top: 50px;
        padding-left: 20px;
        font-size: 1em;
        color: #fff;
        text-transform: uppercase;
    }
        .video-gallery 
        .gallery-item 
        .gallery-item-caption, 
        .video-gallery 
        .gallery-item 
        .gallery-item-caption > a {
            position: absolute;
            top: 0;
            left: 0;
            width: calc(100% - 5px);
            height: calc(100% - 20px);
        }

            .video-gallery .gallery-item .gallery-item-caption > p {
                max-height: 130px;
                overflow-y: auto;
                position: absolute;
                bottom: 0;
            }

            .video-gallery .gallery-item .gallery-item-caption .gallery-item-access-status-container {
                position: absolute;
                right: 0;
                top: 0;
                padding: 10px 1px 8px 10px;
                background: black;
                text-align: right;
            }
            .video-gallery .gallery-item .gallery-item-caption .gallery-item-watch-status-container {
                position: absolute;
                left: 0;
                top: 0;
                padding: 10px 10px 8px 10px;
                background: black;
            }
            .video-gallery .gallery-item .gallery-item-caption .gallery-item-access-status {
                font-size: small;
                font-style: normal;
                font-weight: bold;
                background: black;
                display: block;
            }

            .video-gallery .gallery-item .gallery-item-caption .gallery-item-vidcount {
                font-size: 12px;
                font-style: normal;
                font-weight: bold;
                top: 30px;
                background: black;
                display: block;
                text-align: right;
                color: yellow;
                padding-top: 2px;
            }

            .video-gallery .gallery-item .gallery-item-caption .gallery-item-access-date {
                font-size: 10px;
                font-style: normal;
                font-weight: bold;
                top: 30px;
                background: black;
                display: block;
                text-align: center;
                padding-top: 2px;
            }
            .video-gallery .gallery-item .gallery-item-caption .gallery-item-watch-status-seen {
                color:red
            }
            .video-gallery .gallery-item .gallery-item-caption .gallery-item-watch-status-someseen {
                color: orange
            }
    .video-gallery .gallery-item .gallery-item-current {
        border: 5px red solid;
        box-sizing: border-box;
    }

    .video-gallery
    .gallery-item
    .gallery-item-access-status.gallery-item-access-status-regreq {
        color: red;
    }

    .video-gallery
    .gallery-item
    .gallery-item-access-status.gallery-item-access-status-loginreq {
        color: orange;
    }

    .video-gallery 
    .gallery-item 
    .gallery-item-access-status.gallery-item-access-status-available {
        color: #5dff5d;
        text-align: right;
    }

    .video-gallery .gallery-item h2 {
        font-weight: 300;
        font-size: 20px;
        overflow: auto;
        padding: 18px 0;
        max-height: 80px;
    }

    .video-gallery .gallery-item h2,
    .video-gallery .gallery-item p {
        position: relative;
        margin: 0;
        z-index: 1;
    }

    .video-gallery .gallery-item p {
        letter-spacing: 1px;
        font-size: 12px;
        padding: 12px 0;
    }

    .video-gallery .gallery-item img {
        opacity: 0.3;
    }

    .video-gallery .gallery-item .gallery-item-caption {
        text-align: left;
    }

    .video-gallery .gallery-item h2::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 30%;
        height: 1px;
        background: #fff;
    }

    .video-gallery.video-gallery-singlecolumn {
        grid-template-columns: unset;
        width: 300px
    }

        .video-gallery.video-gallery-singlecolumn .gallery-item img {
            height: 100%;
            object-fit: contain;
        }

div.gallery-item-caption h2 {
    color: red;
    text-shadow: 1px 1px 1px lightgrey;
    text-transform: none;
    font-size: 24px !important;
    overflow: hidden !important;
}

div.gallery-item-caption p {
    font-size: 12px !important;
    font-style: normal;
    font-weight: normal !important;
    text-transform: none;
}


.gnosis-toolbar {
    width: 100%;
    display: flex;
    background: #dbdbdb;
    align-items: center;
}
.cssGridSpanFullCol {
    grid-column: 1 / -1
}
    .gnosis-toolbar .gnosis-toolbar-item {
        color: #fff;
        padding: 3px 15px;
        font-size: 25px;
    }
.gnosis-toolbar .gnosis-toolbar-item button{
    font-size: inherit;
}

        .gnosis-toolbar .gnosis-toolbar-item:hover, .gnosis-toolbar .gnosis-toolbar-item-active {
            background: rgba(250,250,250,0.3);
        }

.gnosis-toolbar-fill {
    flex-grow: 1;
    flex-shrink: 1;
}
.gnosis-toolbar-title {
    text-align:center;
}

    .gnosis-toolbar-fill input {
        width: 100%;
    }

.gnosis-toolbar-fill.gnosis-toolbar-title h2 {
    Font-size: 28px;
    padding-top: 2px;
    padding-bottom: 0;
    margin: 0;
}
.videoPlayer {
    height: 90vh;
    width: 100%;
    display: flex;
}
.videoPlayer_video {
    flex: 2;
    height: 90vh;
}
.videoPlayer_list {
    display: flex;
    flex-direction: column;
    padding: 0rem;
    overflow-y: scroll;
    overflow-x:hidden;
    height: 90vh;
    width: 300px;
    padding-top:0;
    max-width:300px;

}
    .videoPlayer_list .video-gallery.video-gallery-singlecolumn {
        padding-right:30px;
        padding-top:0
    }

.videoPlayer2_videoError {
    height: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}


.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    /* overflow: hidden; */
    max-width: 100%;
    margin-bottom: 15px;
}

    .embed-container iframe, .embed-container object, .embed-container embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

/*
@media screen and (max-width: 784px) {
  .video-gallery {
    width: 100%;
    padding: 15px;    

  }
  .video-gallery .gallery-item {
    width: 95%;
    margin: 0 auto; 
    width: 100%;
  }
}
*/
@media (max-width: 992px) {
    .videoPlayer_list {
        width: 100%;
        height: unset;
        max-width: 100%;
    }

    .videoPlayer {
        flex-direction: column;
        gap: 20px;
        padding-top: 20px;
        height: unset;
    }

    .videoPlayer_list .video-gallery.video-gallery-singlecolumn {
        padding-right: 0;
    }

    .video-gallery.video-gallery-singlecolumn {
        width: 100%;
    }

    .video-gallery {
        padding: 0;
    }
}