@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

:root {
    --background-color: #003593; /* Alcon blue */
    --element-color: #ffffff;
    --padding: 4px;
}

html {
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    background-color: var(--background-color);
    color: var(--element-color);
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    font-weight: normal;
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}

.bottom-logo {
    background: url('static/alcon_ala_logo.svg') no-repeat right bottom;
    background-size: 96px 41px;
    bottom: 0;
    left: 0;
    margin: 80px var(--padding) 80px var(--padding);
    position: absolute;
    right: 0;
    top: 0;
}

.media-tablet-width .bottom-logo {
    background-size: 72px 31px;
}

.media-mobile-width .bottom-logo {
    background-size: 72px 31px;
}

.media-tiny-width .bottom-logo {
    background-size: 48px 20px;
}

.theme-aea .bottom-logo {
    background: url('static/alcon_aea_logo.svg') no-repeat right bottom;
    background-size: 96px 41px;
}

.media-tablet-width .theme-aea .bottom-logo {
    background-size: 72px 31px;
}

.media-mobile-width .theme-aea .bottom-logo {
    background-size: 72px 31px;
}

.media-tiny-width .theme-aea .bottom-logo {
    background-size: 48px 20px;
}

.theme-lc .bottom-logo {
    background: url('static/alcon_lc_logo.png') no-repeat right bottom;
    background-size: 192px 64px;
}

.media-tablet-width .theme-lc .bottom-logo {
    background-size: 144px 48px;
}

.media-mobile-width .theme-lc .bottom-logo {
    background-size: 144px 48px;
}

.media-tiny-width .theme-lc .bottom-logo {
    background-size: 96px 32px;
}

.theme-none .bottom-logo {
    background: none;
    background-size: 0px 0px;
}

.media-tablet-width .theme-none .bottom-logo {
    background-size: 0px 0px;
}

.media-mobile-width .theme-none .bottom-logo {
    background-size: 0px 0px;
}

.media-tiny-width .theme-none .bottom-logo {
    background-size: 0px 0px;
}

:-webkit-full-screen.full-frame.player-layer {
    margin: 0;
    padding: 0;
}

:-moz-full-screen.full-frame.player-layer {
    margin: 0;
    padding: 0;
}

:fullscreen.full-frame.player-layer {
    margin: 0;
    padding: 0;
}

:-webkit-full-screen .page-title,
:-webkit-full-screen .page-logo,
:-webkit-full-screen .bottom-logo {
    display: none;
}

:-moz-full-screen .page-title,
:-moz-full-screen .page-logo,
:-moz-full-screen .bottom-logo {
    display: none;
}

:fullscreen .page-title,
:fullscreen .page-logo,
:fullscreen .bottom-logo {
    display: none;
}

:-webkit-full-screen .page-title,
:-webkit-full-screen .page-logo,
:-webkit-full-screen .bottom-logo {
    display: none;
}

.page-title {
    background: url(static/alcon_logo.png) no-repeat left top; /* 96px 28px */
    background-size: 96px;
    box-sizing: border-box;
    display: table;
    left: 0;
    margin: var(--padding) var(--padding) 0px var(--padding);
    padding: 0px 0px 0px 118px;
    position: absolute;
    right: 0;
    top: 0;
}

.divider {
    background-color: #ffffff;
    content: '';
    display: table-cell;
    height: 50%;
    position: absolute;
    top: 8px;
    width: 1px;
}

.title {
    display: table-cell;
    font-size: 24px;
    font-weight: 600; /* semi-bold */
    padding-left: 20px;
    padding-top: 0px;
}

.theme-layer {
    background-color: var(--background-color); /* Fullscreen requires */
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#player {
    margin: 0 auto;
}

.player-layer {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    margin: 80px var(--padding) 80px var(--padding);
}

.player-border {
    background: none;
    border: solid 8px var(--background-color);
    border-radius: 16px;
    display: block;
    height: 100%;
    left: 0px;
    margin-top: 0px;
    position: absolute;
    width: 100%;
}

.replay {
    float: left;
    background: url(static/alcon_replay_btn.png) no-repeat center center;
    position: relative;
    padding: 0;
    border: 0;
    outline: 0 none;
    height: 37px;
    width: 5%;
    border-radius: 4px;
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    display: block;
    cursor: pointer;
}

