body {
  font-family: 'Open Sans', "Arial", sans-serif;
  font-size: 1em;
  line-height: 1.5;
  margin: 0;
}

body img {
  display: block;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 10px;
  padding-bottom: 10px;
}

body hr {
  border: 0.5px solid;
  color: gray;
  margin-top: 25px;
  margin-bottom: 25px;
}

body a {
  text-decoration: none;
  color: #0066ff;
  //border-bottom: 1px dotted #0066ff;
}

body a:hover {
  //text-decoration: underline;
  border-bottom: 1px dotted #0066ff;
}

section p{
  margin-left: 2em;
}

section h3{
  margin-left: 1em;
}

section h4 {
  margin-left: 2em;
}

section ul {
  margin-left: 30px;
}

section ol {
  line-height: 1.7;
  margin-left: 30px;
}

code {
  border-radius: 8px;
  //max-height: 600px;
  padding-left: 18px !important;
}

figure img {
  max-height: 400px;
}

/* override in the example section */
#Examples figure img {
  margin-left: 0;
  margin-right: 0;
  padding-right: 0;
  padding-left: 0;
  max-height: 600px;
  max-width: 100%;
  width: 100%;
}

.centered_nobullet_list {
  list-style-type: none;
  text-align: center;
  line-height: 1.3;
  padding: 0;
  margin-left: 0;
  margin-right: 0;
  -webkit-padding-start: 0;
}

div.Chapter{
  border-bottom: 0.5px gray solid;
  margin-top: 25px;
  margin-bottom: 25px;
  padding-bottom: 20px;
}

#inputcontext {
  color: yellow;
  font-size: 0.83em;
  font-family: "Arial",sans-serif;
  z-index: 1; /* Stay on top */
  height: 0; /* 0 width - change this with JavaScript */
  position: fixed;
  background-color: rgba(105,105,105,0.95);
  /*opacity: 0.5;*/
  overflow-y: hidden; /* Disable horizontal scroll */
  transition: 0.3s; /* 0.5 second transition effect to slide in the sidenav */
  /*bottom: 0px;*/
}

.context_white {
  color: white;
  font-size: 0.75em;
}

/* Chapter/Section header styles */
.chapter_title{
  font-size: 1.5em;
  color: #0069BF;
}

.section_title{
  font-size: 1.2em;
}

/* Nav Bar Styles */

.nav a {
  font-size: 0.8em;
  color: black;
}
.nav a:hover {
  font-weight: bold;
  border: none;
}
.nav ul {
  display: block;
  list-style-type: none;
  line-height:  1.1;
  margin: 1em 0 0 0;
  padding: 0 0.5em 0 0;
}
.nav li {
  margin-top: 0.1em;
  border-left: 3px white solid;
}
.nav li:hover {
  border-left: 3px #0066ff solid;
}
.nav li.active {
  border-left: 3px #F39C12 solid;
  font-weight: bold;
}
.nav_chapter {
  margin: 0 0 0 0em;
  padding: 0 0 0 1em;
}
.nav_section {
  margin: 0;
  padding: 0 0 0 2em;
}
#nav_button {
  position: absolute;
  top: 0;
  right: 0;
  line-height: 1;
  text-align: right;
  font-size: 3em;
  //background-color: #0066ff;
}
#nav_button a {
  //color: white;
  padding: 0 0.25em 0 0.25em;
  border: none;
}
#nav_button a:hover {
  font-weight: normal;
  color: #0066ff;
}
/* Chapter "Intro" */

/* "Cover" Item Control */
.main_title{
  padding-top: 20px;
  text-align: center;
  font-weight: bold;
  font-size: 1.5em;
  margin: 0;
}
/* the "subtitle" is the longer "A groundwater path..." line */
.sub_title{
  font-family: "Arial", sans-serif;
  text-align: center;
  font-style: italic;
  font-weight: normal;
  color: gray;
  padding: 0 0 1em 0;
  font-size: 1.30em;
  margin: 0;
}
#figure_logo_sspa img{
  padding-top: 0;
  display: block;
  width: 65%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}
#figure_logo_wloo img{
  padding-top: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 36%;
  height: auto;
}
#mp3du_sspa_logo img{
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 40%;
}

#title_disclaimer {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

