@import "../css/dom.css";
/*
    palettes

    default: http://paletton.com/#uid=13v0u0kowGPe6RJjLLZtQC8zSsh
    #86BFE4
    #59A3D4
    #378DC5
    #1678B8
    #075A90

    gray: http://paletton.com/#uid=13v0u0kcglL4Zvw8Eq6eXhmkwen
    #8997A1
    #637885
    #475F6F
    #324958
    #1D3849
*/

textarea {
    resize: none;
}

/*@media (min-width: 400px) {
    body {
        font-size: 80%;
    }
}

@media (min-width: 640px) {
    body {
        font-size: 100%;
    }
}*/

.noscript {
    background-color: black;
}

.blur {
    background-color: black;
}

.view {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 0;
}

.center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}


.view-form {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: auto;
    bottom: 4.5em;
}

.view-stats {
    position: absolute;
    left: 2em;
    top: 2em;
    width: 300px;
    height: 300px;
    background: rgba(0, 0, 0, 0.8);
}

.view-stats canvas {
    width: 300px !important;
    height: 200px !important;
}

/*@media (min-width: 640px) {
    .view-form {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        max-height: 50%;
        max-width: 320px;
    }
}*/

.view-form-fullscreen {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}

.loading {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

.fill {
    width: 100%;
    height: 100%;
}

.crop {
    overflow: hidden;
}

.container {
    position: absolute;
    margin: auto;
}

.relative {
    position: relative;
}

/*
    player
*/
.player {
    background-color: black;
}

/*
    thumbnail
}*/
.thumbnail {
    position: absolute;
    bottom: 3.5em;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.thumbnail img {
    width: auto;
    height: 6em;
    border: 1px solid gray;
}

.speakerimage {
    position: absolute;
    width: 100%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.speakerimage-background {
    padding: .2em;
    width: 20%;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.speakerimage-background img {
    width: 100%;
    display: block;
}

.speakerimage-background div {
    text-align: center;
}

/*
    footer
*/
.footer {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    padding: 0 16px;
}

.footer-buttons {
    padding: 0 0.4em 0 0.4em;
}

.footer-buttons .btn {
    padding: .4em .6em;
    padding-bottom: 0.8em;
    margin: 0;
}

/*

*/
.timer {
    padding: 0 .4em;
}

/*
    exam
*/
.exam-banner {
    background-color: #2b648d;
    padding: .7em;
    text-align: center;
}

.exam-banner.complete {
    background-color: rgba(135, 181, 73, .9);
}

.exam-banner span {
    padding-right: 2em;
}

.btn-exam {
    padding: .4em 1em;
    border-radius: 1em;
    background-color: white;
    color: #87b549;
    font-weight: bold;
}

/*
    controls
*/

.controls-controls {
    width: 100%;
    height: 100%;
}

.controls-hidden-form .controls-hidden-form-hide {
    opacity: 0 !important;
    overflow: hidden !important;
    /*visibility: hidden !important;
    position: absolute !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;*/
    max-height: 0;
}


.controls-shown .controls-hidden-hide,
.controls-resources-shown.controls-shown .controls-resources {
    animation: fadein 0.3s ease-in-out normal;
    animation-fill-mode: forwards;
}


.controls-hidden .controls-hidden-hide,
.controls-resources-hidden.controls-hidden .controls-resources {
    animation: fadeout 0.3s ease-in-out normal;
    animation-fill-mode: forwards;
}

.controls-resources {
    padding-left: 1.3em;
}

.view-resources {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0 1em;
}

.view-resources .resource {
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}


.view-resources div {
    margin: 1em 0;
}

.resource {
    padding-top: 0.2em;
    padding-bottom: 0.2em;
}

.resource.topic {
    font-weight: bold;
}











.controls-header-gradient,
.controls-footer-gradient {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    transition: .2s ease-in-out;
    -webkit-transition: .2s ease-in-out;
    background: none;
    opacity: 0;
}

.controls-shown .controls-header-gradient,
.controls-resources-shown .controls-header-gradient,
.controls-shown .controls-footer-gradient {
    opacity: 1;
}

.controls-header-gradient {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0.65+0,0+50 */
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a6000000', endColorstr='#00000000', GradientType=0);
    /* IE6-9 */
}

.controls-footer-gradient {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+50,0.65+100 */
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.65) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.65) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.65) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#a6000000', GradientType=0);
    /* IE6-9 */
}


.controls-header {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
}

.controls-footer {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
}

.controls-row {
    position: relative;
    max-height: 100vh;
    transition: opacity .2s ease-in-out;
    -webkit-transition: opacity .2s ease-in-out max-height .2s ease-in-out;
}

.controls-left {
    width: calc(100% - 6em);
    padding: 1em;
    padding-bottom: 0em;
    white-space: nowrap;
    overflow: hidden;
}

.controls-left .btn {
    vertical-align: top;
}

.controls-right {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1em;
}

.controls-center {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
}


@media (min-width:640px) {
    .controls-left {
        right: 11em;
    }
}

.header-title .description {
    color: white;
    padding-left: 2em;
}

.header-title-part {
    vertical-align: middle;
}

.header-resources {
    padding-top: 0.5em;
    font-size: 0.7em;
}



/*
    scrubber
*/
.scrubber {
    width: 100%;
    height: 1em;
    padding: 0.4em 0.4em 0.4em 0.4em;
}

.scrubber-video {
    height: 1.6em;
    padding-top: 1em;
}

.scrubber-background {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: rgba(55, 140, 197, 0.5);
}

.scrubber-indicator {
    background-color: rgb(255, 255, 255);
    position: absolute;
    top: 0;
    height: 0.2em;
    width: 0.2em;
    border-radius: 50%;
    opacity: 0;
}

.scrubber-indicator.call2action {}


.scrubber:hover .scrubber-indicator,
.scrubber.scrubbing .scrubber-indicator,
.scrubber.focus .scrubber-indicator {
    height: 0.4em;
    width: 0.4em;
    top: 0;
    margin-left: -0.2em;
    opacity: 1;
}



.scrubber-knob {
    position: absolute;
    top: 0;
    left: 0;
}

.scrubber-knob-button {
    margin: 0;
    padding: 0;
    background-color: rgb(55, 140, 197);
    border: none;
    outline: none;
    position: absolute;
    left: -0.1em;
    top: -0.05em;
    height: 0.2em;
    width: 0.2em;
    border-radius: 50%;
    opacity: 0;
    z-index: 10;
}



.scrubber-knob-button.animate {
    transition: padding 0.1s ease-in-out, width 0.1s ease-in-out, height 0.1s ease-in-out, left 0.1s ease-in-out, top 0.1s ease-in-out;
    -webkit-transition: padding 0.1s ease-in-out, width 0.1s ease-in-out, height 0.1s ease-in-out, left 0.1s ease-in-out, top 0.1s ease-in-out;
    -moz-transition: padding 0.1s ease-in-out, width 0.1s ease-in-out, height 0.1s ease-in-out, left 0.1s ease-in-out, top 0.1s ease-in-out;
    -ms-transition: padding 0.1s ease-in-out, width 0.1s ease-in-out, height 0.1s ease-in-out, left 0.1s ease-in-out, top 0.1s ease-in-out;
    -o-transition: padding 0.1s ease-in-out, width 0.1s ease-in-out, height 0.1s ease-in-out, left 0.1s ease-in-out, top 0.1s ease-in-out;
}

.scrubber-knob-wcag-slider {
    position: absolute;
    top: -.2em;
    left: -.2em;
    width: .8em;
    height: .8em;
    visibility: hidden;
    border-radius: 50%;
}

.scrubber-bar {
    position: absolute;
    background-color: rgb(55, 140, 197);
    height: 100%;
}

.scrubber-bar-progress {
    position: absolute;
    background-color: rgb(173, 205, 226);
}

.scrubber:hover,
.scrubber.scrubbing,
.scrubber.focus {
    padding: 0.3em 0.4em 0.3em 0.4em;
}

.scrubber-video:hover,
.scrubber-video.scrubbing,
.scrubber-video.focus {
    padding: 0.9em 0.4em 0.3em 0.4em;
}



.scrubber:hover .scrubber-knob-button,
.scrubber.scrubbing .scrubber-knob-button,
.scrubber.focus .scrubber-knob-button {
    height: 0.8em;
    width: 0.8em;
    top: -0.2em;
    left: -0.4em;
    border-width: 0.1em;
}

.scrubber-embed .scrubber-knob-button {
    height: 0.4em;
    width: 0.4em;
    top: -0.1em;
    left: -0.1em;
    border-width: 0.1em;
}

.scrubber-embed .scrubber-knob-button,
.scrubber.scrubbing .scrubber-knob-button,
.scrubber:hover .scrubber-knob-button {
    opacity: 1;
}

.scrubber-knob-button:focus,
.scrubber-knob-button.focus-keyboard {
    opacity: 1;
    border-color: white;
    border-radius: 50%;
    border-style: solid;
    border-width: 2px;
    outline: none;
}

.scrubber-embed .scrubber-knob-button,
.scrubber-embed .scrubber-bar {
    background-color: rgb(241, 129, 0);
}

/*
    live subtitles
*/
.livesubtitles-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 2em 4em;
    text-align: center;
}

