/* adopted from vl-player-light.css */

.vl-player,
.vl-player * {
  box-sizing: border-box;
}

.vl-player {
  --vl-controls-panel-foreground-color: rgb(160, 100, 0);
  --vl-controls-panel-background-color: rgb(250, 220, 150);
  --vl-playlist-background-color: rgb(255, 241, 221);
  --vl-playlist-item-foreground-color: rgb(0, 0, 0);
  --vl-playlist-item-border-color: rgba(200, 200, 200, 0.35);
  --vl-playlist-playing-item-background-color: rgb(255, 225, 175);
  --vl-playlist-playing-item-foreground-color: rgb(160, 10, 0);
  --vl-playlist-hovering-item-background-color: rgba(239, 213, 170, 0.8);
  --vl-playlist-hovering-item-foreground-color: rgb(160, 50, 0);
  --vl-playlist-item-button-background-color: rgb(216, 153, 74);
  --vl-playlist-item-button-foreground-color: #fff;
  --vl-playlist-visited-item-button-background-color: rgb(160, 80, 0);
  --vl-playlist-visited-item-button-foreground-color: #fff;

  --vl-font-size: 20px;
  --vl-playlist-max-height: 500px;
  --vl-inner-player-container-padding: 0;
}


.vl-player {
  margin: 0 auto;
  padding: 0;
  width: 100%;
  max-width: 800px;
  color: rgb(66, 66, 66);
  color: var(--vl-controls-panel-foreground-color);
  background-color: rgb(250, 220, 150);
  background-color: var(--vl-controls-panel-background-color);
  /*
  font-size: 20px;
  font-size: var(--vl-font-size);
  */
}

.vl-player .vl-title {
  text-align: center;
  font-size: 115%;
  font-weight: 500;
  padding: 1em 2em;
  letter-spacing: 0.1em;
  line-height: 1.6;
  background-image: linear-gradient(to bottom,
      rgba(120,120,120,0.12) 0%,
      rgba(250,250,250,0.25) 2%,
      rgba(220,220,220,0.15) 5%,
      rgba(255,255,255,0.02) 15%,
      rgba(255,255,255,0.05) 50%,
      rgba(255,255,255,0.05) 70%,
      rgba(255,255,255,0.02) 85%,
      rgba(120,120,120,0.05) 95%,
      rgba(200,200,200,0.10) 98%,
      rgba(100,100,100,0.10) 100%);
}

.vl-player .vl-media-player-container {
  margin: 0;
  padding: 0;
  /* padding: 2px 7px 7px 7px; */
  padding: var(--vl-inner-player-container-padding);

  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.15);
  margin: 0 auto;
}

.vl-player audio,
.vl-player video {
  display: block;
  width: 100%;
  /* transform: translateY(5px); */
}

.vl-player .vl-media-player-container audio::-webkit-media-controls-panel {
  background-color: rgb(250, 220, 150);
  background-color: var(--vl-controls-panel-background-color);
}

.vl-player .vl-player-toolbar {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 0.35em;
  height: 5.6em;
  position: relative;
  background-image: linear-gradient(to bottom,
      rgba(170,130,100,0.15) 0%,
      rgba(225,205,155,0.15) 2%,
      rgba(200,170,130,0.10) 5%,
      rgba(235,195,135,0.03) 15%,
      rgba(255,195,125,0.07) 30%,
      rgba(255,205,155,0.05) 50%,
      rgba(235,170,120,0.03) 72%,
      rgba(220,150,120,0.15) 96%,
      rgba(230,230,230,0.15) 98%,
      rgba(120,120,120,0.15) 100%);
}

.vl-player .vl-player-toolbar .vl-player-switch-button {
  display: flex;
}

.vl-player .vl-player-toolbar .vl-player-switch-button button {
  height: 2.3em;
  padding: 0.2em 0.5em;
  background-color: rgba(236, 216, 188, 0.8);
  border: 1px solid rgba(216, 196, 168, 0.8);
  color: rgba(120, 90, 60, 0.8);
}

