.dropshadow {
  -webkit-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='#444')";
  filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='#444')";
  -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='#444')";
}

.inMenu {
  justify-content: center !important;
  width: 100% !important;
}

.inMenu div {
  -webkit-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='#444')";
  filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='#444')";
  -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='#444')";
  color: #fff !important;
  text-align: center !important;
  float: none !important;
  font-size: 2.5em !important;
}

#playerSettingsCloseMenuButton {
  color: #fff;
  cursor: pointer;
  z-index: 9;
  font-size: 2.5em;
  position: absolute;
  right: 20px;
}

#ccProgressPreviewImagesContainer img.selected {
  background: #fff;
}

.previewImageWrapper {
  align-content: space-around;
  justify-content: space-between;
  align-items: center;
  margin-left: 5px;
  display: flex;
  position: relative;
}

.previewImageWrapper.selected {
  background: #fff;
}

#volumeSlider::-webkit-slider-runnable-track {
  cursor: pointer;
  border: .2px solid #010101;
  border-radius: 1.3px;
  width: 100%;
  height: 8.4px;
  box-shadow: 1px 1px 1px #000, 0 0 1px #0d0d0d;
}

#volumeSlider::-moz-range-track {
  cursor: pointer;
  background: none;
  border: .2px solid #010101;
  border-radius: 1.3px;
  width: 100%;
  height: 8.4px;
  box-shadow: 1px 1px 1px #000, 0 0 1px #0d0d0d;
}

#ccProgressBufferSlider {
  -webkit-appearance: none;
  cursor: pointer;
  width: 100%;
  margin: 18px 0;
  height: 15px !important;
}

#ccProgressBufferSlider:focus {
  outline: none;
}

#ccProgressBufferSlider::-webkit-slider-runnable-track {
  cursor: pointer;
  box-shadow: 0;
  background: none;
  border: 0;
  border-radius: 8px;
  width: 100%;
  height: 0;
}

#ccProgressBufferSlider::-moz-range-track {
  cursor: pointer;
  box-shadow: 0;
  background: none;
  border: 0;
  border-radius: 8px;
  width: 100%;
  height: 8.4px;
}

#ccProgressBufferSlider::-ms-track {
  cursor: pointer;
  color: rgba(0, 0, 0, 0);
  background: none;
  border-width: 0;
  border-color: rgba(0, 0, 0, 0);
  width: 100%;
  height: 8.4px;
}

#ccProgressBufferSlider:focus::-webkit-slider-runnable-track {
  cursor: pointer;
  background: #367ebd;
}

#ccProgressBufferSlider::-webkit-slider-thumb {
  cursor: pointer;
  -webkit-appearance: none;
  background: #fff;
  border: 1px solid #00001e;
  border-radius: 15px;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  box-shadow: 1px 1px 1px #000031;
}

#ccProgressBufferSlider.preview::-webkit-slider-thumb {
  cursor: pointer;
  -webkit-appearance: none;
  background: #fff;
  border: 1px solid #00001e;
  border-radius: 8px;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  box-shadow: 1px 1px 1px #000031;
}

#ccProgressBufferSlider::-moz-range-thumb {
  cursor: pointer;
  background: #fff;
  border: 1px solid #00001e;
  border-radius: 15px;
  width: 26px;
  height: 26px;
  box-shadow: 1px 1px 1px #000031;
}

#ccProgressBufferSlider.preview::-moz-range-thumb {
  cursor: pointer;
  background: #fff;
  border: 1px solid #00001e;
  border-radius: 8px;
  width: 16px;
  height: 16px;
  box-shadow: 1px 1px 1px #000031;
}

#ccProgressBufferSlider::-ms-fill-lower {
  cursor: pointer;
  background: #2a6495;
  border: .2px solid #010101;
  border-radius: 8px;
  box-shadow: 1px 1px 1px #000, 0 0 1px #0d0d0d;
}

#ccProgressBufferSlider::-ms-fill-upper {
  cursor: pointer;
  background: #3071a9;
  border: .2px solid #010101;
  border-radius: 8px;
  box-shadow: 1px 1px 1px #000, 0 0 1px #0d0d0d;
}

#ccProgressBufferSlider::-ms-thumb {
  cursor: pointer;
  background: #fff;
  border: 1px solid #00001e;
  border-radius: 15px;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  box-shadow: 1px 1px 1px #000031;
}

#ccProgressBufferSlider.preview::-ms-thumb {
  cursor: pointer;
  background: #fff;
  border: 1px solid #00001e;
  border-radius: 8px;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  box-shadow: 1px 1px 1px #000031;
}

#ccProgressBufferSlider:focus::-ms-fill-lower {
  cursor: pointer;
  background: #3071a9;
}

#ccProgressBufferSlider:focus::-ms-fill-upper {
  cursor: pointer;
  background: #367ebd;
}

#ccProgressBufferSlider.preview {
  height: 8px !important;
  margin: 8px 0 !important;
}

input[type="range"][orientation="vertical"] {
  writing-mode: bt-lr;
  -webkit-appearance: slider-vertical;
  margin-bottom: 8%;
  padding: 0 5px;
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 50% !important;
}

#controls {
  z-index: 25;
  display: none;
}

#customControlsControlBarTop.fullscreen {
  margin-top: 25px;
}

