* {
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-size: 12pt;
  -webkit-text-size-adjust:none;
  -moz-text-size-adjust:none;
  -ms-text-size-adjust:none;
  -webkit-text-size-adjust:100%;
  -moz-text-size-adjust:100%;
  -ms-text-size-adjust:100%;
}

#site-container {
  position: relative;
  width: 100%;
  height: 100%;
  height: auto !important;
  min-height: 100%;
  background: rgb(255,255,255);
  color: $base-font-color;
  font-family: $sans-serif;
  -webkit-font-smoothing: antialiased; /* Necessary??? */
}

#main-container {
  width: 100%;
  max-width: 60em;
  background: var(--site-bg-color);
}

body.home-index, body.chapters-show, body.chapters-index {
  #main-container {
    max-width: none;
  }
}

body:not(.home-index):not(.chapters-show) {  
  section.container {
    margin-top: 3em;
  }
}

body {
  section.container {
    margin-bottom: 3em;
  }
}

a {
  color: rgb(55,55,55);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: $base-font-color;
  font-family: $sans-serif;
}

table {
  tr {
    border-bottom: 1px solid rgb(200,200,200);
    height: 50px;
    list-style: none;
    margin: 10px 0px;
    padding: 10px 0px;
    width: 100%;
  }
}
