body {margin:0;font-family:Arial}

.topnav {
  overflow: hidden;
  background-color: #d1d2d4;
}

.topnav a {
  float: left;
  display: block;
  color: #000;
  text-align: center;
  padding: 5px 30px;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
}

.menuactive{
  background-color: #004a91;
  color: white;
}

.menuactive a{
  background-color: #004a91;
  color: white;
}

.dropdown .menuactive a{
  color: white;
}

.topnav .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}


.dropdown .dropbtn {
  font-size: 13px;    
  border: none;
  outline: none;
  color: black;
  padding: 5px 20px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-mcontent {
  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;
}

.dropdown-mcontent a {
  float: none;
  color: black;
  padding: 1px 6px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav a:hover, .dropdown:hover .dropbtn{
  background-color: #004a91;
  color: white;
}


.dropdown-mcontent a:hover {
  background-color: #004a91;
  color: white;
}


.dropdown:hover .dropdown-mcontent {
  display: block;
  margin:35px;
}


@media screen and (max-width: 600px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
    
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0px;
    top: 0px;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-mcontent {position: relative; margin:0px;}
  .topnav.responsive .dropdown .dropbtn .menuactive{
    display: block;
    width: 100%;
    text-align: left;
  }
  
  
}