.mdl-button--fab.mdl-button--colored, .mdl-button--fab.mdl-button--colored:hover, .mdl-button--fab.mdl-button--colored:active, .mdl-button--fab.mdl-button--colored:focus, .mdl-button--fab.mdl-button--colored:focus:not(:active) {
    background: #183D4E;
}
#play-pause-button.playing .material-icons:nth-of-type(2) {
    display: inherit;
}

#play-pause-button .material-icons {
    color: white;
    font-size: 1.5em;
    transform: translate(-1px,-1px);
}
.mdl-button .material-icons {
    vertical-align: middle;
}

.mdl-button--fab.mdl-button--colored {
    background: #ff4081;
    color: #fff;
}
.mdl-button.mdl-button--colored {
    color: #3f51b5;
}
.mdl-button--fab {
    border-radius: 50%;
    font-size: 1.5em;
    height: 7vw;
    margin: auto;
    min-width: 7vw;
    width: 7vw;
    padding: 0;
    overflow: hidden;
    background: rgba(158,158,158,.2);
    box-shadow: 0 1px 1.5px 0 rgba(0,0,0,.12),0 1px 1px 0 rgba(0,0,0,.24);
    position: relative;
    line-height: normal;
}
.mdl-button {
    background: 0 0;
    border: none;
    border-radius: 2px;
    color: #000;
    position: relative;
    height: 5vw;
    margin: 0;
    min-width: 8vw;
    padding: 0 10px;
    display: inline-block;
    font-family: "Roboto","Helvetica","Arial",sans-serif;
    font-size: 1em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0;
    overflow: hidden;
    will-change: box-shadow;
    transition: box-shadow .2s cubic-bezier(.4,0,1,1),background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1);
    outline: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    line-height: 3vw;
    vertical-align: middle;
}
.mdl-button--icon {
    border-radius: 50%;
    font-size: 1.4em;
    height: 4vw;
    margin-left: 0;
    margin-right: 0;
    min-width: 7vw;
    width: 4vw;
    padding: 0;
    overflow: hidden;
    color: inherit;
    line-height: normal;
}
 .mdl-button, .mdl-checkbox, .mdl-slider {
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(255,255,255,0);
}
.data.column {
    width: 10%;
    font-size: 0.7em;
}
.features.column {
    width: 10%;
        font-size: 0.7em;
    position: relative;
}
.hidden-layers.column {
	    font-size: 0.7em;
    width: 40%;
}
.output.column {
	    font-size: 0.7em;
    width: 30%;
}
.l--body {
  width: 60vw;
  margin-left: auto;
  margin-right: auto;
}

.l--page {
  width: 95vw;
  margin-left: auto;
  margin-right: auto;
}

header {
  border-bottom: solid 1px rgba(0,0,0,0.4);
  background-color: #183D4E;
  color: white;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  position: relative;
}

#top-controls {
  border-bottom: 1px solid #ddd;
  padding: 1vw 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  background: white;
}


#top-controls .container {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  justify-content: space-between;
}

#top-controls .timeline-controls {
  display: flex;
  align-items: center;
  margin-right: 1.5vw;
  width: 21vw;
}

#play-pause-button .material-icons {
  color: white;
  font-size: 1em;
  /*transform: translate(-2vw,-1.5vw);*/
}

#play-pause-button .material-icons:nth-of-type(2) {
  display: none;
}

#top-controls .control {
  flex-grow: 1;
  max-width: 25vw;
  min-width: 15vw;
  margin-left: 1vw;
  margin-top: 6px;
}

#top-controls .control .label,
#top-controls .control label {
  color: #777;
  font-size: 1em;
  display: block;
  margin-bottom: 6px;
  font-weight: 300;
}

#top-controls .control .value {
  font-size: 1em;
  margin: 0;
  font-weight: 300;
}

#top-controls .control .select {
  position: relative;
}

