/*
SOURCE: https://www.w3schools.com/howto/howto_js_responsive_navbar_dropdown.asp
NOTE:
- uses javascript to modify class name for responsive design
- somewhat works with 'position sticky': drop menu requires 'overflow visible'
- does not work with 'display flex'
*/

#myTopnav {
    position			: -webkit-sticky; /* Safari */
    position			: sticky;
	top					: 0;
	z-index				: 3;
}

.topnav {
	overflow			: hidden;
	background-color	: #FFF;
	border-bottom		: 1px solid black;
}

.topnav a {
	float				: left;
	display				: block;
	color				: #000000;
	text-align			: center;
	padding				: 14px 16px;
	text-decoration		: none;
	font-size			: 1.0em;
}

.topnav a.logo {
	padding				: 6px 15px;
}

.topnav img {
	height				: 30px;
}

.active {
	background-color	: #EFEFEF;
	color				: white;
}

.topnav .icon {
	display				: none;
}

.topnav a:hover {
	background-color	: #555;
	color				: white;
}

.topnav a.language_position {
	float				: right;
	font-size			: 0.8em;
}


@media screen and (max-width: 600px) {
	.topnav a:not(:first-child) {
		display			: none;
	}

	.topnav a.icon {
		float			: right;
		display			: block;
	}

	.topnav.responsive {
		position		: relative;
	}

	.topnav.responsive .icon {
		position		: absolute;
		right			: 0;
		top				: 0;
	}

	.topnav.responsive a {
		float			: none;
		display			: block;
		text-align		: left;
	}

	.topnav.responsive a.language_position {
		float			: right;
		font-size		: 0.8em;
	}
}