.vl-player .vl-player-toolbar .vl-player-switch-button button:first-child {
  border-radius: 8px 0 0 8px;
  border-width: 1px 0 1px 1px;
}

.vl-player .vl-player-toolbar .vl-player-switch-button button:last-child {
  border-radius: 0 8px 8px 0;
  border-width: 1px 1px 1px 0;
}

.vl-player .vl-player-toolbar button {
  border: none;
  height: 2.5em;
  min-width: 1.5em;
  padding: 0 0.6em;
  margin: 0;
  border: 1px solid rgba(200, 180, 150, 0.3);
  border-radius: 0.5em;
  color: rgba(110, 50, 0, 0.6);
  color: var(--vl-controls-panel-foreground-color);
  background-color: rgba(255, 255, 255, 0.5);
  font-size: 0.8em;
  letter-spacing: 0.1em;
  white-space: nowrap;
  display: flex;
  justify-content: center;
  align-items: center;
}

.vl-player.vl-player-control-icon .vl-player-toolbar button.vl-player-play-btn {
  font-size: 1.1em;
  height: 2.8em;
  min-width: 2.8em;
  border-radius: 0.5em;
}

.vl-player .vl-player-toolbar button:hover {
  background-color: rgb(236, 163, 74) !important;
  border-color: rgb(226, 153, 64);
  color: rgb(255, 255, 255);
}

.vl-player .vl-player-toolbar button:active,
.vl-player .vl-player-toolbar button:focus {
  background-color: rgb(220, 120, 60) !important;
  border-color: rgb(210, 110, 50);
  color: rgb(255, 255, 255);
}

.vl-player .vl-player-toolbar button svg {
  transform: translateY(0px);
}

.vl-player .vl-player-toolbar button.pressed {
  background-color: rgb(236, 153, 77);
  border-color: rgb(236, 153, 77);
  color: #fff;
/*
  border: 1px solid rgba(100, 50, 0, 0.2);
  box-shadow: inset 0 0 2em rgba(120, 60, 0, 0.3);
*/
}

.vl-player .vl-player-toolbar .vl-message {
  position: absolute;
  right: 0;
  bottom: 0.1em;
  padding: 0.25em 0.7em;
  color: rgb(255, 255, 255);
  font-size: 60%;
  background-color: rgba(0, 0, 0, 0.3);
  display: none;
  white-space: nowrap;
}

.vl-player .vl-player-toolbar .vl-message.showing {
  display: block;
}

.vl-list {
  margin: 0 auto;
  overflow: auto;
  color: rgb(0, 0, 0);
  color: var(--vl-controls-panel-foreground-color);
  background-color: rgb(255, 241, 221);
  background-color: var(--vl-playlist-background-color);
  max-height: 500px;
  max-height: var(--vl-playlist-max-height);
}

.vl-list-item {
  padding: 0.6em 0;
  display: flex;
  line-height: 1.7;
  border-bottom: 1px solid rgb(237, 237, 237);
  border-color: var(--vl-playlist-item-border-color);
}

.vl-list-item.playing {
  background-color: rgb(255, 225, 175);
  background-color: var(--vl-playlist-playing-item-background-color);
  font-weight: 600;
}

.vl-list-item:hover {
  background-color: rgba(239, 213, 170, 0.8);
  background-color: var(--vl-playlist-hovering-item-background-color);
  font-weight: 400;
}

.vl-custom-background-images .vl-list-item.playing,
.vl-custom-background-images .vl-list-item:hover {
  background-image: none;
}

.vl-list-item-title {
  flex-grow: 1;
  padding: 0 0.3em 0px 0.7em;
  color: rgb(75, 75, 75);
  color: var(--vl-playlist-item-foreground-color);
  letter-spacing: 0.1em;
  float: none !important;
  width: unset !important;
  margin-bottom: 0 !important;
}

