html, body {
  padding: 0;
  margin: 0;
}

body {
  background-color: #FFF;
  font-family: 'Lato', Helvetica, sans-serif;
  color: #333;
}

ul {
  margin: 0;
  padding-left: 20px;
}

h1 {
  font-family: 'Oswald', Helvetica, sans-serif;
  font-size: 1.5em;
  font-weight: 500;
  text-align: center;
}

code {
  font-size: 1.15em;
  font-weight: bold;
}

.fs_wrapper {
  width: calc(100% - 80px);
  background-color: #FFF;
  margin: 20px auto;
  padding: 20px;
}

.fs_filesystem_container {
  width: 100%;
  display: flex;
  flex-direction: column;
  border-top: 6px solid #444;
}

.fs_header {
  display: flex;
  border-left: 4px solid #444;
  border-right: 6px solid #444;
  border-bottom: 6px solid #444;
}

.fs_block_numbers {
  display: flex;
  font-weight: bold;
  padding: 4px 0;
}

.fs_block_numbers .fs_block {
  text-align: center;
  padding: 0;
  font-size: 0.8em;
  border: 0;
}

.fs_footer {
  display: flex;
  font-weight: 500;
  font-family: 'Oswald', Helvetica, sans-serif;
}

.fs_footer div {
  padding: 5px 0;
  margin: 0 1px;
  border-bottom: 1px solid #444;
  border-right: 1px solid #444;
  border-left: 1px solid #444;
}

.fs_footer div:first-child {
  margin-left: 0;
}

.fs_footer div:last-child {
  margin-right: 0;
}

.fs_header .fs_boot_super {
  background: #DDD;
}

.fs_block {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  color: #444;
  text-align: center;
  align-items: top;
  font-size: 1em;
  border-left: 2px solid #444;
}

/* .fs_block_cell {
  display: flex;
  flex: 1;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: top;
  align-items: top;
  color: #444;
  border-left: 2px solid #444;
  
}

.fs_block_cell div {
  flex: 1;  
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0;
  flex-wrap: wrap;
  font-size: 0.6em;
  height: 10px;
  
  font-size: 0.62em;
  font-weight: 600;
  text-align: center;
}

.fs_cell {
  height: 10px;
  width: calc(6.25%);
} */

.fs_block_top_content {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: top;
  color: #444;
  border-left: 2px solid #444;
}

.fs_ellipses_column {
  flex: 0.4;
}

.fs_ellipses_column_bg {
  background: repeating-linear-gradient(
    -55deg, #EFEFEF, #EFEFEF 4px, #EAEAEA 5px, #EAEAEA 8px
  );
}

.fs_header .fs_block:last-child {
  border-right: 4px solid #444;
}

.fs_block_with_rows {
  counter-reset: inode-number;
}

.fs_block_with_rows:nth-child(2) {
  counter-reset: inode-number 16;
}

.fs_block_with_rows:last-child {
  counter-reset: inode-number 240;
}

.fs_block_with_rows .fs_row,
.fs_file_block_with_rows .fs_row,
.fs_indir_block_with_rows .fs_row {
  counter-increment: inode-number;
  font-size: 0.6em;
  font-weight: 900;
  text-transform: uppercase;
  justify-content: center;
}

.fs_file_block_text {
  font-family: "Fira Mono", monospace;
  font-size: 0.64em;
  line-height: 0.9em;
  font-weight: 500;
  text-align: justify;
  word-break: break-all;
  padding: 3px 5px;
}

.fs_file_block_with_rows .fs_row,
.fs_indir_block_with_rows .fs_row {
  justify-content: space-between;
  text-align: left;
  align-items: left;
  padding: 0 5px;
}

.fs_file_block_with_rows .fs_row:before {
  content: counter(inode-number)".";
  color: #777;
}

.fs_file_block_with_rows .fs_row.row_has_content:before {
  content: counter(inode-number)".  direntv6 ";
  color: #777;
}

.fs_file_block_with_rows:first-child .fs_row:nth-last-child(2),
.fs_indir_block_with_rows .fs_row:nth-last-child(2) {
  text-align: center;
  justify-content: center;
  align-items: center;
  font-size: 0.8em;
  padding-top: 0;
  margin-top: -4px;
}


.fs_file_block_with_rows:first-child .fs_row:last-child:before {
  content: "32.";
}

.fs_file_block_with_rows:first-child .fs_row:nth-last-child(2):before {
  content: none;
}

.fs_indir_block_with_rows .fs_row:before {
  content: counter(inode-number)".";
  color: #777;
}

.fs_indir_block_with_rows .fs_row.row_has_content:before {
  content: counter(inode-number)".  Block # ";
  color: #777;
}

.fs_indir_block_with_rows .fs_row:last-child:before {
  content: "256.";
}

.fs_indir_block_with_rows .fs_row:nth-last-child(2):before {
  content: none;
}

.fs_block_with_rows .fs_row:after {
  content: "inode "counter(inode-number);
}

/* add extra space between 2-digit numbers in first inode block */
.fs_block_with_rows:first-child .fs_row:nth-last-child(-n+7):before {
  content: "  ";
  white-space: pre;
}

.fs_row {
  flex: 1;  
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-bottom: solid 1px gray;
  padding: 1px 0;
}

.fs_cell {
  flex: 1;  
  display: flex;
  width: 30px;
  height: 30px;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  border-bottom: solid 1px gray;
  padding: 0;
}

.fs_row:last-child {
  border-bottom: 0;
}

.fs_tiny {
  font-size: .6em;
  font-weight: bold;
  text-transform: uppercase;
  padding: 1px 0;
}

.fs_big {
  font-size: 1.6em;
  font-weight: bold;
}

.fs_boot_super {
  flex: 2;
  order: 1;
  display: flex;
  justify-content: space-around;
  flex-wrap: no-wrap;
}

.fs_inodes {
  flex: 4;
  order: 2;
  display: flex;
  justify-content: space-around;
  flex-wrap: no-wrap;
}

.fs_file_blocks {
  flex: 5;
  order: 3;
  display: flex;
  justify-content: space-around;
  flex-wrap: no-wrap;
  overflow-x: auto;
}

#fs_data_wrapper {
  margin: 20px auto;
  max-width: 1000px;
  
  display: flex;
  align-items: top;
  justify-content: space-around;
  flex-wrap: wrap;
}

.fs_data, .fs_summary {
  display: flex;
  flex: 1;
  max-width: 450px;
  min-height: 300px;
  flex-direction: column;
  justify-content: space-around;
  margin: 0 10px;
}

.fs_content {
  font-size: 0.9em;
  line-height: 1.4em;
  background: #FFF;
  border: 10px solid #444;
  padding: 10px;
  flex: 1;
}

.fs_data_title {
  font-size: 1.1em;
  font-family: 'Oswald', Helvetica, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.fs_blue {
  background: #C1DEFF;
  color: #2660A4;
}

.fs_gold {
  background: #fff7b5;
  color: #736431;
}

.fs_gold_border {
  border-color: #8c7c44;
  background: #FFF;
  color: inherit;
}

.fs_active:hover {
  cursor: pointer;
}