:root {
  --brand-color: #1EC95B;
  --brand-color-light: #1EC95BEE;
  --brand-color-lighter: #1EC95BDD;
  --brand-color-lightest: #1EC95BCC;

  --player-border-radius: 0px;
  --player-background-color: black;
  --player-vertical-padding: 0px;
  --player-horizontal-padding: 0px;

  --tray-font: 'Helvetica';
  --tray-background-color: var(--menu-background-color);
  --tray-full-background-color: transparent;
  --tray-margin: 0px;
  --tray-height: 40px;
  --tray-button-border:0px;
  --tray-button-highlight-background-color:transparent;
  --tray-button-highlight-border-radius:0px;
  --tray-outer-border-radius: 0px;
  --tray-inner-border-radius: 0px;
  --tray-play-button-gap: 0px;
  --tray-play-button-width: 71px;
  --tray-play-button-border-radius: 0px;
  --tray-play-button-background-color: transparent;
  --tray-play-button-color-filter: var(--icon-color-filter);
  --tray-play-button-hover-background-color: var(--scrubber-color);
  --tray-play-button-hover-color-filter: var(--icon-color-filter);
  --tray-text-color: white;

  --scrubber-color: var(--brand-color);
  --scrubber-color-light: var(--brand-color-light);
  --scrubber-color-lighter: var(--brand-color-lighter);
  --scrubber-color-lightest: var(--brand-color-lightest);
  --scrubber-track-color: #222222;

  --menu-gap: 0px;
  --menu-border-radius: 0px;
  --menu-background-color: rgba(0, 0, 0, .72);
  --menu-text-color: #bbb;

  --icon-color-filter: url(#icon_white);
  --icon-color-hover-filter: url(#icon_hover);

  --big-play-background-color: var(--scrubber-color);
  --big-play-icon-color-filter: url(#icon_white);
  --big-play-width: 91px;
  --big-play-height: 51px;
  --big-play-border-radius: var(--menu-border-radius);

  --outline: 3px solid #fff;
}


body.theme-rounded {
  --tray-margin: 10px;
  --tray-play-button-gap: 10px;
  --tray-outer-border-radius: 6px;
  --tray-inner-border-radius: 6px;

  --menu-gap: 6px;
  --menu-border-radius: 6px;

  --big-play-border-radius: 6px;
}

body.theme-hip {
  --tray-margin: 10px;
  --tray-button-border:4px;
  --tray-play-button-width: 40px;

  --menu-gap: 10px;
}

body.theme-circular {
  --tray-margin: 10px;
  --tray-button-border:3px;
  --tray-play-button-width: 34px;
  --tray-outer-border-radius: 20px;
  --tray-play-button-border-radius: 20px;

  --big-play-width: 60px;
  --big-play-height: 60px;
  --big-play-border-radius: 100%;

  --menu-gap: 8px;
  --menu-border-radius: 10px;
}

body.theme-cinematic {
  --tray-play-button-width: 40px;
  --tray-background-color: transparent;
  --tray-full-background-color: linear-gradient(180deg, transparent 0%, #000000 100%);

  --scrubber-track-color: white;
}

body.theme-angelic {
  --tray-background-color: rgba(255,255,255,.9);
  --tray-margin: 10px;
  --tray-button-border:3px;
  --tray-play-button-width: 34px;
  --tray-outer-border-radius: 20px;
  --tray-play-button-border-radius: 20px;
  --tray-play-button-color-filter: url(#icon_dark);
  --tray-play-button-hover-color-filter: url(#icon_white);
  --tray-text-color: #333;

  --scrubber-track-color: #ccc;

  --menu-gap: 8px;
  --menu-background-color: rgba(255,255,255,.7);
  --menu-border-radius: 10px;
  --menu-text-color: #666;

  --icon-color-filter: url(#icon_dark);

  --outline: 3px solid #000;
}

body.theme-colorburst {
  --tray-margin: 10px;
  --tray-background-color: var(--brand-color-lighter);
  --tray-button-border:3px;
  --tray-button-highlight-background-color: rgba(255,255,255,.9);
  --tray-button-highlight-border-radius:3px;
  --tray-play-button-width: 34px;
  --tray-outer-border-radius: 8px;
  --tray-play-button-border-radius: 8px;

  --tray-play-button-background-color: transparent;
  --tray-play-button-color-filter: url(#icon_white);
  --tray-play-button-hover-background-color: rgba(255,255,255,.9);
  --tray-play-button-hover-color-filter: url(#icon_hover);

  --scrubber-color: rgba(255,255,255,.8);
  --scrubber-track-color: rgba(0,0,0,.3);

  --menu-gap: 8px;
  --menu-background-color: var(--brand-color-lightest);
  --menu-border-radius: 5px;
  --menu-text-color: white;

  --big-play-background-color: var(--menu-background-color);
}


body {
  --tray-button-height: calc(var(--tray-height) - var(--tray-button-border) - var(--tray-button-border));
  --tray-button-width: var(--tray-height);
  --spacing-above-tray: calc(var(--tray-height) + var(--tray-margin) + 10px);
}

/* ========================= BROWSER RESET ======================== */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td,button{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img,button{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}ol,ul {list-style:none;}caption,th {text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym {border:0;}* focus, video, object, player, embed {outline:none} *{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;}iframe{border:0} input,textarea{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;-o-user-select:text;user-select:text;}iframe{border:0}button{background-color:transparent;border-radius:0;}

/* ========================= GENERAL TAGS ======================== */
a img {border:0;}
html, body, .player-design, #player {
  /* Make sure that iOS Safari doesn't try to expand the player iframe */
  width:100%;
  height:100%;
  overflow:hidden;
}
.player-design, #player, .video-display {
  background-color: var(--player-background-color);
  border-radius: var(--player-border-radius);
}
body, .player-design, #player {
  position: relative;
}
body {
  margin:0;
  color:var(--tray-text-color);
  font:11px/14px Helvetica;
  font-family: var(--tray-font);

  scrollbar-base-color: #000;
  scrollbar-3dlight-color: #000;
  scrollbar-highlight-color: #000;
  scrollbar-track-color: #555;
  scrollbar-arrow-color: #555;
  scrollbar-shadow-color: #000;
  scrollbar-dark-shadow-color: #000;
}
/* Accessibility */
[tabindex]:focus {
  outline: none !important;
}

*:active {
  outline: none !important;
}

body [tabindex]:focus-visible {
  outline: var(--outline) !important;
  outline-offset:-3px;
}
h1 {
  font-size:14px;
  line-height:2em;
  font-weight:normal;
  letter-spacing:.3px;
}
p {
  font-size:12px;
  font-weight:normal;
  line-height:1.5em;
  letter-spacing:.3px;
}
.clear {
  clear: both;
}
.selectable, .selectable * {
  -webkit-user-select: initial;
  -moz-user-select: initial;
  -ms-user-select: initial;
  -o-user-select: initial;
  user-select: initial;
}
.hide-visually {
  text-indent: -9999px;
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}

.defs-only {
  width: 0px;
  height: 0px;
}

/* ========================= GENERIC CLASSES ======================== */

/* === buttons === */
.button-container {
  position: relative;
}
.button-container > button { /* standard button design */
  display: block;
  overflow: hidden;
  position:relative;
  width: var(--tray-button-width);
  height: var(--tray-button-height);
  background-position:center center;
  background-repeat:no-repeat;
  cursor:pointer;
  font-size:0;
  transition: background-color 200ms ease;
}
.button-container > button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  filter: var(--icon-color-filter);
  -webkit-filter: var(--icon-color-filter);
}

.button-container > select {
  opacity:0;
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:99999;
}
ul.button-menu {
  display:none;
  position: absolute;
  bottom: 100%;
  right: 0px;
  height: 0;
  padding:0;
  font-size: 0;
  overflow: hidden;
  scrollbar-color: #aaa var(--menu-background-color);
  scrollbar-width: thin;
  scrollbar-gutter: stable;
  transition: height 200ms ease, overflow 1ms ease 0s allow-discrete;
  border-bottom:0 solid transparent;
}
ul.button-menu::before, ul.button-menu::after {
  content:'';
  display:block;
  height:6px;
}
.button-container:hover ul.button-menu, .button-container-active ul.button-menu {
  display:block;
  height: 1em;
  overflow: auto;
  transition-delay: 0s,200ms;
}
ul.button-menu li {
  display: block;
  text-align: left;
  font-size: 11px;
  background-position: right center;
  background-repeat: no-repeat;
}
ul.button-menu li button { /* menu items */
  height: 30px;
  padding: 0 16px;
  line-height: 30px;
  white-space:nowrap;
  cursor: pointer;
  color: var(--menu-text-color);
  width: 100%;
  text-align: left;
  overflow: visible; /* See above */
}
ul.button-menu-selection li.selected {
  position:relative;
}
ul.button-menu-selection li.selected button {
  padding-right: 40px;
  background-color:var(--tray-button-highlight-background-color);
  border-radius:var(--tray-button-highlight-border-radius);
}
ul.button-menu-selection li.selected::after {
  content: '';
  position: absolute;
  top: 0;
  right: 10px;
  width: 50px;
  height: 100%;
  background-repeat: no-repeat;
  background-position: right center;
  background-image:url('checkmark.svg');
  filter: var(--icon-color-hover-filter);
  -webkit-filter: var(--icon-color-hover-filter);
}
ul.button-menu {
  border-bottom-width:var(--menu-gap)
}
ul.button-menu li, ul.button-menu::before, ul.button-menu::after {
  background: var(--menu-background-color) none right center no-repeat;
}
ul.button-menu::before {
  border-radius:var(--menu-border-radius) var(--menu-border-radius) 0 0;
}
ul.button-menu::after {
  border-radius:0 0 var(--menu-border-radius) var(--menu-border-radius);
}
.tray-left .button-container:hover > button {
  background-color:var(--tray-play-button-hover-background-color);
}
.tray-left .button-container > button {
  background-color:var(--tray-play-button-background-color);
}
ul.button-menu li:hover button,
ul.button-menu-selection li.selected button,
.menu-list li a:hover {
  color: var(--brand-color);
}

/* Close button for overlays */
.button-container-close {
  position: absolute;
  top: 10px;
  right: 10px;
}

/* === /buttons === */




/* ========================= OVERALL GRID ======================== */

/* === tray === */
#tray {
  position:absolute;
  bottom:-20px;
  left:var(--tray-margin);
  right:var(--tray-margin);
  opacity: 0;
  transition: all 100ms linear;
  z-index: 100;
  color: var(--tray-text-color);
  background: var(--tray-full-background-color);
}
.tray-shown #tray {
  bottom: 0;
  opacity: 1;
}
.block-tray #tray {
  visibility: hidden;
}
#traysub {
  display: flex;
  max-width: 1200px;
  margin: 0 auto var(--tray-margin) auto;
}
.tray-left,
.tray-scrubber,
.tray-right {
  background: var(--tray-background-color);
}

.tray-left, .tray-left .button-container {
  border-radius:var(--tray-outer-border-radius) var(--tray-inner-border-radius) var(--tray-inner-border-radius) var(--tray-outer-border-radius);
}
.tray-left .button-container button {
  border-radius:
    calc(max(var(--tray-outer-border-radius), var(--tray-play-button-border-radius)))
  calc(max(var(--tray-inner-border-radius), var(--tray-play-button-border-radius)))
  calc(max(var(--tray-inner-border-radius), var(--tray-play-button-border-radius)))
  calc(max(var(--tray-outer-border-radius), var(--tray-play-button-border-radius)));
  overflow:hidden;
  margin:var(--tray-button-border);
}
.tray-right .button-container button {
  margin:var(--tray-button-border) 0;
}
.tray-right .button-container li button {
  margin:0;
}
.tray-scrubber {
  border-radius:var(--tray-inner-border-radius) 0 0 var(--tray-inner-border-radius);
}
.tray-right {
  border-radius:0 var(--tray-outer-border-radius) var(--tray-outer-border-radius) 0;
}

@media all and (min-width: 1200px) {
  #traysub {
    width: 960px;
  }
}
.tray-left {
  flex: 0;
  float:left;
  margin-right:var(--tray-play-button-gap);
}
.tray-left .button-container button {
  width: var(--tray-play-button-width);
  transition: background-color 200ms linear;
}
.tray-right {
  display: flex;
  float: right;
  flex: 0;
  padding-right: 5px;
}
.tray-right .button-container > button, .tray-right .button-container > button img {
  width: 30px;
}
.tray-scrubber {
  flex: 1;
  position: relative;
  margin: 0;
  margin-right: 0; /* Width of buttons to the right of the scrubber. Updated in js. */
  padding: 0 10px;
}
/* === /tray === */



/* ========================= INDIVIDUAL MODULES ======================== */

/* === Module: Scrubber === */
.scrubber-container {
  position:relative;
  height:var(--tray-height);
}
.scrubber {
  position: relative;
  margin-right: 70px;
  height: 100%;
  cursor:pointer;
}
.scrubber-track {
  position: relative;
  top: 18px;
  height: 4px;
}
.scrubber-buffer, .scrubber-play {
  position:absolute;
  top: 0;
  left: 0;
  height: 100%;
  width:0;
  transition: width 100ms ease;
}
.scrubber-track {
  width:100%;
  background-color:var(--scrubber-track-color);
}
.scrubber-buffer,
.scrubber-play {
  background-color: var(--scrubber-color);
}
.scrubber-buffer {
  opacity: 0.2;
}

.scrubber-thumbnail {
  display:none;
  position:absolute;
  left: 0;
  bottom:44px;
  width: 94px;
  border:2px solid var(--tray-background-color);
  overflow: hidden;
}
.tray-shown .scrubber:hover .scrubber-thumbnail {
  display: block;
}
.touch .scrubber-thumbnail {
  display: none !important;
}
.scrubber-thumbnail img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}
.scrubber-thumbnail-time-container {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
}
.scrubber-thumbnail-time {
  padding: 4px;
  background: var(--tray-background-color);
  font-size: 10px;
  line-height: 1em;
}

.time-container {
  position: absolute;
  top: 0;
  right: 0;
  height: var(--tray-height);
  font-size: 10px;
  line-height: var(--tray-height);
}
.video-stream .time-container {
  padding-left: 10px;
  background: transparent url("live-dot.svg") left center no-repeat;
  background-size: 6px;
}
.video-stream .time-container span {
  color: #FA4646;
  padding-right: 4px;
}
/* === /Scrubber === */

/* === Module: Sections === */
.sections-container {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin-top: -2px;
  padding: 0 10px;
}
.sections {
  position:relative;
  margin-right: 70px;
}
.section {
  position:absolute;
  top:0;
  width:4px;
  height:4px;
  margin-left: -2px;
  background: rgb(255,255,255);
  background: rgba(255,255,255,0.72);
  cursor:pointer;
  transition: background 200ms linear;
}
.section:hover {
  background: rgba(255,255,255,1);
}

.section-pop-up {
  display:none;
  position:absolute;
  left: 0;
  bottom:26px;
  width: 94px;
  border:2px solid #222222;
  overflow: hidden;
}

.section:hover .section-pop-up {
  display: block;
  opacity: 1;
  visibility: visible;
}
.section .section-pop-up img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}
.section-title-container {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
}
.section-title {
  padding: 4px;
  background: #222222;
  background: rgba(34,34,34,0.8);
  font-size: 10px;
  line-height: 1em;
}
/* === /Sections === */

