﻿small {
  font-size: 12px;
  text-align: center;
}


.moving-wave-repeat {
  background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,0) 2%, rgba(255,255,255,0.5) 6%, rgba(255,255,255,0) 7%, rgba(255,255,255,0) 100%);
  background-attachment: fixed;
  background-position-x: 0px;
  animation-duration: 10s;
  animation-delay: 1s;
  animation-name: stream-vertical;
  animation-iteration-count: 2;
  animation-timing-function: linear;
}

.moving-wave {
  background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,0) 2%, rgba(255,255,255,0.5) 6%, rgba(255,255,255,0) 7%, rgba(255,255,255,0) 100%);
  background-attachment: fixed;
  background-position-x: 0px;
  animation-duration: 10s;
  animation-delay: 1s;
  animation-name: stream-vertical;
  animation-iteration-count: 2;
  animation-timing-function: linear;
}

stream .ng-animate, loss .ng-animate {
  animation: 0s none !important;
  transition: 0s none !important;
}

.arrow-rotated {
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,0) 2%, rgba(255,255,255,0.5) 6%, rgba(255,255,255,0) 7%, rgba(255,255,255,0) 100%);
  background-attachment: fixed;
  background-position-x: 0px;
  animation-duration: 5s;
  animation-delay: 1s;
  animation-name: stream-horizontal;
  animation-iteration-count: 2;
  animation-timing-function: linear;
}

@keyframes stream-vertical {
  from {
    background-position-x: 0vw;
  }

  to {
    background-position-x: 100vw;
  }
}

@keyframes stream-horizontal {
  from {
    background-position-y: 0vh;
  }

  to {
    background-position-y: 100vh;
  }
}


md-dialog {
  min-width: 80%;
  min-height: 80%;
}

.img-logo {
  margin-right: 10px;
}

.md-padding {
  padding: 5px;
}

.menu-structure {
  padding: 15px;
}

md-select {
  margin-left: 10px;
  margin-right: 10px;
}

.outer-wrapper {
  padding: 0px;
}

.md-button.md-small {
  width: 20px;
  height: 20px;
  line-height: 20px;
  min-height: 20px;
  vertical-align: top;
  font-size: 10px;
  padding: 0 0;
  margin: 0;
}

.substructure {
  min-height: 30px;
  padding-bottom: 15px;
  flex-grow:1;
  flex-shrink:1;
}
.unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

_::-webkit-full-page-media, _:future, :root .substructure {
  flex-basis: 0;
}

.substructure-stream {
  min-height: 30px;
  height:100%;
}

.stream-span {
  min-height: 1px;
}

md-slider {
  margin-left: 10px;
  margin-right: 10px;
}

.structure-header {
  font-size: 14px;
  text-align: center;
  color: black;
}

a[ng-click] {
  cursor: pointer;
}

.energy-flow-wrapper {
  background-color: #e1e1e1;
  overflow: hidden;
}

structure md-card {
  background-color: #e1e1e1;
  padding: 0px;
  border-style: solid;
  border-radius: 8px;
  z-index: 10;
  position: relative;
}

stream-with-loss md-card {
  background-color: #e1e1e1;
  padding: 0px;
  border-style: solid;
  border-radius: 8px;
  z-index: 10;
  position: relative;
}

stream span {
  position: relative;
  z-index: 1;
}

.material-icons-white {
  color: black;
}

structure-transport md-card {
  background-color: #bcbcbc;
  padding: 0px;
  border-style: solid;
  border-radius: 8px;
  z-index: 10;
  position: relative;
}

  structure-transport md-card p {
    color: black;
    text-align: left;
  }

.stream {
  overflow: visible;
}

stream {
  display: flex;
}

.transport-md-card {
  background-color: #e1e1e1;
}

.energy-column stream .stream {
}


.energy-column structure stream .stream {
  padding-bottom: 0px;
}

md-card {
  margin: 0px;
}

structure md-card md-card {
  background: #bcbcbc /*linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%), #EBEBF0*/;
  margin: 0px;
  border-radius: 0px;
  border-style: none;
}

stream-with-loss md-card md-card {
  background: #bcbcbc /*linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%), #EBEBF0*/;
  margin: 0px;
  border-radius: 0px;
  border-style: none;
}

  stream-with-loss md-card md-card md-content {
    border-style: none;
    color: black;
  }

structure md-card md-card md-content {
  border-style: none;
  color: black;
}

structure md-card md-content {
  color: black;
}

stream-with-loss md-card md-content {
  color: white;
}

md-content.md-default-theme, md-content {
  background: none;
}

md-switch {
  padding: 10px;
}

.energy-column-margin {
  margin-left: -8%;
  margin-right: -8%;
  width: 26%;
}

.energy-column {
  overflow: visible;
}

structure {
  overflow: visible;
  flex-grow: 1;
}

loss {
  overflow: visible;
  margin-top: -10px;
}

.loss-stream {
  min-width: 1px;
}


.tooltip-left {
  margin-top: 0px !important;
  margin-left: -3% !important;
}

.tooltip-right {
  margin-top: 0px !important;
  margin-left: 3% !important;
}

.tooltip-mid {
  margin-top: 0px !important;
  margin-left: 0px !important;
}


.md-tooltip-left {
  margin-top: 15px !important;
  margin-left: -50px !important;
}

.md-tooltip-right {
  margin-top: 15px !important;
  margin-left: 50px !important;
}

.md-tooltip-loss {
  margin-top: 20px !important;
  margin-left: 50px !important;
}

.custom-tooltip {
  margin-top: 0px !important;
  margin-left: 0px !important;
}

@-webkit-keyframes slide {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 58px 0;
  }
}

/*.substructure:only-child {
  height: 100% !important;
}*/

/*.substructure-stream:only-child {
  height: 100% !important;
}*/

.footer {
  background-color: white;
  padding-right: 50px;
}

.transport-structure {
  /* Safari */
  -webkit-transform: rotate(-90deg);
  /* Firefox */
  -moz-transform: rotate(-90deg);
  /* IE */
  -ms-transform: rotate(-90deg);
  /* Opera */
  -o-transform: rotate(-90deg);
  /* Internet Explorer */
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

/* 
 * The bar:
 */

md-switch[disabled] .md-bar {
  background-color: rgba(51, 51, 51, .15); /* set disabled bar color */
}

/* 
 * The switch:
 */

md-switch .md-thumb {
  color: rgb(158,158,158); /* not selected switch color */
}

md-switch.md-checked .md-thumb {
  background-color: rgb(255,255,255); /* selected switch color */
}

md-switch[disabled] .md-thumb {
  background-color: rgb(255,255,255); /* disabled switch color */
}

/* 
 * Ripple effect
 */

md-switch .md-ink-ripple {
  color: rgb(255,0,0); /* not selected switch ripple color */
}

md-switch.md-checked .md-ink-ripple {
  color: rgb(92,184,92); /* selected switch ripple color */
}