.vl-item-title-icon .vl-list-item .vl-list-item-title {
  background-image: url(../images/icons/lotus-golden.png);
  background-size: 1.75em 1.75em;
  background-repeat: no-repeat;
  background-position: 0.5em center;
  padding: 0.15em 0.4em 0.15em 3.1em;
  display: flex;
  align-items: center;
  line-height: 1.7;
  min-height: 2em;
}

.vl-list-item .vl-list-item-title,
.vl-list-item .vl-list-item-title span {
  white-space: nowrap;
  overflow: auto;
}

.vl-list-item:hover   .vl-list-item-title,
.vl-list-item:active  .vl-list-item-title,
.vl-list-item:focus   .vl-list-item-title,
.vl-list-item.playing .vl-list-item-title,
.vl-list-item:hover   .vl-list-item-title span,
.vl-list-item:active  .vl-list-item-title span,
.vl-list-item:focus   .vl-list-item-title span,
.vl-list-item.playing .vl-list-item-title span {
  white-space: normal;
  overflow: hidden;
}

.vl-player-wrap-long-titles .vl-list-item .vl-list-item-title,
.vl-player-wrap-long-titles .vl-list-item .vl-list-item-title span {
  white-space: normal !important;
  overflow: hidden !important;
}

.vl-player-scroll-long-titles .vl-list-item .vl-list-item-title,
.vl-player-scroll-long-titles .vl-list-item .vl-list-item-title span {
  white-space: nowrap !important;
  overflow: auto !important;
}

.vl-list-item.playing .vl-list-item-title,
.vl-list-item.playing .vl-list-item-title span {
  color: rgb(160, 10, 0) !important;
  color: var(--vl-playlist-playing-item-foreground-color) !important;
  font-weight: bold;
}

.vl-list-item:hover .vl-list-item-title,
.vl-list-item:hover .vl-list-item-title span {
  color: rgb(160, 50, 0) !important;
  color: var(--vl-playlist-hovering-item-foreground-color) !important;
}

.vl-list-item .vl-list-item-toolbar {
  padding: 0;
  margin: 0 0.6em 0 0.3em;
  display: flex;
  align-items: center;
  column-gap: 0.1em;
  float: none !important;
  width: unset !important;
  margin-bottom: 0 !important;
}

.vl-list-item .vl-list-item-link,
.vl-list-item .vl-list-item-download {
  font-size: 75%;
  background-color: rgba(0,0,0,0.0) !important;
  padding: 0;
  margin: 0;
}

.vl-list-item .vl-list-item-link a,
.vl-list-item .vl-list-item-link a:link,
.vl-list-item .vl-list-item-download a,
.vl-list-item .vl-list-item-download a:link {
  color: #fff !important;
  color: var(--vl-playlist-item-button-foreground-color) !important;
  background-color: rgb(216, 153, 74);
  background-color: var(--vl-playlist-item-button-background-color) !important;
  margin: 0;
  padding: 0.375em 0.5em !important;
  margin-right: 0.15em;
  border-radius: 0.25em;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.1em;
  display: flex;
}

.vl-list-item .vl-list-item-link a:hover,
.vl-list-item .vl-list-item-download a:hover {
  color: #fff !important;
  background-color: rgb(220, 120, 60) !important;
  border-color: rgb(210, 110, 50);
  text-decoration: none;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.vl-list-item .vl-list-item-link a:active,
.vl-list-item .vl-list-item-link a:focus,
.vl-list-item .vl-list-item-download a:active,
.vl-list-item .vl-list-item-download a:focus {
  color: #fff !important;
  background-color: rgb(200, 80, 50) !important;
  border-color: rgb(190, 70, 40);
  text-decoration: none;
}

.vl-list-item .vl-list-item-link a:visited,
.vl-list-item .vl-list-item-download a:visited {
  color: #fff !important;
  color: var(--vl-playlist-visited-item-button-foreground-color) !important;
  background-color: rgb(160, 80, 0) !important;
  background-color: var(--vl-playlist-visited-item-button-background-color) !important;
  text-decoration: none;
}
