@import 'https://fonts.googleapis.com/css?family=Creepster';
:root {
    /* Default */
    /* --header-color: #fff;
    --header-font: inherit;
    --header-animation: none; */
    /* Shocktober */
    --header-color: rgb(204, 148, 36);
    --header-font: 'Creepster', cursive;
    --header-animation: flicker
}


/* https://gist.github.com/oddlyzen/1229700 */

@keyframes flicker {
    from {
        opacity: 0.5;
    }
    4% {
        opacity: 0.5;
    }
    6% {
        opacity: 0.45;
    }
    8% {
        opacity: 0.55;
    }
    10% {
        opacity: 0.45;
    }
    11% {
        opacity: 0.5;
    }
    12% {
        opacity: 0.65;
    }
    14% {
        opacity: 0.55;
    }
    16% {
        opacity: 0.70;
    }
    17% {
        opacity: 0.55;
    }
    19% {
        opacity: 0.5;
    }
    20% {
        opacity: 0.5;
    }
    24% {
        opacity: 0.5;
    }
    26% {
        opacity: 0.69;
    }
    28% {
        opacity: 0.5;
    }
    38% {
        opacity: 0.45;
    }
    40% {
        opacity: 0.5;
    }
    42% {
        opacity: 0.6;
    }
    44% {
        opacity: 0.5;
    }
    46% {
        opacity: 0.5;
    }
    56% {
        opacity: 0.5;
    }
    58% {
        opacity: 0.75;
    }
    60% {
        opacity: 0.5;
    }
    68% {
        opacity: 0.5;
    }
    70% {
        opacity: .6;
        /*peak*/
    }
    72% {
        opacity: 0.5;
    }
    93% {
        opacity: 0.5;
    }
    95% {
        opacity: .6;
        /*peak*/
    }
    97% {
        opacity: 0.5;
    }
    to {
        opacity: 0.5;
    }
}

@keyframes throb {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(359deg);
    }
}

html,
body {
    overflow: hidden;
}

body {
    background-color: #000;
}

h1,
h2,
h3 {
    font-family: var(--header-font);
    font-variant: small-caps;
    margin-bottom: 0.5em;
    font-size: 1.25em;
    color: var(--header-color);
    animation-name: var(--header-animation);
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

#sidebarContainer {
    position: absolute;
    top: 0px;
    left: 0px;
    display: inline-block;
    height: 100vh;
    overflow-y: hidden;
    overflow-x: hidden;
}

#sidebar {
    position: relative;
    top: 0px;
    left: -100%;
    z-index: 2;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #000;
    color: #fff;
    transition: left 0.5s ease;
    height: 100vh;
    line-height: 1em;
}

#sidebar p {
    padding-right: 1em;
}

#sidebar h3 {
    padding-left: 1em;
}

#sidebar h3:first-child {
    padding-top: 3em;
}

#navMenus {
    overflow-y: auto;
    overflow-x: hidden;
}

#footer {
    padding-top: 1em;
    margin-top: 1em;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    opacity: 0.25;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

#footer p {
    font-size: 75%;
    line-height: 0.1em;
}

#footer a {
    color: inherit;
}

#navButton,
#navButtonLabel {
    left: 0px;
}

#chatButton,
#chatButtonLabel {
    right: 0px;
}

#navButton,
#navButtonLabel,
#chatButton,
#chatButtonLabel {
    position: absolute;
    top: 0.5em;
    padding: 0.5em;
}

#navButtonLabel,
#chatButtonLabel {
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: inline-block;
    z-index: 3;
    color: rgba(255, 255, 255, 0.5);
    transition-property: color, border-color;
    transition-duration: 0.5s;
    transition-timing-function: ease;
    cursor: pointer;
}

#navButtonLabel {
    border-left: 0px none;
}

#chatButtonLabel {
    border-right: 0px none;
}

#navButtonLabel:focus,
#chatButtonLabel:focus {
    outline: 1px solid yellow;
}


/* #navButton:checked + #navButtonLabel, #chatButton:checked + #chatButtonLabel
{
  transition: left 0.5s ease;
} */