/* === Module: Volume button === */
.volume-slider {
  visibility: hidden;
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--menu-background-color);
  overflow: hidden;
  transition: height 200ms ease;
}
.tray-shown .button-container:hover .volume-slider,
.tray-shown .button-container:focus .volume-slider,
.tray-shown .button-container:focus-visible .volume-slider,
.tray-shown .button-container:focus-within .volume-slider{
  visibility: visible;
  display: block;
  height: 100px;
}
.volume-slider-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  cursor: pointer;
}
.volume-slider .volume-track {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 13px;
  width: 4px;
  background-color: var(--scrubber-track-color);
}
.volume-slider .volume-level {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--scrubber-color);
  transition: height 100ms linear;
}
.volume-button-off img.volume-off-icon, .volume-button-on img.volume-on-icon {
  display: none;
}
/* === /Volume button === */

/* === Module: Info === */
.info-overlay {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: opacity 200ms linear;
}
.block-info .info-overlay {
  opacity: 0;
}
.info-overlay-text {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 7% 6%;
  background:transparent url(info-gradient.svg) left bottom repeat-x;
  background-size: auto 100%;
}
.info-overlay-live {
  position: relative;
  height: 13px;
  line-height: 13px;
  font-size: 10px;
  padding-left: 24px;
  color: #FA4646;
  margin-bottom: 10px;
}
.info-overlay-live-icon {
  position: absolute;
  top: 0;
  left: 0;
  height: 11px;
  width: 17px;
  border: 1px solid #FA4646;
  background: transparent url(live-icon.svg) center center no-repeat;
  background-size: 13px;
}
.info-overlay-title {
  font-size: 26px;
  color: #FFFFFF;
  line-height: 1.2em;
  margin-bottom: 0.2em;
  overflow: hidden;
  text-overflow: ellipsis;
}
.info-overlay-domain {
  font-size: 14px;
  color: #CCCCCC;
  text-decoration: none;
}
a.info-overlay-domain:hover {
  text-decoration: underline;
}
.size-small .info-overlay-text { padding: 5% 6%; }
.size-small .info-overlay-title { font-size: 18px; white-space: nowrap; }
.size-small .info-overlay-domain { font-size: 12px; }
.size-tiny .info-overlay-text { padding: 5% 6%; }
.size-tiny .info-overlay-title { font-size: 16px; white-space: nowrap; }
.size-tiny .info-overlay-domain { font-size: 10px; }
/* === /Info === */

