:root {
  --lautwerden-color: #FE0900;
}

html {
  box-sizing: border-box;
  font-family: "Open Sans";
  height: 100%;
}

body {
  height: 100%;
}

.video-container {
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-controls {
  right: 0;
  left: 0;
  padding: 10px;
  position: absolute;
  bottom: 0;
  transition: all 0.2s ease;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
}

.buffered-bar {
  position: absolute;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3); 
  z-index: 0;
  width: 0%; 
  pointer-events: none;
}

#buffered-bar {
  position: absolute;
  top: 0px;
  left: 0;
  z-index: 0;
  width: 0%;
  height: 5.4px;
  background: rgba(255, 255, 255, 0.5);
}

.video-controls-up {
}
.video-controls-up.hidectrl {
  opacity: 0;
  pointer-events: none;
  display: none;
}
.video-progress {
  position: relative;
  width: 100%;
  /* height: 20px; */
  height: 5.4px;
  background: #222;
  margin: 5px 0px 10px;
}

#progress-bar {
  width: 100%;
  height: 5px;
  appearance: none;
  background: #ccc;
  position: absolute;
  top: 8px;
}

.seek {
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  appearance: none;
  background: transparent;
  z-index: 2;
  height: 20px;
}
/*
.seek {
  position: absolute;
  top: 0;
  width: 100%;
  cursor: pointer;
  margin: 0;
}*/

.seek:hover+.seek-tooltip {
  display: block;
}

/*.seek-tooltip {
  position: absolute;
  top: -25px;
  background: #000;
  color: #fff;
  padding: 2px 5px;
  font-size: 12px;
  border-radius: 3px;
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
}*/

.seek-tooltip {
  display: none;
  position: absolute;
  top: -50px;
  margin-left: -20px;
  font-size: 12px;
  padding: 3px;
  content: attr(data-title);
  font-weight: bold;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.6);
}

progress {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 2px;
  width: 100%;
  height: 5.4px;
  pointer-events: none;
  position: absolute;
  top: 0;
}

progress::-webkit-progress-bar {
  background-color: #474545;
  border-radius: 2px;
}

progress::-webkit-progress-value {
  background: var(--lautwerden-color);
  border-radius: 2px;
}

progress::-moz-progress-bar {
  border: 1px solid var(--lautwerden-color);
  background: var(--lautwerden-color);
}

.bottom-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.left-controls {
  display: flex;
  align-items: center;
  color: #fff;
}

.volume-controls {
  display: none;
  align-items: center;
  margin-right: 10px;
}

.volume-controls input {
  width: 100px;
  opacity: 1;
  transition: all 0.4s ease;
}

.volume-controls:hover input, .volume-controls input:focus {
  width: 100px;
  opacity: 1;
}

button {
  cursor: pointer;
  position: relative;
  margin-right: 7px;
  font-size: 12px;
  padding: 3px;
  border: none;
  outline: none;
  background-color: transparent;
}

button * {
  pointer-events: none;
}

button:hover::before {
  display: inline-block;
}

.fullscreen-button {
  margin-right: 0;
}

.pip-button svg {
  width: 22px;
  height: 22px;
}

.playback-animation {
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -40px;
  margin-top: -40px;
  width: 80px;
  height: 80px;
  border-radius: 80px;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
}

input[type=range] {
  -webkit-appearance: none;
  -moz-appearance: none;
  height: 5.4px;
  background: transparent;
  cursor: pointer;
}

input[type=range]:focus {
  outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  cursor: pointer;
  border-radius: 1.3px;
  -webkit-appearance: none;
  transition: all 0.4s ease;
}

input[type=range]::-webkit-slider-thumb {
  height: 12px;
  width: 12px;
  border-radius: 16px;
  background: var(--lautwerden-color);
  cursor: pointer;
  -webkit-appearance: none;
  margin-left: -1px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
  background: transparent;
}

input[type=range].volume {
  height: 5px;
  background-color: #fff;
}

input[type=range].volume::-webkit-slider-runnable-track {
  background-color: transparent;
}

input[type=range].volume::-webkit-slider-thumb {
  margin-left: 0;
  height: 14px;
  width: 14px;
  background: #fff;
}

input[type=range]::-moz-range-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 1.3px;
}

input[type=range]::-moz-range-thumb {
  height: 14px;
  width: 14px;
  border-radius: 50px;
  border: 1px solid var(--lautwerden-color);
  background: var(--lautwerden-color);
  cursor: pointer;
  margin-top: 5px;
}

input[type=range]:focus::-moz-range-track {
  outline: none;
}

input[type=range].volume::-moz-range-thumb {
  border: 1px solid #fff;
  background: #fff;
}

.hidden {
  display: none;
}

svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  stroke: #fff;
  cursor: pointer;
}

.played-bar {
	height: 5.4px;
}

.video-controls.hidectrl {
  /*opacity: 0;*/
  pointer-events: none;
  padding: 0px !important;
}

.video-controls.hidectrl > .bottom-controls {
  display: none;
}
.video-controls.hidectrl > .video-progress {
  height: 2px !important;
  margin: unset !important;
  transition: opacity 1s ease, visibility 1s ease;
  opacity: 1;
}
.video-controls.hidectrl > .video-progress > .buffered-bar {
  height: 2px !important;
}
.video-controls.hidectrl > .video-progress > .played-bar {
  height: 2px !important;
}
.video-controls.hidectrl > .video-progress > .seek {
  display: none;
  opacity: 0;
  pointer-events: none;
}

.fadeout {
  opacity: 0;
}

@media only screen AND (max-device-width: 949px) {
	.volume-controls {
		/* display: none; */
	}
}