.player {
  display: flex;
  position: relative;
  padding: 0 20px 15px;
}

.player__buttons .btn-primary + .btn-default {
  border-left-color: transparent !important;
}

.player__buttons .fa-topleft {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -13px;
  margin-top: -9px;
  font-size: 11px;
}

.player__timeline {
  flex: 1;
  margin: 0 10px;
  position: relative;
}

.player__timeline__slider {
  background: transparent;
  border-radius: 50%;
  border: 5px solid #fafafa;
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5), inset 0 1px 3px rgba(0, 0, 0, 0.5);
  z-index: 2;
  cursor: pointer;
}

.player__timeline__slider:hover {
  border-color: white;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5), inset 0 3px 5px rgba(0, 0, 0, 0.5);
}

.player__timeline__progress {
  height: 10px;
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  margin-top: -5px;
}

.player__timeline__progress__bg {
  background: #c1ddf3;
  border-radius: 3px;
  overflow: hidden;
  z-index: 1;
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1);
  height: 100%;
  position: relative;
}

.player__timeline__progress__fg {
  background: #0079c0;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
}

.player__timeline__buffer {
  background: #8acaff;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
}

.player__timeline__speakers {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
}

.player__timeline__speaker {
  position: absolute;
  height: 100%;
}

.player__time {
  line-height: 36px;
  margin-right: 10px;
  color: #777;
  font-size: 12px;
}

.player__keywords {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin-top: -7px;
  display: none;
}

.show-keywords .player__keywords {
  display: block;
}

.player__keywords__marker {
  display: block;
  position: absolute;
  top: 0;
  border-style: solid;
  border-width: 12px 8px;
  margin-left: -4px;
  border-color: transparent;
  border-bottom-color: #85d04a;
  opacity: 0.75;
}

.player__keywords__marker:hover {
  opacity: 1;
}

.player__detection {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin-top: 10px;
}

.player__detection__row {
  height: 3px;
  margin-bottom: 3px;
  position: relative;
}

.player__detection__marker {
  display: block;
  position: absolute;
  top: 0;
  height: 3px;
}

.player__detection__marker.red {
  background: #d9534f;
}

.player__detection__marker.green {
  background: #85d04a;
}

.player__info {
  background: #f5f5f5;
}

.jwplayer {
  opacity: 1 !important; // fix empty place for player
}

.volume-slider .arrow {
  display: none;
}

/* PLAYER TYPES */

.vbs-player--video {
  padding: 15px 0;
}

.vbs-player__original--video {
  float: left;
  width: 105px;
  height: 62px;
  position: relative;
  text-align: center;
}

.vbs-player__original--audio {
  width: 0;
  height: 0;
}

.vbs-player--video .vbs-player__original--video {
  margin-right: 0;
  margin-left: 20px;
  margin-top: -13px;
}

/* Video player for upload preview */
.preview-player-item--video {
  .vbs-player--video {
    padding: 0;
  }

  .vbs-player--video .vbs-player__original--video {
    margin-right: 15px;
    margin-top: -25px;
    margin-left: 0;
  }
}

/* PLAYER FULLSCREEN */
.vbs-player__original__fullscreen-btn {
  opacity: 0;
  transition: all 0.3s ease;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  line-height: 62px;
  color: #fff;

  &:hover {
    color: #fff;
    opacity: 1;
  }
}

.vbs-player--fullscreen {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 1);
  z-index: 999;

  .vbs-player__original--video {
    width: 100%;
    height: calc(100% - 50px);
  }

  .player {
    width: 100%;
    padding: 15px;
  }
}