#top-controls .control select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: block;
  background: none;
  border: none;
  border-radius: 0;
  padding: 6px 0;
  width: 100%;
  font-size: 1em;
  border-bottom: solid 1px #ccc;
  color: #333;
  outline: none;
}

#top-controls .control select:focus {
  border-bottom-color: #183D4E;
}

#top-controls .control .select::after {
/*  class: "material-icons";
  content: "arrow_drop_down";
  color: #999;
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 1em;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  position: absolute;
  right: 0;
  top: 6px;
  pointer-events: none;*/
}
.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 1em;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
/* Hover card */
#hovercard {
  display: none;
  position: absolute;
  padding: 5px;
  border: 1px solid #aaa;
  z-index: 1000;
  background: #fff;
  cursor: default;
  border-radius: 5px;
  left: 240px;
  width: 150px;
  top: -20px;
}

#hovercard input {
  width: 60px;
}

/* Main Part*/

#main-part {
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  margin-top: 30px;
  margin-bottom: 50px;
  padding-top: 2px;
  position: relative;
}

#main-part .mdl-button {
    background-color: rgba(158,158,158,.1);
    width: 1.5em;
    height: 1.5em;
    min-width: 28px;
    max-width: 48px;
}
.hidden-layers h4 .mdl-button {
    margin-right: 5px;
}
#main-part h4 {
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: 1em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 8px;
  margin: 0;
  line-height: 1.4em;
}

#main-part p,
#main-part .column .label,
#main-part .column label {
  font-weight: 300;
  line-height: 0.9em;
  margin: 0;
  color: #777;
  font-size: 1em;
}

.more {
  position: absolute;
  left: 50%;
}

.more button {
  position: absolute;
  left: -28px;
  top: -28px;
  background: white;
}

.more button:hover,
.more button:active,
.more button:focus,
.more button:focus:not(:active) {
  background: white;
}

svg text {
  dominant-baseline: middle;
}

canvas {
  display: block;
}

.link {
  fill: none;
  stroke: #aaa;
  stroke-width: 1;
}

#heatmap {
  position: relative;
  float: left;
  margin-top: 10px;
}

#heatmap .tick line {
  stroke: #ddd;
}

#heatmap .tick text {
  fill: #bbb;
  dominant-baseline: auto;
}

#heatmap .tick:nth-child(7) text {
  fill: #333;
}

#heatmap .tick:nth-child(7) line {
  stroke: #999;
}


.data.column .dataset-list {
  margin: 20px 0 10px;
  overflow: hidden;
}

.data.column .dataset {
  position: relative;
  float: left;
  width: 6vw;
  height: 6vw;
  margin: 0 14px 14px 0;
}

.data.column .dataset:nth-of-type(2n) {
  margin-right: 0;
}

.data.column .data-thumbnail {
  cursor: pointer;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: 3px;
}

/*.data.column .dataset:first-of-type {
  margin-top: 8px;
}

.data.column .dataset:last-of-type {
  margin-bottom: 20px;
}*/

.data.column .data-thumbnail:hover {
  border: 2px solid #999;
}

.data.column .data-thumbnail.selected {
  border: 2px solid black;
  opacity: 1;
  box-shadow: 0 1px 5px rgba(0,0,0,0.2);
  background-color: white;
}

#main-part .data.column p.slider {
  margin: 0 -25px 20px;
}

#main-part .basic-button {
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  margin-top: 25px;
  height: 1.2em;
  margin-right: 0;
  width: 100%;
  display: block;
  color: rgba(0, 0, 0, 0.5);
  border: none;
  background: rgba(158,158,158,.1);
  border-radius: 3px;
  padding: 5px;
  font-size: 1em;
  text-transform: uppercase;
  font-weight: 500;
  outline: none;
  transition: background 0.3s linear;
  cursor: pointer;
}

#main-part .basic-button:hover {
  background: rgba(158,158,158,.3);
  color: rgba(0, 0, 0, 0.6);
}

#main-part .basic-button:focus {
  background: rgba(158,158,158,.4);
  color: rgba(0, 0, 0, 0.7);
}

