

/* Stations */
.padding {
  width: 100%;
  height: 12.5%;
}
.station {
  position: relative;
  width: 100%;
  height: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  -webkit-box-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-justify-content: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding-left: 5px;
  padding-top: 5px;
  padding-bottom: 10px;
  cursor: pointer;
  box-sizing: border-box;
}

.live {
  width: 8vw;
  height: 3vw;
  background-color: #cc1919;
  border-radius: 3px;
  font-weight: bold;
  color: #fff;
  font-size: 2.25vw;
  line-height: 3vw;
  display: inline-block;
  text-align: center;
  opacity: 0;
  text-shadow: none;
}

/* Playing Animation */
.playing {
  left: 50px;
  position: absolute;
  top: 50%;
  margin: -20px auto;
  width: 50px;
  height: 40px;
  text-align: center;
  font-size: 10px;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  display: none;
}
.playing > div {
  background-color: #fff;
  height: 100%;
  width: 6px;
  display: inline-block;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  -webkit-animation: wavy 1s ease infinite forwards;
  animation: wavy 1s ease infinite forwards;
  -webkit-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.33);
}
.playing .rect2 {
  -webkit-animation-delay: 0.25s;
  animation-delay: 0.25s;
}
.playing .rect3 {
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
}
.playing .rect4 {
  -webkit-animation-delay: 0.75s;
  animation-delay: 0.75s;
}
.playing .rect5 {
  -webkit-animation-delay: 1.0s;
  animation-delay: 1.0s;
}
@-webkit-keyframes wavy {
  0% {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
  50% {
    -webkit-transform: scaleY(0.6);
    transform: scaleY(0.6);
  }
  100% {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
}
@keyframes wavy {
  0% {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
  50% {
    -webkit-transform: scaleY(0.6);
    transform: scaleY(0.6);
  }
  100% {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
}

.btn {
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  opacity: 0.9;
  -webkit-filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.33));
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.33));
  -webkit-user-select: none;
  user-select: none;
}
.btn:hover {
  opacity: 1;
}
#playBtn0 {

 background-image: url('play2.png');
  width: 35px;
  height: 36px;
}
#pauseBtn0 {
  background-image: url('stop2.png');
  width: 35px;
  height: 36px;
  display: none;
}

#bar {
  position: absolute;
  top: 50%;
  left: 0;
  width: 50%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.33);
  opacity: 0.9;
  
}
/* Volume */
#volume {
  width: 250px;
  height: 100%;
  position: absolute;
  top: 0;
  padding-top: 5px;
  left: 105px; 
  /*background-color: rgba(0, 0, 0, 0.5);*/
  touch-action: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  display: block;
  
}
.bar {
  position: absolute;
  top: 50%;
  left: 0%; /* barin sijainti fadoutissa */
  margin: -5px auto;
  height: 7.5px;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.33);
}
#barEmpty {
  width: 250px; /*90%*/
  opacity: 0.5;
  box-shadow: none;
  cursor: pointer;
}
#barFull {
  width: 250px; /*90%*/
}
#sliderBtn {
  width: 25px;
  height: 25px;
  position: absolute;
  top: 70%;
  left: 240px; /* slide buttonin sijainti*/
  margin: -25px auto;
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.33);
  border-radius: 25px;
  cursor: pointer;
}
#audioSources {
  font-family: Verdana, "Lucida Grande", sans-serif;
  font-size: 10px;
  color: white;
  top: 20px;
  position: absolute;
  left: 400px;
  vertical-align: middle;
  display: inline-block;
}
.audioSourceRb {
  margin-top: -1px;
  vertical-align: middle;
}
