/* 
css for bundesland design
*/

/*! needed for responsiveness */
* {
  box-sizing: border-box;
}

/*! header classes 
The div with class "site-header" contains elements using the other classes.
"site-header" has position "relative".
"header-logo-link" has position "relative" and thereby determines the height of the "site-header"-div.
All other classes have position "absolute".
*/

.site-header {
	position: sticky;
	background-color: #efefef;
}

.header-logo-link {
	position: relative;
	left: 25px;
	z-index: 2;
}

.header-logo-link .header-logo {
	width: 45px;
}
@media (min-width: 768px) {
	.header-logo-link .header-logo {
		width: 70px;
	}
}

.header-title-app {
	position: absolute;
	color: #ffffff;
	top: 33px;
	left: 100px;
	font-size: 0.8rem;
	font-weight: 400;
	z-index: 3;
}
@media (min-width: 768px) {
	.header-title-app {
		top: 58px;
		left: 120px;
		font-size: 1.2rem;
	}
}

.header-title-institution {
	position: absolute;
	color: #ffffff;
	top: 58px;
	right: 50px;
	font-size: 1.2rem;
	font-weight: 400;
	z-index: 3;
	display: block;
}
@media (max-width: 1100px) {
	.header-title-institution {
		display: none;
	}
}

.header-ribbon {
	top: 25px;
	height: 35px;
	background-color: #004896;
	position: absolute;
	width: 96%;
	border-radius: 0px;
	z-index: 1;
}
@media (min-width: 768px) {
	.header-ribbon {
		top: 50px;
		height: 40px;
		width: 98%;
	}
}

.header-navbar {
	position: absolute;
	display: inline-block;
	top: 1px;
	right: 30px;
	border: 0px;
	background-color: inherit;
}
@media (min-width: 768px) {
	.header-navbar {
		top: 20px;
	}
}

.header-navbar .header-navbar-link {
	border-right: 1px solid #dadada;
	border-left: 1px solid #dadada;
	padding-left: 10px;
	padding-right: 10px;
	color: #555555;
	text-decoration: none;
	font-size: 0.6rem;
	font-weight: 250;
}
@media (min-width: 768px) {
	.header-navbar .header-navbar-link {
		font-size: 0.9rem;
		font-weight: 450;
	}
}

/*! 
classes for links in page navigation bar
*/

.page-navigation-link {
	text-decoration: none;
}

.page-navigation-link:hover {
    text-decoration: underline;
	text-decoration-color: #004896;
	text-decoration-thickness: 3px;
	text-underline-offset: 3px;
}

.page-navigation-link-active {
	text-decoration: underline;
	text-decoration-color: #004896;
	text-decoration-thickness: 3px;
	text-underline-offset: 3px;
}


/*! 
classes for links in footer
*/

.footer-link {
    text-decoration: none;
}
@media (max-width: 992px) {
	.footer-link {
		font-size: 0.8rem;
		font-weight: 450;
	}
}

.footer-link:hover {
    text-decoration: underline;
	text-decoration-color: white;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
