.download, .hide, .fn, footer, .back {
  display: none;
}

html {
  background-color: #808080;
  -webkit-text-size-adjust:100%;
}

body {
  background-color: white;
  font-family: "Helvetica Neue", Helvetica, Arial;
  font-weight: 400;
  font-size: 1em;
  line-height: 1.6em;
  margin: auto;
  max-width: 1024px;
  display: flex;
  flex-direction: column;
  min-height: auto;
} 
a {
  text-decoration: none;
  color: #0000A4;
} 
a.enlarge {
  display: inline-block;     
  position: relative;    
  padding: 1.2em;     
  margin: -1.2em;
} 
a:hover {
  color: red;
}
.center a, .center-sub a, .extra a, .return a {
  font-style: italic;
  font-weight: bold;
}
header {
  background-color: #eeebd6;
}
nav {
  background-color: #e0cdb8;
}
header {
  height: auto;
  font-size: 1.15em;
  font-weight: 600;
  text-align: left;
  padding-left: 15px;
 
}
header p {
  margin: 0.3em;
}
header p a span {
  font-size: 0.9em;
  font-weight: 300;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
} 
nav ul li {
  height: auto;
  width: 16.6666%;
  float: left;
} 

nav a {
  text-align: center;
  font-size: 0.85em;
  font-weight: 500;
  padding-top: 0.3em;
  padding-bottom: 0.3em;
  display: block;
}
nav a:hover {
  color: red;
  background-color: #efe6dc;
}  
nav a.active {
  background-color: #e0b8c2;
}  

section {
  margin-left: 20px;
  margin-right: 20px;
} 
section ul li {
  margin-bottom: 1em;
} 
h1, h2, h3, h4 {
  color: #800080;
}
h1, h2 {
  text-align: center;
  margin-bottom: 0;
} 
.subtitle {
  font-size: 1.1em;
  margin-top: 0.1em;
  margin-bottom: 0.8em;
  font-weight: 300;
} 
h1 {
  font-size: 1.6em;
}
h2 {
  font-size: 1.4em;
}
h3 {
  font-size: 1.3em;
  text-align: center;
}
h4 {
  font-size: 1em;
  margin-bottom: 0;
}
.center-sub {
 list-style-type: none;
 padding-left: 0;
}
ul li span {
font-size: 0.9em;
}
sub,sup {
height: 0;
line-height: 1;
vertical-align: baseline;
position: relative;
} 
sub {
top: .5ex;
} 
sup {
bottom: 1ex;
}
table {
  background-color: #f7f6f5;
  font-size: 0.8em;
  line-height: 1.5em;
  text-align: left;
  margin: 10px;
  border: thin solid lightgray;
} 	
.popup {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  overflow: auto;
  pointer-events: none;
}
.popup:target {
  opacity: 1;
  pointer-events: auto;
}
.popup > div {
  width: 300px;
  position: relative;
  margin: 0 auto;
  padding: 10px 30px;
  box-shadow: 0px 0px 20px #4d4d4d;
  background-color: #fff;
  border-radius: 8px;
  font-size: 0.85em;
  line-height: 1.6em;
}
.close {
  float: right;
  margin-right: -20px;
  line-height: 10px;
  font-size: 2em;
  font-weight: bold;
}

  
@media screen and (min-width: 751px) {
  .extra, .download, footer {
  display: block;
  }
  .fn {
  display: inline;     
  }
  html {
  height: 100%;
  }
  section {
  flex: 1;
  }
  .back {
  display: block;
  float: left;
  font-size: 0.8em;
  }
  h1, h2, h3 {
  clear: left;
  }
  table td {
  padding-left: 10px;
  padding-right: 10px;
  }
  .center {
  margin: auto;
  border: thin solid lightgray;
  border-radius: 6px;
  box-shadow: 0px 0px 20px lightgray;
  padding-top: 15px;
  padding-right: 15px;
  display: table;
  }
  .center-sub {
  margin: auto;
  display: table;
  }
  .popup > div {
  width: 400px;
  margin: 20% auto;
  }
  .download {
  float: right;   
  margin: 0;
  }
  .extra a, .download a, .back a {
  font-style: italic;
  font-weight: bold;
  }
  footer {
  width: auto;
  height: auto;
  background-color: #eeebd6;
  }
  footer table {
  background-color: #eeebd6;
  margin:auto;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  border: none;
  }
}

@media screen and (pointer: fine) {
  .hide {
  display: inline;
  }
  body {
  font-size: 0.95em;
  }
  a.enlarge {
  padding: 0.5em;     
  margin: -0.5em;
  } 