* {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    margin: 0;
    color: white;
    background-color: whitesmoke;
    overflow: hidden;
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
    /*font-family: "Open Sans", "Roboto", sans-serif;*/
    height: 100%;
    font-weight: 500;
}

    body form {
        height: 100%;
    }

.left {
    left: 0;
}

.top-to-bottom {
    padding: 0 15px;
    border-width: 1px;
    border-style: solid;
    -webkit-border-image: -webkit-gradient(linear, 0 0, 0 100%, from(grey), to(rgba(0, 0, 0, 0))) 1 100%;
    -webkit-border-image: -webkit-linear-gradient(grey, rgba(0, 0, 0, 0)) 1 100%;
    -moz-border-image: -moz-linear-gradient(grey, rgba(0, 0, 0, 0)) 1 100%;
    -o-border-image: -o-linear-gradient(grey, rgba(0, 0, 0, 0)) 1 100%;
    border-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), grey, rgba(0, 0, 0, 0)) 1 100%;
}

header,
.header {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 0;
    position: relative;
    width: 100%;
    z-index: 5;
    justify-content: space-between;
    border-bottom: 2px solid #19af8c;
    flex-direction: row-reverse;
}

    header .LivestreamMenueIcon,
    .header .LivestreamMenueIcon {
        cursor: pointer;
        transition: color 500ms;
    }

        header .LivestreamMenueIcon:hover,
        .header .LivestreamMenueIcon:hover {
            color: #19af8c;
        }

    header .logo,
    .header .logo {
        width: 350px;
        position: absolute;
        left: 0;
        right: 0;
        margin: 0 auto;
        top: 0;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        header .logo img,
        .header .logo img {
            width: 100%;
            padding: 0 15px;
        }

    header div.left,
    .header div.left {
        display: flex;
        align-items: center;
        position: absolute;
    }

    header .side-nav .nav-hider,
    .header .side-nav .nav-hider {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 40px;
    }

        header .side-nav .nav-hider .burger,
        .header .side-nav .nav-hider .burger {
            height: 100%;
            width: 50px;
            position: relative;
            transition: background 400ms;
            /*Later I want to add gradient border: https: //css-tricks.com/examples/GradientBorder/*/
        }

            header .side-nav .nav-hider .burger:hover,
            .header .side-nav .nav-hider .burger:hover {
                cursor: pointer;
                background: rgba(0, 0, 0, 0.8);
            }

            header .side-nav .nav-hider .burger .burger-span,
            .header .side-nav .nav-hider .burger .burger-span {
                position: absolute;
                top: 12px;
                left: 14px;
                transition: all 400ms ease-in-out;
            }

                header .side-nav .nav-hider .burger .burger-span#top-bun,
                .header .side-nav .nav-hider .burger .burger-span#top-bun {
                    top: 18px;
                }

                header .side-nav .nav-hider .burger .burger-span#bottom-bun,
                .header .side-nav .nav-hider .burger .burger-span#bottom-bun {
                    top: 24px;
                }

    header .side-nav nav,
    .header .side-nav nav {
        position: fixed;
        transition: left 500ms;
        top: 50px;
        left: 0;
        background: rgba(0, 0, 0, 0.7);
        width: 250px;
        border-bottom: 3px solid #19af8c;
    }

        header .side-nav nav ul,
        .header .side-nav nav ul {
            list-style-type: none;
            margin: 0;
            padding: 0;
        }

            header .side-nav nav ul li,
            .header .side-nav nav ul li {
                transition: background 400ms, box-shadow 250ms;
            }

                header .side-nav nav ul li a,
                .header .side-nav nav ul li a, .nav-span {
                    text-decoration: none;
                    padding: 20px;
                    display: inline-block;
                    width: 100%;
                }

                header .side-nav nav ul li:hover,
                .header .side-nav nav ul li:hover {
                    background: rgba(0, 0, 0, 0.8);
                    cursor: pointer;
                }

    header .side-nav.hidden nav,
    .header .side-nav.hidden nav {
        left: -300px;
    }

    header .side-nav.shown .burger .burger-span#top-bun,
    .header .side-nav.shown .burger .burger-span#top-bun {
        top: 18px;
        transform: rotate(45deg);
        -ms-transform: rotate(45deg);
    }

    header .side-nav.shown .burger .burger-span#patty,
    .header .side-nav.shown .burger .burger-span#patty {
        top: 18px;
        transform: rotate(45deg);
        -ms-transform: rotate(45deg);
    }

    header .side-nav.shown .burger .burger-span#bottom-bun,
    .header .side-nav.shown .burger .burger-span#bottom-bun {
        top: 18px;
        transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
    }

    header .location,
    .header .location {
        display: none;
    }

        header .location h1, header .location p,
        .header .location h1,
        .header .location p {
            margin: 0;
        }

        header .location h1,
        .header .location h1 {
            line-height: 25px;
        }

    header .loginDisplay,
    .header .loginDisplay {
        display: flex;
        align-items: center;
        cursor: pointer;
        transition: color 500ms;
        transition: color 500ms;
    }

        header .loginDisplay .user-stuff,
        .header .loginDisplay .user-stuff {
            display: flex;
            flex-direction: row;
        }

            header .loginDisplay .user-stuff:hover,
            .header .loginDisplay .user-stuff:hover {
                color: #19af8c;
            }

        header .loginDisplay .user-nav,
        .header .loginDisplay .user-nav {
            padding-left: 15px;
        }

            header .loginDisplay .user-nav nav,
            .header .loginDisplay .user-nav nav {
                z-index: 2;
                position: fixed;
                transition: left 500ms;
                top: 50px;
                right: 0;
                background: rgba(0, 0, 0, 0.7);
                width: 250px;
                border-bottom: 3px solid #19af8c;
                opacity: 0;
                display: none;
                transition: opacity 500ms;
            }

                header .loginDisplay .user-nav nav.visible,
                .header .loginDisplay .user-nav nav.visible {
                    opacity: 1;
                }

                header .loginDisplay .user-nav nav ul,
                .header .loginDisplay .user-nav nav ul {
                    list-style-type: none;
                    margin: 0;
                    padding: 0;
                }

                    header .loginDisplay .user-nav nav ul li,
                    .header .loginDisplay .user-nav nav ul li {
                        transition: background 400ms, box-shadow 250ms;
                    }

                        header .loginDisplay .user-nav nav ul li a,
                        .header .loginDisplay .user-nav nav ul li a {
                            text-decoration: none;
                            padding: 20px;
                            display: inline-block;
                            width: 100%;
                        }

                        header .loginDisplay .user-nav nav ul li:hover,
                        .header .loginDisplay .user-nav nav ul li:hover {
                            cursor: pointer;
                            color: white;
                        }

        header .loginDisplay a,
        .header .loginDisplay a {
            color: #19af8c;
        }

        header .loginDisplay .theme-controls,
        .header .loginDisplay .theme-controls {
            padding-left: 5px;
            transition: color 500ms;
            padding-right: 0;
        }

            header .loginDisplay .theme-controls:hover,
            .header .loginDisplay .theme-controls:hover {
                color: #19af8c;
            }

            header .loginDisplay .theme-controls ul,
            .header .loginDisplay .theme-controls ul {
                padding: 0 10px;
                margin: 0;
            }

                header .loginDisplay .theme-controls ul .day-theme i,
                .header .loginDisplay .theme-controls ul .day-theme i {
                    font-size: 16px;
                }

                header .loginDisplay .theme-controls ul i:hover,
                .header .loginDisplay .theme-controls ul i:hover {
                    cursor: pointer;
                }

