/*#region Menu structure */
/* https://www.w3schools.com/howto/howto_css_dropdown_navbar.asp */

:root 
{
  --menu_background:darkgreen;
}


.navbar /* Bar across the page */
{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:var(--navbar_height);
  display: flex;
  z-index: 100;
  padding: 0 10px;
  box-sizing: border-box;

  overflow: visible;
  background-color: var(--menu_background);
  justify-content: center;
  align-items: center;
  text-align: center; 
}

.navbar a  /* All a inside the top bar and descendents */
{
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 8px 8px;
  text-decoration: none;
  border: 2px solid var(--menu_background);
  /* Border colour the same as background to prevent jumping on hover */
}

.dropdown /* div inside the top bar */
{
  overflow: visible;
  width: 120px;
  padding: 0px 8px;
  z-index: 2000;
  /* border: none; */
}

.dropdown .dropbtn/* Buttons inside divs in top row */
{
  font-size: 16px;
  border: 2px solid var(--menu_background);
  /* Border colour the same as background to prevent jumping on hover */
  outline: none;
  margin: 0 1px;
  color: white;
  padding: 8px 8px;
  background-color: inherit;
  font-family: inherit;
  width: 120px;
  overflow: visible;
  box-sizing: border-box;
}



.navbar a:hover,
.dropdown:hover .dropbtn:hover 
{
  border: 2px solid white;
  background-color: var(--menu_background);
}

.dropdown-content 
{
  display: none;
  position: absolute;
  background-color: var(--menu_background);
  min-width: 150px;
  box-shadow: 0px 8px 16px 4px rgba(0, 0, 0, 0.6);
  z-index: 3000;
}

.dropdown-content a,
.dropdown-content font 
{
  /* float: none; */
  color: white;
  padding: 2px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover 
{
  background-color: var(--menu_background);
  /* var(--dark_colour); */
}

.dropdown:hover .dropdown-content 
{
  border: 1px solid white;
  display: block;
}

/* Create a right-aligned (split) link inside the navigation bar */
.navbar a.split 
{
  /* float: right; */
  background-color: var(--border_colour);
  color: white;
}