.livesubtitles-content {
    background-color: rgba(0, 0, 0, 0.5);
}

.controls-shown .livesubtitles-container {
    bottom: 2em;
}

/*
    slide controls
*/
.controls-slide-container {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
}

.controls-slide-container .radiogroup {
    padding: 0;
}

.controls-slide-container .btn-default {
    background-color: transparent;
}

.slide-controls {
    display: inline-block;
}



/*
    btn
*/
.btn {
    cursor: pointer;
    text-decoration: none !important;
    border: 1px solid rgba(0, 0, 0, 0);
}

.btn:disabled {
    cursor: default;
}

.btn:focus {
    outline: none;
}

.btn.focus-keyboard {
    border: 1px solid white;
}


.btn-preview {
    width: 100%;
}

.btn-icon {
    background: none;
    color: inherit;
    padding: 0.6em 0.8em;
    margin: .2em .2em;
}

.btn-icon:disabled {
    color: gray;
}

.btn-icon:disabled:active {
    color: gray;
}

.btn-icon:active {
    color: rgb(55, 140, 197);
}

.btn-icon.focus-keyboard {
    border: 1px solid rgb(55, 140, 197);
}


.btn-icon.checked {
    color: rgb(55, 140, 197);
}

.btn-home {
    vertical-align: top;
    padding: 0;
    margin: 0;
}