/* For some of the example code sections*/
.input_key{
  color: LightBlue;
  display: inline-block;
}
.example_key{
  display: inline-block;
}


/* Figure Control */

figcaption{
  text-align: center;
  font-weight: bold;
  padding-top: 0.5em;
  padding-bottom: 1em;
}

.figRef{
  display: inline;
}

/* Equation Control */

.equation.large{
  font-size: 0.95em;
}

.eqRef {
  display: inline;
}

/* Dropdown/Hiding/Dropdown Descriptions */

.hidden{
  display: none!important;
}

select {
  border-radius: 3px;
  font-size: 0.8em;
  height: 30px;
  border: 1px solid #ccc;
  background-color: #D4E6F1; //#A9CCE3;
  margin-left: 10px;
  margin-right: 10px;
}

div.selection-desc {
  text-align: center;
  font-size: 1.1em;
  padding-top: 5px;
  padding-left: 1em;
}

div.download_file {
  text-align: center;
  font-size: 1.1em;
}

/* Table Control */

table {
  margin-left: auto;
  margin-right: auto;
  border-collapse: collapse;
  font-size: 0.8em;
} 

td {
  padding: 0.5em 0.75em 0.5em 0.75em;
}

th {
  padding: 0.5em 0.75em 0.5em 0.75em;
}

.table_label{
  text-align: center;
  font-weight: bold;
  padding-top: 5px;
}

/* Most Tables */

.table_body{
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 80%;
  margin-top: 0.5em;
  margin-bottom: 1.5em;
}

.table_body th {
  color: white;
  background-color: #0069BF;
}

.table_body tr {
  height: 3em;
}

.table_body .row_even {
  background-color: #EAF2F8;
}

.table_body .row_odd {
  //background-color: ;
}

/* Merged Row Tables */

.table_mergedrows{
  display: block;
  margin-top: 0.25em;
  margin-bottom: 0.5em;
}

.table_mergedrows th {
  color: white;
  background-color: #0069BF;
}

.table_mergedrows tr {
  height: 2em;
}

.tr_bottom {
  border-bottom: solid 1px gray;
  height: 2em;
}

/* Citations */
#References blockquote {
  text-indent: -1.5em;
  padding-left: 1em;
}

/* For Desktop only */
@media screen and (min-width: 0px) {
  #page_container {
    max-width: 960px;
    margin-right: auto;
    margin-left: auto;
  }

  #navigation {
    top: 0;
    height: 100%;
    position: fixed;
    overflow: auto;
    overflow-x: hidden;
    width: 250px;
  }

  #content_container {
    max-width: 660px;
    margin-left: 260px;
    margin-right: auto;
  }
}

/* For mobile only (phone) */
@media screen and (max-width: 700px) {

  body {
    font-family: 'Open Sans', "Arial", sans-serif;
    font-size: 0.7em;
    line-height: 1.5;
    margin: 0;
  }

  #page_container {
    width: 95%;
    margin-right: auto;
    margin-left: auto;
  }

  #navigation {
    display: block;
    top: 0;
    z-index: 3;
    height: 3.5em;
    position: fixed;
    overflow: auto;
    overflow-x: hidden;
    width: 100%;
    background-color: white;
    opacity: 0.90;
  }

  #content_container {
    margin-right: auto;
    margin-left: auto;
  }

  #nav_button {
    position: absolute;
    top: 0;
    left: 0;
    line-height: 1;
    text-align: left;
    font-size: 3.5em;
  }

  .nav ul {
    display: block;
    width: 100%;
    list-style-type: none;
    line-height:  1.2;
    margin: 3.5em 0 0 3em;
    padding: 0;
  }

  .nav a {
    font-size: 1.0em;
    color: black;
  }

  .equation {
    font-size: 0.6em !important;
    max-width: 90% !important;
    overflow-x: scroll;
  }

  table {
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
    font-size: 0.7em;
  } 

  figcaption{
    font-family: "Arial", sans-serif;
    font-size: 0.7em;
    text-align: center;
    font-weight: bold;
    padding-top: 0.0em;
    padding-bottom: 0.5em;
  }

  code {
    font-size: 0.6em;
    max-width: 95%;
  }

  select {
    max-width: 95%;
  }
}

/* For image magnify */