/*
* audioPlayer Stylesheet
*/

#music {
  position: absolute;
}

/Prevent blue line around play/pause button
img:focus {
  outline: 0;
}

#audioPlayerWrap {
  width: 90%;
  height: auto;
  background-color: #222;
  position: fixed;
  padding: 12px 5%;
  bottom: 0;
  left: 0;
  font-family: "Arial", sans-serif;
  font-size: 16px;
  color: #ccc;
  
  opacity: 0;
  
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  transition: all 0.5s ease;

  z-index: 999;
}

#currentSong {
  width: 40%;
}

#audioplayer {
  width: 55%;
  padding: 0;
  position: relative;
  display: block;
}

#currentSong, #audioplayer {
  padding: 0;
  margin: 0;
  margin-right: 10px;
  float: left;
  display: block;
}

#pButton{
  height: 20px; 
  width: 20px;
  padding: 0;
  border: none;
  background-size: 100% 100%;
  background-position: center;
}
.play {
  background: url(img/play.png) no-repeat;
}

.pause {
  background: url(img/pause.png) no-repeat;
}

.play, .pause {
  float: left;
  display: inline-block;
  margin-top: 2px;
  margin-right: 10px;

  opacity: 0.75;
}

#timeline {
  max-width: 60%;
  height: 10px;
  margin-top: 7px;
  margin-right: 0;
  float: left;
  background-color: #444;
  border-radius: 15px;
}
 
#playhead{
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-top: -4px;
  background-color: #ddd;

  box-shadow: 5px 0px 5px #333;
}

#time {
  float: left;
  margin-top: 2px;
  margin-left: 20px;
  display: inline-block;
  font-size: 12px;
}

#exitPlayer {
  position: fixed;
  right: 0;
  bottom: 0;
  font-size: 24px;
  padding: 13px 11px;
  color: #555;
  /* background-color: #333; */

  cursor: pointer;

  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

#exitPlayer:hover {
  color: #aaa;
  /* background-color: #D22929; */
}

#playlist {}

.song-link {
  margin-bottom: 10px;
  cursor: pointer;
}

.song-link p {
  color: #222;
}

.song-link p:hover {
  color: #aaa;
}

/* Mobile settings 
------------------*/
@media screen and (max-width: 768px) {
  #audioPlayerWrap {
    padding: 5px 5%;
  }

  #currentSong {
    width: 80%;
    padding: 0px;
    margin: 3px 0;
  }  

  #audioplayer {
    width: 95%;
    margin: 3px 0;
  }

  #playhead {
    margin-left: 10px;
  }

  #exitPlayer {
    padding: 20px 20px;
  }
}

@media screen and (max-width: 480px) {
  #audioPlayerWrap {
    font-size: 3vw;
  }
}