.btn-cast {
    width: 1em;
    height: 1em;
}

.btn-share {
    padding: 0;
    margin: 0;
    margin-right: 1em;
    display: inline-block;
}

.btn-share .icon {
    margin: 0;
}

.btn-default {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.6em 0.8em;
    margin: .2em .2em;
}

.btn-default:active {
    background-color: #075A90;
}

.btn-default:disabled {
    background-color: #075A90;
    color: darkgray;
}


.btn-default.checked {
    background-color: #075A90;
}

.btn-comment {
    background-color: rgb(55, 140, 197);
    padding: 0.6em 0.8em;
    color: white;
    margin: .2em .2em;
}

.btn-comment:active {
    background-color: #075A90;
}

.btn-comment:disabled {
    background-color: #075A90;
    color: darkgray;
}

.btn-footer {
    background-color: rgb(55, 140, 197);
    padding: 0.6em 0.8em;
    color: white;
    margin: .2em .2em;
}

.btn-footer:active {
    background-color: #075A90;
}

.btn-footer:disabled {
    background-color: #075A90;
    color: darkgray;
}

.btn-bright {
    background-color: rgb(241, 129, 0);
    padding: 0.6em 0.8em;
    color: white;
}

.btn-bright:disabled {
    background-color: rgb(174, 93, 0);
    color: darkgray;
}


.poster .btn-bright:disabled {
    background: none;
    color: white;
}

.btn-cancel {
    position: absolute;
    right: 1em;
    top: 1em;
}

.btn .label {
    padding: 0 .3em;
    letter-spacing: 0.2em;
}

.btn.btn-footer .label {
    letter-spacing: normal;
}

.btn .live.icon {
    color: red;
}

.btn.askaquestion {
    position: absolute;
    right: 1.1em;
    bottom: 4em;
    border-radius: 2em;
    padding: 0.2em 0.8em;
    padding-right: 0;
}

.btn.askaquestion * {
    display: inline-block;
    vertical-align: middle;
}

@media(max-width:400px) {
    .btn.askaquestion .asklabel {
        display: none;
    }

    .btn.askaquestion {
        padding: 0.2em 0;
    }
}

/*
    radiogroup
*/
.radiogroup {
    padding: .2em .8em;
}

.radiogroup .btn {
    margin: 0;
}

