/* Base */
html {
  font-family: sans-serif;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
}
body {
  color: rgba(0,0,0,0.87);
  background-color: #FAFAFA;
  margin: 0;
  padding: 0;
}
a {
  color: #388e3c;
  background-color: transparent;
  text-decoration: none;
  border-bottom: solid 0.125rem #388e3c;
  padding-bottom: 0;
}
a:active, a:hover { outline: 0; }
h1 {
  font-size: 1.5em;
  margin: 0.67em 0;
}
h2 {
  font-size: 1.25em;
  margin: 0.5em 0;
}
.mono {
  font-family: monospace;
}
.main {
  max-width: 32rem;
  margin-right: auto;
  margin-left: auto;
  padding: 0 2rem;
}
.container {
  padding-bottom: 2rem;
}
.footer {
  position: fixed;
  bottom: 0;
}
.footer .main p {
  text-align: center;
  margin: 0;
  padding: 0;
}

/* Mobile head */
.nav > .tbl.tbl-mid,
.footer > .tbl.tbl-mid {
  color: #ffffff;
  display: table;
  width: 100%;
  table-layout: fixed;
}
.nav > .tbl.tbl-mid {
  background-color: #388e3c;
  height: 3rem;
}
.footer > .tbl.tbl-mid {
  font-size: 14px;
  background-color: #424242;
  height: 2rem;
}
.nav > .tbl.tbl-mid .col,
.footer > .tbl.tbl-mid .col {
  display: table-cell;
  vertical-align: middle;
}
.nav-item {
  display: block;
  position: relative;
  float: left;
  text-align: left;
  padding-right: 2rem;
}
.nav-item a {
  color: #ffffff;
  text-decoration: none;
}
.nav-item a:active, .nav-item a:hover {
  text-decoration: none;
  border-bottom: solid 0.125rem #ffffff;
  padding-bottom: 0.125rem;
}
.nav-item .icon { margin-right: 0.5rem; }

/* Desktop tail */
@media (min-width: 48rem) {
  .tbl {
    display: table;
    width: 100%;
    table-layout: fixed;
  }
  .tbl-mid .col { vertical-align: middle; }
  .col { display: table-cell; }
  .col-1 { width: 8.333333%; }
  .col-2 { width: 16.666667%; }
  .col-3 { width: 25%; }
  .col-4 { width: 33.333333%; }
  .col-5 { width: 41.666667%; }
  .col-6 { width: 50%; }
  .col-7 { width: 58.333333%; }
  .col-8 { width: 66.666667%; }
  .col-9 { width: 75%; }
  .col-10 { width: 83.333333%; }
  .col-11 { width: 91.666667%; }
  .col-12 { width: 100%; }
}
