:root {
  --main-bg-color: #e6e6be;
  --navbar-width: 10em;
  --footer-height: 2em;
  --padding: 1em;
  --bg-color-code-block: #404040;
  --bg-color-code-inline: #606060;
  --border-color-code-inline: #606060;
}

html, body {
  background-color: var(--main-bg-color);
}

html {
  overflow-y: scroll;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

p {
    overflow: auto;
}

body {
  color: black;
  font-family: Arial;
  font-size: 12px;
  line-height: 1.5;
  margin: left;
}

input[type=text], input[type=password] {
  width: 100%;
  box-sizing: border-box;
}

input[type=button], input[type=submit], input[type=reset] {
  width: 100%;
  box-sizing: border-box;
}

.fit-width {
  display: inline flow-root;
}

.container {
  padding: 1em;
  background-color: #adadad;
  box-sizing: border-box;
}

.row:after {
  display: table;
  clear: both;
  content: "";
}


.footer {
  background: #c8c896;
  position: fixed;
  left: 0em;
  right: 0em;
  bottom: 0em;
  width: 100%;
  height: var(--footer-height);
  padding: var(--padding);
}

.menu {
  overflow: hidden;
  background: lightgray;
}

.menu a, .footer a {
  font-weight: bold;
  float: left;
  padding: .5em;
  text-decoration: none;
  color: black;
  display: block;
}

.menu a:hover, .footer a:hover {
  color: #404040;
}

.content {
  margin-left: 0em;
  margin-bottom: calc(3 * var(--padding) + var(--footer-height));
}

table {
  margin-bottom: 2em;
  border-collapse: collapse;
  display: block;
  overflow: scroll;
}

th, td {
  padding: .2em 1em;
  border: 1px solid black;
  text-align: left;
  vertical-align: middle;
}

th {
  background-color: #adadad;
}

tr:nth-child(odd) {
  background-color: #e0e0e0;
}

tr:nth-child(even) {
}

@media only screen and (min-width: 480px) {
  body {
    font-size: 14px;
  }
}
@media only screen and (min-width: 768px) {
  body {
    font-size: 16px;
  }
}

@media screen and (orientation: landscape) {
  .menu {
    float: none;
    height: 100%;
    width: var(--navbar-width);
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    overflow-x: hidden;
  }

  .menu a {
    float: none;
  }

  .content {
    margin-left: var(--navbar-width);
  }

  .footer {
    margin-left: var(--navbar-width);
  }
}

@media screen and (max-width: 600px) { }