/*
    volume btn
*/
.volume-btn-scrubber {
    display: inline-block;
    width: 0px;
    height: 1em;
    padding: 0.15em;
}

.volume-btn-scrubber.open {
    width: 3em;
}

/*
    large play btn
*/
.largeplaybtn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

@media (max-width: 320px) {
    .show-xs {
        display: block;
    }


    .hide-xs {
        display: none;
    }
}

/*
    comment
*/
.comment {
    position: absolute;
    bottom: 4em;
    left: 0;
    padding: 0.3em 1.1em;
    z-index: 100;
}

.comment>div {
    width: 100%;
    background-color: rgb(55, 140, 197);
    padding: .6em;
}

.comment span {
    padding-right: .4em;
}

/* 
    topics
*/
.topics-left {
    position: absolute;
    left: 0;
    top: 0;
    right: 3em;
    padding: 1em;
}

.topics-right {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1em;
}

.topics-title {
    white-space: nowrap;
    overflow: hidden;
    color: white;
    font-weight: bold;
}

.topics-container {
    overflow-y: auto;
    width: 100%;
    height: 100%;
}

.topics-list {
    padding-top: 3em;
    padding-left: 1em;
    padding-right: 1em;
    max-width: 640px;
    margin: 0 auto;
}

.topics-list .topic {
    cursor: pointer;
    padding: 0.6em 0;
}

.topics-list .topic:nth-last-child(n + 2) {
    border-bottom: solid 1px gray;
}

.topics-list .topic.active {
    color: rgb(55, 140, 197);
}

        .topics-list .topic.disabled {
            color: #aaa; /* 2023-01-19 Tested with WCAG Color Contrast Checker Chrome plugin, creating a contrast of 9.04 */
            cursor: default;
        }

.topics-list .topic .title {
    width: 85%;
}

.topics-list .topic .time {
    float: right;
    text-align: right;
}


.topics-list-title {
    padding: 0.6em 0;
}

