/* Piman & Videojs Player */
.player-container {
  text-align: -webkit-center;
}

.poster-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  text-align: center;
  min-width: 640px;
  min-height: 360px;
  overflow: hidden;
}
.poster-container .poster-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.poster-container .poster-img-blurred {
  position: absolute;
  width: 100%;
  height: 100%;
  filter: blur(40px);
}
.poster-container .play {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("/static/img/proxy-play.65692e438cc5.png");
  background-size: 150px;
}

.real-player {
  position: relative;
  margin: 0 auto;
  background-color: black;
}
.real-player .vjs-tech {
  position: relative !important;
}
.real-player video {
  width: 100%;
  position: relative;
}
.real-player .player-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
.real-player .audio-only .player-watermark {
  top: -360px;
}

.player-wrapper.video-js {
  position: initial;
}

.video-controller {
  display: block;
  background-color: #0f5781 !important;
}
.video-controller.hide {
  margin-top: 0;
  display: none;
}

/* For vjs only */
#pimanPlayer.pimanPlayer-dimensions {
  width: 100%;
  height: 100%;
  outline: none;
}

.timecode {
  position: absolute;
  right: 3%;
  margin-top: 1%;
  color: yellow;
  font-size: 1vw;
  font-weight: 700;
  text-shadow: 1px 1px 5px black;
  z-index: 2000;
  pointer-events: none;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loader-centered-spinner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  vertical-align: middle;
  height: 100%;
  width: 100%;
}

.loader {
  position: absolute;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("/static/img/loader.ae33e3890353.svg");
  background-size: 50px;
}

.detached-player .loader,
.floatting-player .loader {
  width: 13em !important;
  height: 13em !important;
}

.floatting-player .player-wrapper {
  box-shadow: rgba(0, 0, 0, 0.8) 0px 3px 8px;
}

.loader-container {
  position: absolute;
  opacity: 0.2;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 2001;
}

.loader.dashjs {
  position: relative;
  margin: auto;
  background-image: none;
  border: 16px solid #f3f3f3;
  border-top: 16px solid #3498db;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  animation: spin 2s linear infinite;
}

.player-navigator-obsolete {
  background-color: red;
  text-align: center;
  margin-bottom: 10px;
}

/* End Player */
/*
 * Dash JS
 */
.player-wrapper.dashjs:-webkit-full-screen {
  background-color: black;
  display: flex;
}

.player-wrapper.dashjs {
  position: relative;
  min-height: 0 !important;
}

.player-watermark {
  z-index: 2001;
  position: absolute;
  width: 100%;
  height: 100%;
  font-weight: bold;
  pointer-events: none;
  top: 0px;
  left: 0px;
  display: grid;
}
.player-watermark.huge div, .player-watermark.standard div {
  opacity: 0.5;
}
.player-watermark.discreet div, .player-watermark.tiny div {
  opacity: 0.25;
}
.player-watermark img {
  position: absolute;
  top: 0px;
  left: 0px;
  opacity: 0.5;
}
.player-watermark div {
  position: relative;
  height: 60%;
  top: 0px;
  left: 0px;
  margin: auto;
  color: #ddd;
}

.dashjs-proxy {
  outline: none;
  user-select: none;
}

video::-webkit-media-controls, video::-moz-media-controls, video::-o-media-controls, video::-ms-media-controls {
  display: none !important;
}

/*
 * Video JS
 */
.video-js .timecode {
  top: 0px;
}
.video-js {
  font-size: 14px !important;
  font-family: initial !important;
}

.vjs-fullscreen {
  width: 100%;
  font-size: 5em;
}

.vjs-audio-button {
  display: none;
}

.vjs-control-bar .vjs-picture-in-picture-control {
  display: none;
}

.vjs-audio-button {
  display: block !important;
}

.vjs-audio-button.vjs-hidden {
  display: none !important;
}

#captionBtn,
#nextStep,
#prevStep,
#trackSwitchBtn {
  margin-top: -1px;
}

#photogramBtn {
  margin-top: 1px;
}

#gotoTCBtn,
#searchBtn {
  margin-top: -3px;
}

.video-controller-inline .extra-controller-container {
  display: flow;
  width: 60%;
}

.extra-controller {
  overflow: overlay;
  justify-self: center;
  display: inline-flex;
}

.btn-extra {
  margin-top: 2px;
  float: right;
  color: white;
  padding: 9px 10px;
  cursor: pointer;
}
.btn-extra i {
  font-size: 20px;
}

.btn-extra-separator {
  float: right;
  width: 16px;
  margin: 8px 0;
}

.btn-extra:active {
  color: grey;
}

.btn-extra:hover {
  opacity: 0.8;
}

.qc_error {
  color: orange;
  line-height: 16px;
}

.bookmark {
  line-height: 16px;
}

.tp-spinner {
  position: relative;
  margin: auto;
  width: 160px;
  animation: spin 3s linear infinite;
}

.tp-spinner-img {
  width: 160px;
  border-radius: 50%;
  content: url("/static/img/transperfect.e20d6333cd61.jpeg");
}

/* *************************************
  * Video Controller Cinema Mode
  ************************************* */
.video-controller-visible {
  visibility: visible;
  opacity: 1;
}

.video-controller-hidden {
  visibility: hidden;
  opacity: 0 !important;
  transition: visibility 0s 1s, opacity 1s linear;
}