.playback {
    color: var(--element-color);
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: bold;
    line-height: 0px;
    max-width: 74px !important;
    min-width: 74px !important;
    width: 74px !important;
}

.media-mobile-width .playback {
    font-size: 14px;
    max-width: 62px !important;
    min-width: 62px !important;
    width: 62px !important;
}

.media-tiny-width .playback {
    font-size: 10px;
    max-width: 42px !important;
    min-width: 42px !important;
    width: 42px !important;
}

.watermark {
    display: none;
    opacity: 0.3;
    position: absolute;
    right: 10px;
    top: 10px;
}

.watermark:hover {
    opacity: 1;
}

.play-btn {
    border-radius: 100%;
    cursor: pointer;
    height: 80px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    width: 80px;
    z-index: 10;
}

.media-mobile-width .play-btn {
    height: 60px;
    width: 60px;
}

.media-tiny-width .play-btn {
    height: 40px;
    width: 40px;
}

.play-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.playbtn {
    background: url(static/alcon_play_icon.png) no-repeat center center;
    background-size: 80px;
    height: 80px;
    width: 80px;
}

.media-mobile-width .playbtn {
    background-size: 60px;
    height: 60px;
    width: 60px;
}

.media-tiny-width .playbtn {
    background-size: 40px;
    height: 40px;
    width: 40px;
}

/******** player controls ************/

.player-controls-layer {
    display: block !important;
}

.player-controls {
    align-items: center;
    background-color: rgba(0, 0, 0, .4);
    border-radius: 8px;
    bottom: 0;
    box-sizing: border-box;
    display: flex !important;
    height: 48px;
    justify-content: center;
    left: 0;
    margin: 0px var(--padding) var(--padding) var(--padding);
    position: absolute;
    right: 0;
}

.media-tablet-width .player-controls {
    height: 36px;
}

.media-mobile-width .player-controls {
    height: 36px;
}

.media-tiny-width .player-controls {
    height: 24px;
}

.player-controls .button {
    align-items: center;
    background: none;
    border: 0;
    cursor: pointer;
    display: flex;
    float: left;
    height: 48px;
    justify-content: center;
    margin: 0;
    max-width: 48px;
    min-width: 48px;
    outline: 0 none;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 48px;
}

.media-tablet-width .player-controls .button {
    height: 36px;
    max-width: 36px;
    min-width: 36px;
    width: 36px;
}

.media-mobile-width .player-controls .button {
    height: 36px;
    max-width: 36px;
    min-width: 36px;
    width: 36px;
}

.media-tiny-width .player-controls .button {
    height: 24px;
    max-width: 24px;
    min-width: 24px;
    width: 24px;
}

.btn:after {
    background-color: #000000;
    content: '';
    height: 48px;
    position: absolute;
    right: 0px;
    top: 0px;
    width: 1px;
}

.media-tablet-width .btn:after {
    height: 36px;
}

.media-mobile-width .btn:after {
    height: 36px;
}

.media-tiny-width .btn:after {
    height: 24px;
}

.player-controls .button.play {
    background: url(static/alcon_play_btn.png) no-repeat center center;
}

.media-tablet-width .player-controls .button.play {
    background-size: 13px;
}

.media-mobile-width .player-controls .button.play {
    background-size: 13px;
}

.media-tiny-width .player-controls .button.play {
    background-size: 9px;
}

.player-controls .button.replay {
    background: url(static/alcon_replay_btn.png) no-repeat center center;
}

.media-tablet-width .player-controls .button.replay {
    background-size: 17px;
}

.media-mobile-width .player-controls .button.replay {
    background-size: 17px;
}

.media-tiny-width .player-controls .button.replay {
    background-size: 11px;
}

.player-controls .button.mute {
    background: url(static/alcon_audio_off_btn.png) no-repeat center center;
}

.media-tablet-width .player-controls .button.mute {
    background-size: 17px;
}

.media-mobile-width .player-controls .button.mute {
    background-size: 17px;
}

.media-tiny-width .player-controls .button.mute {
    background-size: 11px;
}

.player-controls .button.mute[data-player-mute-state=muted] {
    background: url(static/alcon_audio_on_btn.png) no-repeat center center;
}