/* 
    slides
*/
.slides {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

.slides.vertical {
    overflow-x: hidden;
    overflow-y: auto;
}

.slides.horizontal {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

.slides.horizontal .slides-btn {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
}

.slides-btn {
    padding: 1em;
}

.slides-list {
    padding: .4em;
    overflow: auto;
}

.slide {
    vertical-align: text-bottom;
    position: relative;
    display: inline-block;
    width: 96%;
    height: auto;
    margin: 2%;
    color: white;
}

.slides.horizontal .slide {
    height: 27em;
    width: auto;
    margin-top: 2.4em;
}

.slide-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    outline: 3px solid #434343;
}

.slide-overlay-playing {
    display: none;
    text-align: center;
}

.slide-overlay-playing span {
    display: block;
}

.slide-overlay-content {
    background-color: #434343;
    position: absolute;
    bottom: 0;
    right: 0;
    padding: .2em .2em 0 .2em;
    white-space: nowrap;
}

.slide-event-container {
    border-right: 1px solid #5d5d5d;
    display: inline-block;
}

.slide-event-container .btn {
    background: none;
    border: none;
    padding: 0 .2em;
    font-size: 1em;
    display: block;
}

.slide-order {
    padding: 0 .4em;
    padding-left: .8em;
    display: inline-block;
}

.slide img {
    display: block;
}

.slide.selected .slide-overlay {
    outline: 4px solid rgb(55, 140, 197);
    background: rgba(0, 0, 0, 0.2);
}

.slide.selected .slide-overlay .slide-overlay-playing {
    display: inline-block;
}

.slides.vertical .slide img {
    width: 100%;
}

.slides.horizontal .slide img {
    height: 100%;
}

@media (min-width:500px) {
    .slide {
        width: 46%;
    }
}

@media (min-width:900px) {
    .slide {
        width: 29%;
    }
}


@media (min-width: 1280px) {
    .slide {
        width: 16%;
    }
}


.background-slide {
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

/*.video.hasslides .background-slide {
    position: absolute;
    left: 35%;
    top: 0;
    bottom: 0;
    right: 0;
    width: unset;
    height: unset;
    background-position:bottom right;
}

.video.hasslides .background-player {
    position:absolute;
    left: 0;
    top: 0;
    right: 65%;
    width: unset;
    height: unset;
    padding-bottom:19.6%;
}*/

.video.videoandslide {
    background-color: #1D3849;
}

.video.videoandslide .background-slide {
    position: absolute;
    left: 33.333%;
    top: 0;
    bottom: 0;
    right: 0;
    width: 66.66%;
    height: 100%;
    border: .5em solid transparent;
    border-left: .5em;
}

.video.videoandslide .background-player {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 66.666%;
    width: unset;
    height: unset;
    padding: .5em;
}

.video.videoandslide .video-js {
    position: relative;
}

.video.fullscreenvideo .background-player {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    padding: 0;
}

.video.fullscreenvideo .background-slide {
    display: none;
}

.video.fullscreenslide .background-slide,
.audio .background-slide {
    position: absolute;
    left: -1px;
    top: -1px;
    bottom: -2px;
    right: -2px;
    width: auto;
    height: auto;
    padding: 0;
}

.video.fullscreenslide .background-player {
    display: none;
}

@media (orientation: landscape) {
    .video.videoandslide .vjs-tech {
        height: auto;
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (orientation:portrait) {
    .video.videoandslide .background-slide {
        position: absolute;
        left: 0;
        top: 50%;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 50%;
        padding: 0;
        border: none;
    }

    .video.videoandslide .background-player {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 50%;
        right: 0;
        width: unset;
        height: unset;
        width: 100%;
        height: 50%;
        padding: 0;
        border: none;
    }
}


/*
    embed
*/
.embed-header {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 2em;
    overflow-y: auto;
    overflow-x: hidden;
}

.embed-header.fullscreen {
    bottom: 0;
}

.embed-header-scroll {
    position: relative;
    width: 100%;
    min-height: 100%;
}

.embed-left {
    position: absolute;
    left: 0;
    top: 0;
    right: 7em;
    padding: 1em;
    white-space: nowrap;
    overflow: hidden;
}

.embed-right {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1em;
}

.embed-iframe-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
}

.embed-iframe-background {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 1em;
    padding-top: 4em;
    width: 100%;
    min-height: 100%;
}

.embed-iframe {
    max-width: 25em;
    margin: 0 auto;
    height: 100%;
}

.embed .column {
    padding: 0;
    margin: 0;
    white-space: nowrap;
    display: none;
}

.embed .column-resolution {
    display: inline-block;
    width: 100%;
}

.embed.fragment .column {
    display: inline-block;
}

.embed.fragment .column-resolution {
    width: 34%;
}

.embed.fragment .column-fragment {
    width: 49%;
}

.embed.fragment .column-preview {
    width: 14%;
}



@media (min-width: 480px) {
    .embed-header-scroll {
        height: 100%;
    }

    .embed-iframe-wrapper {
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        top: 50%;
        bottom: unset;
    }

    .embed-iframe {
        height: auto;
    }

    .embed-iframe-background {
        width: auto;
        height: auto;
        min-height: 0;
        padding-top: 1em;
    }
}

.iframe-text {
    margin-top: 1em;
    padding: .5em;
    word-break: break-all;
    -webkit-touch-callout: initial;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
    cursor: text;
    background-color: white;
    color: black;
}

.select {
    background: rgba(128, 128, 128, .2);
    color: white;
    border: none;
    cursor: pointer;
    text-align: right;
    padding: .5em;
    width: 99%;
    margin: .1em;
}

.embed .footer {
    padding: 0.4em;
}

.timer-embed {}

.timer-embed .length {
    color: rgb(241, 129, 0);
}

/*
    share
*/
.share-left {
    position: absolute;
    left: 0;
    top: 0;
    right: 7em;
    padding: 1em;
    overflow: hidden;
    white-space: nowrap;
}

.share-right {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1em;
}

.share-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    white-space: nowrap;
}

.share-list-buttons {
    padding-top: 1em;
}

.color-facebook {
    background-color: #3b5998;
}

.color-twitter {
    background-color: #55acee;
}

.color-linkedin {
    background-color: #0077b5;
}

.color-google-plus {
    background-color: #dc4e41;
}

/*
    poster
*/
.background-poster {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: -1px;
    top: -1px;
    right: -2px;
    bottom: -2px;
    width: auto;
    height: auto;
}

.background-poster-hide {
    background: none !important;
}

.poster {
    background-color: rgba(0, 0, 0, 0.6);
}


.poster-left {
    position: absolute;
    left: 0;
    right: 7em;
    padding: 1em;
    padding-right: 0px;
    white-space: nowrap;
    overflow: hidden;
}

.poster-left>div {
    display: inline-block;
    white-space: nowrap;
}

.poster-right {
    position: absolute;
    right: 0;
    padding: 1em;
}

.poster-title {
    white-space: nowrap;
    overflow: hidden;
    color: white;
    font-weight: bold;
}


.poster-info {
    padding-top: .6em;
}

.poster-info .info {
    display: inline-block;
    padding: 0;
    margin: 0;
    margin-right: .6em;
}

.poster-info .info .label {
    letter-spacing: normal;
}


.poster-info .icon {
    color: lightgray;
}

.poster-info .label {
    padding-left: .2em;
}


@media (min-width:400px) {
    .poster-left {
        right: 15em;
    }
}

.poster-container {
    overflow-x: hidden;
    overflow-y: auto;
}

.poster-phase {
    color: white;
    padding: 1.5em 2em;
    padding-top: 5em;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
}

.poster-phase .label {
    letter-spacing: 0.2em;
}

.poster-phase>span {
    margin: 0 auto;
    display: inherit;
}

.poster-phase>button {
    width: 100%;
    margin-top: 1em;
}

.poster-phase-header {
    display: block;
}


.countdown-list {
    padding: 0px;
    margin: 0 auto;
    text-align: center;
    margin-top: .5em;
}

.countdown-list>div {
    display: inline-block;
    width: 4em;
    margin: 3px;
}

.countdown-list>div:nth-last-child(n + 2) .countdown-counter {
    border-right: solid 1px rgba(255, 255, 255, 0.2);
}

.countdown-list>div>div {
    text-align: center;
}

.countdown-counter {
    padding-bottom: 0.2em;
}

.countdown-label {
    color: gray;
}

.date {
    display: none;
    position: absolute;
    bottom: 0px;
    left: 0px;
    border-left-width: .15em;
    border-left-color: red;
    border-left-style: solid;
    padding-left: .5em;
    margin-bottom: 1em;
    margin-left: 1em;
}

.date>* {
    line-height: 110%;
}

.date .day {
    line-height: 70%;
}

.date .month {
    line-height: 85%;
}


@media(max-width:399px) {
    .poster-container {
        background-color: rgba(0, 0, 0, 0.8);
    }
}

@media (min-width:400px) {
    .date {
        display: block;
    }

    .poster {
        /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0.7+0,0.5+20,0+100 */
        background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 20%, rgba(0, 0, 0, 0) 100%);
        /* FF3.6-15 */
        background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 20%, rgba(0, 0, 0, 0) 100%);
        /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 20%, rgba(0, 0, 0, 0) 100%);
        /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b3000000', endColorstr='#00000000', GradientType=0);
        /* IE6-9 */
    }

    .poster-container {
        overflow-y: hidden;
    }

    .poster-phase-header {
        display: block;
    }

    .poster-phase {
        background-color: rgba(0, 0, 0, .8);
        max-width: 25em;
        min-height: 0;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        padding-top: 1.5em;
        bottom: auto;
    }

    .countdown-list {
        padding-bottom: 1.5em;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }
}


