/* ---- COMMON WAVES DEMO
  $blue: #1f77b4;
  $lightGrey: #787878;
  // fonts
  $abel: 'Abel', sans-serif;
*/
@import url(http://fonts.googleapis.com/css?family=Abel);

html {
  font-size: 62.5%;
  min-height: 100%;
}

body {
  margin: 0;
  font-family: 'Abel', sans-serif;
  min-height: 100%;
}

#main {
  margin: 20px;
}

#footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  border-top: 1px dotted #dedede;
  padding: 20px 0;
}

#footer h4 {
  float: left;
  font-size: 2rem;
  line-height: 2rem;
  color: #1f77b4;
  padding-left: 20px;
  margin: 0;
  font-weight: normal;
}

#footer h4 span {
  font-size: 1.6rem;
}

#footer h4 span a {
  color: #47A0DE;
}

#footer h5 {
  float: right;
  font-size: 1.4rem;
  line-height: 2rem;
  color: #787878;
  padding-right: 20px;
  text-align: baseline;
  margin: 0;
  font-weight: normal;
}

.hidden {
  visibility: hidden;
}

.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* ---- spinner (cf. http://tobiasahlin.com/spinkit/) */
.spinner {
  position: absolute;
  margin-left: -25px;
  width: 50px;
  left: 50%;
  top: 40%;
  height: 30px;
  text-align: center;
  font-size: 10px;
}

.spinner > div {
  background-color: #787878;
  height: 100%;
  width: 6px;
  display: inline-block;

  -webkit-animation: stretchdelay 1.2s infinite ease-in-out;
  animation: stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.spinner .rect3 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

.spinner .rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

.spinner .rect5 {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}

@-webkit-keyframes stretchdelay {
  0%, 40%, 100% { -webkit-transform: scaleY(0.4) }
  20% { -webkit-transform: scaleY(1.0) }
}

@keyframes stretchdelay {
  0%, 40%, 100% {
    transform: scaleY(0.4);
    -webkit-transform: scaleY(0.4);
  }  20% {
    transform: scaleY(1.0);
    -webkit-transform: scaleY(1.0);
  }
}

/* ---- transport */
.transport-btn {
  cursor: pointer;
}

.transport-btn .bg {
  fill: rgba(30, 30, 30, 0.5);
  transition: fill 120ms ease;
}

.transport-btn:hover .bg {
  fill: rgba(30, 30, 30, 0.4);
}

/* play/pause button */
.transport-btn.btn-play-pause .play-shape,
.transport-btn.btn-play-pause .pause-shape rect {
  fill: #ffffff;
}

/* stop button */
.transport-btn.btn-play-pause.play .play-shape { display: block; }
.transport-btn.btn-play-pause.play .pause-shape { display: none; }
.transport-btn.btn-play-pause.pause .play-shape { display: none; }
.transport-btn.btn-play-pause.pause .pause-shape { display: block; }

.transport-btn.btn-stop .stop-shape {
  fill: #ffffff;
}

/* record shape */
.transport-btn.btn-record .record-shape {
  fill: #e6354c;
}

/* --- APP ---------------------------------- */

#main { overflow: auto; }

#controls {
  display: inline-block;
  width: 70%;
  padding: 10px;
  border-radius: 2px;
  background-color: rgba(200, 200, 200, 0.4);
  margin-bottom: 70px;
  position: relative;
  box-sizing: border-box;
}

#controls p {
  font-size: 1.3rem;
  font-style: italic;
  color: #242424;
  margin-top: 0;
}

#controls p a {
  color: #1f77b4;
}

#onset {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-block;
  background-color: white;
  position: absolute;
  right: 10px;
  bottom: 10px;
  opacity: 0.8;
}

#onset.active {
  background-color: green;
}

#timeline {
  width: 70%;
  float: left;
  margin-right: 6%;
  background-color: rgba(220, 220, 220, 0.1);
}

#timestamps {
  float: left;
  width: 24%;
  overflow: auto;
  height: 450px;
  outline: 1px solid grey;
  padding: 20px;
  background-color: #454545;
  position: relative;
  top: 16px;
  box-sizing: border-box;

}

#timestamps p {
  margin: 2px 0;
  color: white;
  font-family: monospace;
}
