/* CSS */

/* reset styles
--------------------------------------------- */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1.5;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* main styles
--------------------------------------------- */
body {
  font-family: Verdana, Arial, sans-serif;
  font-size: 100%;
  line-height: 1.5em;
  background: #fff;
  color: #474747;
}

header {
  text-align: center;
  padding-top: 7em;
  padding-bottom: 2em;
}

main {
  font-size: 100%;
  text-align: left;
}

footer {
  font-size: 90%;
  line-height: 1.5em;
  text-align: center;
  padding-bottom: 4em;
  padding-top: 2em;
  border-top: 1px #ccc solid;
}

.wrapper {
  max-width: 780px;
  padding: 1em 5%;
  margin: 0 auto;
}

.figure {
  font-size: 90%;
  line-height: 1.5em;
  text-align: center;
  padding-top: 1em;
  padding-bottom: 3em;
}



ul {
  display: block;
  list-style: inside disc;
}
ul li {
  padding: 6px;
}

ul ul {
  display: block;
  list-style: inside circle;
}

ul ul li {
  margin: 0 0 0 15px;
}

.lablink li a {
  padding: 6px;
}

.lablink li a:visited {
  color: #800000;
}

h1 {
  font-size: 125%;
  line-height: 2em;
}

h2 {
  font-size: 110%;
  line-height: 1.5em;
  text-align: center;
}

h3 {
  font-size: 95%;
  font-weight: extended;
  background-color: #eee;
  line-height: 2em;
  padding: .25em 0 .25em .5em;
  margin-bottom: .25em;
  margin-left: -0.5em;
}

h4 {
  font-size: 90%;
  font-weight: bold;
  line-height: 2em;
}

a {
  color: #e40000;
  font-weight: bold;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #bc0000;
}

img {
  max-width: 100%;
}

hr {
  height: 1px;
  width: 67%;
}

.i-info {
  font-size: .80em;
  text-transform: uppercase;
  color: light-gray;
}

.small-text {
  font-size: .85em;
  font-style: italic;
}

/** navigation **/
.fixed-nav-section {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding-top: 1rem;
  width: 100%;
  height: 3em;
  background-color: #fefefe;
  -webkit-box-shadow: 0 4px 8px 0px #cccccc;
  -moz-box-shadow: 0 4px 8px 0px #cccccc;
  box-shadow: 0 4px 8px 0px #cccccc;
}

.menu {
  width: 95%;
  max-width: 780px;
  margin: 0 auto;
}

.menu a,
.menu a:visited {
  color: #e40000;
  text-decoration: none;
  padding: 8px;

}

.menu a:hover,
.menu a:target {
  color: #bc0000;
}

.menu-list {
  float: right;
}

.menu-list ul {
  margin-left: 0;
}

.menu-items {
  display: inline-block;
}

.sitename {
  display: inline-block;
  margin-right: 1.25em;
  margin-left: 0;
  font-weight: 600;
}

a.sitename,
a:visited.sitename {
  color: #e40000;
  text-decoration: none;
  padding: 6 8 10 8px;
}

a:hover.sitename {
  color: #bc0000;
}

.menu-items li {
  display: inline-block;
  margin-right: .625em;
  margin-left: .625em;
}

.menu-items a {
  text-decoration: none;
}

.show,
.hide {
  display: none;
  padding-left: 1em;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center left;
  color: #fefefe;
}

@media only screen and (max-width: 50em) {
  .menu {
    position: relative;
    width: 100%;
  }

  .sitename {
    position: absolute;
    top: 0;
    left: 2rem;
    margin-left: 0px;
  }

  .menu-list {
    float: none;
  }

  .menu-items {
    display: none;
    width: 100%;
    margin-top: 3em;
    background-color: #fefefe;
    border-bottom: 1px #cccccc solid;
    -webkit-box-shadow: 0 4px 8px 0 #cccccc;
    -moz-box-shadow: 0 4px 8px 0 #cccccc;
    box-shadow: 0 4px 8px 0 #cccccc;
  }

  .menu-items li {
    display: block;
    padding: 1em 0;
    text-align: center;
    border-bottom: 1px #ccc dotted;
  }

  .menu-items li:first-child {
    border-top: 1px #ccc dotted;
  }

  .menu-items li:last-child {
    border-bottom: none;
    /*padding-bottom: .5em;*/
  }

  .menu-items li a,
  .menu-items li a:visited {
    display: block;
    color: #e40000;
    padding: 6px;
  }

  .menu-items li a:hover {
    color: #bc0000;
  }

  .show,
  .hide {
    position: absolute;
    top: 0;
    right: 2em;
  }

  .show {
    display: inline-block;
  }

  .hide {
    display: none;
  }

  #menu:target .show {
    display: none;
  }

  #menu:target .hide,
  #menu:target .menu-items {
    display: inline-block;
  }
}

@media only screen and (max-width: 220px) {

  .sitename,
  .show,
  .hide {
    font-size: .875em;
  }
}