/* === Module: Share button === */
.button-container-share {
  opacity: 0;
  position: absolute;
  top: calc(max(var(--tray-margin), 6px));
  right: calc(max(var(--tray-margin), 6px));
  transition: opacity 200ms linear;
  background-color: var(--tray-background-color);
  border-radius:var(--menu-border-radius);
}
.tray-shown .button-container-share {
  opacity: 1;
}
.button-container-share:focus-within {
  opacity: 1;
}
body.overlay-shown .button-container-share {
  opacity: 0;
  visibility: hidden;
}
/* === /Share button === */

/* === Module: Sharing === */
.sharing-container {
  display: none;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:var(--menu-background-color);
  transition: opacity 200ms linear;
}
.sharing-container-active {
  display: block;
  opacity: 1;
}
.sharing-info {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 3% 50px 3% 5%;
}
.sharing-info h3 {
  font-size: 26px;
  line-height: 1.2em;
}
.sharing-info a {
  display: block;
  font-size: 14px;
  line-height: 1.2em;
  color: var(--tray-text-color);
  text-decoration: underline;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sharing-info a:hover {
  color: var(--brand-color);
}
.sharing-info .current-time-select {
  display: none;
  font-size: 14px;
  line-height: 1em;
  height: 1em;
  margin: 8px 0;
}
.video-clip .sharing-info .current-time-select {
  display: block;
}
.playflow-position-1 .sharing-info .current-time-select,
.playflow-position-2 .sharing-info .current-time-select,
.playflow-position-4 .sharing-info .current-time-select,
.playflow-position-5 .sharing-info .current-time-select {
  display: none;
}
.sharing-info .current-time-select .checkbox {
  float: left;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border: 1px solid #AAAAAA;
  text-align: center;
}
.sharing-info .current-time-select .checkbox.checked  {
  background-image:url('checkmark.svg');
  background-repeat:no-repeat;
  background-position:center center;
  filter: var(--icon-color-filter);
  -webkit-filter: var(--icon-color-filter);
}
.share-buttons-container {
  display: table;
  width: 100%;
  height: 100%;
}
.share-buttons {
  display: table-cell;
  height: 100%;
  vertical-align: middle;
  text-align: center;
}
.share-buttons .button-container {
  display: inline-block;
  display: inline\9; /* IE 7+8 */
  margin-right: 10px;
}
.share-buttons .button-container button {
  width: 50px;
  height: 50px;
  display: inline\9; /* IE 7+8 */
}
/* === /Sharing === */

/* === Module: Browse === */
.browse-container {
  display: none;
  opacity: 0;
  position:absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:rgb(0,0,0);
  background:var(--menu-background-color);
  transition: opacity 200ms linear;
}
.browse-container-activated {
  display: block;
  opacity: 1;
}
.browse-container h3 {
  position: relative;
  height: 60px;
  font-size: 26px;
  font-weight: 100;
  line-height: 60px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-left: 26px;
  margin-right: 50px;
}
.size-small .browse-container h3 {
  font-size: 18px;
  height: 40px;
  line-height: 40px;
  margin-left: 18px;
}
.recommendations-grid {
  position: absolute;
  top: 60px;
  left: 2px;
  right: 2px;
  bottom: 41px;
}
.size-small .recommendations-grid {
  top: 40px;
}
.recommendations-grid .recommendation {
  position: relative;
  float: left;
  width: 33.33%;
  height: 50%;
  overflow: hidden;
  cursor: pointer;
}
.recommendations-grid .recommendation-0,
.recommendations-grid .recommendation-3 {
  left: -1px;
}
.recommendations-grid .recommendation-2,
.recommendations-grid .recommendation-5 {
  right: -1px;
}
.recommendations-grid .recommendation-3,
.recommendations-grid .recommendation-4,
.recommendations-grid .recommendation-5 {
  bottom: -1px;
}
.recommendation img {
  display: block;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  filter: blur(0);
  -webkit-filter: blur(0);
  transform: scale(1);
  transition: transform 300ms ease-in-out;
}
.recommendation:hover img {
  transform: scale(1.1);
}
.recommendation-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 60px 10px 15px;
  font-size: 16px;
  line-height: 1.2em;
  opacity: 0;
  background: linear-gradient(rgba(34,34,34,0), rgba(34,34,34,1.0));
  transition: opacity 200ms linear;
}
.recommendation:hover .recommendation-meta {
  opacity: 1;
}
.recommendation-meta .recommendation-title {
  min-height: 1.2em;
  max-height: 2.4em;
  overflow: hidden;
}
.recommendation-meta .recommendation-duration {
  position: absolute;
  bottom: 14px;
  right: 15px;
  font-size: 12px;
  line-height: 1em;
}

/* === /Browse === */

/* === video-360-button === */
.player-video-360-button {
  display: none;
  position: absolute;
  right: 20px;
  bottom: 50px;
}
.displaying-360 .player-video-360-button {
  display: block;
}
.button-container > .video-360-button {
  width: 50px;
  height: 50px;
  background-image: url('vr.svg');
  background-size: 50px;
  background-color: rgba(0,0,0,0.5);
  filter: var(--icon-color-filter);
  -webkit-filter: var(--icon-color-filter);
}

/* === Subtitle button === */
.subtitle-button .cc-active-icon {
  display: none;
}
.subtitle-button-active .cc-active-icon {
  display: block;
}
.subtitle-button-active .cc-icon {
  display: none;
}
.subtitle-button .cc-icon,
.subtitle-button .cc-active-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* === /Subtitle button === */

/* === Audiodescription button === */
.audiodescription-button .cc-active-icon {
  display: none;
}
.audiodescription-button-active .cc-active-icon {
  display: block;
}
.audiodescription-button-active .cc-icon {
  display: none;
}
.audiodescription-button .audiodescription-icon,
.audiodescription-button .audiodescription-active-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* === /Audiodescription button === */