#main-part .basic-button:active {
  background: rgba(158,158,158,.5);
  color: rgba(0, 0, 0, 0.8);
}

/* Features column */

.features.column {
  width: 10%;
  position: relative;
}

.features.column .plus-minus-neurons {
  position: absolute;
  text-align: center;
  line-height: 3vw;
  top: -8vw;
  width: 9vw;
  height: 5vw;
  font-size: 1em;
  z-index: 100;
}


.features.column .callout {
  position: absolute;
  width: 10vw;
  font-style: italic;
}

.features.column .callout svg {
  position: absolute;
  left: -15px;
  width: 4vw;
  height: 4vw;
}

.features.column .callout svg path {
  fill: none;
  stroke: black;
  stroke-opacity: 0.4;
}

.features.column .callout svg defs path {
  fill: black;
  stroke: none;
  fill-opacity: 0.4;
}

#main-part .features.column .callout .label {
  position: absolute;
  top: 3vw;
  left: 3px;
  font-size: 1em;
}

/* Network (inside features column) */

#network {
  position: absolute;
  top: 12vw;
  left: 0;
  z-index: 100;
}

#network svg .main-label {
  font-size: 1em;
  fill: #333;
  font-weight: 300;
}

.axis line {
  fill: none;
  stroke: #777;
  shape-rendering: crispEdges;
}

.axis text {
  fill: #777;
  font-size: 1em;
}

.axis path {
  display: none;
}

#network svg .active .main-label {
  fill: #333
}

#network svg #markerArrow {
  fill: black;
  stroke: black;
  stroke-opacity: 0.2;
}

#network .node {
  cursor: default;
}

#network .node rect {
  fill: white;
  stroke-width: 0;
}

#network .node.inactive {
  opacity: 0.5;
}

@-webkit-keyframes flowing {
  from { stroke-dashoffset: 0; } to { stroke-dashoffset: -10; }
}

#network .core .link {
  stroke-dasharray: 9 1;
  stroke-dashoffset: 1;
  /*-webkit-animation: 0.5s linear 0s infinite flowing;*/
}

/** Invisible thick links used for showing weight values on mouse hover. */
#network .core .link-hover {
  stroke-width: 8;
  stroke: black;
  fill: "none";
  opacity: 0;
}

#network .canvas canvas {
  position: absolute;
  top: -2px;
  left: -2px;
  border: 2px solid black;
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#network .canvas.inactive canvas {
  box-shadow: inherit;
}

#network .canvas.inactive canvas {
  opacity: 0.4;
  border: 0;
  top: 0;
  left: 0;
}

.hidden-layers.column {
  width: 40%;
}

#main-part .hidden-layers h4 {
  -webkit-justify-content: center;
  justify-content: center;
  margin-top: -5px;
}

.hidden-layers #layers-label {
  width: 15vw;
  display: inline-block;
}

.hidden-layers #num-layers {
  margin: 0 10px;
  width: 10px;
  display: inline-block;
}

.bracket {
  margin-top: 5px;
  border: solid 1px rgba(0, 0, 0, 0.2);
  border-bottom: 0;
  height: 4px;
}

.output.column {
  width: 35vw;
}

.metrics {
  position: relative;
  font-weight: 300;
  font-size: 1em;
  height: 11vw;
}

#linechart {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 10vw;
}
.metrics .train {
  color: #777;
}

#loss-test {
  color: black;
}

.output .output-stats .value {
  color: rgba(0, 0, 0, 0.6);
  font-weight: 300;
  display: inline;

}

g.train circle {
  stroke: white;
  stroke-width: 1;
  stroke-opacity: 0.8;
  fill-opacity: 0.9;
}

article {
  background: white;
  padding: 80px 0;
  box-shadow: 0 0px 4px rgba(0, 0, 0, 0.1);
}

article p {
  font-weight: 400;
  font-size: 1em;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.7);

}

.hide-controls {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
