/* ---- 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: 2px;
}

#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 h5 {
  float: right;
  font-size: 1.4rem;
  line-height: 2rem;
  color: #787878;
  padding-right: 20px;
  text-align: baseline;
  margin: 0;
  font-weight: normal;
}


/* ---- 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);
  }
}


/* ---- APP -------------------------------- */
#session-container {
  padding: 0;
  margin: 0;
  list-style-type: none;
  position: relative;
}

.track-container {
  overflow: auto;
  border-bottom: 1px solid #ffffff;
  box-model: border-box;
  height: 100%;
}

.track-container .controls-container {
  height: 100%;
  background-color: #efefef;
  float: left;
  width: 240px;
  border-right: 1px solid white;
  box-sizing: border-box;
}

.track-container .controls-container h4 {
  margin: 10px;
  color: rgba(10, 10, 10, 0.9);
  font-weight: normal;
  font-size: 1.2rem;
}

.track-container .svg-container {
  height: 100%;
  float: left;
}

/* GLOBAL LAYERS */
.track-container.global {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: none;
  pointer-events: none;
}

.track-container.global .controls-container {
  background-color: transparent;
}

.track-container.global .svg-container {
  background-color: transparent;
}

/* AXIS TRACK */
#reset {
  width: 100px;
  height: 20px;
  border: none;
  background-color: rgba(30, 30, 30, 0.5);
  color: #ffffff;
  border-radius: 2px;
  display: inline-block;
  position: relative;
  top: -2px;
  left: 82px;
  cursor: pointer;
  transition: background-color 120ms ease;
  text-transform: uppercase;
}

#reset:hover {
  background-color: rgba(30, 30, 30, 0.4);
}

#reset:focus {
  outline: none;
}

/* ---- common */
.transport-btn {
  cursor: pointer;
  position: relative;
  top: 4px;
  left: 10px;
}

.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-stop .record-shape {
  fill: #e6354c;
}

