/*
  1. Base
*/
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col {
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%;
  padding: 0;
}

img {
  vertical-align: middle;
  border-style: none;
}

/*
  2. Components
*/
div.control-container {
  margin-top: 1em; /*2em; 10px;*/
  width: 25em;
  padding-bottom: 10px;
}


div.control-container div.amplitude-play-pause {
  width: 74px;
  height: 74px;
  cursor: pointer;
  float: left;
  margin-left: 10px;
 
   background-image: url("play-pause-icon.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  /* Ensure the button is visible */
  display: inline-block;
  background-color: transparent;
  z-index: 10;
  position: relative;
}

div.control-container div.amplitude-play-pause.amplitude-paused {
  background-image: url("play-pause-icon.jpg");
}

div.control-container div.amplitude-play-pause.amplitude-playing {
  background-image: url("play-pause-icon.jpg");
}


  div.control-container div.amplitude-play-pause.amplitude-paused {
    background: url("play-pause-icon.jpg");
    background-size: cover; }
  div.control-container div.amplitude-play-pause.amplitude-playing {
    background: url("play-pause-icon.jpg");
    background-size: cover; }
    
    
  div.control-container div.meta-container {
    float: left;
    width: calc(100% - 84px);
    text-align: center;
    color: red;
    margin-top: 10px; }
    div.control-container div.meta-container span[data-amplitude-song-info="name"] {
      font-family: "Open Sans", sans-serif;
      font-size: 18px;
      color: #fff;
      display: block; }
    div.control-container div.meta-container span[data-amplitude-song-info="artist"] {
      font-family: "Open Sans", sans-serif;
      font-weight: 100;
      font-size: 14px;
      color: #fff;
      display: block; }
  div.control-container:after {
    content: "";
    display: table;
    clear: both; }

/*
  Small only
*/
@media screen and (max-width: 39.9375em) {
    div.control-container div.amplitude-play-pause {
    background-size: cover;
    width: 64px;
    height: 64px;
  }

  div.control-container div.meta-container {
    width: calc(100% - 74px);
  }
}

/*
  Large Only
*/
div.time-container {
  opacity: 0.5;
  font-family: 'Open Sans';
  font-weight: 100;
  font-size: 12px;
  color: #fff;
  height: 15px;
}

div.time-container span.current-time {
  float: left;
  margin-left: 5px;
}

div.time-container span.duration {
  float: right;
  margin-right: 5px;
}

/*
  Large Only
*/
progress.amplitude-song-played-progress {
  background-color: #000000;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  display: block;
  cursor: pointer;
  border: none;
}

progress.amplitude-song-played-progress:not([value]) {
  background-color: #000000;
}

progress[value]::-webkit-progress-bar {
  background-color: #000000; }

progress[value]::-moz-progress-bar {
  background-color: #00a0ff; }

progress[value]::-webkit-progress-value {
  background-color: #00a0ff; }

/*
  3. Layout
*/
div.bottom-container {
  background-color: #202136;
}

/*
  Large Only
*/
div#single-song-player {
  border-radius: 10px;
  margin-top: 5em;
  margin-right: auto;
  margin-bottom: 5em;
  margin-left: auto;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
  margin-top: 50px;
  max-width: 35em;
  height: 8em;
}

div#single-song-player img[data-amplitude-song-info="cover_art_url"] {
  width: 100%;
  height: 100%;
}

/*
  Small only
*/
@media screen and (max-width: 320px) {
  div.control-container {
    margin-top: .5em;
    width: 19em;
  }

  div#single-song-player img[data-amplitude-song-info="cover_art_url"] {
    visibility: hidden;
  }
}

@media screen and (max-width: 39.9375em) {
  div.control-container div.meta-container {
    width: calc(97% - 107px);
  }
}