/* === Button graphics === */

/* Tray left buttons */
.tray-left button::after {
  background-size: 54px;
  filter: var(--tray-play-button-color-filter);
  -webkit-filter: var(--tray-play-button-color-filter);
}
.tray-left button:hover::after {
  filter: var(--tray-play-button-hover-color-filter);
  -webkit-filter: var(--tray-play-button-hover-color-filter);
}

.play-button::after {
  background-image: url('play.svg');
}
.pause-button::after {
  background-image: url('pause.svg');
}
.stop-button::after {
  background-image: url('stop.svg');
}
.replay-button::after {
  background-image: url('replay.svg');
}

/* Tray right buttons */
.tray-right button::after {
  background-size: var(--tray-button-width) var(--tray-button-width);
  filter: var(--icon-color-filter);
  -webkit-filter: var(--icon-color-filter);
}
.tray-right button:hover,
.subtitle-button-active,
.audiodescription-button-active {
  background-color:var(--tray-button-highlight-background-color);
  border-radius:var(--tray-button-highlight-border-radius);
}
.tray-right button:hover::after,
.subtitle-button-active::after,
.audiodescription-button-active::after {
  filter: var(--icon-color-hover-filter) !important;
  -webkit-filter: var(--icon-color-hover-filter) !important;
}

.fullscreen-button::after {
  background-image: url('fullscreen.svg');
}
.quality-button::after {
  background-image: url('gear.svg');
}
.volume-button-on::after {
  background-image: url('volume-on.svg');
}
.volume-button-off::after {
  background-image: url('volume-off.svg');
}
.subtitle-button::after {
  background-image: url('cc.svg');
}
.playback-rate-button::after {
  background-image: url('playback-rate.svg');
}
.audiodescription-button::after {
  background-image: url('audiodescription.svg');
}
.slides-button::after  {
  background-image: url('slides.svg');
}
button.real-button {
  cursor:default;
}
.real-button::after {
  background-image: url('real.svg');
}

.player-playback-rate-button ul.button-menu li {
  text-align:left;
}

/* Big play */
.big-play-button::after, .loop-play-button::after {
  background-image: url('big-play.svg');
}
.big-play-button.pause::after {
  background-image: url('pause.svg');
}
.big-play-button.stop::after {
  background-image: url('stop.svg');
}

/* Muted autoplay button */
.muted-auto-play {
  position:absolute;
  text-align:center;
  left:0;
  width:100%;
  bottom:0;
  transition:bottom 200ms linear;
  bottom:10px;
}
.tray-shown .muted-auto-play {
  bottom:var(--spacing-above-tray);
}
.muted-auto-play-button {
  display:inline-block;
  position:relative;
  margin:0 auto;
  cursor:pointer;
  border-radius:20px;
  background-color: var(--menu-background-color);
  color:var(--tray-text-color);
  height:36px;
  line-height:37px;
  font-size:14px;
  border:1px solid #333;
  padding:0 16px 0 32px;
}
.muted-auto-play-button::before {
  content:'';
  display:block;
  position:absolute;
  left:0;
  top:0;
  height:36px;
  width:36px;
  background-image: url('volume-off.svg');
  filter: var(--icon-color-filter);
  -webkit-filter: var(--icon-color-filter);
  background-position: center center;
  background-repeat: no-repeat;
}
.muted-auto-play-button:hover {
  opacity:.9;
}

.muted-auto-play-topRight .muted-auto-play-button, .muted-auto-play-rightTop .muted-auto-play-button,
.muted-auto-play-topLeft .muted-auto-play-button, .muted-auto-play-leftTop .muted-auto-play-button {
  font-size:0;
  padding:0;
  height:36px;
  width:36px;
}
.muted-auto-play-topRight, .muted-auto-play-rightTop {
  left:auto;
  width:auto;
  bottom:auto;
  top:calc(max(var(--tray-margin), 6px));
  right:calc(max(var(--tray-margin), 6px));
}
.muted-auto-play-topLeft, .muted-auto-play-leftTop {
  width:auto;
  bottom:auto;
  top:calc(max(var(--tray-margin), 6px));
  left:calc(max(var(--tray-margin), 6px));
}




/* Sharing buttons */
.close-button,
.share-button {
  background-image: url('share.svg');
  transition: background-color 200ms linear;
  filter: var(--icon-color-filter);
  -webkit-filter: var(--icon-color-filter);
}
.close-button:hover,
.share-button:hover {
  filter: var(--icon-color-hover-filter);
  -webkit-filter: var(--icon-color-hover-filter);
}
.close-button {
  background-image: url('close.svg');
}
.share-button {
  background-image: curl('share.svg');
}
.share-buttons button {
  background-size: 60px;
  transition: background-color 200ms linear;
  filter: var(--icon-color-filter);
  -webkit-filter: var(--icon-color-filter);
}
.share-buttons button:hover {
  filter: var(--icon-color-hover-filter);
  -webkit-filter: var(--icon-color-hover-filter);
}
.facebook-button {
  background-image: url('facebook.svg');
}
.twitter-button {
  background-image: url('twitter.svg');
}
.linkedin-button {
  background-image: url('linkedin.svg');
}
.more-button {
  background-image: url('more.svg');
}
.download-button {
  background-image: url('download.svg');
}

/* Hide a number of elements in very small players */
.size-tiny .quality-button,
.size-tiny .slides-button,
.size-tiny .scrubber,
.size-tiny .player-browse #browse,
.size-tiny .sharing-info,
.size-tiny .more-button,
.size-tiny .download-button,
.size-tiny .player-sections,
.size-small .recommendation-meta .recommendation-title {
  display:none !important;
}

/* Hide some elements in slightly small players */
.size-small .slides-button,
.size-small .sharing-info,
.size-small .recommendation-meta .recommendation-title {
  display:none;
}

/* Adjust position of share and close buttons */
.size-small .button-container-share,
.size-tiny .button-container-share,
.size-small .button-container-close,
.size-tiny .button-container-close{
  top: 5px;
  right: 5px;
}
.size-small .button-container-share > button,
.size-tiny .button-container-share > button,
.size-small .button-container-close > button,
.size-tiny .button-container-close > button{
  width: 30px;
  height: 30px;
  background-size: 30px;
}


/* === Hide any cookie popup from HubSpot === */
div#hs-eu-cookie-confirmation{display:none!important;}


