
.topnav {
  overflow: hidden;
  background-color: #333;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: calc(.90em + 0.5vw);
  border-right:solid 1px #fff;
}

.active {
  background-color: #4CAF50;
  color: white;
}

.topnav .icon {
  display: none;
}

.dropdown {
    float: left;
    overflow: hidden;
	border-right:solid 1px #fff;
}
.dropdown .dropbtn {
    font-size: calc(.90em + 0.5vw);    
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0px;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(204, 204, 204);
    min-width: 174px;
	max-width:174px;
    z-index: 1;
}
.dropdown-content-last {
    display: none;
    position: absolute;
    background-color: rgba(204, 204, 204);
    min-width: 174px;
	max-width:174px;
    z-index: 1;
	margin-left:-60px;
}
@media screen and (max-width: 1000px) {
  .dropdown-content-last{
    margin-left:0px;
  }
}

.dropdown-content a, .dropdown-content-last a {
    float: none;
    color: #000;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
	border:0px;
	border-top:solid 1px #000;
}

.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #800000;
  color: white;
}

.dropdown-content a:hover, .dropdown-content-last a:hover {
    background-color: #800000;
    color: white;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropdown-content-last {
    display: block;
}

@media screen and (max-width: 1000px) {
  .topnav a, .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
	background-color:#444444;
	color:#fff;
  }
  .topnav a.icon:hover {
	background-color:#800000;
  }
  
}

@media screen and (max-width: 1000px) {
  .topnav.responsive {position: relative;padding-top:50px;min-width:148px;
	max-width:148px;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
	left:0;
	flaot:none;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
	min-width:148px;
	max-width:148px;
  }
  .topnav.responsive .dropdown {float: none;border-right:0px;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown-content-last {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
	border:0;
  }
}