.page {
    height: 100%;
    background-color: whitesmoke;
}

    .page .main {
        height: calc(100% - 50px);
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

        .page .main .videopanelheader {
            margin: 80px auto 5px;
            width: 1280px;
        }

            .page .main .videopanelheader #MainContent_Label_Plocation {
                margin-left: 10px;
            }

        .page .main .videopanel {
            margin: 0 auto;
        }

        .page .main center {
            padding-top: 50px;
        }

.timeline-control-bar .controls i {
    transition: color 350ms;
}

    .timeline-control-bar .controls i:hover {
        color: #19af8c;
    }

footer,
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.75);
    padding: 5px 10px;
    z-index: 3;
    color: grey;
    font-size: 11px;
}

    footer a,
    .footer a {
        text-decoration: none;
        color: grey;
        font-weight: bold;
    }

*::selection {
    background: rgba(25, 175, 140, 0.75);
    color: white;
}

/* adding padding to Timeline overview pages */
.main > .panelTLbody {
    padding: 50px 40px;
    box-sizing: content-box;
}

/*General styles for some titles across the site*/
h1.superbigA {
    color: #19af8c;
    font-size: 3.6em;
    margin: 15px;
    text-align: right;
    font-weight: normal;
}

h1.superbigB {
    color: #19af8c;
    font-size: 8em;
    margin: 15px;
    text-align: center;
    font-weight: lighter;
    padding-bottom: 35px;
}