.seeking-indicator, .loading-indicator {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-position:center center;
    background-image:url('data:image/gif;base64,R0lGODlhPwAOAPEBAJSUlGNjY5ycnM7OziH/C05FVFNDQVBFMi4wAwEAAAAh+QQFBgABACwAAAYAPwACAEACFYQTBqh8+Rpc01GJo9KX21+FWUdaBQAh+QQFBgAAACwAAAQAAwAGAAACBIyPeQUAIfkEBQYAAAAsAAACAAgACgAAAhOUgWiSehDiQjFMKF+9W2fWXEkBACH5BAkGAAAALAAAAAANAA4AAAIonIGpNurAkJguginquRSEb2HIF4QdaWYeuIlr2Z5sw6lJqtEPYu1AAQAh+QQJBgAAACwAAAAAEgAOAAACMoQ9ecuX05aYSIEpGK7wUvk9xgYEJil6WXmGFmkG6PvFcwe3a5rLLv453EbBSCrSOEYKACH5BAkGAAAALAAAAAAXAA4AAAI9hI+jyM06nBTUQEOFxBVckDHByGneAnbjGpQWGgIsmZpfPLf1G+3y7Dr1cEDfTUU7xI6mSYe5aXyikqmjAAAh+QQJBgAEACwAAAAAHAAOAAADSki63PMtSvnGvEtoVZUWWPNxEDFeQeptRGeyadDEK9iWZwzsCv3arlxqB+ipfiQLkuBb+E5B2NF5hOKksotVeQrVkl8vpSTGuCYJACH5BAkGAAQALAAAAAAhAA4AAANQSLrcPdDJSeGg2ImtrNpCRoFdRJCiEqwfR3inuwbY3Iavic5Ar/QAFSuGg+1WwJ+PYCOWLk7mcNJEGWVTSdV1xTVTVp0r1QhDUeSKKZ2CTRIAIfkECQYABAAsAAAAACYADgAAA1VIutzOI75JK4nD6ie6wkonbJr4SYRJNkEbeheqtsFKv2OcpTAN/IofIAgk3Hg5EFLhKwqJQ6NrqcMxp5ujSjnDarQwbs+7oopzZU5YBktblO4V/JEAACH5BAkGAAQALAAAAAArAA4AAANZSLrc/mpISKuN82oqOh5KJ2wkIX6hV0JBm46EBJpqG6yL/aI0bANABRAgDBKGCl2PdyL8jMgj1KhsynZOFy57W8YyTSWuqrp6xduFFaxKQ9azpvtinpfqjwQAIfkECQYABAAsAAAAADAADgAAA15Iutz+b0hIq43z6i26koPSCVvpjF+Gmlrgih4BwiThBix002lIrDeAUCEEEIeE4tFoe/1is2ctiFQmq1jmTtrjNXE5x3YVBTrDjDFUFduiIWR27X2J+1Z0UzSP3j8SACH5BAkGAAQALAAAAAA1AA4AAANgSLrc/pCNGau9cA7M+xKgoimg4J1PKVKEinpBTIbE2NJx8Fr5bNYsVw5AVBABxiLhmEQulb3bzyaMMZ/Oq1Z5jbqoONku4qWBf9HxozwNhnXqy9f9i3fmG6l9bNvH+w8JACH5BAkGAAQALAAAAAA6AA4AAANjSLrc/jCOGau9eA7MOxSgoimg4J1XKVKEir5KIJMhMba1HMCdTps2lksHKCqKgKORgFQmmcsmwYcD3oYyqTbKfW6fVNc1N+NhwrUxkGq2oK1C8q7tEceB9Jd9U83nb36BgA8JACH5BAkGAAQALAAAAAA/AA4AAANoSLrc/jC2QaW9ONORu5dCqGxKKHxoZ44VsaZwE8ylSJCuPQdxutenW+u1AxgVRgDySEgulU2mMwr95YI44mzKlXqhXTDT+srqaL0P2WYOWtOdNXZ45sFhZXrwns5zrnyBLH+ChUKEDwkAIfkECQYABAAsAAAAAD8ADgAAA2VIutz+MMpBpb0405G7l0KobEoofGhnjhWxpnATzKVIkK4d73NQn7eWCUBUEAHGIuGYRC6VzKcz2vuxODlBdAvtTr3NMKGavVp3PFo5iH2hYeQXzv1Gy4W6+u7ezuvrOH+CC4EKCQAh+QQJBgAEACwAAAAAPwAOAAADXEi63P4wyjbqvDjLOrT/jyAqHGiCokBaZwsFsJKunWszcCCPBAf8ih8gCCQIiUNj8ahMMpm5napXeS6vTixy2+RGCTNq7Xb7hkvkcgzMQ6ffZ9Y7HR/P7+77nJMAACH5BAkGAAMALAAAAgA/AAoAAAJCnI+py+0p4pu0uiis3it4g3Ei5wVgBKRGCqzqwLot/Mb0bOdveQo6XgsCh7LizcgbhEZMSnLZjDKeEqn1Ur1qIZECACH5BAkGAAIALAAABAA/AAYAAAIslI+py+0Z4pu0uhiANhrwLXSfF4JiSZ6qCWJrysLySKP1a2DWzk96DwzmIgUAIfkEBQYAAQAsAAAGAD8AAgAAAhWEEwaofPkaXNNRiaPSl9tfhVlHWgUAOw=='); *background-image:url('preloader.gif');
    background-repeat:no-repeat;
}

.loading-indicator {
    background:black;
    background:rgba(0,0,0,.6);
}

.error-display {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:black;
    background:rgba(0,0,0,.9);
    z-index:9997;
}
.error-display p {
    font-size:14px;
    padding: 40px 0 40px 70px;
    margin: 0 auto;
    max-width: 80%;
    background: transparent url('warning.svg') left center no-repeat;
    background-size: 50px;
}
.error-display p,
.error-display a {
    color:white;
}

.warning-display {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    background:black;
    background:rgba(0,0,0,.35);
    z-index:9996;
}
.warning-display p {
    font-size:13px;
    padding: 6px 14px;
}
.warning-display p,
.warning-display a {
    color:white;
}


.video-display {
    position:absolute;
    top:0;
    left:0;
    background-color:var(--player-background-color);
    bottom: var(--player-vertical-padding);
    left: var(--player-horizontal-padding)
}
.video-display .video-canvas {
    position:absolute;
    width:100%;
    height:100%;
}
.video-display .video-canvas video {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}
.video-display .video-canvas-fit-cover img {
    object-fit:cover !important;
}
.video-display .video-canvas-fit-cover video {
    object-fit:cover !important;
}

body.displaying-360 .player-actions {
    display: none;
}
body.displaying-360 .video-display canvas {
    display: none;
    position: relative;
    height: 100% !important;
    width: 100% !important;
    cursor: -webkit-grab;
    cursor: -moz-grab;
    cursor: grab;
}
body.displaying-360 .video-display canvas.mouse-dragging {
    cursor: -webkit-grabbing;
    cursor: -mox-grabbing;
    cursor: grabbing;
}
body.displaying-360 .video-display canvas {
    display: block;
}
.video-display .screen-360 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1;
    display: none;
}

.video-display .controls-360 {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    border: 1px solid #444444;
    border-radius: 30px;
    background-color: rgba(34,34,34,0.7);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.video-display .controls-360 div {
    position: absolute;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    background-position: center center;
    background-repeat: no-repeat;
}
.video-display .controls-360 .controls-360-up {
    top: 0;
    left: 20px;
    background-image: url(arrow-up.svg);
}
.video-display .controls-360 .controls-360-down {
    bottom: 0;
    left: 20px;
    background-image: url(arrow-down.svg);
}
.video-display .controls-360 .controls-360-right {
    top: 20px;
    right: 0;
    background-image: url(arrow-right.svg);
}
.video-display .controls-360 .controls-360-left {
    top: 20px;
    left: 0;
    background-image: url(arrow-left.svg);
}
.video-display .controls-360 .controls-360-center {
    top: 20px;
    left: 20px;
}

.video-display .notice-360 {
    position: absolute;
    left: 0;
    min-height: 2.8em;
    padding: 10px;
    padding-left: 70px;
    font-size: 14px;
    line-height: 1.4em;
    background: rgba(0,0,0,0.5) url(360.svg) 10px center no-repeat;
}
.size-small .notice-360,
.size-tiny .notice-360{
    font-size: 10px;
}
.tray-shown .video-display .notice-360 {
    bottom: 44px;
}
.video-display .notice-360,
.block-tray .video-display .notice-360 {
    bottom: 10px;
}
.video-360 .info-overlay {
    display: none !important;
}


/* LIVE PREVIEW */
.preview-notlive {
  position:absolute;
  text-align:center;
  top:10px;
  right:10px;
  background-color:white;
  color:black;
  padding:5px 10px;
  font-size:15px;
  line-height:16px;
  border-radius:4px;
}
.preview-notlive span {
  display:block;
  font-size:11px;
}

.live-banner-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9997;
}


.logo {
    position:absolute;
    top:20px;
    left:20px;
    opacity:.8;
}
.logo.align-right {
    left: auto;
    right: 20px;
}
.logo img {
    display: none;
    width: auto;
    height: auto;
}
.size-tiny .logo {
    display:none !important;
}


