.topnav {
	background-color: #c69214;
	overflow: hidden;
	/* this centers the menu, otherwise it is left justified */
	margin: auto;
	text-align: center;
	/* fix buttons not filing topnav bar vertically but must be unset for responsive */
	height: 49px;
}

.topnav a {
	/* float: left; */
	display: inline-block;
	color: #f2f2f2;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	font-size: 17px;
	/*	inline links don't align with the button text visually
		unless it is either
		float: left; - in which case we can't center the menu
		or
		position: relative;
		top: -18px;
		or the vertical-align is set
	 */
	vertical-align: top;
}

.active {
	background-color: #04AA6D;
	color: white;
}

a.active {cursor: default; }
a:hover.active { text-decoration: none; }

.dropdown-content a.active {
	background-color: #ddd;
	color: black;
}

.topnav .icon {
	display: none;
}

.dropdown {
	/* float: left; */
	overflow: hidden;
	display: inline-block;
}

.dropdown .dropbtn {
	font-size: 17px;
	border: none;
	outline: none;
	color: white;
	padding: 14px 16px;
	background-color: inherit;
	font-family: inherit;
	margin: 0;
}

.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: 1;
}

.dropdown-content a {
	float: none;
	color: #04AA6D;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
	text-align: left;
}

.dropdown-content button {
	border: none;
	outline: none;
	padding: 14px 16px;
	margin: 0;
	float: none;
	color: #04AA6D;
	padding: 12px 16px;
	display: block;
	text-align: left;
	font-size: 17px; 
	background-color: #ffffff;
	width: 100%;
}

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

.dropdown-content a:hover, button:hover {
	background-color: #ddd;
	color: black;
}

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

/* Note: the width at which to switch the menu display depends on
	the actual combined width of the menu texts- may need to change it if
	the text changes  */
@media screen and (max-width: 690px) {

	.topnav a:first-child {
		float: left;
	}

	.topnav a:not(:first-child), .dropdown .dropbtn {
		display: none;
	}
	.topnav a.icon {
		float: right;
		display: block;
	}
	.dropdown {
		float: left;
		overflow: hidden;
		display: block;
	}

}
@media screen and (max-width: 690px) {
	.topnav.responsive {
		position: relative;
		height: unset;
	}
	.topnav.responsive a.icon {
		position: absolute;
		right: 0;
		top: 0;
	}
	.topnav.responsive a {
		float: none;
		display: block;
		text-align: left;
	}
	.topnav.responsive .dropdown {float: none;}
	.topnav.responsive .dropdown-content {position: relative;}
	.topnav.responsive .dropdown .dropbtn {
		display: block;
		width: 100%;
		text-align: left;
	}
}
