body {
  background-color: #cccccc;
  font-size: 100%;
}

#container {
  background-color: #666666;
  width: 100%;
}

#top-header {
  background: url(img/grass_background_strip.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 2px black solid;
  color: #cccccc;
  box-sizing: border-box;
  margin: 0em 0em 0em 0em;
  padding: 1.5em 1em 1.5em 1em;
  width: 100%;
}

.main-title {
  margin: 0em;
  padding: 0em;
}

#nav-content-container {
  align-items: left;
  display: flex;
  flex-direction: row;
  max-width: 100%;
}

#main-menu {
  align-items: left;
  background-color: #99ccff;
  border-right: 2px solid black;
  display: flex;
  flex-direction: column;
  margin: 0em;
  padding: 1em 2em 1em 1em;
  width: 12em;
}

#main-menu a {
  text-decoration: none;
}

#main-menu a:hover {
  color: #339966;
}

#main-menu a:active {
  color: #00cc99;
}

.current-menu-link {
  color: #009933;
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  font-weight: bold;
}

.current-menu-link-button {
  border-color: #009966;
  border-style: solid;
  border-width: 0px 2px 0px 0px;
  margin: 0em 1.5em 0.5em 0em;
  padding: 3px;
  width: 100%;
}

.menu-link {
  color: #003300;
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  font-weight: normal;
}

.menu-link-button {
  border-color: #006600;
  border-style: solid;
  border-width: 0px 2px 0px 0px;
  margin: 0em 1.5em 0.5em 0em;
  padding: 3px;
  width: 100%;
}

#page-content {
  box-sizing: border-box;
  background-color: #ffffff;
  max-width: 90%;
  min-height: 500px;
  padding: 1em;
}

.code {
  font-family: "Courier New", Courier, monospace;
}

figure.active-pic {
  display: inline-block;
  margin: 0.5em;
  padding: 0.5em 0em;
  visibility: visible;
}

figure.inactive-pic {
  display: none;
  margin: 0.5em;
  padding: 0.5em 0em;
  visibility: hidden;
}

.pic-arrow {
  cursor: pointer;
  display: inline-block;
  padding: 2em 1em;
}

.active-arrow {
  background-color: #9999cc;
}

.inactive-arrow {
  background-color: #cccccc;
}

div.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

figure.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

img.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

figure {
  padding: 0.5em;
}

figure a {
  border: 0px;
}

figure img {
  margin-left: auto;
  margin-right: auto;
}

figcaption {
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  font-size: smaller;
  font-style: italic;
  padding: 0.5em 0.5em 0 0.5em;
  text-align: center;
}

.figure-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
}

.figure-gallery div {
  display: inline-block;
}

.text {
  font-family: Arial, Helvetica, sans-serif;
}

.text a:link {
  color: #3333cc;
}

.text a:visited {
  color: #333399;
}

.text a:hover {
  color: #3333ff;
}

.text a:active {
  color: #3366ff;
}

.title {
  font-family: "Lucidia Sans Unicode", "Lucidia Grande", sans-serif;
}

h1 {
  font-size: 2em;
  font-weight: normal;
}

h2 {
  font-size: 1.5em;
  font-weight: bold;
}

h3 {
  font-size: 1em;
  font-weight: bold;
}

h1.center, h2.center, h3.center, p.center {
  text-align: center;
}

#bottom-footer {
  background: url(img/clouds_background_thin_strip.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  border-top: 2px black solid;
  box-sizing: border-box;
  clear: left;
  padding: 0.5em 0em 0.5em 0em;
  width: 100%;
}

.footer-text {
  font-family: "Lucidia Sans Unicode", "Lucidia Grande", sans-serif;
  margin: 0em;
  padding: 0em;
  text-align: center;
}

@media screen and (max-width: 800px) {
  #nav-content-container {
    flex-direction: column;
  }
  
  #main-menu {
    border-bottom: 2px solid;
    border-right: none;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0em;
    padding: 0em;
    width: 100%;
  }
  
  .current-menu-link-button {
    border-style: none;
    margin: 0.25em 1em 0.25em 1em;
    width: auto;
  }
  
  .menu-link-button {
    border-style: none;
    margin: 0.25em 1em 0.25em 1em;
    width: auto;
  }
  
  #page-content {
    max-width: 100%;
  }
}
