#pagebody {
  padding: 5px; 
  background: white; 
}
#intro {
  max-width: 50em;
  color: #404040;
  font-size: 14px;
}

#buttons {
  font-size: 14px;
  color: #404040;
  padding: 5px;
  background-color: #66f0f0;	
}

.qh-expanding,.qh-collapsing  {
  text-decoration: underline;
}
#chart {
  position: relative;	
  width: 100%;
  padding-bottom: 57%;
}

#row {
 display: grid;
 grid-template-columns: auto 18em; 
 grid-gap: 5px;
 padding: 5px;
 background-color: #2196F3;
}
#row > div {
  background-color: white;
  padding: 5px;
}

:root {
    --activecol: #21AF36;
    --inactivecol: #d3d3d3;
}

/* sliders */

.slidecontainer {
  width: 100%; /* Width of the outside container */
}

/* The slider itself */
.slider {
  -webkit-appearance: none;  /* Override default CSS styles */
  appearance: none;
  /* width: 80%; *//* Full-width */
  height: 10pt; /* Specified height */
  background: var(--inactivecol); 
  outline: none; /* Remove outline */
  opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
  -webkit-transition: .2s; /* 0.2 seconds transition on hover */
  transition: opacity .2s;
}

/* Mouse-over effects */
.slider:hover {
  opacity: 1; /* Fully shown on mouse-over */
}

/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.slider::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  width: 14pt; /* Set a specific slider handle width */
  height: 14pt; /* Slider handle height */
  background: var(--activecol); /* Green background */
  cursor: pointer; /* Cursor on hover */
}

.slider::-moz-range-thumb {
  width: 12pt; /* Set a specific slider handle width */
  height: 12pt; /* Slider handle height */
  background: var(--activecol); /* Green background */
  cursor: pointer; /* Cursor on hover */
}

/* toggles */
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 24pt;
  height: 14pt;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The toggle */
.toggle {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--inactivecol);
  -webkit-transition: .4s;
  transition: .4s;
}

.toggle:before {
  position: absolute;
  content: "";
  height: 10pt;
  width: 10pt;
  left: 2pt;
  bottom: 2pt;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .toggle {
  background-color: var(--activecol);
}

input:focus + .toggle {
  box-shadow: 0 0 1px var(--activecol);
}

input:checked + .toggle:before {
  -webkit-transform: translateX(10pt);
  -ms-transform: translateX(10pt);
  transform: translateX(10pt);
}
