/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block; }

body {
  line-height: 1; }

ol, ul {
  list-style: none; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

html {
  height: 100%; }

body {
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
  overflow: hidden;
  height: 100%; }

a {
  text-decoration: none;
  color: #acacac; }
  a:hover {
    text-decoration: underline; }

#app {
  height: 100%;
  display: flex;
  flex-direction: column; }

#app[v-cloak] > * {
  display: none; }

#app[v-cloak] > #loading {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  align-items: center;
  justify-content: center;
  z-index: 100; }

#loading {
  display: none; }

#playlistAndPanel {
  display: flex;
  flex: 1;
  overflow: auto;
  position: relative;
  z-index: 10; }

#playlist {
  flex: 1;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  /* Hide scrollbar for IE, Edge and Firefox */
  /* Hide scrollbar for Chrome, Safari and Opera */ }
  #playlist ul li a {
    color: #000000; }
    #playlist ul li a:hover {
      color: #acacac;
      text-decoration: none; }
  #playlist ul li .trackInfo {
    max-height: 0;
    border-top: dotted #ffffff 1px;
    border-bottom: dotted #ffffff 1px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    /*
    These are for closing 
    (delay the border, padding and margin, so they remain until the div is closed)
    */
    transition: max-height 0.5s linear 0s, border-color 0s linear 0.5s, padding 0s linear 0.5s, margin 0s linear 0.5s;
    overflow: hidden; }
  #playlist ul li.active a {
    color: #acacac; }
  #playlist ul li.active .trackInfo {
    max-height: 1000px;
    padding: 5px;
    margin: 5px 0;
    border-color: #000000;
    /*
    These are for opening - they override the closing ones defined above 
    (show the border, padding and margin with no delay )
    */
    transition: max-height 0.5s linear 0s, border-color 0s linear 0s, padding 0s linear 0s, margin 0s linear 0s; }

.trackInfo .trackImage {
  display: block;
  width: 100%;
  margin-bottom: 5px; }
.trackInfo .tagsAndTimes {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px; }
.trackInfo .tags li {
  display: inline; }
  .trackInfo .tags li::after {
    content: ", "; }
  .trackInfo .tags li:last-child::after {
    display: none; }

/* Hidden on mobile */
#panel {
  display: none;
  width: 50%;
  padding: 10px;
  position: fixed;
  top: 0;
  right: 0; }
  #panel #logo {
    width: 100%;
    height: 200px;
    background-color: #aeaeae;
    display: flex;
    align-items: center;
    justify-content: center; }

#audioPlayer {
  position: relative;
  z-index: 20;
  width: 100%;
  border-top: dotted #000000 1px;
  --seek-before-width: 0%;
  --buffered-width: 0%;
  height: 0;
  transition: height 1s;
  overflow: hidden; }
  #audioPlayer.visible {
    height: 70px; }
  #audioPlayer #playButton {
    display: block;
    height: 35px;
    width: 100%;
    padding: 0;
    border: 0;
    border-top: dotted #000000 1px;
    cursor: pointer;
    outline: none;
    color: #000000;
    background-color: #ffffff;
    font-weight: bold; }
  #audioPlayer #seekBar {
    position: relative;
    display: block;
    height: 35px; }
  #audioPlayer #seekBarProgress {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: var(--seek-before-width);
    height: 35px;
    background-color: #ffffff;
    border-right: dotted #000000 1px;
    z-index: 21; }
  #audioPlayer input[type="range"] {
    position: absolute;
    top: 0;
    left: 0;
    -webkit-appearance: none;
    outline: none;
    margin: 0;
    border: 0;
    background-color: transparent;
    width: 100%;
    height: 35px;
    z-index: 22; }
  #audioPlayer input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 100%;
    cursor: pointer; }
  #audioPlayer input[type="range"]::-webkit-slider-thumb {
    position: relative;
    -webkit-appearance: none;
    height: 100%;
    width: 5px;
    background-color: transparent;
    box-shadow: none;
    border: 0;
    cursor: pointer; }
  #audioPlayer input[type="range"]::-moz-range-track {
    width: 100%;
    height: 100%;
    cursor: pointer; }
  #audioPlayer input[type="range"]::-moz-focus-outer {
    border: 0; }
  #audioPlayer input[type="range"]::-moz-range-thumb {
    height: 100%;
    width: 5px;
    background-color: transparent;
    box-shadow: none;
    border: 0;
    cursor: pointer; }
  #audioPlayer input[type="range"]::-ms-track {
    width: 100%;
    height: 100%;
    cursor: pointer;
    background: transparent;
    border: solid transparent;
    color: transparent; }
  #audioPlayer input[type="range"]::-ms-thumb {
    height: 100%;
    width: 5px;
    background-color: transparent;
    cursor: pointer; }

/* Bigger than mobile */
@media (min-width: 700px) {
  #playlistAndPanel {
    display: flex;
    flex-direction: row; }

  #playlist {
    width: 50%; }
    #playlist ul li {
      margin-bottom: 2px;
      /* This is to replace the non-visible border that is from the trackInfo */ }
    #playlist .trackInfo {
      /* Hidden on desktop */
      display: none !important; }

  #panel {
    display: block;
    width: 50%;
    margin-top: 0;
    padding-top: 10px;
    padding-bottom: 0; } }
