.teal-video-wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /*16:9*/
  background: #000;
  }
.tealplayer-fullscreen {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  }
.teal-video-wrap video {
  z-index: 1;
  position: absolute;
  width: 100%;
  height: 100%;
  }
.tealplayer-ad-container {
  z-index: 1;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  }
.teal-ad-playback video,
.teal-ad-playback .tealplayer-play-toggle {
  z-index: -1;
  }
.teal-ad-playback > video[poster] {
  display: none;
  }
.teal-video-wrap video::-webkit-media-text-track-container { 
  bottom: 1em; 
  transform: translateY(-.85em) !important;
  font-size: 15px !important;
  }
.tealplayer-fullscreen .tealplayer-ad-container {
  position: static;
  height: 0;
  padding-bottom: 56.25%;
  }
/* controls */
.tealplayer-control-wrap {
  -webkit-transition: all .25s ease-out;
  -moz-transition: all .25s ease-out;
  -o-transition: all .25s ease-out;
  transition: all .25s ease-out;
  display: flex;
  align-items: center;
  z-index: 3;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 36px;
  background-color: rgba(0, 0, 0, .8);
  color: #fff;
  font: 600 14px/19.6px 'Unify Sans', Helvetica, Arial, sans-serif;
  }
.tealplayer-minimal {
  bottom: -36px;
  }
.tealplayer-hidden {
  bottom: -46px;
  }
.tealplayer-left-controls,
.tealplayer-right-controls {
  display: flex;
  flex: auto;
  flex-direction: row;
  }
.tealplayer-left-controls > .tealplayer-btn:first-child,
.tealplayer-right-controls > .tealplayer-btn:first-child {
  margin-left: 15px;
  }
.tealplayer-right-controls {
  justify-content: flex-end;
  }
.tealplayer-btn {
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  outline-offset: 2px;
  appearance: none;
  }
button.tealplayer-btn {
  touch-action: manipulation;
  }
.tealplayer-btn:focus:not(:focus-visible) {
  outline: none;
  }
.tealplayer-btn,
.tealplayer-btn-icon {
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
  fill: #fff;
  cursor: pointer;
  }
.tealplayer-btn:hover,
.tealplayer-btn-icon:hover {
  fill: #e0e0e0;
  }
.tealplayer-btn,
.tealplayer-time,
.tealplayer-ad-skip,
.tealplayer-volume-slider {
  position: relative;
  width: 24px;
  height: 24px;
  margin-right: 15px;
  line-height: 24px;
  }
.tealplayer-play-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  position: absolute;
  width: 100%;
  height: 100%;
  }
/* big play btn */
.tealplayer-big-play-btn {
  width: 80px;
  height: 80px;
  border: 2px solid #fff;
  border-radius: 80px;
  background-color: rgba(0, 0, 0, .4);
  cursor: pointer;
  }
.tealplayer-big-play-btn .tealplayer-btn-icon {
  transform-origin: -1px 0px;
  transform: scale(3.33);
  }
/* volume */
.tealplayer-volume-wrap {
  display: flex;
  }
.tealplayer-volume-container {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  z-index: 1;
  position: relative;
  width: 100%;
  height: 6px;
  background-color: rgba(255, 255, 255, .15);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  cursor: pointer;
  }
.tealplayer-volume-bar {
  width: 100%;
  height: 100%;
  background: #fff;
  }
.tealplayer-volume-slider {
  -webkit-transition: all .25s ease-out;
  -moz-transition: all .25s ease-out;
  -o-transition: all .25s ease-out;
  transition: all .25s ease-out;
  margin-right: 0;
  }
.tealplayer-volume-input {
  -webkit-box-shadow: none;
  box-shadow: none;
  vertical-align: middle;
  z-index: 2;
  position: absolute;
  width: 100%;
  height: 20px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  outline-offset: 4px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  }
.tealplayer-volume-input:focus-visible {
  -webkit-box-shadow: none;
  box-shadow: none;
  border: none;
  }
.tealplayer-volume-input:focus:not(:focus-visible) {
  outline: none;
  }
/* webkit thumb - Needs separate block from ::-moz-range-thumb */
.tealplayer-volume-input::-webkit-slider-thumb {
  -webkit-transition: all .25s ease-out;
  transition: all .25s ease-out;
  width: 0;
  height: 0;
  border: 0px solid #fff;
  border-radius: 20px;
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
  }
.tealplayer-volume-wrap:hover .tealplayer-volume-input::-webkit-slider-thumb,
.tealplayer-volume-slider-visible .tealplayer-volume-input::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
  }
/* moz thumb */
.tealplayer-volume-input::-moz-range-thumb {
  -moz-transition: all .25s ease-out;
  transition: all .25s ease-out;
  display: none;
  width: 0;
  height: 0;
  border: 0px solid #fff;
  border-radius: 20px;
  background: #fff;
  appearance: none;
  }
.tealplayer-volume-wrap:hover .tealplayer-volume-input::-moz-range-thumb,
.tealplayer-volume-slider-visible .tealplayer-volume-input::-moz-range-thumb {
  width: 12px;
  height: 12px;
  }
