  :root {
    --cbwidth: 8vh; /* 8vmax (no work on old iPad (v9.3)*/
    --white: #ffffff;
  }


* {
  box-sizing: border-box;
}

html {
  height: 100%;
  width: 100%;
  margin: 0;
  overflow: hidden;
  touch-action: none; /* stop the friggin iOS gestures!!!! */
}

body {
  height: 100%;
  width: 100%;
  margin: 0;
  background: #492f45;
  font-family: Verdana, sans-serif;
  overflow: hidden;
}

h1 {
  color: white;
}
.orange {
  background-color: orange;
}

.absolutely {
  position: absolute;
}

canvas {
    position: absolute;
    left: 0px;
    top: 0px;
    background: #f5f5f2;
    cursor: crosshair;
}			

fieldset {
  position: absolute;
  width: auto;
  margin: 0 auto;
  display: flex;
  padding: 2px;		
}

.center {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
}

.centerText {
  text-align: center;
}

table {
  border: 3px solid black;
}

td {
  padding: 0px;
  text-align: center;
}

table.tdBig td {
  padding: 5px;
  text-align: center;
}

.grab {
  cursor: -webkit-grab; 
  cursor: grab;
  background-color: rgba(255, 255, 128, .5);
}

.bigbutton {
    font-size:4vmax;
    height: 30vmax;
    margin: 5px;
    padding: 0px;
    border-radius: 10px;
    background: antiquewhite;
    opacity: 0.8;
}

button {
  font-family: 'Palatino';
  font-size:35px;
  height:40px;
  margin: 5px;
  padding: 0px;
  border-radius: 8px;
}

.plist {
  font-size:3vmax;
  margin: 0px;
  padding: 0px;
}

.soundicon {
  position: absolute;
  font-size:2vmax;
  height: 3vmax;
  margin: 0px;
  padding: 0px;
  border-radius: 10px;
  background: rgb(177, 132, 73);
  opacity: 0.9;
  cursor: cell;
}

.stop-select {
    -webkit-user-select: none;  /* Chrome all / Safari all */
    -moz-user-select: none;     /* Firefox all */
    -ms-user-select: none;      /* IE 10+ */
    user-select: none;          /* Likely future */      
  }

  .stomp-select {
    -webkit-user-select: all;  /* Chrome all / Safari all */
    -moz-user-select: all;     /* Firefox all */
    -ms-user-select: all;      /* IE 10+ */
    user-select: all;          /* Likely future */      
  }

select {
  caret-color: red;
  font-family: 'Palatino';
  font-size:4vw;
}

.lowerLeft {
  position: absolute;
  left: 0px;
  bottom: 0px;
  width: 100%
}

.lower {
  position: absolute;
  bottom: 0px;
  width: 100%
}

flexbox {
  margin: 0 auto;
  display: flex;
  flex-direction: row;     /* make main axis horizontal (default setting) */
  justify-content: left; /* center items horizontally, in this case */
  align-items: center;     /* center items vertically, in this case */	
  }
flexbox.left {
  justify-content: left; /*  */
  align-items: stretch; 
  }

#line:checked { background-image: url(Bits/Lines.jpg); }
#line { background-image: url(Bits/Dots.jpg); }

#cont:checked { background-image: url(Bits/Cont.jpg); }
#cont { background-image: url(Bits/Int.jpg); }

#LFO:checked { background-image: url(Bits/LFO.jpg); }
#LFO { background-image: url(Bits/Freq.jpg); }

#notes:checked { background-image: url(Bits/Keyboard.jpg); }
#notes { background-image: url(Bits/Slider.jpg); }

#togSon:checked { background-image: url(Bits/Vol.jpg); }
#togSon { background-image: url(Bits/Mute.jpg); }

input[type=checkbox] {
  -webkit-appearance: none;
  position: relative;
  width: var(--cbwidth);
  height: calc(var(--cbwidth) / 2);
  background-size: calc(var(--cbwidth) / 1) calc(var(--cbwidth) / 2);
  border-radius: calc(var(--cbwidth) / 8);
  outline: none;
  transition: background-image .90s;
  opacity: 0.9;
  box-shadow: 0px 2px 5px 1px gray;
}

#inputty:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: calc(var(--cbwidth) / 2);
  width: calc(var(--cbwidth) / 2);
  background-color: navy;
  border-radius: calc(var(--cbwidth) / 8);
  transition: all 0.5s;
  opacity: 0.8;
  background-color: #F7CA33;
}

input:checked {
/*  background-image: url(Bits/Dots.jpg); */
  transition: background-image .90s;

}

input:checked:before {
  transform: translate(100%);
  transition: all 0.5s;
  background-color: #ECF0F3;
}

input[type=range] {
  width: 80%;
}
