@import url(https://fonts.googleapis.com/css?family=Roboto+Condensed:300italic,400italic,700italic,400,300,600,700);

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-size: 16px;
  color: #222;
  font-family: "Roboto Condensed", "Lucida Grande", sans-serif;
  line-height: 1.6;
  height: 100%;
  max-height: 100%;
  background-color: black;

  display: flex;
  flex-direction: column;
}
#location {
  background-color: #ddd;
  padding: 0 1em;
}

#menu {
  flex: 1;
  padding: 1em;
  background-color: #222;
}
#menu a, #menu a:visited {
  color: #BE995F;
}
#menu img {
  max-width: 100%;
}
.menu-toggle {
  cursor: pointer;
  margin-left: -1.25em;
  margin-right: 0.25em;
  color: #BE995F;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.menu-toggle.open {
}
.menu-toggle.closed {
}
#menu a {
  display: inline-block;
  width: 100%;
}
#menu li:nth-child(even) {
  background-color: #181818;
}
#menu li:hover {
  background-color: #333;
}
#menu li:nth-child(even):hover {
  background-color: #282828;
}

#table-of-contents {
  flex: 1;
  background-color: #ddd;
  padding: 1em;
}
#content {
  flex: 6;
  overflow: auto;
  background-color: #fff;
}
#page {
  padding: 0 2em;
}

#container {
  display: flex;
  overflow: auto;
  flex: 1;
  flex-direction: row;
  justify-content: space-around;
  overflow: hidden;
  height: 100%;
}

#content {
  font-size: 100%;
  max-width: 75%;
  height: 100%;
  margin: auto;
}
#footer {
  font-size: 75%;
  max-width: 75%;
  margin: auto;
  padding: 0.5em 1em;
  color: #fff;
}
p {
  max-width: 40em;
  padding: 0 1em;
}
p img, li img {
  height: 2em;
  vertical-align: middle;
}
h2 {
  border-bottom: 1px solid #dde;
}
h3 {
  border-bottom: 1px solid #dfdfef;
}
a {
  transition: .05s ease-in-out;
}
a, a:visited {
  color: #4166a0;
  text-decoration: none;
  font-weight: 600;
}
a:hover {
  color: #BE995F;
}
table {
  min-width: 40em;
}
th {
  color:#D5DDE5;;
  background:#1b1e24;
  border-bottom: 2px solid #9ea7af;
  border-right: 1px solid #343a45;
  font-size: 90%;
  font-weight: 100;
  padding: 6px 12px;
  text-align:left;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  vertical-align:middle;
}
th:first-child {
  border-top-left-radius:3px;
}
th:last-child {
  border-top-right-radius:3px;
  border-right:none;
}
tr {
  border-top: 1px solid #C1C3D1;
  border-bottom-: 1px solid #C1C3D1;
  color:#666B85;
}
tr:first-child {
  border-top:none;
}
tr:last-child {
  border-bottom:none;
}
tr:nth-child(odd) td {
  background:#EBEBEB;
}
tr:last-child td:first-child {
  border-bottom-left-radius:3px;
}
tr:last-child td:last-child {
  border-bottom-right-radius:3px;
}
td {
  background:#FFFFFF;
  padding: 0.25em;
  text-align:left;
  vertical-align:middle;
  font-size: 85%;
  border-right: 1px solid #C1C3D1;
}
td:last-child {
  border-right: 0px;
}

#table-of-contents {
}
.indent1 {
  margin-left: 0em;
}
.indent2 {
  margin-left: 1em;
}
.indent3 {
  margin-left: 2em;
}
.indent4 {
  margin-left: 3em;
}

#menu ul, #menu li {
  padding: 0;
  list-style: none;
}
#menu li {
  padding-left: 1em;
}

@media screen and (min-resolution: 200dpi) {
  body {
    font-size: 5vw;
    width: 100%;
  }
  #content { 
    font-size: 100%;
    width: 100%;
    max-width: 100%;
  }
  #footer {
    font-size: 50%;
    width: 100%;
    max-width: 100%;
  }
  h1 {
    font-size: 200%;
  }
  h2 {
    font-size: 175%;
  }
  h3 {
    font-size: 150%;
  }
  th {
    font-size: 90%;
  }
  td {
    font-size: 75%;
  }
}

@media screen and (min-resolution: 200dpi) and (orientation: landscape) {
  body {
    font-size: 2vw;
  }
}
