.block {
  display: block;
  float: left;
  box-sizing: border-box;
}

.block-right {
  display: block;
  float: right;
  box-sizing: border-box;
}

.root-crate {
  width: 100%;
  height: 100%;
}

.root-containers {
  clear: both;
  display: grid;
  grid-template-columns: 560px 560px 560px;
  grid-template-rows: 320px 320px 320px 320px;
  grid-gap: 10px;
  margin: auto;
}

.header-crate {
  width: calc(100% + 16px);
  height: 40px;
  margin: -7px -10px 10px -8px;
}

.alert-container {
  width: calc(100% + 6px);
  margin: -7px -10px 10px -8px;
}

.header-title {
  /* font-size: large; */
  margin: 10px;
}

.container-crate {
  /* width: 100%; */
  display: block;
  -webkit-box-shadow: 4px 6px 6px -1px rgba(0, 0, 0, 0.55);
  -moz-box-shadow: 4px 6px 6px -1px rgba(0, 0, 0, 0.55);
  box-shadow: 4px 6px 6px -1px rgba(0, 0, 0, 0.55);
}

.container-nav-bar {
  width: 100%;
  padding: 5px;
  margin-bottom: 5px;
}

.container-title {
  font-size: small;
}

.container-content {
  height: calc(100% - 40px);
  width: calc(100% - 10px);
  margin: 5px;
  clear: both;
}

.memory-segments-crate {
  overflow-y: auto;
  height: 100%;
  width: 100%;
}

.memory-segments-line {
  clear: both;
  width: calc(100% - 10px);
}

.memory-segments-name {
  margin: 5px;
  width: 200px;
}

.memory-segments-address {
  margin: 5px 5px 5px 0px;
}

.memory-segments-table-desc {
  opacity: 0.6;
  font-size: small;
  width: 100%;
  height: 35px;
}

.memory-segments-input {
  width: 150px;
}

.icon {
  width: 25px;
}

.icon-segments-delete {
  margin-top: 2px;
}

.input {
  height: 30px;
  font-size: small;
  font-family: 'Lucida Console', Monaco, monospace;
}

.input-container {
  margin: 5px 5px 5px 5px;
}

.icon-segments-go {
  margin-top: 7px;
}

.alert-element {
  width: 100%;
  height: 30px;
  margin: 5px;
}

.alert-text {
  margin: 8px;
}

.alert-container-fixed {
  position: fixed;
  top: 0px;
  left: 0px;
}

.memory-viewer-column {
  margin-left: 5px;
  margin-right: 5px;
}

.memory-viewer-row {
  clear: both;
  margin: 2px 15px;
  /* height: 15px; */
}

.character {
  margin-left: 5px;
}

.byte-change {
  width: 26px;
  text-align: center;
  margin-left: 0px;
  font-size: small;
  height: 110%;
  margin: -3px -4px 0px 2px;
  /* padding: 2px 0px 0px 1px; */
  /* font-size: larger; */
  font-family: 'Lucida Console', Monaco, monospace;
}

.content-full {
  width: 100%;
  height: 100%;
}

.memory-viewer-data {
  width: 100%;
  height: calc(100% - 40px);
}

.element-header {
  width: 100%;
  height: 40px;
}

.control-button {
  width: 35px;
  height: 35px;
  margin-top: 2px;
}

.control-button-small {
  width: 30px;
  height: 30px;
  margin: 5px;
}

.memory-viewer-header {
  margin: -0px 0px 10px 15px;
}

.memory-viewer-input {
  width: calc(100% - 150px);
}

.page-permission-digit {
  margin: 0px 0px 0px 0px;
  cursor: pointer;
}

.new-page-permission-digit {
  margin: 10px 0px;
  font-size: larger;
  cursor: pointer;
}

.memory-segments-permissions {
  margin: 5px;
  width: 40px;
}

.registers-line {
  margin: 3px 0px 8px 0px;
  clear: left;
  width: 230px;
}

.registers-view {
  column-count: 2;
  width: calc(100% - 30px);
  margin: 15px;
  /* height: calc(100% - 20px); */
}

/* .registers-line:nth-of-type(2n+1) {
  clear: left;
} */

.registers-name {
  /* margin-right: 10px; */
  width: 70px;
}

.registers-value {
  margin-right: 0px;
  width: 150px;
}

.registers-header {
  margin: 0px 40px 0px 0px;
}

.registers-input {
  margin: -2px -20px -10px 0px;
  width: 175px;
  height: 25px;
}

.registers-page {
  margin: 10px 224px;
}

.font-bold {
  font-weight: bold;
}

.flags-page {
  /* width: calc(100% - 80px); */
  width: 470px;
  margin-top: 10px;
  text-align: center;
}

.flags-view {
  width: 100%;
}

.flags-line {
  margin: 8px;
  clear: left;
}

.flags-name {
  font-size: large;
  margin: -1px 10px 0px 0px;
  width: 70px;
  text-align: right;
}

.flags-value {
  margin: 0px 10px;
  width: 30px;
}

.flags-bits {
  margin: 0px 10px;
}

.flags-input {
  margin: -8px 8px;
  width: 34px;
}

.header-buttons {
  margin: 5px;
}

.header-icon {
  width: 30px;
}

.clear-left {
  clear: left;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
  border-radius: 24px;
}

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

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider:before {
  -webkit-transform: translateX(23px);
  -ms-transform: translateX(23px);
  transform: translateX(23px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 20px;
}

.slider.round:before {
  border-radius: 50%;
}

.config-line {
  margin: 5px;
  width: calc(100% - 20px);
}

.config-name {
  margin: 3px 10px 0px 10px;
}

.config-check {
}

.line {
  margin: 0px 0px 45px 0px;
  width: calc(100% - 20px);
}

.console-display {
  overflow-wrap: anywhere;
  margin: 0px 5px;
  width: calc(100% - 10px);
  height: calc(100% - 45px);
  padding: 5px;
  font-size: small;
  white-space: pre-wrap;
  overflow-y: auto;
  overflow:auto; display:flex; flex-direction:column-reverse;
  line-height: 15px;
}

.console-input {
  margin: 10px 5px 10px 0px;
  width: calc(100% - 60px);
  padding: 5px;
}

.full {
  width: 100%;
  height: 100%;
}

.console-prompt {
  width: 50px;
  height: 30px;
  padding: 5px;
  margin: 10px 0px 5px 5px;
}