.subtitles-container {
  position:absolute;
  bottom:10px;
  width:100%;
  text-align:center;
  font-size:16px;
  line-height:28px;
  text-align:center;
  transition: bottom 100ms linear;
  text-wrap:balance;
}
/* Raise the subtitles to not overlap with the tray */
.tray-shown .subtitles-container, .force-tray .subtitles-container { bottom: var(--spacing-above-tray); }
.block-tray .subtitles-container { bottom: 10px; }
.subtitles-container span {
  padding:3px 5px;
  margin:0 auto;
  text-shadow: -1px -1px 0 #333, 1px -1px 0 #333, -1px 1px 0 #333, 1px 1px 0 #333;
  color:white;
  -webkit-text-size-adjust: 100%;
}
.design-bars .subtitles-container span {
  background-color:black;
}


.size-large .subtitles-container {
  font-size:20px;
  line-height:32px;
}
.size-large .subtitles-container span {
  padding:5px 8px;
}
.size-full .subtitles-container {
  font-size:30px;
  line-height:50px;
}
.size-full .subtitles-container span {
  padding:6px 10px;
}
.size-tiny .subtitles-container, .size-small .subtitles-container {
  font-size:14px;
  line-height:20px;
}
.size-tiny .subtitles-container span, .size-small .subtitles-container span {
  padding:2px 4px;
}