.volume-container input[type=range].volume-bar::-moz-range-track, .video-controller-inline input[type=range].volume-bar::-moz-range-track {
  color: rgba(181, 0, 105, 0.8);
}
.volume-container input[type=range].volume-bar::-webkit-slider-thumb, .video-controller-inline input[type=range].volume-bar::-webkit-slider-thumb {
  background-color: rgba(181, 0, 105, 0.8);
}
.volume-container input[type=range].volume-bar::-moz-range-thumb, .video-controller-inline input[type=range].volume-bar::-moz-range-thumb {
  background-color: rgba(181, 0, 105, 0.8);
}
.volume-container input[type=range].volume-bar::-moz-range-thumb, .video-controller-inline input[type=range].volume-bar::-moz-range-thumb {
  background-color: rgba(181, 0, 105, 0.8);
}

.video-controller.video-controller-inline {
  background-color: transparent !important;
  bottom: 0;
  width: 100%;
  position: absolute;
  opacity: 1;
  overflow: visible !important;
  line-height: inherit;
  height: 62px;
}
.video-controller.video-controller-inline .player-group .btn-extra i {
  display: block;
  font-size: 24px;
}
.video-controller.video-controller-inline .duration-display {
  float: left;
  cursor: pointer;
  color: grey;
}
.video-controller.video-controller-inline .extra-controller {
  float: right;
  font-size: 26px;
  margin-top: -2px;
}
.video-controller.video-controller-inline .controller-button {
  /* font-size: 1.3vw; */
  font-size: 18px;
}
.video-controller.video-controller-inline .time-container {
  display: flex;
}
.video-controller.video-controller-inline .seek-container {
  position: absolute;
  bottom: 70px !important;
  padding: 6px 10px;
  margin-top: -20px;
  height: 12px;
}
.video-controller.video-controller-inline .seek-container .seekbar {
  height: 7px;
  border-radius: 10px;
}
.video-controller.video-controller-inline .seek-container .seekbar-buffer {
  /* fix white halo on seekbar left border */
  left: 1px;
}
.video-controller.video-controller-inline .seek-container .seekbar-play {
  background-color: rgba(181, 0, 105, 0.8);
}
.video-controller.video-controller-inline .unified-menu {
  bottom: 60px;
}
.video-controller.video-controller-inline .controller-button div svg {
  width: 1.6em;
}
.video-controller.video-controller-inline .controller-button .btn-play-pause svg {
  display: none;
}
.video-controller.video-controller-inline .controller-button .btn-play-pause.play .play {
  display: block;
}
.video-controller.video-controller-inline .controller-button .btn-play-pause.pause .pause {
  display: block;
}
.video-controller.video-controller-inline .controller-button .btn-fullscreen svg {
  display: none;
}
.video-controller.video-controller-inline .controller-button .btn-fullscreen.exit .exit {
  display: block;
}
.video-controller.video-controller-inline .controller-button .btn-fullscreen.enter .enter {
  display: block;
}
.video-controller.video-controller-inline .controller-button .btn-mute svg {
  display: none;
}
.video-controller.video-controller-inline .controller-button .btn-mute.mute .mute {
  display: block;
}
.video-controller.video-controller-inline .controller-button .btn-mute.low .low {
  display: block;
}
.video-controller.video-controller-inline .controller-button .btn-mute.medium .medium {
  display: block;
}
.video-controller.video-controller-inline .controller-button .btn-mute.high .high {
  display: block;
}
.video-controller.video-controller-inline .controller-button .btn-mute {
  cursor: pointer;
  display: inline-block;
  transition: background-color 0.3s ease;
  position: relative;
  z-index: 2;
}
.video-controller.video-controller-inline .controller-button .btn-mute:hover + .volume-bar {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.video-controller.video-controller-inline .controller-button .volume-bar:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.video-controller.video-controller-inline .controller-button .btn-mute::after {
  content: "";
  position: absolute;
  top: 0;
  left: -5px;
  width: 5px;
  height: 100%;
  background: transparent;
  z-index: 3;
}

.time-container {
  overflow: hidden;
  display: inline;
}

.fullscreen .controller-button {
  position: fixed;
  height: 200px;
  bottom: -140px;
  width: 100%;
}
.fullscreen .ambient-container {
  display: none;
}
.fullscreen .video-controller-inline:hover,
.fullscreen .video-controller-inline:focus-within {
  visibility: visible !important;
  opacity: 1 !important;
  transition: none !important;
}
.fullscreen .seek-container {
  position: fixed;
}
.fullscreen .video-controller-inline .unified-menu {
  bottom: 130px !important;
}
.fullscreen .video-controller-inline .thumbnail-container {
  bottom: 90px !important;
  position: fixed;
}
.fullscreen .video-controller-inline .seek-container {
  bottom: 70px !important;
}

.audio-only .video-controller-inline {
  bottom: 20px;
}

.volume-container-proxy {
  display: flex;
  overflow: hidden;
  float: right;
  flex-direction: row-reverse;
}

.volume-container-proxy .volume-bar {
  float: right;
  width: auto !important;
}

.big-play-button {
  display: flex;
  position: absolute;
  color: white;
  top: 0px;
  right: 0px;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  z-index: 2002;
  pointer-events: none;
}
.big-play-button div {
  font-size: min(12vw, 120px);
}