.program-instruction,
.ram-instruction {
  display: inline-block;
  width: 22%;
  padding: 3px;
  margin: 2px;
  background-color: #efefef;
}

#ram-header {
  margin-top: 5px;
  height: 4%;
}
#ram {
  height: 40%;
  overflow: scroll;
}

.ram-instruction {
  width: 39%;
}
.program-line-number,
.ram-line-number {
  display: inline-block;
  width: 12%;
  padding-right: 10px;
  padding: 3px;
  margin: 2px;
  background-color: #efefef;
}

.active .ram-instruction,
.active .ram-line-number,
.active .program-instruction,
.active .program-line-number {
  background-color: #dfd;
}

.header .ram-instruction,
.header .ram-line-number,
.header .program-instruction,
.header .program-line-number {
  background-color: #ddd;
  font-weight: bold;
}

.program-line-container {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  text-align: right;
}

#computer-ui {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#program-header {
  height: 4%;
}
#program-code {
  overflow: scroll;
  height: 89%;
}

#controls {
  height: 7%;
}

#file-controls {
  margin-bottom: 3px;
}

#right-panel {
  width: 80%;
  margin-left: 10px;
}
#clock-hz {
  display: inline-block;
}

#right-controls {
  float: right;
}

#left-controls {
  float: left;
}
button.down {
  background-color: #dfd;
}