h1.superbigC {
    color: #19af8c;
    font-size: 2.4em;
    margin: 15px;
    text-align: justify;
    font-weight: normal;
}

/* Creating more of a button for the links around the site */
.greenlink {
    text-decoration: none;
    color: white;
    background-color: #19af8c;
    padding: 25px;
    transition: all 500ms;
    display: inline-block;
}

    .greenlink:hover {
        background-color: #089e7d;
    }

.home-title {
    color: #19af8c;
    font-weight: 500;
    font-size: 24px;
}

.table-hack {
    display: flex;
    align-items: center;
}

.passwordBlock {
    margin: 0 auto;
    /* border: 1px solid gray; */
    padding: 45px;
    background: white;
    box-shadow: 0px 5px 15px -3px;
    z-index: 1;
}

    .passwordBlock input {
        padding: 5px;
    }

/* Additional Archive Nav */
#nav-timeline,
#nav-archive {
    position: relative;
}

    #nav-timeline #TL2ulmenu,
    #nav-archive #TL2ulmenu {
        position: absolute;
        top: 0;
        left: 100%;
        display: none;
        flex-direction: column;
        max-height: 700px;
        width: 100%;
        flex-wrap: wrap;
    }

        #nav-timeline #TL2ulmenu li,
        #nav-archive #TL2ulmenu li {
            width: 250px;
        }

    #nav-timeline #TL2archiveMenu,
    #nav-archive #TL2archiveMenu {
        position: absolute;
        top: 0;
        left: 100%;
        display: none;
        flex-direction: column;
        max-height: 700px;
        width: 100%;
        flex-wrap: wrap;
    }

        #nav-timeline #TL2archiveMenu li,
        #nav-archive #TL2archiveMenu li {
            width: 250px;
        }

            #nav-timeline #TL2archiveMenu li a,
            #nav-archive #TL2archiveMenu li a {
                display: flex;
                align-items: center;
                justify-content: flex-start;
                width: 250px;
                color: grey;
            }

    #nav-timeline:hover #TL2ulmenu,
    #nav-timeline:hover #TL2archiveMenu,
    #nav-archive:hover #TL2ulmenu,
    #nav-archive:hover #TL2archiveMenu {
        display: flex;
        max-height: 700px;
    }

.tooltip {
    position: relative;
}

    .tooltip .tooltiptext {
        position: absolute;
        padding: 5px;
        background: #19af8c;
        color: white;
        visibility: hidden;
        top: -24px;
        left: 75%;
        font-size: 16px;
        white-space: nowrap;
        z-index: 1;
        opacity: 0;
        transition: opacity 500ms;
    }

        .tooltip .tooltiptext.right {
            left: -135px;
        }

        .tooltip .tooltiptext.topright {
            top: 50%;
            left: -110px;
        }

    .tooltip:hover .tooltiptext {
        transition-delay: 500ms;
        visibility: visible;
        opacity: 1;
    }

/*Thumnail Blocks*/
.midtext {
    font-size: 12px;
    z-index: 2;
}

.thumlinkblock {
    background-color: #19af8c;
    color: #fff;
    display: block;
    font-size: 19.2px;
    height: auto;
    left: 0px;
    position: relative;
    top: 0px;
    width: auto;
    font-weight: bold;
    padding: 10px;
}

    .thumlinkblock a {
        font-size: 19.2px;
        text-decoration: none;
        padding: 0;
        font-weight: bold;
        color: white;
    }