.tealplayer-volume-wrap:hover .tealplayer-volume-slider,
.tealplayer-mute-btn:focus ~ .tealplayer-volume-slider,
.tealplayer-volume-slider.tealplayer-volume-slider-visible {
  width: 70px;
  margin-right: 15px;
  }
.tealplayer-volume-slider {
  display: flex;
  align-items: center;
  width: 0;
  }
/* time */
.tealplayer-time,
.tealplayer-time-container,
.tealplayer-time-ad-container {
  display: flex;
  position: relative;
  width: auto;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  }
.tealplayer-time-container,
.tealplayer-time-ad-container {
  position: absolute;
  }
.tealplayer-ad-time,
.tealplayer-ad-skip {
  font-weight: 900;
  }
.tealplayer-ad-skip {
  width: auto;
  cursor: pointer;
  }
.tealplayer-current-time:after,
.tealplayer-ad-time:after {
  content: "\007C";
  padding: 0 10px;
  font-weight: 400;
  }
/* progress */
.tealplayer-progress {
  position: absolute;
  top: -6px;
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, .2);
  cursor: pointer;
  }
.tealplayer-progress-disable-user {
  pointer-events: none;
  }
.tealplayer-progress-bar {
  position: relative;
  width: 0;
  height: 4px;
  background: #007acc;
  }
.tealplayer-progress-thumb {
  position: absolute;
  top: -3px;
  right: 0;
  width: 12px;
  height: 12px;
  border-radius: 10px;
  background-color: #009bff;
  }
.tealplayer-progress-hitbox {
  z-index: 3;
  position: absolute;
  top: -7px;
  right: -5px;
  width: 35px;
  height: 30px;
  margin-top: -10px;
  margin-right: -8px;
  }
/* spinner */
@-webkit-keyframes tealplayerSpinnerRotation {
  from{ -webkit-transform: rotate(0deg); }
  to{ -webkit-transform: rotate(360deg); }
  }
@keyframes tealplayerSpinnerRotation {
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
  }
.tealplayer-spinner {
  -webkit-animation: tealplayerSpinnerRotation .65s linear infinite;
  -moz-animation: tealplayerSpinnerRotation .65s linear infinite;
  -o-animation: tealplayerSpinnerRotation .65s linear infinite;
  animation: tealplayerSpinnerRotation .65s linear infinite;
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
  z-index: 9;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 77px;
  height: 77px;
  margin: -38px 0 0 -38px;
  }
.tealplayer-spinner:before {
  content: "";
  box-sizing: content-box;
  display: block;
  position: absolute;
  top: -6px;
  left: -6px;
  width: 100%;
  height: 100%;
  border: 6px solid rgba(0, 0, 0, 0);
  border-top-color: rgba(255,255,255,.8);
  border-radius: 100%;
  }
/* visibility */
.tealplayer-spinner-hidden {
  -webkit-animation: none;
  -moz-animation: none;
  -o-animation: none;
  animation: none;
  visibility: hidden;
  pointer-events: none;
  }
.tealplayer-vis-hidden,
.tealplayer-progress-disable-user .tealplayer-progress-thumb,
.tealplayer-minimal .tealplayer-progress-thumb,
.tealplayer-hidden .tealplayer-progress-thumb {
  display: none;
  }
/* share */
.tealplayer-overlay:not([hidden]) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 4;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .8);
  color: #fff;
  font: 600 14px/19.6px 'Unify Sans', Helvetica, Arial, sans-serif;
  cursor: default;
  }
.tealplayer-overlay-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: calc(100% - 40px);
  text-align: center;
  }
.tealplayer-copy-text {
  position: absolute;
  bottom: -30px;
  font-size: 14px;
  user-select: none;
  }
.tealplayer-copy-input {
  position: absolute;
  left: 200vw;
  }
.tealplayer-overlay-title {
  max-width: 340px;
  margin-bottom: 35.5px;
  }
.tealplayer-share-desc {
  margin-bottom: 19.5px;
  font-size: 12px;
  }
.tealplayer-overlay-btn-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  }
.tealplayer-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
  }
/**
 * Encore up next card
**/
.up-next-card-container {
  display: flex;
  flex-direction: row;
  z-index:99;
  position: absolute;
  top: 0;
  left: 0;
  width: 260px;
  height: 70px;
  background-color: rgba(0, 0, 0, .8);
  color: #fff;
  font: 700 12px/16.8px 'Unify Sans', 'Helvetica Neue', 'Arial Nova', Helvetica, Arial, sans-serif;
  cursor: pointer;
  }
.up-next-thumbnail {
  overflow: hidden;
  object-fit: cover;
  width: 70px;
  min-width: 70px;
  height: 100%;
  }
.up-next-content {
  display: flex;
  flex-direction: column;
  width: 190px;
  max-height: 100%;
  padding: 4px 10px;
  font-weight: 400;
  line-height: 1.17;
  }
.up-next-header {
  color: #c2c2c2;
  font-weight: 700;
  line-height: 1.8;
  }
.up-next-close {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  padding: 4px;
  fill: #fff;
  }
.up-next-title {
  overflow: hidden;
  }