/*
    webcastlist
*/
#webcastlink-links {
    padding-left: 1em;
    padding-top: .5em;
}

#webcastlink-links a {
    color: white;
    padding-top: .2em;
    display: inline-block;
}


/*
    texttracks
*/
.btn-texttrack {
    display: inline-block;
    position: relative;
}

.texttrack-list {
    position: absolute;
    bottom: 2.5em;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    padding: .5em;
}

.texttrack {
    color: #637885;
    width: 100%;
    text-align: left;
}

.texttrack.active {
    color: rgb(55, 140, 197);
}


/* p2p */


.btn-p2p-icon {
    position: relative;
}

.btn-p2p-peers-label {
    position: absolute;
    right: 0;
    top: 0;
    font-size: .5em;
    background-color: #0077b5;
    color: white;
    border-radius: 50%;
    width: 1.3em;
    height: 1.3em;
    opacity: 1;
}

.btn-p2p-traffic {
    display: none;
}

.btn-p2p:hover .btn-p2p-traffic {
    display: inline;
}

.btn-p2p-traffic-p2p {
    color: green;
}

.btn-p2p-traffic-http {
    color: red;
}

/* chart */
.view-chart {
    white-space: nowrap;
}

.chart-title {
    padding: .8em;
    padding-left: 4em;
    padding-right: 7em;
    text-overflow: ellipsis;
    overflow: hidden;
}

