.instructionModal {
    overflow: scroll;
}

.instructionModal .modal-content {
  max-height: 85vh;
  overflow-y: auto;
}

.instructionModal .modal-body {
    margin: 0 2rem;
}

.width100percent {
  width: 100%;
}

.modal-dialog {
  margin: 5rem auto;
}

div#instructionModal div.modal-dialog {
    width: 90%;
    max-width: 1000px;
}

.instructionModal h4 {
  color: var(--color-text-secondary);
  font-weight: bold;
}

.instructionModal .keybindings th,
.instructionModal .keybindings td {
  border: none;
  padding: 6px 16px;
}

.instructionModal .keybindings th {
  background-color: var(--color-bg-3);
  color: white;
  text-transform: uppercase;
}

.instructionModal .keybindings tr:nth-of-type(odd) {
  background-color: var(--color-bg-3);
}

.instructionModal .keybindings th:last-of-type,
.instructionModal .keybindings td:last-of-type {
  text-align: center;
}

.instructionModal .keybindings td {
  color: var(--color-bg-1);
}

.instructionModal .keybindings {
  display: flex;
  flex-direction: row;
  margin: 30px 0;
}

.instructionModal .keybindings section {
  flex: 1 0 50%;
}

.instructionModal .keybindings table {
  font-size: 1.4rem;
}

.instructionModal .keybindings table td,
.instructionModal .keybindings table th {
  border-style: solid;
  border-color: black;
}

.instructionImage {
  height: 125px;
  width: 400px;
}

.sensorModeImage {
  height: 185px;
  width: 90%;
}

.instructionModal .keybindings table .yellow-key {
  background-color:#fcfcb4;
}

.instructionModal .keybindings table .green-key {
  background-color:#b1fab5;
}

.instructionModal .keybindings table .red-key {
  background-color:#f9c6c2;
}

.instructionModal .keybindings table .magenta-key {
  background-color:#f3c2f9;
}

.instructionModal .keybindings table .blue-key {
  background-color:#aee6fd;
}

.instructionModal .keybindings table .teal-key {
  background-color:#c6faed;
}

.instructionModal .keybindings table .purple-key {
  background-color:#c290ff;
}

.instructionModal .sensor-mode-examples {
  margin-top: 30px;
}

#instructionModal .example-annotations table {
  text-align: center;
  margin: 20px 0;
  font-weight: bold;
}

#instructionModal .example-annotations table img {
  margin: 6px;
}

#instructionModal .example-annotations table .unsatisfactory:after,
#instructionModal .example-annotations table .acceptable:after {
  display: inline-block;
  font-size: 16px;
  margin-left: 6px;
}

#instructionModal .example-annotations table .unsatisfactory {
  color: var(--color-danger);
}

#instructionModal .example-annotations table .acceptable {
  color: var(--color-success);
}

#instructionModal .example-annotations table .unsatisfactory:after,
#instructionModal .sensor-mode-examples table .unsatisfactory:after {
  content: '\2717';
}

#instructionModal .example-annotations table .acceptable:after,
#instructionModal .sensor-mode-examples table .acceptable:after {
  content: '\2714';
}

#instructionModal .sensor-mode-examples table {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  font-weight: bold;
}

#instructionModal .sensor-mode-examples table img {
  height: 335px;
  margin: 6px;
}
#instructionModal .sensor-bar {
  width: 97%;
  margin-left: auto;
  margin-right: auto;
}

#instructionModal .sensor-bar img {
  width: 100%;
}

#instructionModal .sensor-mode-examples table .eo:after,
#instructionModal .sensor-mode-examples table .ir:after {
  display: inline-block;
  font-size: 30px;
  margin-left: 6px;
}

#instructionModal .example-training-module img {
  width: 100%;
}


#instructionModal .event-keyframe {
  width: 100%;
  padding-bottom: 15px;
}

#instructionModal .event-description {
  width: 60%;
  margin-left:30%;
}

#instructionModal .bdaLayout {
  width: 90%;
}

#instructionModal .bdaToolbar {
  text-align: center;
}

#instructionModal .bdaAlignImages {
  width: 60%;
}

#instructionModal .bdaPolygonDrawing {
  width: 80%;
}

#instructionModal .damageScoreWindow {
  width: 30%;
}

.max-width-900 {
  max-width: 900px;
}