#playerContainer {
  box-sizing: border-box;
  background-color: #181818;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  height: 100%;
  padding-left: 15px;
  padding-right: 15px;
  display: flex;
  position: relative;
}

#live-stream {
  background-color: #181818;
}

.playerIcon {
  cursor: pointer;
  width: auto;
  height: 100%;
}

#debugLog {
  max-height: 200px;
  overflow: scroll;
}

#broadcastIcon {
  width: 14px;
  height: 14px;
  margin-right: 3px;
}

#playerControlsSpacer {
  flex: 2 25%;
}

#titlePlayerSettingsMenu {
  color: #fff;
}

.playerIconContainer {
  -webkit-user-select: none;
  user-select: none;
  justify-content: center;
  align-items: center;
  width: auto;
  height: 100%;
  display: flex;
}

.playerIconContainer.maxHeight {
  align-items: flex-end;
  min-height: 100%;
  display: inline-flex;
}

.playerIconContainer.maxHeight img {
  height: 30% !important;
}

#broadcastLabelContainer {
  -webkit-user-select: none;
  user-select: none;
  align-items: center;
  display: flex;
}

#playPauseOverlay {
  opacity: .5;
  width: 100%;
  height: 100%;
  display: none;
}

#playPauseOverlay.activated {
  z-index: -1;
  opacity: 1;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: none;
  position: absolute;
  left: 0;
}

#playPauseOverlay.showing {
  display: flex;
}

#playPauseOverlay.fadingOut {
  justify-content: center;
  align-items: center;
  display: flex;
}

#playPauseOverlayButtonContainer {
  z-index: 0;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  height: 100%;
  display: flex;
  position: relative;
}

#playPauseOverlayButton {
  z-index: 0;
  height: 90%;
}

#broadcastLabel {
  color: #fff;
  -webkit-user-select: none;
  user-select: none;
  cursor: default;
}

#playerSettingsMenu {
  z-index: 50;
  background: rgba(72, 72, 72, .8);
  width: auto;
  height: auto;
  display: none;
  position: absolute;
  bottom: 50px;
  right: 10px;
}

#playerSettingsMenu.activated {
  display: block;
}

#playerSettingsMenuHeader {
  background: rgba(40, 40, 40, .8);
  justify-content: center;
  align-items: center;
  height: 30px;
  display: flex;
}

#playerSettingsMenuHeaderLabel {
  color: rgba(255, 255, 255, .8);
  font-size: 1.2em;
}

#playerSettingsOptions {
  flex-direction: row;
  padding: 10px;
  display: flex;
}

.borderLeft {
  border-left: 1px solid;
}

.settingsOption {
  color: rgba(255, 255, 255, .8);
  cursor: pointer;
  text-indent: 10px;
  flex-direction: column;
  height: 30px;
  margin-right: 5px;
  display: flex;
}

.settingsOption:hover {
  color: #fff;
}

.settingsSelectOption {
  height: auto;
  list-style-position: inside;
}

.settingsSelectOption:hover {
  color: rgba(255, 255, 255, .8);
}

.settingsList {
  text-indent: 20px;
  margin: 0;
}

.settingsListLabel {
  height: 20px;
}

.settingsListItem {
  height: 25px;
  margin: 0;
}

.settingsListItem:hover {
  color: #fff;
}

.settingsListItem.selected {
  color: #45a5f7;
}

.settingsListItem.selected:hover {
  color: #c2ffff;
}

#controlsContainer {
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
}

#controls.activated {
  box-sizing: border-box;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  padding-left: 15px;
  padding-right: 15px;
  display: none;
  position: absolute;
  bottom: 0;
}

#controls.showing {
  -ms-animation: fadeIn ease 1s;
  background: rgba(40, 40, 40, .5);
  animation: 1s fadeIn;
  display: flex;
}

#controls.fadingOut {
  -ms-animation: fadeOut ease 1s forwards;
  animation: 1s forwards fadeOut;
  display: flex;
}

#muteBtn {
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

#volumeSlider {
  flex: 1;
  min-width: 80px;
  max-width: 80px;
  height: 8.4px;
}

#volumeSliderContainer {
  flex-direction: row-reverse;
  align-items: center !important;
}

input[type="range"] {
  -webkit-appearance: none;
  -ms-touch-action: none;
  touch-action: none;
  background: none;
  width: 100%;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
}

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

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  cursor: pointer;
  background: #fff;
  border: 1px solid #000;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  margin-top: -5px;
  box-shadow: 1px 1px 1px #000, 0 0 1px #0d0d0d;
}

input[type="range"]::-moz-range-thumb {
  cursor: pointer;
  background: #fff;
  border: 1px solid #000;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  box-shadow: 1px 1px 1px #000, 0 0 1px #0d0d0d;
}

@media (prefers-color-scheme: dark) {
  body {
    color: #fff;
    background-color: #181818;
  }

  .tv-tip-v3 h2 {
    color: #fff !important;
  }

  #content p, #content td, #content th {
    color: #666 !important;
  }

  #socketMessageContainer {
    color: #fff !important;
    background-color: #181818 !important;
  }

  #toLoadChannelProgramDesc {
    color: #fff !important;
  }

  #progressPlayButton {
    border-color: #fff;
    color: #fff !important;
  }

  .demoInfo.container {
    color: #fff;
    border: 1px solid;
    margin-bottom: 5px;
    padding: 15px;
    line-height: 35px;
    background-color: #181818 !important;
  }
}

