﻿.videoBoardContainer {
    display: grid;
    grid-template-columns: 1fr 460px;
    grid-column-gap: 1rem;
    overflow: hidden;
    height: 100%;
}

#overlay {
    display: none;
    z-index: 1000;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: #353333;
    opacity: 0.9;
    filter: alpha(opacity=90);
}

#playlist {
    width: 100%;
    max-height: calc(100vh - 5rem);
    border: solid 1px #e8e8e8;
    padding: 0.3rem;
    overflow: hidden;
    box-sizing: border-box;
}

#playlist:hover {
    overflow: auto;
}

div#playlist::-webkit-scrollbar {
    width: 0.4em;
    height: 0.4rem;
}

div#playlist::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 1px 1px 4px rgba(0,0,0,0.3);
}

div#playlist::-webkit-scrollbar-thumb {
    background-color: #d0d0d0;
    outline: 1px solid #e8e8e8;
}

#vidstats {
    z-index: 1001;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100vw - 2rem);
    max-width: 40rem;
    max-height: 50rem;
    overflow: auto;
    background-color: #ffffff;

    font-family: versaRegular;
    font-size: 1rem;
    line-height: 1.5rem;
    color: #444444;
}

#vidstats > table {
    border: solid 1px #626060;
}

#vidstats > table > tr:first-child > td {
    background-color: #626060;
    color: #ffffff;
    text-align: left;
}

    #vidstats > table > tr > td:nth-child(n+2) {
        text-align: center;
    }

    #mediaDescription {
        display: grid;
        grid-template-rows: 2rem 2.3rem;
        grid-template-columns: 1fr auto;
        font-family: versaRegular;
        font-size: 1rem;
        line-height: 1.3rem;
        color: #000000;
        border: solid 1px transparent;
        border-bottom: solid 1px #f1e5e5;
    }

    #mediaDescription > div:first-child {
        display: inline-block;
        grid-row-start: 1;
        grid-row-end: 1;
        grid-column-start: 1;
        grid-column-end: span 2;
        font-size: 1.5rem;
        line-height: 2rem;
        width: calc(100% - 4px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;        
    }

    #mediaDescription > div:nth-child(2) {
        float: left;
        grid-row-start: 2;
        grid-row-end: 3;
        grid-column-start: 1;
        grid-column-end: 1;
        font-size: 1rem;
        line-height: 1.3rem;
        color: #8f8c8c;
    }

    #mediaDescription > div:nth-child(3) {
        float: right;
        grid-row-start: 2;
        grid-row-end: 3;
        grid-column-start: 2;
        grid-column-end: 3;
    }

        #mediaDescription > div:nth-child(3) > span:nth-child(odd) {
            font-size: 1.2rem;
            line-height: 1.3rem;
            color: #626060;
            margin: 0 0.6rem 0 1rem;
            cursor: pointer;
        }

        #mediaDescription > div:nth-child(3) > span:nth-child(even) {
            font-size: 1rem;
            line-height: 1.3rem;
            color: #626060;
            cursor: default;
        }
    
.vidthumbnail {
    width: 420px;
    height: 94px;
    margin: 0 0 0.5rem 0;
    cursor: pointer;
}

.vidbox {
    position: relative;
    float: left;
    width: 168px;
    height: 94px;
    background-repeat: no-repeat;
    background-size: auto 94px;
    border: none 0px transparent;
}

    .vidbox:after {
        position: absolute;
        bottom: 0.2rem;
        right: 0.2rem;
        content: attr(data-duration);
        font-family: versaBook;
        font-size: 0.6rem;
        padding: 0 0.1rem 0 0.1rem;
        color: #fff;
        background-color: #444444;
        border: solid 1px #444444;
        border-radius: 2px 2px;
    }

    .vidbox > video {
        width: 100%;
        height: 100%;
        border: none 0px transparent;
    }

.vidinfo {
    float: left;
    max-height: 94px;
    padding: 0 0 0 0.5rem;
    width: 226px;
    height: 94px;
    font-family: versaRegular;
}

    .vidinfo > span:first-child {
        font-family: versaRegular;
        font-size: 0.9rem;
        line-height: 1.2rem;

        width: 100%;
        height: 40px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .vidinfo > span:nth-child(2) {
        font-family: versaRegular;
        font-size: 0.7rem;
        line-height: 1rem;
        width: 100%;
        height: 32px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media screen and (max-width: 1100px) {
    .videoBoardContainer {
        display: grid;
        grid-template-columns: 100%;
        grid-column-gap: 1rem;
        overflow: hidden;
        height: 100%;
    }

    #playlist {
        width: 100%;
        margin: 2rem 0 2rem 0;
    }

    .vidthumbnail {
        width: 100%;
    }
    
    .vidinfo {
        float: left;
        max-height: 94px;
        padding: 0 0 0 0.5rem;
        width: calc(100% - 176px);
        height: 94px;
        font-family: versaRegular;
    }

        .vidinfo > span:first-child {
            font-size: 0.8rem;
            line-height: 1.1rem;
        }

        .vidinfo > span:nth-child(2) {
            font-size: 0.6rem;
            line-height: 0.9rem;
        }

}