/* Alt style for circle, meant for display in the bottom */
.big-play-container-style-circle {
  --big-play-width: min(60px, 8vw);
  --big-play-height: min(60px, 8vw);
  --big-play-border-radius: 100%;
}
/* Alt style for slack style preview, meant for display in the bottom */
.big-play-container-style-lax {
  --big-play-background-color: rgba(0,0,0,.3);
  --big-play-icon-color-filter: url(#icon_white);
  --big-play-width: auto;
  --big-play-height: 30px;
  --big-play-border-radius: 5px;;

}

.big-play-container-style-lax .current-time {
  color: white;
  font-size: 12px;
  display: inline-block;
  padding: 0 12px 0 28px;
}
.big-play-container-style-lax .button-container > button::after {
  background-position: -5px center ;
}

/* Control hide show for play button */
.player-big-play-button .big-play-container {
  display: none;
  opacity: 0;
  transition: opacity 200ms linear;
}
.player-big-play-button.big-play-shown .big-play-container {
  display: block;
  opacity: 1;
}
.block-big-play .player-big-play-button .big-play-container {
  display: none  !important;
  opacity: 0 !important;
}
.player-big-play-button .big-play-container:hover {
  filter: saturate(1.1);
}

/* Position the play button in the center */
.big-play-container.big-play-container-position-center {
  position:absolute;
  margin: auto;
  top:0;
  left:0;
  bottom: 0;
  right: 0;
}
.big-play-container.big-play-container-position-bottomLeft {
  position:absolute;
  left:10px;
  bottom: 10px;
}
.big-play-container.big-play-container-position-bottomRight {
  position:absolute;
  right:10px;
  bottom: 10px;
}

/* Size and design for the play */
.big-play-container {
  width: var(--big-play-width);
  height: var(--big-play-height);
}
.big-play-container .button-container {
  height:100%;
  width:100%;
  border-radius:var(--big-play-border-radius);
  overflow:hidden;
}
.big-play-container .button-container > .big-play-button {
  width: 100%;
  height: 100%;
  transition: background-color 100ms linear;
}
.big-play-button::after, .loop-play-button::after {
  background-size: auto 130%;
  filter: var(--big-play-icon-color-filter) !important;
  -webkit-filter: var(--big-play-icon-color-filter) !important;
}
.big-play-button,
.button-container > .loop-play-button,
.big-play-button:hover,
.button-container:hover > .loop-play-button {
  background-color: var(--big-play-background-color);
}
.currentTime {
  display:none;
}

/* Custom big play button */
.big-play-custom-container {
  width: 100px !important;
  height: 100px !important;
}
.big-play-custom-container .big-play-button {
  background: none !important;
  width: auto;
  height: auto;
}
.big-play-custom-container button img {
  display:block;
  cursor:pointer;
  width: auto;
  height: auto;
  max-width:100px;
  max-height:100px;
  filter: none !important;
  -webkit-filter: none !important;
}

/* Resizing for small players */
.size-small .big-play-container  {
  width: calc(var(--big-play-width) * 0.8);
  height: calc(var(--big-play-height) * 0.8);
}
.size-tiny .big-play-container  {
  width: calc(var(--big-play-width) * 0.6);
  height: calc(var(--big-play-height) * 0.6);
}


.loop-container, .loop-container-sub {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.loop-container {
    display: none;
    opacity: 0;
    transition: opacity 200ms linear;
    background: black;
}
.loop-container-activated {
    display: block;
    opacity: 1;
}
.loop-container-sub {
    display: table;
}
.loop-container-cell {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    border-color: var(--scrubber-color);
    border-width: 0px;
}

.loop-thumbnail {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.4;
}

.loop-headline {
    font-size: 16px;
}
.size-small .loop-headline, .size-tiny .loop-headline {
    font-size: 14px;
}
.button-container-loop-play {
    position: relative;
    background-color: #000000;
    width: 91px;
    height: 51px;
    margin: 16px auto;
}
.size-small .button-container-loop-play {
    width: 70px;
    height: 39px;
    margin: 10px auto;
}
.size-tiny .button-container-loop-play {
    display: none;
}
.button-container-loop-play > .loop-play-button {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #1EC95B;
    transition: background-color 100ms linear;
}
.loop-title {
    font-size: 32px;
    line-height: 1.2em;
    margin: 10px 10% 0;
}
.size-small .loop-title {
    font-size: 24px;
    margin-bottom: 20px;
}
.size-tiny .loop-title {
    font-size: 20px;
    margin-bottom: 10px;
}
.loop-duration {
    font-size: 14px;
    color: #CCCCCC;
}
.size-small .loop-duration, .size-tiny .loop-duration {
    display: none;
}


/* ACTIONS */
.player-actions {position:relative; top:0; left:0;}
.player-actions:empty {pointer-events: none;}

.action {display:block; position:absolute;}
.action-screen {position:absolute; top:0; left:0; width:100%; height:100%; cursor:pointer; display:block; background: #FFF; opacity:0; filter:alpha(opacity=0);}
.action-content table {table-layout: fixed;}

.action-text {color:white; box-sizing: border-box; overflow:hidden;}
.action-text .action-content {line-height:1.35em; padding: 0.6em 0.8em; font-family:Arial, Helvetica; position:absolute; top:0; left:0; bottom:0; right:0; box-sizing: border-box;}
.action-text table, .action-text tr, .action-text td {
  width: 100%;
  height: 100%;
  vertical-align: top;
  text-align: left;
}

.action-ad, .action-video {
  z-index: 9990;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
}
.action-banner .action-content, .action-image .action-content {
  height: 100%;
  width: 100%;
}
.action-banner table, .action-banner td, .action-image table, .action-image td {
  width: 100%;
  height: 100%;
}
.action-banner td, .action-image td {
  text-align: center;
  vertical-align: middle;
}
.action-banner img, .action-image img {
  height: auto;
  width: auto;
  visibility: hidden;
}
.action-banner .banner-wrap {
  display: inline-block;
  position: relative;
  zoom: 1;
  *display: inline;
}
.action-banner .close-button {
  position: absolute;
  top:0;
  right:0;
  width:30px;
  height:30px;
  background:url('close-icon.svg') center center no-repeat;
  cursor:pointer;
}

.product-parent {
  position:absolute;
  top:0;
  left:0;
}
.action-product {
  position: relative;
  display: block;
  width: 75px;
  height: 75px;
  margin: 10px;
  background: #FFFFFF;
  background: rgba(255,255,255,0.9);
  transition: background .25s ease-in-out;
  -moz-transition: background .25s ease-in-out;
  -webkit-transition: background .25s ease-in-out;
}
.size-small .action-product,
.size-tiny .action-product {
  width: 55px;
  height: 55px;
}
.action-product:hover {
  background: #FFFFFF;
  background: rgba(255,255,255,0.95);
}
.action-product .action-content {
  width:75px;
  height:75px;
  text-align:center;
}
.size-small .action-product .action-content,
.size-tiny .action-product .action-content {
  width: 55px;
  height: 55px;
}
.action-product img {
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  width: auto;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  margin: auto;
  *position: static;
  *margin-top: expression((parentNode.offsetHeight.offsetHeight/2)-(parseInt(this.offsetHeight)/2) <0 ? "0" :(parentNode.offsetHeight/2)-(parseInt(this.offsetHeight)/2) +'px');
}
.action-product .product-info {
  position: absolute;
  top: 0;
  left: 85px;
  height: 75px;
  opacity:0;
  filter:alpha(opacity=0);
  -webkit-transition: opacity 0.2s ease-in;
  -moz-transition: opacity 0.2s ease-in;
  -o-transition: opacity 0.2s ease-in;
  -ms-transition: opacity 0.2s ease-in;
  transition: opacity 0.2s ease-in;
}
.size-small .action-product .product-info,
.size-tiny .action-product .product-info {
  left: 65px;
  height: 55px;
}

.action-product:hover .product-info {
  opacity:1;
  filter:none;
}
.action-product .product-info tr, .action-product .product-info td {
  height: 100%;
  vertical-align: middle;
  text-align: left;
}
.action-product .product-info div.product-wrap {
  background:#666666;
  background:rgba(51,51,51,0.9);
  padding: 8px;
}

.action-product .product-info div.product-wrap span {
  white-space:nowrap;
}

.action-product .product-info .product-name {
  font-size: 1.2em;
}

.action-product .product-triangle {
  display: block;
  opacity:0;
  filter:alpha(opacity=0);
  width:0;
  height:0;
  border-right: 5px solid #666666;
  border-right: 5px solid rgba(51,51,51,0.9);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  position: absolute;
  top: 29.5px;
  left: 80px;
  -webkit-transition: opacity 0.2s ease-in;
  -moz-transition: opacity 0.2s ease-in;
  -o-transition: opacity 0.2s ease-in;
  -ms-transition: opacity 0.2s ease-in;
  transition: opacity 0.2s ease-in;
}
.size-small .action-product .product-triangle,
.size-tiny .action-product .product-triangle {
  top: 19.5px;
  left: 60px;
}
.action-product:hover .product-triangle {
  opacity:1;
  filter:none;
}

.action-html .action-content {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}

body.video-action-playing .video-display {
    z-index: 200;
}
body.video-action-playing .video-canvas {
    background: rgb(0,0,0);
    background-image: none !important;
}

.action-click-container {
  position:fixed;
  top:0;
  left:0;
  bottom: 0;
  right: 0;
  cursor:pointer;
}
.action-countdown-container {
  display: table;
  position:fixed;
  top:25px;
  right:0;
  height: 40px;
  z-index: 9999;
  border: 1px solid #444444;
  border-right: none;
  background: rgb(34,34,34);
  background: rgba(34,34,34, 0.8);
  cursor:pointer;
}
.action-allow-close {
  padding-right: 30px;
}
.action-allow-close:hover {
  background: rgba(34,34,34,1);
}
.action-countdown-text {
  padding: 0 10px;
  color:white;
  font-size:13px;
  line-height:1em;
  display: table-cell;
  vertical-align: middle;
}
.action-skip-icon {
    display: none;
    position: absolute;
    top: 0;
    right: 15px;
    width: 15px;
    height: 100%;
    background: transparent url(skip.svg) center center no-repeat;
    background-width: 15px;
}
.action-allow-close .action-skip-icon {
    display: block;
}

.action-border, .action-border-hover:hover {
  border: 2px solid #555555;
}
.action-border .action-content, .action-border-hover:hover .action-content {
  top: -2px;
  left: -2px;
  bottom: -2px;
  right: -2px;
}

/* Close button */
.action-close {
  position: absolute;
  top:0;
  right:0;
  width:30px;
  height:30px;
  background:url('close-icon.svg') center center no-repeat;
  cursor:pointer;
}
@media
  (-webkit-min-device-pixel-ratio: 2),
  (min-resolution: 192dpi) {
  .action-close {background-image:url('close-icon.svg'); background-size:30px;}
}


[tabindex]:focus {
   outline: none !important;
}

*:active {
   outline: none !important;
}

body.tabbed [tabindex]:focus {
   outline: 3px solid #aaa !important;
   outline-offset:-3px;
}

.protection-password {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color:black;
    background:rgba(0,0,0,.7);
    color:white;
}
.protection-password table, .protection-password td {
    width:100%;
    height:100%;
    vertical-align:middle;
    text-align:center;
}
.protection-password h3 {
    font-size: 32px;
    line-height: 1.2em;
    color: #fff;
    font-weight: 100;
    margin-bottom: 10px;
}
.size-medium .protection-password h3 {
    font-size: 20px;
}
.size-small .protection-password h3, .size-tiny .protection-password h3 {
    font-size: 16px;
}
.protection-password form {
    position: relative;
    width: 50%;
    margin: 0 auto;
}
.size-small .protection-password form, .size-tiny .protection-password form {
    width: 80%;
}
.protection-password form * {
    box-sizing: border-box;
}
.protection-password input {
    width: 100%;
    height: 36px;
    font-size: 11px;
    line-height: 36px;
    padding: 0 0 0 18px;
    border: 0;
    border-radius: 18px;
    margin-bottom: 5px;
}
.size-medium .protection-password input {
    height: 28px;
    line-height: 28px;
    border-radius: 14px;
    padding: 0 0 0 14px;
}
.protection-password input.submitbutton {
    font-size: 13px;
    background-color: var(--scrubber-color);
    color: #FFF;
    cursor: pointer;
    transition: background-color 200ms linear;
}
.protection-password input.submitbutton:hover {
    background-color: var(--scrubber-color-light);
}


.slide-container {
    display: none;
    position: absolute;
    line-height: 0px;
    top: 0;
    right: 0;
    height: 100%;
    background-color: #000;
}

.slide-container table {
    height: 100%;
    width: 100%;
    table-layout: fixed;
    overflow: hidden;
}

.slide-container td {
    vertical-align: middle;
    text-align: center;
}

.slide-container img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

/* SLIDE MODES */

/* No slides - body class "no-slides" */
body.no-slides .slide-container,
.size-small .slide-container,
.size-tiny .slide-container {
    display: none !important;
}
body.no-slides .video-display,
.size-small .video-display,
.size-tiny .video-display {
    display: block !important;
    right: 0 !important;
    width: auto !important;
    height: auto !important;
}


/* Side-by-side - body class "slidemode-sbs" */
body.slidemode-sbs .slide-container {
    display: block;
    left: 50%;
}
body.slidemode-sbs .video-display {
    right: 50%;
}

/* Slides only - body class "slidemode-slide" */
body.slidemode-slide .slide-container {
    display: block;
    left: 0;
}
body.slidemode-slide .video-display {
    width: 1px;
    height: 1px;
}

/* Video only - body class "slidemode-video" */
body.slidemode-video .slide-container {
    display: none;
}

/* Design for sections-menu */

.glue-sections-menu {
  position: absolute;
  top: 50%;
  right: 0px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  overflow-x: hidden;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  height: 110px;
  width: 40px;
  margin-right: -40px;
  opacity: 0;
  -webkit-transition: opacity 100ms linear, bottom 100ms linear, background 100ms linear;
  -o-transition: opacity 100ms linear, bottom 100ms linear, background 100ms linear;
  transition: opacity 100ms linear, bottom 100ms linear, background 100ms linear;
  z-index: 1000;
}

.tray-shown.playflow-position-3 .glue-sections-menu {
  margin-right: 0px;
  opacity: 1;
}

.glue-sections-menu:empty {
  display: none;
}

.glue-sections-menu.sections-menu-open .sections-menu-wrap {
  background-color: transparent;
}
.glue-sections-menu:not(.sections-menu-open) .sections-menu-wrap {
  background-color: rgba(0,0,0,0.72);
  background-color: rgba(0,0,0,0.72);
  -webkit-transition: background 100ms linear;
  -o-transition: background 100ms linear;
  transition: background 100ms linear;
}


.sections-menu-close:hover {
  opacity: 0.8;
}

.section-thumb {
  float: left;
  margin: 5px 14px 15px 0;
}

#section-menu-toggle {
  color: #000000;
  border-radius: 0px;
  padding: 10px 5px;
  height: 110px;
  opacity: 1 !important;
  position: absolute;
  top: 0;
  right: 0;
  width: 33px;
  font-size: 24px;
  text-align: center;
  cursor: pointer;
  -webkit-transition: background 100ms linear;
  -o-transition: background 100ms linear;
  transition: background 100ms linear;
  z-index: 1000;
}

.sections-menu-open #section-menu-toggle {
  position: absolute;
  height: 24px;
  width: 50px;
  margin: 0px;
  padding: 20px 0px;
  border-radius: 0px;
  left: 0;
  top: 0;
  background-color: black;
  background-color: rgba(0,0,0,0.72);
  -webkit-transition: background 100ms linear;
  -o-transition: background 100ms linear;
  transition: background 100ms linear;
}

.sections-menu-open {
  height: auto;
  max-height: 100%;
  width: 40%;
  -webkit-overflow-scrolling:touch;
  overflow-y: auto;
  margin-right: 0px;
  opacity: 1;
  -webkit-transition: width 200ms linear, opacity 100ms linear, bottom 100ms linear, background 0ms linear;
  -o-transition: width 200ms linear, opacity 100ms linear, bottom 100ms linear, background 0ms linear;
  transition: width 200ms linear, opacity 100ms linear, bottom 100ms linear, background 0ms linear;
}

.sections-menu-wrap {
  padding-left: 50px;
}

.sections-menu-open .sections-menu-container {
  background-color: #000000;
  background-color: rgba(0,0,0,0.6);
}


.sections-menu-open.fixed-to-top #section-menu-toggle {
  left: auto;
  right: 40%;
  position: fixed;
}


