body {
  font-family: arial;
  max-width: 44em;
  margin: 1rem;
  color: #3c484e;
  background-color: #fff;
  font-size: 1rem;
}

a {
  color: #26a8ed;
  text-decoration: none;
  background-color: transparent;
}

ol {
  margin: 0;
}

li {
  font-size: 1rem;
  line-height: 1.5em;
  margin: 0;
}

p {
  line-height: 2.2rem;
}

header {
  padding: 0;
  font-size: 1.6rem;
}

header h1 {
  margin: 0;
  /* text-transform: lowercase; */
  font-size: 1.7rem;
  text-align: center;
}
header h1 a,
header h1 a:hover {
  text-decoration: none;
  color: #3c484e;
}

header h2 {
  margin: 0.5em 0 0 0;
}

main h1 {
  text-transform: uppercase;
}

main h2,
main h3 {
  border-top-width:1px;
  border-top-style: solid;
  padding-top: 1em;
}

main h2 {
  border-top-color: #ccc;
}

main h3 {
  border-top-color: #eee;
  font-weight: bold;
}

a[name="top"] {
  display: block;
}

a.link-to-top {
  position: fixed;
  right: 20px;
  bottom: 40px;
  text-decoration: none;
  padding: 4px;
  z-index: 100;
  font-size: 1.5rem;
}

img.logo {
  width: 100%;
}

.page-index {
  padding: 0;
  list-style-type: none;
  background-color: #fff;
}

.page-index li {
  font-size: 1.5rem;
  vertical-align: top;
  line-height: 2em;
}

.page-index li a {
  text-decoration: none;
  padding: 0 1em;
  width: 100%;
  display: block;
}

.page-index li:hover {
  background-color: #efefef;
}

.sub-index {
  list-style-type: disc;
}

.sub-index li {
  display: block;
}

address ol {
  list-style-type: none;
  margin: 1em 0 0 0;
  padding: 0;
  font-size: 1.4rem;
}

address ol li {
  display: block;
}

@media (min-width: 900px) {

  body {
    margin: 0 auto;
  }

  header h1 {
    display: inline-block;
  }

  a.link-to-top {
    bottom: 5%;
    right: 0.5em;
    font-size: 1.2rem;
  }

  img.logo {
      width: 6rem;
      position: relative;
      top: 0.4rem;
      display: inline-block;
      /*ie-svg-fix:*/
      height: 100%;
  }

  .page-index {
    margin: 1em 0 0 0;
    font-size: 1rem;
    background-color: transparent;
    white-space: nowrap;
    /* text-align: left; */
  }

  .page-index li {
    font-size: 1rem;
    display: inline-block;
    margin: 0;
    padding: 0;
  }

  .sub-index {
    margin: 0;
    display: none;
    position: absolute;
    padding: 0;
    z-index: 1;
  }

  .sub-index li {
    display: block;
    background-color: #fff;
  }

  .page-index li:hover .sub-index {
    background-color: #fff;
    display: block;
    box-shadow: 8px 14px 38px rgba(39,44,49,.5), 1px 3px 8px rgba(39,44,49,.03);
  }
}