.chart-visualization {
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    padding: 2em;
    padding-top: 4em;
    padding-left: 4em;
}

.chart-visualization svg {
    width: 100%;
}

.chart-legend {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    overflow-y: scroll;
    padding-bottom: 2em;
}

.chart-component {
    display: inline-block;
}

.controls-charts .chart {
    font-size: .8em;
    padding: .5em;
    position: absolute;
    bottom: -1em;
    left: 1em;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.8);
    white-space: nowrap;
}

.controls-charts .title {
    padding: .5em;
    padding-right: 2em;
}

.controls-charts .legend-container,
.controls-charts .visualization {
    display: inline-block;
    vertical-align: middle;
}

.controls-charts .legend {
    padding: 0;
    width: auto;
    margin-top: 0;
}

.controls-charts .legend-path {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: calc(100% - 2em);
}

.controls-charts .legend-item {
    width: 10em;
}

.controls-charts .legend-item.active {
    width: auto;
}

.controls-charts .legend-item.active .legend-path {
    overflow: visible;
    width: auto;
}

.controls-charts .legend-level-1 {
    margin: 0;
}

.controls-charts .legend-color {
    background: none;
}

.controls-charts .legend-color-inner {
    border-radius: 50%;
}

.controls-charts .btn-default {
    border: 1px solid white;
}

.controls-charts .chart>.btn-icon {
    position: absolute;
    top: .5em;
    right: .5em;
}

.controls-charts svg {
    width: 8em;
}

.controls-charts .bar {
    height: 8em;
    width: 8em;
}

.controls-charts .legend-count {
    display: none;
}

/* legend */
.legend {
    width: 100%;
    padding: 0 1em;
    margin-top: 3em;
}

.legend-color,
.legend-path,
.legend-count {
    display: inline-block;
}

.legend-color {
    padding: .3em;
    background-color: rgba(200, 200, 200, .5);
    vertical-align: text-top;
}

.legend-color-inner {
    width: .7em;
    height: .7em;
}

.legend-path {
    padding-left: .5em;
    width: calc(100% - 6em);
    white-space: normal;
    vertical-align: text-top;
}

.legend-count {
    width: 4em;
}

.legend-item {
    width: 100%;
    padding: .2em .5em;
}

.legend-item.active {
    background-color: rgba(200, 200, 200, .5)
}

.legend-item.active .legend-color {}

.legend-level-0 {}

.legend-level-1 {
    font-weight: bold;
    margin-top: 1em;
    margin-bottom: .5em;
}

.legend-level-2 {
    padding-left: 2em;
}


/* donut */

.donut-part {
    transition: transform .3s ease-in-out opacity .3s ease-in-out;
}

.donut-part.focus {}

.donut-part.blur {
    opacity: .1;
}

.donut-part .donut-part .donut-part {
    opacity: 0;
}

.donut-part .donut-part.focus .donut-part {
    opacity: 1;
}

.donut-part circle {}

/* bar*/
.bar {
    width: 100%;
    height: 100%;
    margin-right: 1em;
    overflow: hidden;
    position: relative;
}

.bar-part {
    display: inline-block;
    white-space: nowrap;
    padding-left: 4%;
    transition: height .3s ease-in-out;
}

.bar-part.stack {
    display: block;
    white-space: normal;
    padding-left: 66%;
}

.bar-part-inner {
    width: 100%;
    height: 100%;
}



/*
    videojs
*/
.vjs-error-display {
    display: none;
}

.vjs-hidden {
    display: none;
}

.video-js {
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
}

.vjs-text-track-display {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.controls-shown .vjs-text-track-display {
    transform: translateY(-4em);
    -webkit-transform: translateY(-4em);
}


*::-webkit-media-controls-panel {
    display: none !important;
    -webkit-appearance: none;
}

/* Old shadow dom for play button */

*::--webkit-media-controls-play-button {
    display: none !important;
    -webkit-appearance: none;
}

/* New shadow dom for play button */

/* This one works */

*::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
}

.log {
    font-size: 7px;
    position: absolute;
    left: 0;
    top: 0;
    overflow: auto;
}