/*.thumlinkblock a:link, a:visited {
    background-color: #19af8c;
    color: #fff;
    font-size: 14px;
    padding-left: 2px;
    text-decoration: none;
}*/
/*.thumlinkblock a:hover {
    background: #333;
    color: #fff;
    font-size: 14px;
    padding-left: 2px;
    text-decoration: none;
}*/
div.TL2thumb {
    /*background-color: #EDEDED;
    border: 1px #B5B5B5 solid;*/
    background-color: white;
    box-shadow: 0 0 15px lightgrey;
    float: left;
    margin: 10px 5px;
    position: relative;
    transition: all 500ms;
}

    div.TL2thumb a {
        text-decoration: none;
    }

        div.TL2thumb a .thumb-time {
            padding: 8px 10px 10px;
        }

            div.TL2thumb a .thumb-time .midtext {
                font-size: 14px;
                font-weight: bold;
                color: grey;
                text-decoration: none !important;
            }

    div.TL2thumb:hover {
        box-shadow: 0 0 15px grey;
    }

.panelTLbody {
    bottom: 20px;
    display: block;
    left: 0px;
    margin: auto;
    padding: 0px;
    position: inherit;
    top: 0px;
    z-index: 1;
    width: 100%;
}

/*################################################
#
#        At Long Last, Media Queries
#
################################################*/
@media screen and (max-width: 1900px) {
    /* Scrolling on default page */
    .page .main {
        overflow-y: scroll;
    }

        .page .main #default-table {
            margin-bottom: 100px;
        }
}

/* supposedly targeting internet explorer and safari: */
@supports (-ms-accelerator: true) {
    header {
        flex-direction: row;
        background: red !important;
        height: 50px;
        width: 100%;
        z-index: 3;
    }

        header div.left {
            position: relative;
            align-self: flex-start;
        }

        header .logo {
            padding: 0;
            height: 50px;
            display: flex;
            align-items: center;
            top: 0;
        }

    .header {
        height: unset !important;
    }

    html body .page .main {
        /*position: relative;*/
        width: 100%;
        height: 100%;
    }

        html body .page .main .livestreams {
            position: absolute;
            margin: 0 auto;
            width: 100%;
            height: calc(100% - 50px);
            display: flex;
            flex-direction: row;
            align-items: flex-start;
            justify-content: flex-start;
            overflow: hidden;
        }

            html body .page .main .livestreams * {
                /*border: 10px solid teal !important;*/
            }

            html body .page .main .livestreams .stream-container {
                width: 100%;
                height: 100%;
                position: absolute;
                display: flex;
            }

                html body .page .main .livestreams .stream-container .streams {
                    width: 100%;
                    height: 100%;
                    position: relative;
                    display: flex;
                    flex-direction: row;
                    flex-wrap: wrap;
                    align-items: center;
                    justify-content: flex-start;
                }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    /* IE10+ CSS styles go here */
    /** {border: 1px solid teal;}*/
    * {
        /*box-sizing: border-box !important;
        border: 1px solid red;*/
    }

    header, .header {
        flex-direction: row;
        /*background: red !important;*/
        height: 50px;
        width: 100%;
        z-index: 3;
        margin: 0;
        padding: 0;
    }

        header div.left, .header div.left {
            position: relative;
            align-self: flex-start;
            display: flex;
            align-content: center;
            justify-content: center;
            height: 100%;
        }

        header .logo, .header .logo {
            padding: 0;
            /*height: 50px;*/
            display: flex;
            align-items: center;
            top: 0;
        }

    html body .page .main {
        /*position: relative;*/
        width: 100%;
        height: 100%;
    }

        html body .page .main .livestreams {
            position: absolute;
            margin: 0 auto;
            width: 100%;
            height: calc(100% - 50px);
            display: flex;
            flex-direction: row;
            align-items: flex-start;
            justify-content: flex-start;
            overflow: hidden;
        }

            html body .page .main .livestreams * {
                /*border: 10px solid teal !important;*/
            }

            html body .page .main .livestreams .stream-container {
                width: 100%;
                height: 100%;
                position: absolute;
                display: flex;
            }

                html body .page .main .livestreams .stream-container .streams {
                    width: 100%;
                    height: 100%;
                    position: relative;
                    display: flex;
                    flex-direction: row;
                    flex-wrap: wrap;
                    align-items: center;
                    justify-content: flex-start;
                }
}
