.wordwrap {
  /* used for the view functionality */
  white-space: pre-wrap;
  /* CSS3 */
  white-space: -moz-pre-wrap;
  /* Firefox */
  white-space: -pre-wrap;
  /* Opera <7 */
  white-space: -o-pre-wrap;
  /* Opera 7 */
  word-wrap: break-word;
  /* IE */
}

.footer {
  font-size: 100%;
  font-family: monospace;
  position: absolute;
  bottom: 0;
  left: 20px;
  text-align: left;
}

@media print {
  .footer {
    display: none;
  }
}

/* navbar css - https://www.w3schools.com/howto/howto_js_bottom_nav_responsive.asp */
.navbar {
  overflow: hidden;
  position: fixed;
  bottom: 0;
  min-width: 100px;
  background-color: #ebeef1;
}

.navbar a {
  float: left;
  display: block;
  color: black;
  text-align: center;
  padding: 1px 5px;
  text-decoration: underline;
}

.navbar a:hover {
  /*background-color: #ddd;*/
  color: black;
}

.navbar a.active {
  color: black;
}

.navbar .icon {
  display: none;
}

@media screen and (max-width: 600px) {
  .navbar a:not(:nth-child(2)) {
    display: none;
  }

  .navbar a {
    font-size: 17px;
  }

  .navbar a.icon {
    position: relative;
    left: 0;
    bottom: 0;
    /*float: left;*/
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .navbar.responsive .icon {
    position: absolute;
    left: 0;
    bottom: 0;
  }

  .navbar.responsive a:not(:first-child) {
    float: none;
    display: block;
    text-align: left;
    margin-left: 40px !important;
    margin: 20px;
  }
}

/* end of navbar */
/* overlay  from https://raventools.com/blog/create-a-modal-dialog-using-css-and-javascript/ */
#overlay {
  visibility: hidden;
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  text-align: center;
  z-index: 1000;
  font-family: sans-serif;
  font-size: medium;
}

#overlay div {
  width: 250px;
  margin: 100px auto;
  background-color: #fff;
  border: 1px solid grey;
  padding: 15px;
  text-align: center;
}

body {
  height: 100%;
  margin: 0;
  padding: 0;
}
