/* Add a black background color to the top navigation */
.topnav {
	background-color: none;
	overflow: hidden;
	padding-left: 0rem;
}
/* Style the links inside the navigation bar */

.topnav a, .dropdown .dropbtn {
	background: none;
	color: var(--maincolor-d3);
	display: block;
	float: left;
	font-size: 15px;
	font-weight: 600;
	padding: 14px 16px;
	text-align: center;
	text-decoration: none;
}
/* Style the dropdown button to fit inside the topnav */

.dropdown .dropbtn {
	display: inherit;
	float: none;
	outline: none;
}
/* Add a dark background on topnav links and the dropdown button on hover */

.topnav a:hover, .dropdown:hover .dropbtn {
	background: var(--maincolor-d2);
	color: #fff;
}
/* Add an active class to highlight the current page */

.topnav a.active {
	background: var(--maincolor-d4);
	color: #fff;
}
/* Hide the link that should open and close the topnav on small screens */

.topnav .icon {
	display: none;
}
/* Dropdown container - needed to position the dropdown content */

.dropdown {
	float: left;
	overflow: hidden;
}
/* Style the dropdown content (hidden by default) */

.dropdown-content {
	background-color: #f9f9f9;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
	display: none;
	min-width: 160px;
	position: absolute;
	z-index: 1;
}
/* Style the links inside the dropdown */

.dropdown-content a {
	border-bottom: 1px solid #999;
	color: black;
	display: block;
	float: none;
	padding: 12px 16px;
	text-align: left;
	text-decoration: none;
}
/* Add a grey background to dropdown links on hover */

.dropdown-content a:hover {
	background-color: rgba(255, 255, 255, 0.2);
	color: #0080d2;
}
/* Show the dropdown menu when the user moves the mouse over the dropdown button */

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

@media screen and (max-width: 1200px), (max-device-width: 1200px) {
.topnav {
	padding-left: 0rem;
}
}

@media screen and (max-width: 800px), (max-device-width: 800px) {
.topnav {
	background: var(--maincolor-d5);;
	width: 100%;
}
.topnav a, .dropdown .dropbtn {
	display: none;
}
.topnav a.icon {
	color: #fff;
	background: none;
	display: block;
	float: right;
	font-size: 1.25rem;
}
.topnav a.icon:hover {
	color: #FFF;
}
.topnav a, .dropdown .dropbtn {
	background: none;
	color: #fff
}
}

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