body {
  font-family: -apple-system, sans-serif;
}

th {
  text-align: left;
}

td {
  text-align: left;
  vertical-align: middle;
  padding: 2px;
}

h3 {
  text-align: left;
}

table {
  width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

@media screen and (prefers-color-scheme: dark) {
  body {
    background: #1d1f21;
    color: #dfdfe0;
  }

  h1, h2, h3 {
    color: #ffffff;
  }
}

.orange {
  background-color: #ff9e20;
}

.green {
  background-color: #00ee00;
}

.red {
  background-color: #f41252;
}

.blue {
  background-color: #00928f;
}

.white {
  background-color: #ffffff;
}

.black {
  background-color: #000000;
}

.darkgray {
  background-color: #d5d5d5;
}

.flashing-green {
  border: 0px;
  background-color: #00ee00;
  box-shadow: 0 0 10px #00ee00, inset 0 0 10px #00ee00;
}

.flashing-orange {
  border: 0px;
  background-color: #ff9e20;
  box-shadow: 0 0 10px #ff9e20, inset 0 0 10px #ff9e20;
}

.flashing-red {
  border: 0px;
  background-color: #f41252;
  box-shadow: 0 0 10px #f41252, inset 0 0 10px #f41252;
}

.flashing-white {
  border: 0px;
  background-color: #ffffff;
  box-shadow: 0 0 10px #ffffff, inset 0 0 10px #ffffff;
}

.leds {
  text-align: center;
}

/* Page Layout */
.content {
  max-width: 700px;
  align-self: center;
  display: inline-block;
  text-align: left;
}

.fullwidth {
  width: 100%;
}

@media (min-width: 700px) {
  .content {
    min-width: 375px;
  }

  .centered {
    text-align: center;
  }
}

@media (max-width: 700px) {
  .content {
    width: 100%;
  }
}

/* Main element groupings */

.panel td {
    text-align: center;
    vertical-align: top;
}

.parameters tr td:first-child {
    text-align: center;
    vertical-align: top;
    width:1%;
}

.chart tr th {
  padding-right: 8px;
}

.chart tr td:first-child {
  width:1%;
}

.bordered {
  border: 1px solid;
  border-collapse: collapse;
  padding: 3px;
}

.led {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  border: 1px solid;
  text-align: center;
  display: inline-block;
  margin: 10px;
}

.led-small {
  height: 15px;
  width: 15px;
  border-radius: 50%;
  margin: auto;
}

/* just big circles - braids, clouds */

.bigknob {
  height: 55px;
  width: 55px;
  border-radius: 50%;
  border: 3px solid;
  text-align: center;
  display: inline-block;
  margin-right: 10px;
  margin-left: 10px;
}

.smallknob {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  border: 3px solid;
  text-align: center;
  display: inline-block;
  margin: 10px;
}

/* white knobs with wipers -rings, peaks */
.knob {
  margin: auto; /* this centers the block within it's container (usually a td) */
  padding: 5px;
  width: 50px;
  height: 50px;
  background-color: white;
  border: 5px solid;
  border-radius: 50%;
}

@media screen and (prefers-color-scheme: dark) {
  .knob {
    background-color: black;
  }
}

.knob-ccw {
  transform: translate(25px, 20px) rotate(140deg) translateX(15px);
  transform-origin: left;
}

.knob-cw {
  transform: translate(25px, 20px) rotate(40deg) translateX(15px);
  transform-origin: left;
}

.knob-center {
  transform: translate(25px, 20px) rotate(-90deg) translateX(15px);
  transform-origin: left;
}

.knob-wiper {
  width: 22px;
  display: block;
  height: 6px;
  background-color: white;
  color: green;
}

.att {
  margin: auto; /* this centers the block within it's container (usually a td) */
  width: 20px;
  height: 20px;
  background-color: black;
  border-radius: 50%;
}

.att-center {
  transform: translate(10px, 8px) rotate(-90deg) translateX(6px);
  transform-origin: left;
}

.att-ccw {
  transform: translate(10px, 8px) rotate(140deg) translateX(6px);
  transform-origin: left;
}

.att-cw {
  transform: translate(10px, 8px) rotate(40deg) translateX(6px);
  transform-origin: left;
}

.steel {
  background-color: #bbbbbb;
  text-align: center;
  max-width: 300px;
}

.att-wiper {
  width: 5px;
  display: block;
  height: 3px;
  background-color: white;
  color: green;
}

.button-black {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  border: 1px solid;
  text-align: center;
  display: inline-block;
  margin: 10px;
  background-color: #999999;
}

.lcd {
  width: 90%;
  height: 90px;
  border-radius: 5px;
  border: 1px solid;
  display: inline-block;
  background-color: #eeeeee;
}

.slider {
  margin: auto; 
  margin-top: 10px;

  width: 10px;
  height: 100px;
  border-radius: 2px;
  background-color: black;
  overflow: auto;
}

.slider-led {
  width: 6px;
  margin: 2px;
  height: 10px;
  border-radius: 0px;
  background-color: white;
  position: relative;
}

.jack {
  height: 16px;
  width: 16px;
  border-radius: 50%;
  border: 4px solid;
  border-color: #888888;
  text-align: center;
  display: inline-block;
  margin: 10px;
  background-color: black;
}

/* Disting I/o labels and text params */

.control {
     background-color: #000000;
     color: #ffffff;
     padding: 10px;
     margin: 3px;
     display: inline-block;
     border-radius: 4px;
     font-size: large;
}

.parameter {
     /*text-align: center; */
     width: 25%;
}

/* iOS-like button */

.button {
  background-color: #007dd8;
  border: none;
  color: white;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
}

a.button:visited {
  color:white;
}