@-moz-document url-prefix() 
{
    a:focus,
    select:focus,
    input:focus,
    :focus img {
        /* Really don't want to change the default browser focus outline, but Firefox has a stupid default. */
        outline-width: 3px;
        outline-style: solid;
        outline-color: #2964a2;
    }
}

html {
    color: white;
    background-color: black;
}

body {
    color: white;
    background-color: black;
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-family: Tahoma, Helvetica, Arial, sans-serif;
    overflow: hidden;
}

.WaitingOverlay {
    position: absolute;
    height:100%;
    width:100%;
    top:0;
    background-color: #000;
    z-index:1000;
}

.WaitingOverlayMessage {
	position: absolute; 
    max-width: 600px;
    overflow: hidden;
    margin: 20px;
}

.WaitingOverlayPresentationInfo 
{
    margin-top: 20px;
	border: solid 6px white; 
	border-radius: 6px; 
	padding: 20px;
    font-size: 26px;
}

.WaitingOverlayTitle {
	font-size: 24px;
}

.WaitingOverlayPresentationTitle 
{
	font-size: 20px;
}

.WaitingOverlayPresentationDescription 
{
    margin-top: 10px;
	font-size: 14px;
    max-height: 100px;
    overflow: auto;
}

.WaitingOverlayPresentationTime {
	margin-top: 10px;
	font-size: 14px;
}

.WaitingOverlayPresentationTimeToStart 
{
    margin-top: 20px;
	font-size: 20px;
}

.WaitingOverlayPresentationMediaStatus {
	 margin-top: 20px;
    font-size: 16px;
}

.player { position: absolute; width: 100%; height: 100%; }
.contentArea {
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;
    z-index:0;
}
.contentArea
{
    bottom: 58px;
}
.controlbar-disabled .contentArea
{
    bottom: 10px;
}
.showing-markers .contentArea
{
    bottom: 70px; /* +12px */
}
.controlbar-disabled.showing-markers .contentArea
{
    bottom: 22px; /* +12px */
}
.stream, .stage-stream-box 
{
    position: absolute;
    background-color: #111;
    cursor: pointer;
}
.stream.primary {
    width: 65%;
    height: 200px;
}
.stream .framer, 
.stage-stream-box .framer {
    position: absolute;
    z-index:1;
    left:0; right:0;
    top:0; bottom:0;
    background-color: transparent;
    border: 4px solid white;
    opacity: 0.4;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.stream .video-view,
.stream .slide-view
{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}
.stream .slide-view { overflow:hidden; }
.stream .slide-view img
{
    position:absolute;
    display:block;
}

.stream .MediaWrapper,
.stream .media-element-container,
.stream video {
    width: 100%;
    height: 100%;
}

.video-stream-overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-image: url('images/clear.gif');
}

.stream .previewLayoutStreamBackground, 
.stage-stream-box .previewLayoutStreamBackground {
    height: 100%;
    width: 100%;
}

