#timeElement {
  padding: 3px 5px;
  border-radius: 5px;
  margin-right: 5px;
  margin-bottom: 4px;
  width: max-content;
}

.adTimer {
  position: absolute;
  bottom: 8rem;
  left: 1rem;
  color: white;
  font-weight: bold;
  display: none;
  text-shadow: 1px 1px 4px black;
}

#buffering {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  color: white;
  font-weight: bold;
  display: none;
  margin: auto;
  justify-content: center;
  align-items: center;
}

.error__container {
  display: none;
  position: absolute;
  z-index: 1;
  top: 10%;
  width: 50%;
  margin: auto;
  left: 0%;
  right: 0%;
}

.error__message {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  border-radius: 0.3rem;
}

.error__header {
  padding: 3px 10px;
  background-color: #de6224;
  color: white;
  height: 2rem;
  text-align: center;
  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14),
    0px 1px 5px 0px rgba(0, 0, 0, 0.12);
  border-top-right-radius: 0.3rem;
  border-top-left-radius: 0.3rem;
}

.error__header h3 {
  margin: 0%;
}

.error__message-content p {
  text-align: center;
  padding: 0.5rem;
}

.error__close {
  color: white;
  float: right;
  font-size: 1.2rem;
  font-weight: bold;
}

.error__close:hover,
.error__close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

#endTimePicker,
#startTimePicker,
#livePlaybackModeList {
  display: none;
}

.videoWrapper {
  width: 100%;
  height: 150px;
  position: relative;
  overflow: hidden;
  background: #000000;
  padding-bottom: 56.25%;
}
video {
  width: 100%;
  height: 100%;
  min-width: 100%;
  position: absolute;
  background: #000000;
}
#adcontainer {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgb(4 4 4 / 50%) 0%, rgb(242 239 239 / 50%) 50px, rgb(246 242 242 / 0%) 30px);
  /* background: linear-gradient(to top, rgb(14 13 13 / 50%) 0%, rgb(213 205 205 / 50%), rgb(16 15 15 / 0%), 40px); */
}

.easelive-container {
  position: absolute;
  width: 100%;
  height: 100%;
  visibility: hidden;
}

#easeLiveToggleIcon {
  display: none;
  font-size: 42px;
}
.controls-container {
  padding: 0;
  position: absolute;
  bottom: 0px;
  width: 100%;
  height: 40px;
  box-sizing: border-box;
}
.controls-main {
  width: 100%;
  margin: 0px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  color: #de6224;
}

.controls-left {
  display: flex;
  justify-content: flex-start;
}

.controls-right {
  display: flex;
  justify-content: flex-end;
}
.controls-center-parent {
  display: flex;
  justify-content: center;
  align-items: end;
  bottom:0;
  width: 100%;
  position: absolute;
}

.controls-center {
  height: max-content;
  z-index: 2;
}

.controls-left,
.controls-center,
.controls-right {
  width: max-content;
}

.controls-container-overlay {
  /* background: rgb(0 0 0 / 60%); */
  background: rgb(0, 0, 0);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
  position: absolute;
  bottom: 0px;
  width: 100%;
  height: 70px;
  z-index: 1;
}

.slider-overlay {
  position: absolute;
  bottom: 45px;
  height: 19.5px;
  width: 100%;
  z-index: 10;
  display: none;
}

.playPause-container {
  position: absolute;
  color: #de6224;
  left: 0px;
  top: 0px;
  bottom: 0px;
  right: 0px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mdc-slider {
  position: absolute;
  bottom: 45px;
  height: 19.5px;
}

.mdc-slider:not(.mdc-slider--disabled) .mdc-slider__track-container {
  background-color: rgba(256, 256, 256, 0.2);
}

.mdc-slider__track-container {
  height: 3px;
}

.mdc-slider__thumb-container {
  top: 1px;
}

#videoWrapper:hover .controls-container {
  bottom: 0;
  transition: all 0.2s ease-out;
}

#videoWrapper:fullscreen {
  padding-bottom: 100vh;
}
#videoWrapper:-webkit-full-screen {
  padding-bottom: 100vh;
}
#videoWrapper:-moz-full-screen {
  padding-bottom: 100vh;
}
#videoWrapper:-ms-fullscreen {
  padding-bottom: 100vh;
}

.mdc-slider--disabled .mdc-slider__track {
  background-color: #de6224;
}

.mdc-slider--disabled .mdc-slider__thumb {
  display: none;
}

.timeline-events {
  position: absolute;
  top: 90px;
  width: 350px;
  margin-left: 0px;
  padding: 0 0 55px 10px;
  color: white;
  font-family: "Courier New";
  display: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, -0.75) 70%, rgba(0, 0, 0, 0) 100%);
}

.timeline-events ul li {
  border: 0;
  padding: 2px 0;
}

.timeline-events ul li hr {
  border-top: 1px solid rgba(256, 256, 256, 0.2);
  border-bottom: none;
}

.timeline-events__title {
  font-size: 16px;
  font-weight: bold;
}

.timeline-events__body {
  font-size: 14px;
  overflow: auto;
  height: 400px;
}

.timeline-events__body li .card {
  background-color: rgba(15, 48, 87, 0.7);
  border-radius: 8px;
  padding: 5px 10px;
  /* width: 50%; */
  display: inline-table;
  border-radius: 5px;
  cursor: pointer;
  border: 2px transparent solid;
}

.timeline-events__body li .card:hover {
  border: 2px #de6224 solid;
}

.timeline-events__body .event {
  padding: 5px 0px;
  font-size: 16px;
}

.timeline-events__body .period {
  display: inline-block;
  float: right;
}

.timeline-events-score ul {
  list-style-type: none;
  display: inline-block;
  background-color: rgba(15, 48, 87, 0.7);
  border-radius: 8px;
  padding: 5px;
}

.timeline-spoiler {
  position: absolute;
  left: 260px;
  top: 20px;
}

@media screen and (max-width: 480px) {
  .controls-center-parent {
    bottom:50%;
  }
  .controls-center {
    gap: 25px;
  }
}