.media-tablet-width .player-controls .button.mute[data-player-mute-state=muted] {
    background-size: 17px;
}

.media-mobile-width .player-controls .button.mute[data-player-mute-state=muted] {
    background-size: 17px;
}

.media-tiny-width .player-controls .button.mute[data-player-mute-state=muted] {
    background-size: 11px;
}

.player-controls .button.fullscreen[data-player-fullscreen-state=normal] {
    background: url(static/alcon_fullscreen_btn.png) no-repeat center center;
}

.media-tablet-width .player-controls .button.fullscreen[data-player-fullscreen-state=normal] {
    background-size: 11px;
}

.media-mobile-width .player-controls .button.fullscreen[data-player-fullscreen-state=normal] {
    background-size: 11px;
}

.media-tiny-width .player-controls .button.fullscreen[data-player-fullscreen-state=normal] {
    background-size: 9px;
}

.player-controls .button.fullscreen[data-player-fullscreen-state=fullscreen] {
    background: url(static/alcon_normalscreen_btn.png) no-repeat center center;
}

.media-tablet-width .player-controls .button.fullscreen[data-player-fullscreen-state=fullscreen] {
    background-size: 11px;
}

.media-mobile-width .player-controls .button.fullscreen[data-player-fullscreen-state=fullscreen] {
    background-size: 11px;
}

.media-tiny-width .player-controls .button.fullscreen[data-player-fullscreen-state=fullscreen] {
    background-size: 9px;
}

.player-controls .button.fullscreen {
    display: none
}

.player-controls .button.pause,
.player-controls .button.play[data-player-play-state=playing] {
    background: url(static/alcon_pause_btn.png) no-repeat center center;
}

.media-tablet-width .player-controls .button.pause,
.media-tablet-width .player-controls .button.play[data-player-play-state=playing] {
    background-size: 11px;
}

.media-mobile-width .player-controls .button.pause,
.media-mobile-width .player-controls .button.play[data-player-play-state=playing] {
    background-size: 11px;
}

.media-tiny-width .player-controls .button.pause,
.media-tiny-width .player-controls .button.play[data-player-play-state=playing] {
    background-size: 7px;
}

.player-controls .duration-container {
    align-items: center;
    display: flex;
    float: left;
    font-size: 18px;
    height: 48px;
    justify-content: center;
    line-height: 0px;
    overflow: hidden;
    padding-right: 20px;
    position: relative;
    text-align: center;
}

.media-tablet-width .player-controls .duration-container {
    font-size: 14px;
    height: 36px;
}

.media-mobile-width .player-controls .duration-container {
    font-size: 14px;
    height: 36px;
}

.media-tiny-width .player-controls .duration-container {
    font-size: 10px;
    height: 24px;
    padding-right: 0px;
}

.player-controls .duration-container .duration-separator {
    display: inline-block;
    margin-left: 0px;
    margin-right: 0px;
    position: relative;
    top: -1px;
}

.live-state-on-demand .duration-container {
    width: 170px
}

.live-state-in-progress .duration-container {
    width: 55px
}

.progress-bar-frame {
    cursor: pointer;
    display: block;
    float: left;
    height: 48px;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 100%;
}

.media-tablet-width .progress-bar-frame {
    height: 36px;
}

.media-mobile-width .progress-bar-frame {
    height: 36px;
}

.media-tiny-width .progress-bar-frame {
    display: none; /* Too small to see */
}

.progress-bar-frame.volume-slider-frame {
    width: 100px;
    margin: 0 10px 0 20px;
}

.progress-bar-container {
    background: #000000;
    border-radius: 4px;
    height: 8px;
    margin: 20px;
}

.media-tablet-width .progress-bar-container {
    margin: 14px;
}

.media-mobile-width .progress-bar-container {
    margin: 14px;
}

.media-tiny-width .progress-bar-container {
    margin: 14px;
}

.progress-bar {
    background: #00aeef;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 0px;
    border-top-left-radius: 4px;
    border-top-right-radius: 0px;
    height: 100%;
}

body.blue .progress-bar {
    background: #00aeef;
}

.progress-bar.secondary {
    background: #ddf6ff;
    border-radius: 4px;
}