.stage-hidden-stream-box 
{
    overflow:hidden;
    z-index:-300;
    opacity: 0.001;
    filter: opacity(1);
}
.stage-hidden-stream-box:before 
{
    display:none;
}
button.stage-cycle-primary-button
{
    position:absolute !important;
    z-index:2;
    top:6px;
    right:6px;
    background-image: url("images/button_stage_cycle_small.png");
    display: block;
    border: 0;
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    padding: 0;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

button.toggle-stage-lightbox-button
{
    position:absolute !important;
    z-index:2;
    bottom:6px;
    right:6px;
    background-image: url("images/button_stage_lightbox_small.png");
    display: block;
    border: 0;
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    padding: 0;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

button.stage-cycle-primary-button:hover
{
    opacity:1.0;
}

button.toggle-stage-lightbox-button:hover
{
    opacity:1.0;
}

.primary button.stage-cycle-primary-button
{
    display:block;
}

.primary button.toggle-stage-lightbox-button
{
    display:block;
}

.iosPlayCover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index:2; /* This must be higher than .video-stream-overlay and .framer or the play cover button cannot be clicked. */
}
.iosPlayCover button {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -26px;
    margin-left: -28px;
    width: 53px;
    height: 51px;
    background: url('images/button_play_cover.png') 0 0;
    color: white;
    border-width: 0;
    text-indent: -5000px;
    /* make default "Play" text invisible. */
}
.short .contentArea {
    bottom: 36px;
}
.banner-hidden .contentArea {
    top: 0;
}
.controlBar {
    color: white;
    background: #262626 url("images/control_bar_background.png");
    height: 50px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: auto;
    
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.controlbar-disabled .controlBar { display: none; }
.group  
{
    display: inline-block;
	margin: 0;
}

.group-disabled { display: none; }

.group.group-disabled + .group { margin-left: 0; }
.group ~ .group { margin-left: 32px; }

.playButtonArea:before {
    /* The play/pause/stop button area background. */

    content: ' ';
    position: absolute;
    z-index: 0;
    left: 0;
    bottom: 0;
    color: white;
    background: #3b3b3b url("images/control_bar_play_background.png");
    height: 50px;
    width: 70px;
}
.controlBar .moreArea {
    height: 50px;
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
}
.controlBar .moreArea:before {
    /* inert more area symbol. */

    content: ' ';
    position: absolute;
    z-index: -1;
    left: 27px;
    bottom: 10px;
    color: white;
    background: url("images/button_more.png") no-repeat;
    height: 30px;
    width: 30px;
    opacity: 0.09;
}
.controlBar .moreArea:after {
    content: ' ';
    position: absolute;
    z-index: -2;
    left: -10px;
    top: 0;
    color: white;
    background: url("images/control_bar_more_background.png") no-repeat;
    height: 100%;
    width: 78px;
}
.controlBar .moreArea button { margin-left: 0; margin-right: 0; }
.controlBar .moreArea button ~ button { margin-left: 12px; }
.controlBar .moreArea button.ui-state-disabled + button { margin-left: 0; }

.controlBar .moreButtons {
    padding-left: 75px;
    padding-right: 10px;
}
.controlBar .moreButton {
    background-image: url('images/button_more.png');
}
.controlBar.more-collapsed .moreButton {
    margin-left: 27px;
    margin-right: 6px;
}
.controlBar.more-hidden .moreButtons 
{
    padding-left: 0;
}
.controlBar button.moreButton { display: none; }
.controlBar.more-collapsed .moreButton { display: block; }
.controlBar.more-collapsed .moreButtons {
    display: none;
}
.controlBar.more-hidden .moreButtons 
{
    display: block;
}
.controlBar.more-collapsed .moreArea:before {
    display: none;
}
.controlBar.more-hidden .moreButton,
.controlBar.more-hidden.more-collapsed .moreButton,
.controlBar.more-hidden .moreArea:before,
.controlBar.more-hidden .moreArea:after
{
    display: none;
}
.presentation-waitingforlive .controlBar .moreArea:before, 
.presentation-waitingforlive .controlBar .moreArea:after {
    display: none;
}

.controlBar.wires button {
    outline: 1px dashed rgba(0, 0, 0, 0.3);
}
.controlBar.wires .playButtonArea {
    outline: 1px dashed orange;
}
.controlBar.wires .playbackInfo {
    outline: 1px dashed orange;
}
.controlBar.wires .alwaysControls {
    outline: 1px dashed orange;
}
.controlBar.wires .generalControls {
    outline: 1px dashed orange;
}
.controlBar.wires .audioControls {
    outline: 1px dashed orange;
}
.controlBar.wires .moreArea {
    outline: 1px dashed red;
}
.controlBar.wires .moreArea:before {
    outline: 1px dashed orange;
}
.controlBar .playButtonArea {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 100%;
}

.playpause-disabled .playButtonArea 
{
    display: none;
}
.controlBar .audioControls {
    position: absolute;
    left: 400px;
    top: 0;
    width: auto;
    height: 100%;
    margin-left: 0px;
}
.controlBar .generalControls {
    position: absolute;
    z-index: 2;
    left: 600px;
    top: 0;
    width: auto;
    height: 100%;
}
.controlBar .alwaysControls {
    position: absolute;
    left: 173px;
    top: 0;
    width: auto;
    height: 50px;
    white-space: nowrap;
}
.alwaysControls button {
    display: block;
    float: left;
    margin-left: 8px;
    margin-right: 8px;
}
.alwaysControls button:first-child {
    margin-left: 0;
}
.controlBar button, .controlBar .ui-button, .menuPanel .ui-button, .panels button, .modals button, .standalone-inspector button {
    display: block;
    border: 0;
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    padding: 0;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.controlBar button {
    float: left;
    margin: 10px 8px 0;
    border: none;
}

.ui-button.ui-state-disabled { display: none; cursor: default; }
.ui-button .ui-button-text 
{
    position: relative;
    z-index: 2;
}
.controlBar .ui-button .ui-button-text { display: none; }
.ui-blur-background { 
    position: relative; 
    overflow: visible; 
    /* per http://stackoverflow.com/a/11190105 */
}
.ui-blur-background .ui-blur-image { 
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}
.ui-blur-background .foreground {
    display: block;
	position: relative;
	z-index: 1;

    width: 100%;
    height: 100%;
}

.ui-blur-background .background {
    display: block;
	position: absolute;
	z-index: 0;

	width: 50px;
	height: 50px;
}

.ui-blur-background .foreground {
    opacity: 0.8;
    transition: opacity 0.1s;
}.ui-blur-background .background {
    opacity: 0;
    transition: opacity 0.1s;
}
.ui-blur-background.ui-state-hover .foreground,
.ui-blur-background:hover .foreground
{
	opacity: 0.8;
}
.ui-blur-background.ui-state-hover .background,
.ui-blur-background:hover .background
{
	opacity: 0.5; /* x2 */
}

.ui-blur-background.ui-state-active .foreground,
.ui-blur-background:active .foreground {
	opacity: 0.9;
} 
.ui-blur-background.ui-state-active .background,
.ui-blur-background:active .background {
	opacity: 0.75;  /* x2 */
}
.playButtonArea button {
    display: block;
    margin-left: 16px;
}
button.play {
    background-image: url('images/button_play.png');
}
button.play-disabled {
    background-image: url('images/button_play_disabled.png');
}
button.pause {
    background-image: url('images/button_pause.png');
}
button.replay 
{
    background-image: url('images/button_replay.png');
}
button.stop
{
    background-image: url('images/button_stop.png');
}
button.info {
    background-image: url('images/button_info.png');
}
button.downloads {
    background-image: url('images/button_downloads.png');
}
button.popout {
    background-image: url('images/button_playerpopout.png');
}
button.enterFullscreen {
    background-image: url('images/button_enterfullscreen.png');
}
.is-fullscreen button.enterFullscreen { display: none; }
button.exitFullscreen {
    background-image: url('images/button_exitfullscreen.png');
}
.controlBar button.ui-button.exitFullscreen { display: none; }
.is-fullscreen .controlBar button.ui-button.exitFullscreen { display: block; }
button.skipback {
    background-image: url('images/button_skipback.png');
}
button.rate {
    background-image: url('images/button_rate.png');
    font-weight: bold;
    font-size: 11px;
    line-height: 2;
}
.controlBar .ui-button.rate .ui-button-text { display: block; }
button.cc {
    background-image: url('images/button_cc.png');
    margin-right: 0;
}
button.cc.active:after {
    display: block;
    position: absolute;
    top: -3px;
    left: 50%;
    margin-left: -4px;
    z-index: 999;
    background-color: white;
	opacity: 0.8;
    content: "";
    height: 3px;
    width: 8px;
    border-radius: 1.5px 1.5px;
}
button.ad {
    background-image: url('images/button_ad.png');
    margin-right: 0;
}
.controlBar button.ad {
    width: 54px;
    height: 30px;
}
button.ad.active:after {
    display: block;
    position: absolute;
    top: -3px;
    left: 50%;
    margin-left: -5px;
    z-index: 999;
    background-color: white;
	opacity: 0.8;
    content: "";
    height: 3px;
    width: 10px;
    border-radius: 1.5px 1.5px;
}
button.mute {
    background-image: url('images/button_mute.png');
}
.controlBar button.mute {
    margin-right: 2px;
    margin-left: 0;
}
button.polls {
    background-image: url('images/button_polls.png');
}
button.ask {
    background-image: url('images/button_ask.png');
}
button.share {
    background-image: url('images/button_share.png');
}
button.search {
    background-image: url('images/button_search.png');
}
button.help {
    background-image: url('images/button_help.png');
}
button.popout-tools {
    background-image: url('images/button_popout_tools.png');
    width: 40px;
    height: 34px;
}
.popout-tools  .background {
    width: 62px;
    height: 56px;
}
button.close-slide-controls { 
    background-image: url('images/button_controls_close.png');
}
button.close-panel {
    background-image: url('images/button_stage_close.png');
}



/* default state */
.controlBar .play { display: block; }
.controlBar .pause, 
.controlBar .replay,
.controlBar .stop, 
.controlBar .play-disabled { 
    display: none; 
} 
.presentation-playing .play { display: none; }
.presentation-playing .pause { display: block; }
.presentation-live.presentation-playing:not(.allow-dvr) .pause { display: none; }
.presentation-live.presentation-playing:not(.allow-dvr) .stop { display: block; }

.presentation-paused .pause { display: none; }
.presentation-ondemand.presentation-ended .controlBar .play, 
.presentation-ondemand.presentation-ended .controlBar .pause 
{
    display: none;
}
.presentation-ondemand.presentation-ended .controlBar .replay 
{
    display: block;
}
.presentation-live.presentation-ended .play { display: none; }
.presentation-live.presentation-ended .play-disabled { display: block; }

.presentation-live:not(.allow-dvr) .skipback { display: none; }

.playbackInfo {
    position: absolute;
    top: 0;
    left: 80px;
    width: 100px;
    height: 100%;
    
    -webkit-touch-callout: text;
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}
.playpause-disabled .playbackInfo { left: 10px; }
.playbackInfo p.playerState {
    font-size: 18px;
    line-height: 1.0;
    margin: 6px 0 0;
    padding: 0;
}
.playbackInfo p.timeText {
    color: #888;
    background-color: transparent;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.0;
    margin: 6px 0 0;
    padding: 0;
    white-space: nowrap;
}
.playbackInfo p.timeText .position {
    color: #fff;
    background-color: transparent;
}

.timeText .liveIndicator  
{
    vertical-align:middle;
    margin:-6px 0 -4px 4px;
    width: 18px;
    height: 18px;
    display:none;
}

/* -------------------------------------------- */


/*
 * jQuery UI Slider 1.8.9
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Slider#theming
 */
.ui-slider .ui-slider-handle {
    position: absolute;
    z-index: 2;
    cursor: pointer;
    -ms-touch-action: none;
}
.ui-slider .ui-slider-range {
    position: absolute;
    z-index: 1;
    display: block;
}
.ui-slider-horizontal .ui-slider-range {
    top: 0;
    height: 100%;
}
.ui-slider-horizontal .ui-slider-range-min {
    left: 0;
}
.ui-slider-horizontal .ui-slider-range-max {
    right: 0;
}

/* -------------------------------------------- */


.slider 
{
    position: relative;
    color: white;
    background-color: transparent;
    height: 6px;
    margin: 0 6px;  /* (thumb.width / 2) */
}
.slider .track,
.slider .ui-slider-range 
{
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
.slider .toucharea {
    position: absolute;
    z-index: 6;
    bottom: -4px;
    top: -4px;
    width: 100%;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -ms-touch-action: none;
}
.slider.ui-state-disabled .toucharea { cursor: default; }

.slider .track:before,
.slider .track:after,
.slider .ui-slider-range:before,
.slider .ui-slider-range:after,
.slider .toucharea:before,  
.slider .toucharea:after 
{
    content: ' ';
    position: absolute;
    width: 10px;
    height: 100%;
}

.slider .track:before,
.slider .ui-slider-range:before,
.slider .toucharea:before
{ 
    left: -6px; /* (0 - thumb.width / 2) */
}
.slider .track:after, 
.slider .ui-slider-range:after,
.slider .toucharea:after
{
    right: -6px; /* (0 - thumb.width / 2) */
}

.slider .track:before,
.slider .ui-slider-range:before
{ 
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.slider .track:after, 
.slider .ui-slider-range:after
{
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.slider .track, 
.slider .track:before,
.slider .track:after 
{
    color: white;
    background-color: #666;
}
.slider .ui-slider-range,
.slider .ui-slider-range:before,
.slider .ui-slider-range:after 
{
    color: white;
    background-color: #ccc;
}

.slider .thumb
{
    width: 12px;
    height: 12px;
    color: white;
    background-color: #fff;
    position: absolute;
    bottom: -3px;
    left: 50%;
    margin-left: -6px; /* (thumb.width / 2) */
    border-radius: 6px; /* (thumb.width / 2) */
    outline: none;
}
.slider.ui-state-disabled .thumb 
{
    display: none;
}


/* ------------- */


.timeline-stuff {
    position: absolute;
    top: 0;
    left: 6px;
    right: 6px;
    height: 0;
    z-index: 7;
}

.position-bar {
    position: absolute;
    bottom: 0;
    height: 8px;
	width: 100%;
    z-index: 7;
}

.presentation-live:not(.allow-dvr) .position-bar .position-bar-root .track .playable-base {
    /* For non-DVR live, make the base track color match the progress part. */
    background-color: #37658a; 
}
.presentation-live.allow-dvr.presentation-waitingforlive .position-bar .position-bar-root .track .playable-base,
.presentation-live.allow-dvr.presentation-waitingforlive .position-bar .position-bar-root::after {
    /* When waiting for live DVR to begin, make the whole position bar the duller green color. */
    background: #425f3a;
    border-width: 0;
    height: 8px;
}

.timeline-marker-container {
    height: 0;
    position: absolute;
    z-index: 10;
    top: -20px;
    left: 0;
    right: 0;
}
.allow-dvr .timeline-marker-container {
    right: 15px;
}

.timeline-preview-container {
    position: absolute;
	bottom: 25px;
	left: 0;
	width: 100%;
    height: 0;
	z-index: 1000;
	padding: 0;
}



.positionSlider {
    bottom: 100%;
    position: absolute;
    left: 0;
    right: 0;
}
/* allow volume control to appear above slider elements */
.positionSlider .track,
.positionSlider .ui-slider-range
{
}

.positionSlider .thumb
{
    z-index: 7;     /* above track, progress, markers */
}

.positionSlider .thumb:after {
    display: block;
    
    content: ' ';
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -10px;
    margin-top: -10px;

    /* Outer diameter: 48px; inner diameter: match thumb */
    border-radius: 20px;
    border: 0 white solid;
    
    
    /* inner ring: match thumb */
    width: 12px; 
    height: 12px;
 
    opacity: 0;
    filter: opacity(0);
    
    -webkit-transition: opacity 200ms;
    -moz-transition: opacity 200ms;
    -ms-transition: opacity 200ms;
    -o-transition: opacity 200ms;
    transition: opacity 200ms;
}

.positionSlider .thumb.ui-state-active:after 
{
    /* (outer diameter minus inner diameter) / 2 */
    border-width: 4px;
    opacity: 0.8;
    filter: opacity(80);
}


.positionSlider .track:before,
.positionSlider .track:after,
.positionSlider .ui-slider-range:before,
.positionSlider .ui-slider-range:after
{
    border-radius: 0;
}

.positionSlider .ui-slider-range,
.positionSlider .ui-slider-range:before,
.positionSlider .ui-slider-range:after
{
    color: white;
    background-color: #37658a;
}

.positionSlider .thumb {
    color: white;
    background-color: #407aa9;
}

.positionSlider .track, 
.positionSlider .track:before,
.positionSlider .track:after 
{
    color: white;
    background-color: #253d50;
}

.presentation-live:not(.allow-dvr) .positionSlider .ui-slider-range[style] { width: 100% !important; }
/* ---------------------- */






.positionSlider .preview 
{
    display: none;
    position: absolute;
    z-index: 5;
    bottom: 23px; /* match callout arrow height + thumb height */
    left: 50px; /* set in script */
    border: white solid;
    border-width: 2px 10px;
    border-radius: 2px;
    background: white;
    padding: 0;
    height: 80px;
}

.positionSlider .preview .context {
    margin-bottom: 0.5em;
}

.positionSlider .preview .text {
    position: absolute;
    
    bottom: 6px;
    left: 0;
    right: 0;
    line-height: 12px;  /* this feels yucky */
    font-size: 12px;
    text-align: center;
}
.positionSlider .preview .time {
    display: inline;
    padding: 5px;
    border-radius: 2px;
    background: black;
    color: white;

    opacity: 0.7;
    filter: opacity(70);
}

.positionSlider .preview .images:after 
{
    content: ' ';
    display: block;
    clear: left;
    height: 0px;
}

.positionSlider .preview .image {
    position: relative;
    float: left;
    background: black;
    overflow: hidden;
}
.positionSlider .preview .image + .image { margin-left: 3px; }

.positionSlider .preview .image.preview-4x3
{
    width: 107px;
    height: 80px;
}
.positionSlider .preview .image,
.positionSlider .preview .image.preview-16x9 
{
    width: 143px;
    height: 80px;
}

.positionSlider .preview .image:before {
    position: absolute;
    z-index:1;
    content: ' ';
    width: 100%;
    height: 100%;
    background-color: transparent;
    border: 1px solid black;
    opacity: 0.4;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.positionSlider .preview-time 
{
    display: none;
    position: absolute;
    z-index: 5;
    bottom: 32px; /* above "active" thumb */
    left: 50px; /* set in script */

    padding: 0;
}
.positionSlider .preview-time .time {
    color: white;
    font-size: 18px;
}
.positionSlider .preview .thumb,
.positionSlider .preview-time .thumb {
    background-color: white;
    opacity: 0.8;
    filter: opacity(80);
    border-radius: 5px;
    width: 12px;
    height: 12px;
    
}
.positionSlider .preview .thumb {
    bottom: -28px;  /* -( .preview's bottom ) + ( .slider .thumb's bottom) */
}

.positionSlider .preview-time .thumb {
    bottom: -35px;  /* -( .preview-time's bottom ) + ( .slider .thumb's bottom) */
}
.presentation-ondemand .positionSlider .ui-state-active ~ .preview .thumb,
.presentation-ondemand .positionSlider .ui-state-active ~ .preview-time .thumb
{ 
    display: none; 
} 
.presentation-live:not(.allow-dvr) .positionSlider > .thumb,
.presentation-live:not(.allow-dvr) .positionSlider > .thumb.ui-state-active { display: none; }

.preview
{
    -webkit-box-shadow: -3px -3px 3px rgba(50, 50, 50, 0.5), 3px 3px 2px rgba(50, 50, 50, 0.5);
    -moz-box-shadow:    -3px -3px 3px rgba(50, 50, 50, 0.5), 3px 3px 2px rgba(50, 50, 50, 0.5);
    box-shadow:         -3px -3px 3px rgba(50, 50, 50, 0.5), 3px 3px 2px rgba(50, 50, 50, 0.5);
}


/* Start Timeline Markers Stuff */

.positionSlider .markers {
    height: 0;
    position: absolute;
    z-index: 10; /* above track, progress */
    bottom: 18px;
    left: 0;
    right: 0;
    background-color: slateblue;
}

.timeline-marker-root {
	width: 0;
	height: 6px;
	position: absolute;
	top: 0;
	left: 50%;
	background-color: black;
}
.timeline-marker-root .mark {
	position: absolute;
    z-index: 5;
	width: 6px;
	height: 6px;
	top: -3px;
	left: -3px;
	background-color: transparent;
	opacity: 1.0;
	/* transition: height 0.05s, top 0.05s, box-shadow 0.05s; */
}
.timeline-marker-root .target {
	position: absolute;
    z-index: 10;
	top: -8px;
	left: -15px;
	width: 30px;
	height: 16px;
	opacity: 0.0;
	background-color: white;
    cursor: pointer;
}

.timeline-marker-root:hover .mark {
    transform: scale(1.33333, 1.33333);
}

.marker-preview {
    font-size: 12px;
    background: white;
    color: black;

    display: block;
    position: absolute;
    z-index: 10;
    bottom: 33px;
    left: -12px;
    /* left set in script */
    border-radius: 3px;

    height: 1.2em;
    
    padding: 4px 5px;
    min-width: 14px;
    max-width: calc(100vw - 14px); 
}
.marker-preview svg.callout {
    width: 8px;
    height: 16px;
    position: absolute;
    z-index: 5;
    bottom: -9px;
    left: 50%;
    margin-left: -4px;
}
.marker-preview .text {
    position: relative;
    z-index: 20;

    display: inline-block;

    line-height: 1.2;
    height: auto;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    max-width: calc(100vw - 14px); 
    font-weight: bold;
}
.marker-preview .text .time {

    font-weight: normal;
    font-size: 0.9em;
    opacity: 0.8;
}
.marker-preview .text .time::after {
    content: "\2013";
    margin-left: 0.4em;
    margin-right: 0.4em;
}


.timeline-marker-root .marker-preview {
    bottom: -9999px;
}
.timeline-marker-root:hover .marker-preview {
    bottom: 20px;
}
.timeline-marker-root:hover .marker-preview {
    box-shadow: 0px 0px 3px 1px rgba(50,50,50,0.65);
}

/* End Timeline Markers Stuff */


.controlBar.tight .alwaysControls button {
    margin-left: 2px;
    margin-right: 2px;
}

.controlBar.tight-buttons .generalControls button {
    margin-left: 4px;
    margin-right: 4px;
}
.controlBar.tight-buttons .generalControls button.info {
    margin-left: 10px;
}
.controlBar.tight-buttons .generalControls button.popout {
    margin-right: 0px;
}


/* audio controls */
.volumeControls {
    position: relative;
    float: left;

    border: transparent 2px solid;
    border-collapse: collapse;
    margin-top: 8px;
    width: 330px;
    height: 30px;
}
.volumeControls .no-volume-ad {
    position: relative;
    height: 100%;
    display: none;
    margin-left: auto;
    margin-right: auto;
    width: 54px;
}

.disallow-volume-adjustment .volumeControls {
    display: none;
}
.disallow-volume-adjustment.allow-audio-descriptions .volumeControls {
    display: block;
    width: 54px;
    height: 30px;
}
.disallow-volume-adjustment.allow-audio-descriptions .volumeControls > :not(.no-volume-ad)  {
    display: none;
}
.disallow-volume-adjustment.allow-audio-descriptions .volumeControls .no-volume-ad {
    display: block;
}

.controlBar.volume-medium .volumeControls {
    width: 200px;
}
.controlBar.volume-small .volumeControls {
    width: 150px;
}
.controlBar.volume-tiny .volumeControls,
.controlBar.less-buttons .volumeControls {
    width: 50px;
}

.controlBar.less-buttons .cc 
{
    
}
.volumeControls .thumb {
  bottom: -3px;
  margin-left: -6px;
  border-radius: 6px;
  width: 12px;
  height: 12px;
}

.volumeControls .slider .track:before,
.volumeControls .slider .ui-slider-range:before,
.volumeControls .slider .toucharea:before
{ 
    left: -6px;
}

.volumeControls .slider .track:after,
.volumeControls .slider .ui-slider-range:after,
.volumeControls .slider .toucharea:after
{
    right: -6px;
}

.ui-responsive-container .expanded, 
.ui-responsive-container .collapsed {
	height: 100%;
	display: block; 
}

.ui-responsive-container button, .volumeControls .slider, .volumeControls .ui-button-text {
	display: inline-block;
	vertical-align: middle;
	text-align: center;
}


.ui-responsive-container button { margin: 0; }
.ui-responsive-container .ui-button-text { width: 100%; }

.volumeControls .slider { 
	margin-left: 15px;  /* handle width plus whitespace */
	margin-right: 15px;
	position: absolute;
	margin-top: 11px;
	/* left/right position set in  script */
}

.ui-responsive-container.layout-collapsed .collapsed { display: block; }
.ui-responsive-container.layout-popout    .collapsed { display: block; }
.ui-responsive-container.layout-expanded  .collapsed { display: none; }
.ui-responsive-container.layout-collapsed .popout    { display: block; }
.ui-responsive-container.layout-popout    .popout    { display: block; }
.ui-responsive-container.layout-expanded  .popout    { display: none; }
.ui-responsive-container.layout-collapsed .expanded  { display: none; }
.ui-responsive-container.layout-popout    .expanded  { display: none; }
.ui-responsive-container.layout-expanded  .expanded  { display: block; }

.volumeControls .collapsed
{
    background-image: url('images/button_audio.png');
    width: 50px; 
	cursor: pointer;
}

.volumeControls .collapsed .background { 
	width: 70px;
}

.ui-responsive-container .collapsed .ui-button-text  
{
    display: block;
    float: right;
    margin-right: 5px;
    width: 29px; 
    font-size: 11px;
    font-weight: bold;
    line-height:24px;
    text-align: center;
    color: black;
    background: transparent;
}

.ui-responsive-container .popout {
	position: absolute;
	z-index: 10;
	bottom: 40px;
	/* left position set in script */
    border-radius: 3px;
	background:#262626;
	padding: 3px;
	width: 130px;
	height: 30px;
}
.allow-audio-descriptions .volumeControls .popout {
    width: 188px;
}

.volumeControls .slider {
    position: absolute;
    left: 30px;
    right: 0px;
}
.volumeControls button.ad {
    display: none;
}
.allow-audio-descriptions .volumeControls .slider {
    right: 54px;
}
.allow-audio-descriptions .volumeControls .popout .slider {
    right: 58px;
}
.allow-audio-descriptions .volumeControls button.ad {
    display: block;
    position: absolute;
    right: 0px;
}
.allow-audio-descriptions .volumeControls .popout button.ad {
    right: 4px;
}

.ui-responsive-container .popout:after {
    content: " ";
    position: absolute;
    left: 50%;
    bottom: -10px; /* arrow height plus container border */
    border-top: 10px solid #262626;
    margin-left: -5px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    width: 0;
    height: 0;
}




.ui-responsive-container .popout .slider 
{
    margin-top: 11px;
}

/* end audio controls */

.controlBar.less-buttons button.skipback {
    display: none;
}
.banner {
    width: 468px;
    height: 60px;
    margin: 0 auto;
    position: relative;
    z-index: 3; /* above .modals, below .panels */
}
.banner a 
{
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    border: 0;
    text-decoration: none;
}
    
.banner-hidden .banner {
    display: none;
}

.fidelityInfo {
    position: relative;
    float: left;

    border: transparent 2px solid;
    border-collapse: collapse;
    margin-top: 8px;
    min-height: 30px;
    height: 30px;
}

.fidelityInfo button 
{
    background-image: url('images/button_smoothstreaming.png');
}

.fidelity-stream-info 
{
    position: absolute;
    border-radius: 3px;
    background: #262626;
    padding: .5em;
    color: White;
    opacity: 0.8;
}

.fidelityInfo .fidelity-callout
{
    width: auto;
    height: auto;
    min-width: 10em;
    min-height: 1em;
    padding: .5em;
    white-space: nowrap;
}

.fidelity-callout .fidelity-info 
{
    cursor: pointer;
}
.fidelity-callout .fidelity-info[disabled]
{
    font-style: italic;
    cursor: default;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
    filter: alpha(opacity=70);
    -moz-opacity: 0.7;
    opacity: 0.7;
}

.fidelity-info  
{
    clear: both;
}

.fidelity-info.fidelity-current-track 
{
    font-weight: bold;
}

.fidelity-resolution { float: left; }

.fidelity-bitrate 
{
    float: right;
    margin-left: 0.5em; 
    font-size: smaller;
}
.fidelity-bitrate:before { content: '('; }
.fidelity-bitrate:after { content: ')'; }

.captions 
{
    visibility: hidden;
    opacity: 0;

    position: absolute;
    bottom: 80px;
    width: 90%;
    left: 5%;
}
.controlbar-disabled .captions { bottom: 10px; }
.panel-small .captions { left: 0; right: 0; font-size: smaller; }

.captions.mediasite-player-caption-panel
{
    opacity: 1.0;
    text-align: center;
}
.mediasite-player-caption-item 
{
    display: table;

    font-size: 18px;
    text-shadow: 1px 1px 2px black;

    text-align: center;

    margin: 0 auto;
    border-radius: 5px;
    /*border: 1px #333 solid;*/

    -webkit-box-shadow: -1px -1px 2px rgba(50, 50, 50, 0.5), 1px 1px 2px rgba(50, 50, 50, 0.5);
    -moz-box-shadow:    -1px -1px 2px rgba(50, 50, 50, 0.5), 1px 1px 2px rgba(50, 50, 50, 0.5);
    box-shadow:         -1px -1px 2px rgba(50, 50, 50, 0.5), 1px 1px 2px rgba(50, 50, 50, 0.5);

    background: #000;
    background: rgba(0,0,0,0.65);
    color: #ddd;
    padding: 0 0.5em 0.2em;
    max-width: 60em;
    line-height: 1.6em;

    -webkit-transform: translate3d(0, 0, 0);
    -webkit-transition: -webkit-transform 1000ms linear;
    transform: translate3d(0, 0, 0);
    transition-property: transform;
    transition-duration: 1s;
    transition-timing-function: linear;
}

.ui-playercaptionpanel-stale-item {
    opacity: 0.8;
    filter: opacity(80);
}

.ui-playercaptionpanel-expiring-item {
    opacity: 0.5;
    filter: opacity(50);
}

.slide-preview-large {
    display: none;

    position: absolute;
    z-index: 4; /* on top of stage, panels */
    top: 0;
    left: 0;
    right: 0;
    bottom: 56px; /* match top of position slider */
    padding: 56px 56px 66px 56px; /* delineate available area for images, ignore backdrop */

    background: rgb(0,0,0);
    background: rgba(0,0,0,0.7);
}

.slide-preview-large .images { 
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-preview-large .backdrop
{
    position: absolute;
    /* position set in script to match visible images */
    margin-left: -16px;
    margin-top: -16px;
    border-radius: 16px;
    padding: 16px;
    background: rgb(255, 255, 255);
    background: rgba(255, 255, 255, 0.85);

}
.slide-preview-large .image 
{ 
    position: absolute;
    z-index: 1;

    /* real values set in script */
    left: 0; top: 0;
    width: 100%; height: 100%;

    background: black;

    margin-right: 18px; /* gutter between images, referenced in script */

}
.slide-preview-large .image img {
    position: absolute;
    /* real values set in script */
    left: 0; top: 0;
    width: 100%; height: 100%;
}


.modals, .modal { display: none; }

.preso-ended { display: none; }
.presentation-ended .modals,
.presentation-ended .preso-ended { display: block; }

.playpause-disabled .preso-ended .preso-ended-buttons,
.presentation-live .preso-ended .preso-ended-buttons { 
    display: none; 
}

.preso-live-info, .preso-waiting-banner { display: none; }
.presentation-waitingforlive .modals,
.presentation-waitingforlive .preso-live-info,
.presentation-waitingforlive .preso-waiting-banner 
{ display: block; }
.presentation-waitingforlive.info-hidden .preso-live-info { display: none; }
.presentation-waitingforlive .contentArea
{
    opacity: 0.01;
    filter: opacity(1);
}

.presentation-waitingforlive .positionSlider > .thumb,
.presentation-waitingforlive .controlBar .playButtonArea,
.presentation-waitingforlive .controlBar .playbackInfo,
.presentation-waitingforlive .controlBar .alwaysControls,
.presentation-waitingforlive .controlBar .audioControls,
.presentation-waitingforlive .controlBar .generalControls,
.presentation-waitingforlive .controlBar .moreButton,
.presentation-waitingforlive .controlBar .search,
.presentation-waitingforlive .controlBar.moreCollapsed .moreButton
{ display: none; }

.presentation-waitingforlive .controlBar .moreButtons,
.presentation-waitingforlive .controlBar.moreCollapsed .moreButtons
{ display: block; }

.presentation-live .timeText .separator, .presentation-live .timeText .duration 
{ display: none; }
.presentation-live .timeText .liveIndicator { display: inline; }

.modals {
    overflow: hidden;
    position: absolute;
    z-index: 3; /* above .stream and frame, below panels by dint of ordering in DOM */
    left: 0;
    width: 100%;
    top: 60px; /* allow for .banner */
    bottom: 56px;

    color: white;
}

.banner-hidden .modals { top: 0; }

.modal-background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    background: rgba(0, 0, 0, 0.9);
}

.modal {
    display: none;
    position: absolute;
}

.modal button {
    margin: 0 auto;
}
.modal button.ui-blur-background {
    width: auto;
}

.modal .ui-button-text {
    margin-left: 38px;
    margin-top: 7px;
    font-size: 15px;
    color: white;
}

.preso-ended {
    left: 50%;
    top: 50%;
    margin-left: -260px;
    width: 520px;
    margin-top: -86px;
    border-radius: 15px;
    overflow: hidden;
}
.presentation-live .preso-ended { margin-top: -60px; }
.preso-ended .popup-top, .preso-ended .popup-bottom { 
    background: rgb(29, 58, 73);
    background: rgba(29, 58, 73, 0.8);
}
.preso-ended .popup-top {
    padding-top: 25px;   
}

.preso-ended .popup-bottom {
    padding-bottom: 25px;
}

.preso-ended .preso-ended-buttons {
    padding-top: 20px;
}

.preso-ended-banner { position: relative; }
.preso-ended-banner a { width: 100%; height: 100%; }
.preso-ended-banner img { 
    vertical-align: top; /* avoid gap after image */ 
    width: 520px;
    height: 70px;
}

.modal-banner-small .preso-ended {
    margin-left: -50%;
    width: 100%;
    border-radius: 0;
}

.modal-banner-small .preso-ended-banner img {
    width: 100%;
    height: auto;
}

.preso-live-info {
    position: absolute;
    /* styled after .panel */
    left: 0;
    right: 0;
    top: 7.2em;
    bottom: 70px; /* preso-waiting-banner */
    padding: 0 8%;
    overflow: auto;
}

.preso-waiting-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
}

.info-hidden .preso-waiting-banner {
    top: 50%;
    bottom: auto;
    margin-top: -35px;
    left: 15px;
    right: 15px;
    width: auto;

    border-radius: 15px;
}

.info-hidden .modal-banner-small .preso-waiting-banner {
    left: 0;
    right: 0;

    border-radius: 0;
}

.preso-waiting-banner img {
    position: relative;
    z-index: 1;
    display: block;
    margin: 0 auto;
    width: 520px;
    height: 70px;
}

.modal-banner-small .preso-waiting-banner img { width: 100%; height: auto; }

.preso-waiting-banner .banner-left, .preso-waiting-banner .banner-right {
    position: absolute;
    margin: 0 260px;  /* .preso-waiting-banner img  width / 2 */
    top: 0;
    width: 50%;
    height: 100%;
    background: #263949;
}
.preso-waiting-banner .banner-left {
    right: 50%;
}
.preso-waiting-banner .banner-right {
    left: 50%;
}
.modal-banner-small .preso-waiting-banner .banner-left,
.modal-banner-small .preso-waiting-banner .banner-right
 { margin: 0 50%; }

.preso-waiting-banner a {
    width: 100%;
    height: 100%;
}



.panels, .panel { display: none; }

.panels {
    overflow: auto;
    position: absolute;
    z-index: 3; /* above .stream and frame, below control bar's position slider and volume popout */
    right: 0;
    width: 100%;
    top: 0;
    bottom: 56px;
        
    color: white;
    background: #000000;
    background: rgba(0, 0, 0, 0.85);
}
.showing-markers .panels { bottom: 80px; }
.panel 
{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 7.2em 8%;
}
.panel-buttons {
    position: absolute;
    z-index: 1; /* above .panel */
    top: 20px;
    right: 20px;
}
.panel-small .panel-short .panel-buttons {
    top: 0;
    right: 0;
}

.panel.centered-panel 
{
    padding-left: 20%;
    padding-right: 20%;
    max-width: 550px;
}

.presentationInfo .groupOne,
.presentationInfo .groupTwo {
    outline: 0px dashed #333;
}
.presentationInfo .groupOne {
    position: absolute;
    left: 9.1%;
    right: 47.9%;
    padding: 0;
}
.presentationInfo .groupTwo {
    position: absolute;
    margin-top: 0.3em;
    left: 58.8%;
    right: 0;
}
.panel-short .panel {
    padding-left: 12%;
    padding-right: 12%;
}
.panel-one-column .panel {
    padding: 7.2em 0 2em 9.1%;
}
.panel-short .panel {
    padding-top: 2em;
}
.panel-one-column .presentationInfo  .groupOne,
.panel-one-column .presentationInfo  .groupTwo {
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding-right: 5%;
}
.panel-one-column .presentationInfo .groupOne + .groupTwo {
    margin-top: 4em;
}
.panel-one-column .presentationInfo  .groupTwo {
    margin-left: -15px;
}
.panel-small .panels {
    padding: 3em 0 2em 2em;
}
.panel-small .panels h1 {
    font-size: 22px;
}
.panel-columnized .panels {
    width: 32%;
    padding-left: 4%;
}
.panel-columnized.panel-visible .contentArea,
.panel-columnized.panel-visible .banner,
.panel-columnized.panel-visible .modals
{
    width:64%;
}
.panel-columnized.panel-visible .captions
{
    width:54%;
    left:5%;
}

.presentationInfo .groupTwo 
{
    padding: 15px;
    background: url('images/info_grad_background.png') repeat-y;
}

.presentationInfo ul,
.presentationInfo li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.short .infoPanel {
    bottom: 36px;
}
.presentationInfo .basicInfo h1 {
    font-size: 30px;
    font-weight: normal;
    margin: 0 0 0;
}
.presentationInfo .basicInfo p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 1em;
}
.presentationInfo .basicInfo p.date,
.presentationInfo .basicInfo p.time,
.presentationInfo .basicInfo p.duration {
    display: inline-block;
    margin: 0.5em 15px 0.7em 0;
    font-size: 12px;
    color: #888;
}
.presentationInfo .basicInfo p.description {
    max-width: 700px;
}
.presentationInfo .chapters ul {
    margin-top: 3em;
}
.presentationInfo .chapters li {
    margin: 0.2em;
    line-height: 1.4em;
    cursor: pointer;
}
.presentationInfo .chapters li .time {
    font-size: 12px;
    color: #888;
    margin-right: 1em;
}
.presentationInfo .speakers {
    margin-top: -7px;
}
.presentationInfo .speakers li {
    margin: 10px 0;
    min-height: 80px;
    display: table-row;
}
.presentationInfo .speakers li:after {
    content: ' ';
    display: block;
    height: 0;
    clear: left;
}
.presentationInfo .speakers li img {
    border: 1px solid white;
    width: 60px;
    height: 80px;
}
.presentationInfo .speakers li p {
    display: table-cell;
    margin: 0;
    padding: 0 0 0 10px;
    vertical-align: bottom;
    line-height: 1.4;
}
.presentationInfo .speakers li + li {
    margin-top: 10px;
}
.presentationInfo .links {
    margin: 4em 0 2em;
}
.presentationInfo .compliance-policy {
    margin: 2em 0 2em;
}

.panel h2,
.panel .panel-header,
.modal h2
{
    font-size: 18px;
    font-weight: normal;
    margin: 0 0 0.7em;
}
.panel a,
.modal a
 {
    color: white;
    background-color: transparent;
    text-decoration: underline;
    line-height: 1.6;
}

.panel form p:after
{
    content: ' ';
    display: block;
    clear: both;
    height: 0;
}
.panel label  
{
    float: left;
    display: block;
    margin-bottom: 0.5em;
}

.panel label,
/* TODO: add .label class to all these elements */
.panel #ui-playeraskpanel-time-format,   
.panel #ui-playerinvitepanel-time-format,
.panel #ui-playerinvitepanel-toSeparator,
.panel #ui-playerinvitepanel-useclient
{
    font-size: 12px;
    color: #888;
}  
.panel fieldset
{
    font-size: 12px;
    color: #888;
}
.panel form input[type=text], .panel form textarea
{
    clear: left;
    display: block;
    margin: 0.5em 1em 1em 0;
    width: 90%;
}
.panel form input[type=submit], .panel form input[type=button], .panel form button, .panel .ui-dialog button
{
    width: auto;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background: #ccc;
    border: 1px solid #cccccc;
    padding: 5px;
    height: auto;
    width: auto;
    color: black;
}

.searchPanel ul {
    margin-top: 2em;
    list-style-type: none;
}
.searchPanel li 
{
    margin: 0.2em 0.2em 0.5em;
    line-height: 1.4em;
    cursor: pointer;
}

.searchPanel li:after
{
    content: ' ';
    display: block;
    clear: both;
    height: 0px;
}

.searchPanel .ui-playersearchpanel-search-highlight
{
    color: #9c9;
    font-weight: bold;
}

.searchPanel #ui-playersearchpanel-search-total-results 
{
    margin-top: 0.5em;
    font-size: 12px;
    color: #888;
}
.searchPanel .ui-playersearchpanel-search-list-item-time,
.searchPanel .ui-playersearchpanel-search-list-item-type 
{
    font-size: 12px;
    color: #888;
    float: left;
}
.searchPanel .ui-playersearchpanel-search-list-item-type 
{
    float: right;
}

.panel form p { margin: 0.7em 0; }
.panel form p:after { 
    content: ' ';
    display: block;
    clear: both;
    height: 0;    
}
.panel form input[type=checkbox] { float: left; clear: left; margin-top: 0.7em; }
.panel form input[type=checkbox] + input[type=text] { float: left; width: 5em; clear: none; }
.panel form input[type=text] + span { float: left; margin-top: 0.7em; }




.panel .panel-modal-mask 
{
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000000;
    background: rgba(0, 0, 0, 0.85);
}

.panel .panelMessage.ui-widget,
.popupPanel .panelMessage.ui-widget {
  max-width: 50%;
  margin: 10px auto;

  text-align: center;
    
  color: white;
  background: #000000;
  background: rgba(0, 0, 0, 0.85);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border: 2px #333 solid;
}
.panel .panelMessage .ui-widget-header,
.popupPanel .panelMessage .ui-widget-header {
    font-size: 18px;
    font-weight: normal;
    margin: 0.7em 0;
}
.panel .panelMessage .ui-widget-content,
.popupPanel .panelMessage .ui-widget-content {
  margin: 10px;
  text-align: left;
}
.panel .panelMessage .ui-dialog-buttonset,
.popupPanel .panelMessage .ui-dialog-buttonset {
  text-align: center;
}

.sharePanel #ui-playerinvitepanel-to 
{
    margin-bottom: 0;
}
.input-readonly 
{
    background-color: #cccccc;
}

.menuPanel 
{
    padding-top: 5%;
    padding-bottom: 5%;
}
.menuPanel.centered-panel { padding-right: 5%; }

.panel-one-column .menuPanel 
{
    padding: 0% 8%;
}


.menuPanel ul  
{
    display: table; 
    height: 100%; 
}
.menuPanel li
{
    display: table-row;
    background: transparent left center no-repeat;
    cursor: pointer;
}



.menuPanel li .menuPanelItem
{
    display: table-cell;
    vertical-align: middle;
}

.menuPanel .ui-blur-background { width: auto; height: auto; }
.menuPanel .ui-blur-image { width: 30px; height: 30px; position: relative; float: left; }
.menuPanel .ui-button-text  
{
    display: block; 
    margin-left: 10px; 
    float: right;
       
    color: White;
    font-size: 24px;       
    line-height: 1.4em;
    text-align: left;
}
.panel-small .menuPanel .ui-button-text { font-size: 18px; }



.stage-lightbox-overlay 
{
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background:rgb(0,0,0);
    background:rgba(0,0,0,0.85);
}

.stage-lightbox-buttons
{
}

.stage-lightbox-buttons button 
{
    display:block;
    width:40px;
    height:40px;
    border-width:0;
    margin:0;
    padding:0;
    color:White;
    background-color:transparent;
    background-size:40px 40px;
    cursor:pointer;
}
.stage-lightbox-buttons button+button { margin-top:10px; }
.stage-lightbox-buttons button.stage-lightbox-button-close { margin-bottom:35px; }

.stage-lightbox-button-close { background-image: url('images/button_stage_close.png'); }
.stage-lightbox-button-cycle { background-image: url('images/button_stage_cycle.png'); }
.stage-lightbox-button-popOut { background-image: url('images/button_stage_popout.png'); }
.stage-lightbox-button-makePrimary { background-image: url('images/button_stage_makeprimary.png'); }
.stage-lightbox-button-playAsVideo { background-image: url('images/button_stage_playasvideo.png'); }

.standalone-inspector {
    min-width: 500px;
    width: 100%;
    height: 100%;
}
.standalone-synced-control, .standalone-unsynced-control { z-index: 1; }
.standalone-inspector-unsynced .standalone-synced-control { display: none; }
.standalone-inspector .standalone-unsynced-control { display: none; }
.standalone-inspector-unsynced .standalone-unsynced-control { display: block; }

.standalone-inspector .controlBar {
    z-index: 2;
}

.standalone-inspector .standalone-inspector-closer {
    position: absolute;
    right: 3px;
    top: -6px;
}
.standalone-inspector-opener {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 3px;
    background: url('images/popout_tools_button_background.png') top center repeat-x;
    border-top-left-radius: 14px;
}


.standalone-inspector-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    
    border-top: 2px black solid;
    background: #464646 url('images/popout_controls_background.png') top center repeat-x;

    width: 100%;
    height: 101px;
 
     -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;   
}

.standalone-inspector .slide-navigator-buttons {
    position: absolute;
    z-index: 2;
    width: 30px;
    height: 30px;
    padding: 10px;
    background: #2f2f2f;
    text-align: center;
}
.standalone-inspector .ui-button-text { display: none; }

.standalone-inspector .nav { 
    position: absolute;
    left: 50%;
    top: 0;
    margin-left: -10em;
}


.standalone-inspector .playpause {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

.standalone-inspector .sync {
    position: absolute;
    top: 0;
    right: 0;
}

.standalone-inspector .state,
.standalone-inspector .synced { 
    display: block;
    float: left;
    margin: 15px 1em;
}
.standalone-inspector .back 
{
    background-image: url('images/button_skipback.png');
}
.standalone-inspector .forward  
{
    background-image: url('images/button_skipforward.png');
}

.standalone-inspector .play-from-here { 
    background-image: url('images/button_playfromhere.png');
}

.standalone-inspector .contentBox 
{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    bottom: 0px;
}
.standalone-inspector .stream 
{
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.standalone-inspector object
{
    /*
    Silverlight media element needs a background color set in CSS (not inline)
    on its media element container to render video for WMV and maybe other media types. 
    (Color value is irrelevant.)
    */
    background-color: #000;
}
.standalone-inspector .stream, .standalone-inspector .stage-stream-box 
{
    cursor: auto;
} 
.standalone-inspector .stream .framer 
{
    display: none;
}
.standalone-inspector-noslides .standalone-synced-control 
{
    display: none;
}
.standalone-inspector-novideo .stream, 
.standalone-inspector-unsynced .stream 
{
    visibility: hidden;
}
.standalone-inspector-unsynced .contentBox {
    bottom: 101px;
}

.standalone-inspector .inspector {
  width: 100%;
  height: 100%;
}

/* Slide Inspector's Zoom HUD Styles */
.standalone-inspector .zoomhud {
  position: relative;
  z-index: 10;
  right: 20px;
  top: 20px;
}
.standalone-inspector .zoomhud-expanded,
.standalone-inspector .zoomhud-collapsed {
  position: absolute;
  right: 0;
  top: 0;
  height: 26px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  background-color: black;
  background-color: rgba(0, 0, 0, 0.65);
  *background-color: black;
}
.standalone-inspector .zoomhud-collapsed {
  width: 32px;
}
.standalone-inspector .zoomhud-expanded {
  width: 100px;
}
.standalone-inspector .zoomhud-percentage,
.standalone-inspector .zoomhud-zoomInButton,
.standalone-inspector .zoomhud-zoomOutButton {
  position: absolute;
}
.standalone-inspector .zoomhud-percentage {
  font-size: 14px;
  font-weight: 900;
  background-color: transparent;
  color: #cccccc;
  width: 38px;
  height: 22px;
  top: 2px;
  right: 59px;
  text-align: right;
  line-height: 22px;
}
.standalone-inspector .zoomhud-zoomInButton,
.standalone-inspector .zoomhud-zoomOutButton {
  width: 22px;
  height: 22px;
  top: 2px;
   background: no-repeat center center;
  background-size: auto auto;
}
.standalone-inspector .zoomhud-zoomInButton {
  right: 5px;
  background: url("images/buttons_zoom.png") 0 -1px;
}
.standalone-inspector .zoomhud-zoomOutButton {
  right: 32px;
  background: url("images/buttons_zoom.png") 0 -23px;
}


.slide-navigator-wrapper {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 70px;
  right: 70px;
  height: 96px;  /* .slide-navigator's bottom + height + space for stacked slides */
  
  border: 0 transparent solid;
  border-width: 0 6px;
  border-radius: 10px 10px 0 0;
  
  background: #333333 url('images/popout_carousel_background.png') left top repeat-x;
  overflow: hidden;
  
  
}

.slide-navigator {
  position: absolute;
  bottom: 22px;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: transparent;
  z-index: 0;
}
.player-slide-thumb {
  z-index: 1;
  top: 0;
  overflow: visible !important;
}
.player-slide-thumb,
.player-slide-thumb img {
  -moz-user-drag: none;
  -webkit-user-drag: none;
  -webkit-user-focus: ignore;
  -webkit-user-select: none;
  -ms-touch-action: none;
}
.player-slide-thumb.dead {
  top: 500px;
}
.player-slide-thumb-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible !important;
  background-color: black;

    cursor: pointer;
}
.mouse-MouseOverStack .player-slide-thumb-inner,
.mouse-MouseOver .player-slide-thumb-inner,
.mouse-StackPressed .player-slide-thumb-inner {
  top: -2.5%;
  left: -2.5%;
  width: 105%;
  height: 105%;
}
.player-slide-thumb-img-box {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
}
.player-slide-thumb-img-frame {
  position: absolute;
  z-index: 10;
  width: 100%;
  height: 100%;
  outline: 2px solid white;
  opacity: 1.0;
  filter: alpha(opacity=100);
}
.player-slide-thumb-caption {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 6px;
    width: 100%;
    text-align: center;
    font-size: 12px;
}
.player-slide-thumb-caption .time {
    color: rgb(205,205,205);
    color: rgba(255,255,255,0.7);
}

.mouse-MouseOverStack .player-slide-thumb-caption .time,
.mouse-MouseOver .player-slide-thumb-caption .time,
.mouse-StackPressed .player-slide-thumb-caption .time
{
    color: rgb(255,255,255);
    color: rgba(255,255,255,100);
}

.player-slide-thumb-stack {
  position: absolute;
  left: 0;
  top: -20px;
  width: 100%;
  height: 100%;
}
.player-slide-stack-frame {
  position: absolute;
  outline: 2px solid white;
  opacity: 0;
  filter: alpha(opacity=0);
  display: none;
}
.stack-frame-1 {
  z-index: -10;
  top: 12px;
  left: 1%;
  width: 98%;
  height: 98%;
}
.stack-frame-2 {
  z-index: -20;
  top: 6px;
  left: 2%;
  width: 96%;
  height: 96%;
}
.stack-frame-3 {
  z-index: -30;
  top: 2px;
  left: 3%;
  width: 94%;
  height: 94%;
}
/* the collapsed stack */

.stackState-Visible .stack-frame-1 {
  display: block;
  opacity: 0.3;
  filter: alpha(opacity=30);
  border-color: #4d4d4d;
}
.stackState-Visible .stack-frame-2 {
  display: block;
  opacity: 0.2;
  filter: alpha(opacity=20);
  border-color: #333333;
}
.stackState-Visible .stack-frame-3 {
  display: block;
  opacity: 0.1;
  filter: alpha(opacity=10);
  border-color: #191919;
}
/* the expanded stack */

.stackState-Expanded .stack-frame-3 {
  display: block;
  opacity: 0.15;
  filter: alpha(opacity=15);
  border-color: #262626;
}
/* when the mouse is over the collapsed stack */

.not-ios .stackState-Visible.mouse-MouseOverStack .stack-frame-1 {
  opacity: 0.9;
  filter: alpha(opacity=90);
  border-color: #e6e6e6;
}
.not-ios .stackState-Visible.mouse-MouseOverStack .stack-frame-2 {
  opacity: 0.6;
  filter: alpha(opacity=60);
  border-color: #999999;
}
.not-ios .stackState-Visible.mouse-MouseOverStack .stack-frame-3 {
  opacity: 0.3;
  filter: alpha(opacity=30);
  border-color: #4d4d4d;
}
/* when the mouse is over the expanded stack */

.not-ios .stackState-Expanded.mouse-MouseOverStack .stack-frame-3 {
  opacity: 0.3;
  filter: alpha(opacity=30);
  border-color: #4d4d4d;
}
/* when the mouse is over the main slide */

.not-ios .mouse-MouseOver .player-slide-thumb-img-frame {
  opacity: 0.8;
  filter: alpha(opacity=80);
  border-color: #cccccc;
}
/* when the mouse button is down over the main slide */

.mouse-Pressed .player-slide-thumb-img-frame {
  opacity: 1;
  filter: alpha(opacity=100);
  border-color: white;
}
/* when the mouse button is down over the collapsed stack */

.stackState-Visible.mouse-StackPressed .stack-frame-1 {
  opacity: 1;
  filter: alpha(opacity=100);
  border-color: white;
}
.stackState-Visible.mouse-StackPressed .stack-frame-2 {
  opacity: 0.6;
  filter: alpha(opacity=60);
  border-color: #999999;
}
.stackState-Visible.mouse-StackPressed .stack-frame-3 {
  opacity: 0.3;
  filter: alpha(opacity=30);
  border-color: #4d4d4d;
}
/* when the mouse button is down over the expanded stack */

.stackState-Expanded.mouse-StackPressed .stack-frame-3 {
  opacity: 0.3;
  filter: alpha(opacity=30);
  border-color: #4d4d4d;
}
/* when the slide is selected */

.selection-Selected .player-slide-thumb-img-frame {
  opacity: 1;
  filter: alpha(opacity=100);
  border-color: white;
}
.not-ios .selection-Selected .player-slide-thumb-inner {
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
}
.ios .selection-Selected .player-slide-thumb-inner {
  -webkit-transform: scale3d(1.2, 1.2, 1);
}
.player-slide-thumb.selection-Selected {
  z-index: 20 !important;
}
/* when the mouse is over the selected slide or stack */

.not-ios .selection-Selected.mouse-MouseOver .player-slide-thumb-inner,
.not-ios .selection-Selected.mouse-MouseOverStack .player-slide-thumb-inner {
  top: -13%;
  left: -13%;
  width: 126%;
  height: 126%;
}


/* -------
    Presentation's current slide
    ------ */
.player-current-position {
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 20px;
    
    height: 100%;
    width: 150px;
    overflow: hidden;

    cursor: pointer;
}
.player-current-position.player-current-position-future {
    left: auto;
    right: 20px;
}
.player-current-position.player-current-position-current { display: none; }

.player-current-position-image {
    position: absolute;
    left: 12px;
    bottom: 10px;

    height: 50px;
    width: 88.89px;


    border: 2px white solid;

    -ms-transform: rotate(22.5deg);
    -webkit-transform: rotate(22.5deg);
    transform: rotate(22.5deg);
}

.player-current-position-future .player-current-position-image {
    left: auto;
    right: 12px;

    -ms-transform: rotate(-22.5deg);
    -webkit-transform: rotate(-22.5deg);
    transform: rotate(-22.5deg);
}

.player-current-position:before {
    position: absolute;
    left: 15px;
    bottom: 3px;  /* vertically inline with .player-slide-thumb-caption */
}

.player-current-position-future.player-current-position:before {
    left: auto;
    right: 15px;
}

.player-current-position img 
{
    height: 100%;
    width: auto;

    float: left;
}

.player-current-position.player-current-position-future img
{
    float: right;
}


.slide-navigator-current {
    position: absolute;
    z-index: 10;
    left: -10%;
    top: -10%;
    width: 120%;
    height: 120%;
    background: rgb(0,0,0);
    background: rgba(0,0,0,0.8);
    text-align: center;
}
.standalone-inspector-unsynced .slide-navigator-current { display: none; }
.slide-navigator .slide-navigator-current { display: block; }
/*
.standalone-inspector .selection-Selected .player-slide-thumb-caption {
    margin-bottom: -10%;
    z-index: 6;
    color: white;
    opacity: 1.0;
    filter: opacity(100);
}
*/
.slide-navigator-current button {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -15px;
    margin-top: -15px;
}

[data-slide-preview] .player-slide-thumb-caption .time:before,
.player-current-position:before
 {
    content: ' ';
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 6px;
    background: #407aa9;
}

[data-slide-preview] .player-slide-thumb-caption .time {
    position: relative;
}
[data-slide-preview] .player-slide-thumb-caption .time:before {
    position: absolute;
    right: 100%;
    margin-right: 0.5em;
    top: 50%;
    margin-top: -6px;
}

.inspected-slide-controls {
    position: absolute;
    z-index: 10; /* above slide inspector */
    bottom: 120px;
    left: 50%;/* adjusted in script */

    background: rgb(48,48,48);
    background: rgba(48,48,48, 0.9);

    border: 1px black solid;
    border-radius: 16px;

    color: white;
}
.inspected-slide-controls:after { content: ''; clear: both; }

.inspected-slide-time {
    float: left;
    display: block;
    border-radius: 16px; /* match .inspected-slide-controls */
    padding: 8px 16px;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.46);
    color: #407aa9;
}

.standalone-inspector-canseek .inspected-slide-time {
    padding-left: 41px; /* arrow plus regular left-padding plus 1em */
    background-image: url('images/seek_arrow.png');
    background-position: 16px center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.inspected-slide-title {
    float: left;
    display: block;
    padding: 8px 16px;
    padding-right: 22px;
    color: white;
    text-align: center;
}
