/*
@mixin showOnDemand( $height ) {

	max-height: 0;
	overflow: hidden;

	transition: max-height .5s;

	&.visible {
		max-height: $height;
	}

}
*/
*, *:before, *:after {
  box-sizing: border-box;
}

html, body, div, span, object, iframe, figure, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, code, em, img, small, strike, strong, sub, sup, tt, b, u, i, ol, ul, li, fieldset, form, label, table, caption, tbody, tfoot, thead, tr, th, td, main, canvas, embed, footer, header, nav, section, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: none;
}

footer, header, nav, section, main {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input {
  border-radius: 0;
}

html {
  font-family: "Droid Sans", "Roboto", sans-serif;
  font-size: 16px;
}

select {
  padding: 4px;
}

section.tab header {
  box-shadow: 0 -8px 8px rgba(0, 0, 0, 0.3);
  text-align: center;
  position: relative;
}
section.tab h1 {
  font-size: 22px;
  background-color: white;
  color: #16335e;
  padding: 6px 32px;
}
section.tab h2 {
  background-color: white;
  color: #16335e;
  padding: 3px 6px;
}

section.device header button {
  position: absolute;
  height: 28px;
  cursor: pointer;
  color: white;
  background-color: white;
  border: none;
}
section.device header button.script {
  width: 28px;
  height: 28px;
  text-indent: -9999px;
  top: 3px;
  right: 3px;
}
section.device header button.script:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background: url(../images/sprites.svg) no-repeat 0 0;
  width: 28px;
  height: 28px;
}
section.device header button.manual {
  width: 28px;
  height: 28px;
  text-indent: -9999px;
  top: 3px;
  left: 3px;
}
section.device header button.manual:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background: url(../images/sprites.svg) no-repeat -28px 0;
  width: 28px;
  height: 28px;
}
section.device object {
  width: 100%;
}

section.info {
  position: relative;
  background-color: #eeff00;
  color: black !important;
  padding: 6px;
}
section.info:after {
  position: absolute;
  top: 2px;
  right: 3px;
  content: "";
  width: 24px;
  height: 24px;
  background: url(../images/sprites.svg) no-repeat 0px -72px;
}
section.info.severe {
  background-color: #ffcc00;
}
section.info.severe:after {
  background-position: -24px -72px;
}
section.info div.severe {
  color: #bb0022 !important;
  font-weight: bold;
}

section.manual, section.script {
  box-shadow: inset 0 4px 4px rgba(0, 0, 0, 0.3);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  display: none;
  background-color: #204987;
}
section.manual.visible, section.script.visible {
  display: block;
}
section.manual label, section.script label {
  display: block;
  position: relative;
  margin: 3px;
  padding: 12px;
  border: 1px solid white;
  border-radius: 4px;
}
section.manual label input, section.manual label select, section.script label input, section.script label select {
  position: absolute;
  top: 4px;
  right: 4px;
}
section.manual div.step, section.script div.step {
  display: flex;
}
section.manual div.step label, section.script div.step label {
  flex-grow: 1;
  display: inline-block;
}
section.manual > section, section.script > section {
  padding: 8px;
}
section.manual > section h2, section.script > section h2 {
  margin: -8px -8px 0 -8px;
}
section.manual > section h3, section.script > section h3 {
  margin: 12px 0 4px 0;
  font-weight: bold;
}
section.manual > section h3:before, section.script > section h3:before {
  content: "= ";
}
section.manual > section h3:after, section.script > section h3:after {
  content: " =";
}

section.display {
  padding: 8px;
  text-align: center;
}

.powerguard {
  font-size: 26px;
}

.simulation {
  background: #f57900;
  color: #000;
  font-weight: bold;
  text-align: center;
  padding: 6px;
}

section.runstop button, section.loadsave button {
  position: relative;
  height: 28px;
  cursor: pointer;
  padding-left: 20px;
  margin: 6px;
}
section.runstop button.set, section.loadsave button.set {
  display: block;
  width: auto;
}
section.runstop button:disabled::before, section.loadsave button:disabled::before {
  opacity: 0.3;
}
section.runstop button[name=prev]:before, section.loadsave button[name=prev]:before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  background: url(../images/sprites.svg) no-repeat 0px -32px;
  width: 16px;
  height: 16px;
}
section.runstop button[name=next]:before, section.loadsave button[name=next]:before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  background: url(../images/sprites.svg) no-repeat -16px -32px;
  width: 16px;
  height: 16px;
}
section.runstop button[name=start]:before, section.loadsave button[name=start]:before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  background: url(../images/sprites.svg) no-repeat -32px -32px;
  width: 16px;
  height: 16px;
}
section.runstop button[name=stop]:before, section.loadsave button[name=stop]:before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  background: url(../images/sprites.svg) no-repeat -48px -32px;
  width: 16px;
  height: 16px;
}
section.runstop button[name=pause]:before, section.loadsave button[name=pause]:before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  background: url(../images/sprites.svg) no-repeat -64px -32px;
  width: 16px;
  height: 16px;
}
section.runstop button[name=resume]:before, section.loadsave button[name=resume]:before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  background: url(../images/sprites.svg) no-repeat -128px -32px;
  width: 16px;
  height: 16px;
}
section.runstop button[name=save]:before, section.loadsave button[name=save]:before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  background: url(../images/sprites.svg) no-repeat -80px -32px;
  width: 16px;
  height: 16px;
}
section.runstop button[name=load]:before, section.loadsave button[name=load]:before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  background: url(../images/sprites.svg) no-repeat -96px -32px;
  width: 16px;
  height: 16px;
}
section.runstop button[name=set]:before, section.loadsave button[name=set]:before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  background: url(../images/sprites.svg) no-repeat -112px -32px;
  width: 16px;
  height: 16px;
}

.runstopinfo {
  display: block;
  text-align: center;
  margin: 0px 10px 20px 10px;
  border: 1px solid white;
  border-radius: 4px;
  padding: 8px;
}

.buttongroup {
  text-align: center;
}

input {
  position: relative;
  border-radius: 4px;
  border: 1px solid #aaa;
}
input[type=number], input[type=text] {
  padding: 4px;
}
input[type=checkbox] {
  width: 24px;
  height: 24px;
  border: 2px solid black;
  background-color: white;
}
input[type=number] {
  width: 50px;
}
button.auto, button.override {
  position: absolute;
  top: 4px;
  right: 100px;
  padding: 4px;
  border: 2px solid white;
  border-radius: 4px;
  color: white;
  background-color: rgba(255, 255, 255, 0.5);
}
button.auto[value=on], button.override[value=on] {
  background-color: white;
  color: blue;
}
button.auto[value=off], button.override[value=off] {
  background-color: rgba(255, 255, 255, 0);
  color: white;
}

/*# sourceMappingURL=index.css.map */
