.camera {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.camera canvas {
  width: 100%;
  height: 100%;
}

.camera video {
  display: none;
}

.camera h4 {
  display: none !important;
}

.bottombar {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  border-radius: 10px;
  height: 45px;
  background: rgba(0, 0, 0, 0.5);
  cursor: default;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.camera:hover .bottombar {
  opacity: 1;
}

.bottombar .btn {
  width: 34px;
  height: 34px;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  -moz-transition: width 0.5s, opacity 0.5s;
  -webkit-transition: width 0.5s, opacity 0.5s;
  -o-transition: width 0.5s, opacity 0.5s;
  -ms-transition: width 0.5s, opacity 0.5s;
  transition: width 0.5s, opacity 0.5s;
}

.bottombar .pauseButton {
  position: relative;
  float: left;
  background-image: none;
  z-index: 1;
}

.bottombar .pauseButton::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: url(../../Lib/images/arrowRight.svg) no-repeat center center transparent;
  background-size: auto 17px;
  opacity: 0.5;
}

.bottombar.onPause .pauseButton::after {
  background: url(../../Lib/images/arrowLeft.svg) no-repeat center center transparent;
}

.bottombar .playbackBarButtons {
  position: absolute;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
  opacity: 1;
  z-index: 0;
}

.bottombar .playbackBarButtons .btn {
  transition: opacity 0.2s ease;
}

.bottombar .playbackBarButtons .btn:active {
  opacity: 0.6 !important;
  transition: none;
}

.bottombar .playbackBarButtons .previousFrameButton {
  width: 20px;
  background-image: url(../../Lib/images/arrowLeft.svg);
  background-size: auto 17px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  margin-right: 15px;
}
.camera:not(.playing) .bottombar .playbackBarButtons .previousFrameButton {
  opacity: 1;
  pointer-events: auto;
}

.bottombar .playbackBarButtons .liveButton {
  position: relative;
  top: -2px;
  width: 40px;
  height: 28px;
  background-image: url(../../Lib/images/live.svg);
  background-size: auto 28px;
  background-repeat: no-repeat;
  margin-left: 5px;
  cursor: pointer;
  transition: opacity;
  opacity: 0.4;
}
.bottombar .playbackBarButtons .liveButton:hover,
.camera.live .bottombar .playbackBarButtons .liveButton {
  opacity: 1;
}

.bottombar .playbackBarButtons .divider {
  flex-grow: 1;
}

.bottombar .playbackBarButtons .playPauseButton {
  width: 20px;
  background-image: url(../../Lib/images/playForwards.svg);
  background-size: auto 17px;
  cursor: pointer;
}
.camera.playing .bottombar .playbackBarButtons .playPauseButton {
  background-image: url(../../Lib/images/pause.svg);
}

.bottombar .playbackBarButtons .playTimeIndex {
  font-size: 14px;
  font-weight: 800;
  color: white;
}
