/* Add a black background color to the top navigation */
.topnav {
  background-color: #333;
  margin-left: 18%;
  margin-right: 18%;
  position: fixed; /* Set the navbar to fixed position */
  z-index: 10;
  border-radius: 5px;
  border-width: 1px;
  border-color: white;
  border-style: solid;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */
.topnav a.active {
  background-color: #4f43ae;
  color: white;
}

FORM {
  height: .2em;
}

/* The dropdown container */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Dropdown button */
.dropdown .dropbtn {

  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}

/* Add a red background color to navbar links on hover */
.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: red;
}

/* 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: 11;
}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 5px 15px;
  text-decoration: none;
  display: block;
  text-align: left;
  font-size: 11px;
  font-weight: bold;
}


/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* On smaller screens, where height is less than 450px, change the style of the sidebar (less padding and a smaller font size) */
@media screen and (max-width: 1000px) {
  .topnav {  margin-left: 10%; margin-right: 10%;}
  .topnav a {font-size: 12px; padding: 7px 8px;}
  FORM {visibility: hidden;}
  INPUT {visibility: hidden;}
}