#navButton:checked+#navButtonLabel {
    border-color: #fff;
    color: #fff;
}

#chatButton:checked+#chatButtonLabel {
    border-color: #000;
    color: #000;
}

#chatButton,
#chatButtonLabel {
    display: none;
}

#navButton,
#chatButton {
    clip: rect(0, 0, 0, 0);
}

#navButton:checked~#sidebar {
    left: 0px;
    min-height: 100vh;
}

#chatButton:checked~#chat:not(.notransition) {
    min-height: 100vh;
    flex-grow: 2 !important;
}

#chatSwitchContainer {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    /*justify-content: space-between;*/
    align-content: center;
    align-items: stretch;
}

#page {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    align-content: stretch;
}

#controls {
    flex-grow: 2;
    flex-shrink: 8;
    min-height: 3em;
}

#InfoBannerContainer {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    z-index: 9999;
    display: flex;
    justify-items: space-around;
    font-weight: 600;
    color: rgb(93, 174, 217);
    background-color: rgb(0, 0, 0);
}

#video {
    flex-grow: 8;
    display: flex;
    flex-direction: column;
}

#video iframe,
#chat iframe,
#video object {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    border: none;
}

#chat {
    display: none;
    flex-grow: 0;
    flex-shrink: 8;
    transition: flex-grow 0.5s ease;
    box-sizing: border-box;
    user-select: none;
}

#dragshade {
    position: fixed;
    left: 0px;
    top: 0px;
    min-width: 100vw;
    min-height: 100vh;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0);
}

#video,
#chat {
    position: relative;
    height: 100vh;
    overflow: hidden;
    padding-bottom: 56.25%;
    padding-top: 30px;
}

.sideMenu input {
    position: absolute;
    clip: rect(0, 0, 0, 0);
}

.sideMenu label {
    display: block;
    width: 100%;
    padding: 0.5em;
    padding-left: 1.25em;
    cursor: pointer;
}

.sideMenu input:checked+label {
    background-color: rgba(255, 255, 255, 0.25);
}

.hidden {
    visibility: hidden !important;
}

.sideMenu {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}


/* https://codepen.io/rlemon/pen/vmIlC */

.alert .inner {
    display: block;
    padding: 6px;
    margin: 0px;
    flex-grow: 2;
    order: 1;
    text-align: center;
}

.alert .inner a:link {
    color: rgb(82, 68, 229) !important;
}

.alert .inner a:visited {
    color: rgb(157, 100, 209) !important;
}

.alert .close {
    display: flex;
    align-items: middle;
    cursor: pointer;
    flex-shrink: 2;
    padding-right: 1em;
    order: 2;
}

.alert .close i {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
}

.alert input {
    display: none;
}

.alert input:checked~* {
    display: none;
}


/* END https://codepen.io/rlemon/pen/vmIlC */

.sideMenu a,
.sideMenu a:link,
.sideMenu a:active,
.sideMenu a:hover {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0.5em;
    padding-left: 1.25em;
}

.sideMenu li {
    background-color: rgba(255, 255, 255, 0);
    width: auto;
    display: flex;
    flex-direction: row;
}

.sideMenu li:hover {
    background-color: rgba(255, 255, 255, 0.5) !important;
}

.sideMenu li.active {
    background-color: rgba(255, 255, 255, 0.25);
}

.sideMenu li input[disabled]+label {
    opacity: 0.25;
    pointer-events: none;
}

.sideMenu li label {
    flex-grow: 10;
}

.sideMenu .brandIcon {
    width: 1em;
    max-width: 1em;
    max-height: 1em;
    display: inline-block;
}

.sideMenu .brandLogo {
    height: 1em;
    max-height: 1em;
}

.sideMenu .serviceLink {
    display: inline;
    flex-shrink: 10;
}

.sideMenu .material-toggle {
    transform: translateX(-3em) translateY(1em);
}

.throbbing {
    animation-name: throb;
    animation-duration: 1s;
    /*animation-direction: alternate;*/
    animation-iteration-count: infinite;
}