/* BNI-Anpassungen für MDB5 (ersetzt base.css aus dem Bootstrap-3-Theme) */

:root {
	--mdb-body-font-family: "Helvetica", Arial, sans-serif;
	--mdb-body-color: #66615b;
	--mdb-link-color: #2B307E;
	--mdb-link-hover-color: #cf2030;
}

/* Grundlayout */
html {
	height: 100%;
}
body {
	min-height: 100%;
	position: relative;
	color: #66615b;
	font-family: "Helvetica", Arial, sans-serif;
	font-size: 15px;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

/* Typografie */
.main p,
.main li {
	font-size: 18px;
	line-height: 1.5em;
}
h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
	font-weight: 500;
	margin: 0 0 15px 0;
	color: #2B307E;
}
h1, .h1 { font-size: 2.1em; margin-bottom: 25px; }
h2, .h2 { font-size: 2em; margin-bottom: 25px; }
h3, .h3 { font-size: 1.75em; line-height: 1.4; margin-bottom: 10px; }
h4, .h4 { font-size: 1.5em; line-height: 1.2em; }

a {
	color: #2B307E;
	text-decoration: none;
	transition: color 150ms linear;
}
a:hover,
a:focus {
	color: #cf2030;
}

/* Login-Hinweis */
#notifications .alert {
	border-radius: 0;
	margin-bottom: 0;
}
.alert-info {
	background-color: #cce9f2;
	border: 2px solid #86cde3;
	color: #2B307E;
}

/* Navigation */
.navbar {
	box-shadow: none;
}
.navbar .navbar-nav .nav-link {
	color: #66615b;
	font-size: 16px;
	padding: 10px 15px;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link:focus,
.navbar .navbar-nav .active > .nav-link,
.navbar .navbar-nav .nav-link.active {
	color: #cf2030;
}
.navbar .dropdown-menu {
	margin-top: 0;
	border-radius: 0;
	font-size: 15px;
}
.navbar .dropdown-menu .dropdown-item {
	white-space: normal;
}
.navbar .dropdown-menu .dropdown-item.active,
.navbar .dropdown-menu .dropdown-item:active {
	background: #EFEFEF;
	color: #cf2030;
}

/* Desktop: Untermenüs öffnen beim Überfahren mit der Maus (Regel in styles.css), rechtsbündig */
@media (min-width: 992px) {
	.navbar .dropdown-menu {
		top: 100%;
	}
	.navbar .dropdown-menu-end {
		right: 0;
		left: auto;
	}
}

/* Mobil: Untermenüs im aufgeklappten Menü immer sichtbar */
@media (max-width: 991.98px) {
	.navbar .navbar-nav .dropdown-menu {
		display: block;
		position: static;
		border: 0;
		box-shadow: none;
		padding-left: 15px;
		background: transparent;
	}
	.navbar .navbar-nav .dropdown-toggle::after {
		display: none;
	}
}
