html, body {
  margin: 0;
  padding: 0;

  font-family: "Helvetica Neue";
}

#podcast-player__wrapper {
  position: fixed;
  bottom: 0;
  left: 0;

  box-sizing: border-box;
  width: 100%;
  height: 90px;

  background-color: #404040;
  color: #FFFFFF;

  white-space: nowrap;

  transition: height .3s ease;
}

#podcast-player__wrapper.open {
  height: 100%;
}

#podcast-player__inner-wrapper {
  position: relative;
  height: 100%;
}

.podcast-player__thumb {
  position: absolute;
  top: 0;
  left: 0;

  display: block;
  width: 90px;
  height: 90px;
}

.podcast-player__thumb img {
  width: 100%;
}

.podcast-player {
  display: block;
  width: 100%;

  text-align: center;
  padding: 17px 90px;
  box-sizing: border-box;
}

#podcast-player__timers {
  position: absolute;
  top: 5px;
  left: 0;

  display: block;
  height: 12px;
  width: 100%;

  margin: 0;

  font-size: 12px;
  font-weight: bold;
  line-height: 12px;
  text-align: center;
}

.podcast-player__volume-controls {
  bottom: 0;

  display: block;
  max-width: 300px;
  height: 20px;
  margin: 10px auto 0;
}

.podcast-player__volume-controls span {
  display: block;
}

.volume-bar__container {
  height: 4px;
  background-color: #FFFFFF;
}

.volume-bar {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0%;
  height: 100%;
  background-color: #DE3A4A;
}

.volume-bar .level {
  box-sizing: border-box;
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: #FFFFFF;
  border: solid #7d1c1c;
  border-width: 5px 5px 5px 5px;
  border-radius: 100%;

  position: absolute;
  right: -8px;
  top: -6px;

  cursor: pointer;
}

#podcast-player__progress-bar {
  box-sizing: border-box;
  position: absolute;
  top: -10px;

  display: block;
  width: 100%;
  height: 10px;
  background-color: #EDEDED;

  transition: height .2s ease;
}

#podcast-player__progress-bar .progress--loaded {
  position: absolute;
  left: 0;
  display: block;
  width: 0%;
  height: 100%;
  background-color: #D3D3D3;
  z-index: 1;

  transition: width .3s linear;
}

#podcast-player__progress-bar .progress--played {
  position: absolute;
  top: 0;
  display: block;
  width: 0%;
  height: 100%;
  background-color: #DE3A4A;
  border: solid #7d1c1c;
  border-width: 0 0 2px 0;
  border-radius: 0 0 3px 0;
  z-index: 2;
}

#podcast-player__progress-bar .progress__seeker-bar {
  position: absolute;
  top: 0;
  display: none;
  width: 0%;
  height: 100%;
  background-color: #f1b0b6;
  z-index: 2;

  border-right: 3px solid #404040;
}

#podcast-player__progress-bar .progress__seeker-bar .time-preview {
  color: #404040;
  float: right;

  padding-right: 3px;

  line-height: 20px;
  font-size: 14px;
  font-weight: bold;
}

.podcast-player__controls {
  position: absolute;
  right: 0;
  top: 0;

  display: block;
  width: 90px;
  height: 100%;

  text-align: center;
}

#podcast-player__control-btn {
  position: relative;
  margin-top: 18px;

  width: 55px;
  height: 55px;
  background: #DE3A4A;
  border: solid #7d1c1c;
  border-width: 0 0 3px 0;
  border-radius: 100%;
  cursor: pointer;
  font-size: 14px;
  line-height: 40px;
}

#podcast-player__control-btn:focus {
  outline: 0;
  border: 1px solid hsl(210, 58%, 69%);
  box-shadow: 0 0 0 3px hsla(210, 76%, 57%, 0.5);
}

#podcast-player__control-btn.paused::after {
  position: relative;
  left: 5px;
  top: 8px;

  display: inline-block;
  content: '';
  border-style: solid;
  border-width: 15px 0 15px 25px;
  border-color: transparent transparent transparent white;
}

#podcast-player__control-btn.playing::after {
  position: relative;
  top: 8px;
  left: 1px;
  content: '';
  font-weight: bold;
  display: inline-block;
  background-color: transparent;
  width: 6px;
  height: 30px;
  border-right: 10px solid #FFFFFF;
  border-left: 10px solid #FFFFFF;
}

.podcast-player__podcast-title {
  display: block;
  width: 100%;

  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;

  margin: 10px 0 20px;
}

@media screen and (max-width: 480px) {
  #podcast-player__wrapper.closed .podcast-player__thumb {
    display: none;
  }

  #podcast-player__wrapper.open .podcast-player__thumb {
    display: block;
  }

  #podcast-player__wrapper .podcast-player__thumb {
    height: auto;
    width: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin-top: 90px;
  }

  .podcast-player {
    width: 100%;
    padding-left: 20px;
  }
}
