﻿/* css petertermaten - hamburger + dropdown  menu hor
kleuren: 
#666666 rgb(102, 102, 102) grijs - #666699 rgb(102, 102, 153) blauw - 
#808080 rgb(128, 128, 128) grijs menu - #e6e6e6 rgb(230, 230, 230) lichtgrijs menu
*/


 /* Add a black background color to the top navigation */
.navbar {
  background-color: #fff;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.navbar a {
  float: left;
  display: block;
  color: #808080;
  text-align: center;
  padding: 0.2em 0.6em;
  text-decoration: none;
  font-size:1em;
  font-weight:normal;
}

/* Add an active class to highlight the current page 
.active {
  background-color: #4CAF50;
  color: white;
} */

/* Hide the link that should open and close the navbar on small screens */
.navbar .icon {
  display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Style the dropdown button to fit inside the navbar */
.dropdown .dropbtn {
  font-size:1em;
  border: none;
  outline: none;
  color: #808080;
  padding: 0.2em 0.6em;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  border-bottom:0.1em #808080 solid;
/*  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: #808080;
  padding: 0.2em 1em;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a dark background on navbar links and the dropdown button on hover */
.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: #e6e6e6;
  color: #666699;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #e6e6e6;
  color: #666699;
  border-bottom:0.1em #808080 solid;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
  display: block;
}

/* When the screen is less than 900 pixels wide, hide all links, except for the first one ("Home"). 
Show the link that contains should open and close the navbar (.icon) */
@media screen and (max-width: 900px) {
  .navbar a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .navbar a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the navbar with JavaScript when the user clicks on the icon. 
This class makes the navbar look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 900px) {
  .navbar.responsive {
  	position: relative;
  	}
  .navbar.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  	}
  .navbar.responsive a {
    float: none;
    display: block;
    text-align: left;
  	}
  .navbar.responsive .dropdown {
  	float: none;
  	}
  .navbar.responsive .dropdown-content {
  	position: relative;
  	}
  .navbar.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  	}
} 



