 /* Add a black background color to the top navigation */
.topnav {
  background-color: inherit; 
  position: -webkit-sticky;
  position: sticky;
  position: fixed;
  top: 0;
  height:  42px;
  width: 100%;
  z-index: +2;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 10px 5px;
  text-decoration: none;
  font-size: 20px;
}

/* Add an active class to highlight the current page */
.active {
  background-color: #4CAF50;
  color: white;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
  float: left;
  overflow: hidden;
  /* background-color: inherit;  added this to try and make menu backgrounds work in explorer */
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
  font-size: 20px;
  border: none;
  outline: none;
  color: white;
  padding: 10px 10px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  /*background-color: #f9f9f9;*/
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: inherit;
  color: white;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
  background-color: inherit;
  color: black;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
  display: block;
}





.botnav {
  background-color: inherit; 
  position: -webkit-sticky;
  position: sticky;
  position: fixed;
  bottom: 0;
  height:  42px;
  width: 100%;
  z-index: +1;
}

/* Style the links inside the navigation bar */
.botnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 10px 10px;
  text-decoration: none;
  font-size: 20px;
}



.botbar {
  position: -webkit-sticky;
  position: sticky;
  position: fixed;
  bottom: 0;
  height:  42px;
  width: 100%;
  z-index: +1;
}





/* Style the pagination */
.pagination {
  list-style-type: none;
  padding: 10px 0;
  display: inline-flex;
  justify-content: space-between;
  box-sizing: border-box;
}
.pagination li {
  box-sizing: border-box;
  padding-right: 10px;
}
.pagination li a {
  box-sizing: border-box;
  background-color: #9e9e9e;
  padding: 8px;
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  color: #000;
  border-radius: 6px;
}
.pagination li a:hover {
  background-color: #f44336;
  color: #fff;
}
.pagination .next a, .pagination .prev a {
  font-size: 12px;
}
.pagination .currentpage a {
  background-color: #4CAF50;
  color: #fff;
}
.pagination .currentpage a:hover {
  background-color: #4CAF50;
}