body.blue .progress-bar.secondary {
    background: #ddf6ff;
}

.progress-bar.offset {
    margin-top: -8px;
}

.progress-slider.offset {
    margin-top: -6px;
}

.ui-slider-handle {
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .6);
    display: block;
    height: 24px;
    margin-top: -16px;
    outline: 0 none;
    position: relative;
    width: 8px;
    z-index: 3;
}

.media-tablet-width .ui-slider-handle  {
    height: 22px;
    margin-top: -15px;
}

.media-mobile-width .ui-slider-handle  {
    height: 22px;
    margin-top: -15px;
}

.full-frame {
    bottom: 0;
    height: 100%;
    left: 0;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.loading-indicator {
    padding: 0;
    border: 0;
    outline: 0 none;
    background: none;
    overflow: hidden;
    display: inline-block;
    background-color: #191919;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.loading-indicator .loading-spinner {
    margin: 20px;
    padding-top: 40px;
    padding-left: 40px;
    width: 0;
    height: 0;
    border: none;
    float: left;
    overflow: hidden;
    padding-right: 0;
    padding-bottom: 0;
    display: block;
    background: url(static/loading.gif) no-repeat center center;
    background-size: 40px;
}

/* text tracks, captions, subtitles */
.player-controls .button.captions {
    background: url(static/alcon_cc_on_btn.png) no-repeat center center;
}

.media-tablet-width .player-controls .button.captions {
    background-size: 17px !important;
}

.media-mobile-width .player-controls .button.captions {
    background-size: 17px !important;
}

.media-tiny-width .player-controls .button.captions {
    background-size: 11px !important;
}

.player-controls .button.captions[data-player-text-track-state="hidden"] {
    background: url(static/alcon_cc_off_btn.png) no-repeat center center;
}

#cc-menu {
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.80);
    background: rgba(0, 0, 0, 0.80);
    backdrop-filter: blur(5px);
  
    padding: 0;
  
    color: #FFF;
  
    inset: unset;
    margin: 0;
    position: absolute;
  
    bottom: 64px;
    right: 32px;
}
  
#cc-menu .cc-heading {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px; /* 114.286% */
    padding: 12px 0px 6px 0px;
    text-align: center;
}
  
#cc-menu .cc-list {
    max-height: 150px;
  
    overflow-y: auto;
    scrollbar-width: thin;
}
  
#cc-menu button {
    display: block;
    width: 100%;
    height: 30px;
    background: none;
    border: none;
    color: #FFF;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: left;
    padding-left: 39px;
}
  
#cc-menu button:hover {
    background: rgba(255, 255, 255, 0.17);
}
  
#cc-menu button[data-cc-kind="captions"]::after {
    content: " (CC)";
}
  
#cc-menu[data-player-text-track-state="hidden"] button.cc-off {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOSIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDE5IDE0IiBmaWxsPSJub25lIj4KICA8cGF0aCBkPSJNMTIuMDY0MSAxMC4zMTk5TDEwLjMwOTMgMTIuMTk0Nkw4LjQ2MDc1IDEwLjMxOTlMNS4zODg3OSA3LjMwMDE0TDcuMjM3MzQgNS40MjU0NUwxMC4yMTUgOC40NDUxOUwxNi43NjI1IDEuODA1NjZMMTguNjExIDMuNjgwMzVMMTIuMDY0MSAxMC4zMTk5WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==);
    background-repeat: no-repeat;
    background-position: 10px center;
}
  
#cc-menu[data-player-text-track-state="showing"] button.cc-selected {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOSIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDE5IDE0IiBmaWxsPSJub25lIj4KICA8cGF0aCBkPSJNMTIuMDY0MSAxMC4zMTk5TDEwLjMwOTMgMTIuMTk0Nkw4LjQ2MDc1IDEwLjMxOTlMNS4zODg3OSA3LjMwMDE0TDcuMjM3MzQgNS40MjU0NUwxMC4yMTUgOC40NDUxOUwxNi43NjI1IDEuODA1NjZMMTguNjExIDMuNjgwMzVMMTIuMDY0MSAxMC4zMTk5WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==);
    background-repeat: no-repeat;
    background-position: 10px center;
}
  
