.loading {
  display: none;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  cursor: progress;
  background-color: rgba(21, 23, 27, 0.85);
}

.content,
footer {
  padding-left: var(--margin-edge);
  z-index: 1;
}

.content {
  background-color: var(--lighter-color);
  width: 100%;
  height: 100%;
  padding-top: 10px;
}

.video-and-subtitles {
  display: flex;
  justify-content: space-between;
  height: 100%;
  max-width: 100vw;
}

.range {
  display: flex;
  justify-content: center;
}

.range > input {
  accent-color: rgb(80, 140, 220);
  width: 50%;
  margin-top: -10px;
  margin-bottom: 5px;
}

.video-container {
  width: 50%;
}

video {
  width: 100%;
}

.controllers > ul {
  display: flex;
  list-style: none;
  justify-content: space-between;
  margin-top: 10px;
}

.progress,
#progress {
  width: 100%;
}

.video-container {
  position: relative;
}

footer {
  display: none;
}

.waveform {
  background-color: var(--base-color);
  position: fixed;
  bottom: 0;
  width: 100vw;
  height: 130px;
  transform: translateX(var(--timeline-offset));
  z-index: 1;
  transform: translate(0, 0);
  transition: transform ease-in-out 500ms;
}

.hidden-waveform {
  transform: translate(0, 100%);
}

#waveform {
  padding-bottom: 10px;
  /* width: 99.773%; */
  width: 100%;
  height: 130px;
  overflow: hidden;
  transform: translateX(var(--timeline-offset));
  z-index: 1;
}

#waveform wave {
  z-index: 1;
}

.waveform-indicator {
  background-color: rgb(255, 70, 90);
  position: absolute;
  height: 110px;
  bottom: 0;
  left: 0px;
  width: 2px;
  transform: translateX(var(--timeline-offset));
  z-index: 3;
}

.waveform-indicator::after {
  background-color: rgb(40, 44, 52);
  color: rgb(230, 235, 245);
  border: 1px solid rgb(60, 85, 120);
  content: var(--waveform-after);
  position: relative;
  width: 1.5em;
  height: 1em;
  top: -1.5em;
  left: 0.3em;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: var(--waveform-after-display);
}

.img-container {
  width: 100%;
  height: 100%;
  position: absolute;
  transform: translateX(var(--timeline-offset));
}

.time {
  background-color: var(--darker-color);
  position: relative;
  height: 20px;
  left: 0px;
  display: -webkit-box;
  transform: translateX(var(--timeline-offset));
  z-index: 3;
}

.timecode {
  width: 15px;
  height: 15px;
}

.shot-change {
  background-color: rgb(255, 200, 50);
  width: 1px;
  height: 120px;
  top: 20px;
  position: absolute;
  z-index: 3;
}

span[italic] {
  font-style: italic;
}

#h1-loader {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 300px;
  display: contents;
}
#loader-p {
  padding: 0;
}

#loader-p img {
  padding: 0;
  opacity: 2;
  width: 50%;
  height: 20%;
}

.center {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

#loader-div {
  background: rgba(255, 255, 255, 1);
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 97;
}
#loader {
  background: rgba(255, 255, 255, 0.7);
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 97;
}

.loading-percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  color: black;
  font-size: 5em;
}

tr.merged-gelem {
  background-color: rgb(100, 50, 70);
}

.subtitle-table-container table tr.merged-gelem.active-subtitle {
  background-color: rgb(120, 70, 90);
}
