/* TODO - include this in some other way than as html -linking? */
.debug-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 1px;
  min-width: 250px;
}

.debug-label-container {
  display: flex;
  flex-direction: row;
  margin-bottom: 1px;
  min-width: 250px;
}

.debug-label-container > label {
  text-align: left;
  flex-grow: 1;
}

.debug-label-container > input {
  flex-grow: 0;
}

.debug-row-container {
  display: flex;
  flex-direction: row;
  margin-bottom: 1px;
  min-width: 250px;
  position: relative;
}

.debug-row-container > input[type=text] {
  width:35px;
  margin-right: 4px;
}

.debug-row-container > label {
  position: absolute;
  margin-left: 4px;
  font-weight: 200;
  pointer-events: none;
}

input[type=range].slider {
  flex-grow: 1;
  margin: -0.05px 0;
  background-color: transparent;
  -webkit-appearance: none;
}
input[type=range].slider:focus {
  outline: none;
}
input[type=range].slider::-webkit-slider-runnable-track {
  background: #484d4d;
  border: 0;
  width: 100%;
  height: 25.1px;
  cursor: pointer;
}
input[type=range].slider::-webkit-slider-thumb {
  margin-top: 0.05px;
  width: 18px;
  height: 25px;
  background: #27ff6b;
  border: 0;
  cursor: pointer;
  -webkit-appearance: none;
}
input[type=range].slider:focus::-webkit-slider-runnable-track {
  background: #545a5a;
}
input[type=range].slider::-moz-range-track {
  background: #484d4d;
  border: 0;
  width: 100%;
  height: 25.1px;
  cursor: pointer;
}
input[type=range].slider::-moz-range-thumb {
  width: 18px;
  height: 25px;
  background: #27ff6b;
  border: 0;
  cursor: pointer;
}
input[type=range].slider::-ms-track {
  background: transparent;
  border-color: transparent;
  border-width: 0 0;
  color: transparent;
  width: 100%;
  height: 25.1px;
  cursor: pointer;
}
input[type=range].slider::-ms-fill-lower {
  background: #3c4040;
  border: 0;
}
input[type=range].slider::-ms-fill-upper {
  background: #484d4d;
  border: 0;
}
input[type=range].slider::-ms-thumb {
  width: 18px;
  height: 25px;
  background: #27ff6b;
  border: 0;
  cursor: pointer;
  margin-top: 0px;
  /*Needed to keep the Edge thumb centred*/
}
input[type=range].slider:focus::-ms-fill-lower {
  background: #484d4d;
}
input[type=range].slider:focus::-ms-fill-upper {
  background: #545a5a;
}
/*TODO: Use one of the selectors from https://stackoverflow.com/a/20541859/7077589 and figure out
how to remove the virtical space around the range input in IE*/
@supports (-ms-ime-align:auto) {
  /* Pre-Chromium Edge only styles, selector taken from hhttps://stackoverflow.com/a/32202953/7077589 */
  input[type=range].slider {
    margin: 0;
    /*Edge starts the margin from the thumb, not the track as other browsers do*/
  }
}