/* Safari iOS */
.sections-menu-open.fixed-to-top.iphone-compat #section-menu-toggle {
  left: 0;
  right: auto;
  position: absolute;
}
.sections-menu-open.fixed-to-top {
  top: 0;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
  bottom: 0px;
  height: auto;
}

.tray-shown .sections-menu-open.fixed-to-top {
  bottom: 40px;
}

.sections-menu-open.fixed-to-top .sections-menu-wrap {
  padding-left: 0px;
}
.sections-menu-open.fixed-to-top.iphone-compat .sections-menu-wrap {
  padding-left: 50px;
}

.section-item {
  opacity: 0;
  cursor: pointer;
  padding: 10px 14px 20px;
  border-bottom: 1px solid #888;
  -webkit-transition: all 200ms linear;
  -o-transition: all 200ms linear;
  transition: all 200ms linear;
  height: 34px;
  overflow-y: hidden;
  -webkit-font-smoothing: subpixel-antialiased;
  /* Weird opacity flicker fix */
  -ms-transform: rotate(0);
  transform: rotate(0);
  background: transparent;
  color: #ddd;
}

.section-item.active {
 color: #fff;
}

.section-item.active:hover {
 color: #ddd;
}

.section-item:last-child {
  border-bottom-width: 0px;
}

.sections-menu-open .section-item {
  opacity: 1;
}
.sections-menu-open .section-item:hover {
  background: black;
  color: #fff;
}

.section-item-time {
 font-size: 9px;
}

.section-item-title {
 font-size: 12px;
 font-weight: 300;
}

.sections-top {
  height: 40px;
  line-height: 40px;
  padding: 0 14px;
  position: absolute;
  top: 50px;
  -ms-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  left: -20px;
  opacity: 1;
}

.sections-menu-open .sections-top {
  display: none;
}

.chevron::before {
  border-style: solid;
  border-width: 0.10em 0.10em 0 0;
  content: '';
  display: inline-block;
  height: 0.45em;
  left: 0.15em;
  position: relative;
  top: 0.25em;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  vertical-align: top;
  width: 0.45em;
  color: white;
  font-size: 24px;
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
  opacity: 1;
  font-size: 18px;
  border-color: white;
}

.chevron.right:before {
  left: 0.25em;
  -ms-transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
  border-color: white;
}

.sections-menu-open .chevron.right:before {
  left: -0.05em;
  -ms-transform: rotate(-315deg);
  -webkit-transform: rotate(-315deg);
  transform: rotate(-315deg);
}

.chevron.bottom:before {
  top: 0;
  -webkit-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  transform: rotate(135deg);
}

.chevron.left:before {
  left: 0.25em;
  -webkit-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

/* Responsiveness */

@media screen and (min-width: 1450px) {
  .sections-menu-open {
    width: 30%;
  }
  .sections-menu-open.fixed-to-top #section-menu-toggle {
    right: 30%;
  }
}

@media screen and (min-width: 1600px) {
  .sections-menu-open {
    width: 25%;
  }
  .sections-menu-open.fixed-to-top #section-menu-toggle {
    right: 25%;
  }
}

@media screen and (max-width: 1000px) {
  .sections-menu-open {
    width: 50%;
  }
  .sections-menu-open.fixed-to-top #section-menu-toggle {
    right: 50%;
  }
}

@media screen and (max-width: 800px) {
  .sections-menu-open {
    width: 66%;
  }
  .sections-menu-open.fixed-to-top #section-menu-toggle {
    right: 66%;
  }
}

@media screen and (max-width: 650px) {
  .sections-menu-open {
    width: 80%;
  }
  .sections-menu-open.fixed-to-top #section-menu-toggle {
    left: auto;
    right: 80%;
  }
}

@media screen and (max-width: 500px) {
  .section-thumb {
   display: none;
  }
}

@media screen and (max-width: 300px) {
 .glue-sections-menu {
      display: none !important;
    }
}

.section-item.active,
.section-item.active:hover {
  background-color: var(--scrubber-color-lightest);
}
.glue-sections-menu:not(.sections-menu-open) .sections-menu-wrap:hover,
.sections-menu-open #section-menu-toggle:hover {
  background-color: var(--scrubber-color);
}


.menu-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 9998;
}
.menu-list, .link-box {
  position: absolute;
  z-index: 9999;
  background: #222222;
  background: rgba(34,34,34,0.8);
  border-radius: 2px;  
}
.menu-list {
  padding:4px 0;
  display: block;
  font-size: 11px;
  top: 50px;
  left: 200px;
  width: 180px;
  height: auto;
}

.menu-list li.divider {
  height: 0;
  margin: 3px 0;
  border-bottom: 1px solid #222;
}

.menu-list li a {
  display: block;
  padding: 5px 10px 2px 10px;
  text-decoration: none;
  color: #AAAAAA;
  vertical-align: middle;
}
.menu-list li a:hover {
  color: #1EC95B;
}

.link-box {
  top: 50%;
  left: 20%;
  right: 20%;
  padding: 14px 16px;
  color: #777;
  margin-top: -50px;
}

.link-box h3, .link-box input, .close-link-box {
    color: #AAAAAA;
}

.link-box h3 {
  font-size: 14px;
  margin-bottom: 10px;
}

.link-box .input-wrap {
  position: relative;
  margin-right: 10px;
}

.link-box input {
  width: 100%;
  height: 24px;
  line-height: 24px;
  padding: 4px;
  font-size: 12px;
  border: none;
  background: rgb(0,0,0);
  background: rgba(0,0,0,0.5);
}

.close-link-box {
  margin-top: 11px;
  float: right;
  text-decoration: underline;
  cursor: pointer;
}


