.player {
  background: black;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.player-embed-info {
  z-index: 99;
  position: absolute;
  top: 0;
  background: rgba(0, 0, 0, 0.8);
  width: 100vw;
  padding: 5px;
  text-align: center;
  transition: top 0.15s linear;
}
.player-embed-info-hidden {
  top: -30px;
}
.player-embed-info-title {
  color: white;
  text-decoration: none;
  font-size: 0.9em;
}
.player-overlay {
  position: relative;
  bottom: calc(100% + 40px);
  background: transparent;
  width: 100%;
  height: calc(100% + 5px);
  border: none;
  color: transparent;
  outline: 0 solid transparent;
  resize: none;
  cursor: default;
}
.player-video {
  width: 100%;
  height: 100%;
}
.player-controls {
  z-index: 12;
  margin: 0;
  padding: 5px;
  background: linear-gradient(to top, #0a0a0a, #2c2c2c);
  position: relative;
  bottom: 30px;
  width: 100%;
  height: 20px;
  cursor: default;
  transition: bottom 0.15s linear;
}
.player-controls-hidden {
  bottom: 0;
}
.player-controls-button {
  padding: 0;
  margin: 0 2px;
  border: none;
  background-color: transparent;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.player-controls-button:active {
  border: inherit;
  background-color: inherit;
}
.player-controls-seek {
  display: inline-block;
  position: absolute;
  left: 30px;
  top: 5px;
  background-image: url('/vidsys/img/player-seek.png');
  background-repeat: repeat-x;
  width: calc(100% - 4*30px);
  height: 36px;
  overflow: visible;
  cursor: pointer;
}
.player-controls-seek-progress {
  width: 0;
  height: 16px;
  background-image: url('/vidsys/img/player-progress.png');
}
.player-controls-seek-progress::after {
  display: inline-block;
  content: '.';
  color: rgba(0, 0, 0, 0);
  float: right;
  position: relative;
  left: 9px;
  width: 16px;
  height: 16px;
  background-image: url('/vidsys/img/player-seek-button.png');
  cursor: pointer;
}
.player-controls-toggle {
  position: absolute;
  left: 3px;
  background-image: url('/vidsys/img/player-pause.png');
}
.player-controls-toggle-paused {
  background-image: url('/vidsys/img/player-play.png');
}
.player-controls-settings {
  position: absolute;
  right: 36px;
  background-image: url('/vidsys/img/player-settings.png');
}
.player-controls-cc {
  position: absolute;
  right: 56px;
  background-image: url('/vidsys/img/player-cc.png');
}
.player-controls-fullscreen {
  position: absolute;
  right: 13px;
  background-image: url('/vidsys/img/player-fullscreen.png');
}
.player-controls-fullscreen-fullscreen {
  background-image: url('/vidsys/img/player-exitfullscreen.png');
}
.player-menu {
  background: rgba(36, 36, 36, 0.9);
  position: absolute;
  bottom: 30px;
  right: 10px;
  width: 150px;
  height: 200px;
  text-align: center;
  cursor: default;
}
.player-menu-title {
  border-bottom: 1px solid gray;
  margin-bottom: 5px;
}
.player-menu-items {
  overflow-y: auto;
}
.player-menu-item {
  width: 100%;
  border: none;
  background: rgba(0, 0, 0, 0.3);
  margin-bottom: 3px;
  cursor: pointer;
}
.player-menu-item:hover {
  background: rgba(100, 100, 100, 0.3);
}
.player-menu-item:active {
  border: inherit;
  background: rgba(150, 150, 150, 0.3);
}
.player-menu-item-selected {
  background: rgba(255, 255, 255, 0.3);
}
