/* each cell of the grid */
.cell {
  position: relative;
  border-style: solid;
  border-radius: 8px;
  border-color: black;
  border-width: 1px;
  color: darkgray; /*TODO i'm not sure this is working? should it be background-color?*/

  width: 100%;
  height: 100%;
}

/* the style of a cell when triggered with a sound */
.triggeredSound {
  background-color: DeepSkyBlue;
}

/* the style of a cell when triggered with no assigned sound */
.triggeredBlank {
	background-color: LightCyan;
}

/* buttons inside the grid */
.cellButton {
  margin-top: auto;
  margin-bottom: 0px;

  vertical-align: bottom;

  position: absolute;
  bottom: 0;
}

/* the hotkey buttons inside cells */
.keyButton {
  right: 0;
}

/* when a hotkey button is waiting for a key */
.assigning {
	background-color: red;
}

#grid {
  padding-left: 20%;
  width: 80%;
}

#grid td {
  height: 5vw;
}

#grid tr {
  height: 8vw;
}

#recordButton {
  width: 7vw;
  border-radius: 50% 0 0 50%;
  border: black 5%;
  height: 7vw;
}

#playButton {
  width: 7vw;
  border-radius: 0 50% 50% 0;
  border: black 5%;
  height: 7vw;
}

#recordPlay {
  text-align: center;
  padding-bottom: 4%;
}

#recordTime {
	width: 6ch; /* "ch" is "0"-character-widths */
}

#volume-meter{
  width: 3vw;
  height: 7vw;
  margin-bottom: -3vw;
}

#waveform{
  border-radius: 5% 5% 5% 5%;
  border: black 5%;
  width: 15vw;
  height: 7vw;
}

