/* === Navigation ===*/
/* === Fonts ===*/

@font-face {
	font-family: 'CDU Kievit';
	font-weight: 400;
	src: local('CDU Kievit'), local('CDU Kievit'), url('../fonts/CDUKievitComp-Medium.ttf') format('truetype');
}

.nav-link {
	font-family: 'CDU Kievit';
	font-size: 1.05em;
	font-weight: 600;
	white-space: nowrap;
}

.navbar-collapse {
	font-size: 0.85em;
	font-weight: 600;
}

.dropdown-item {
	font-size: 0.83em;
	line-height: 1.4em;
}

/* === Farben ===*/
.bg-custom {
	background-image: linear-gradient(180deg, #52b7c1 91%, #52b7c1 92%, transparent 100%);
}

/* Farben Standard */
.nav-item {
	background-color: rgba(82, 183, 193, 0.95);
}

.navbar.navbar-dark .navbar-brand {
	background-color: transparent;
}

.navbar.navbar-dark .navbar-nav .nav-link,
.navbar.navbar-dark a {
	color: #FFF;
}

.dropdown-menu {
	background-color: rgba(82, 183, 193, 0.95);
}

.dropdown-menu .dropdown-item:hover {
	background-color: transparent;
	color: #FFF;
	font-weight: bold;
	text-decoration: underline;
}

.navbar.navbar-dark button:hover,
.navbar.navbar-dark button:focus,
.navbar.navbar-dark .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
	color: #FFF;
	text-decoration: underline;
}

.navbar.bg-custom .navbar-nav .dropdown-item:active,
.navbar.bg-custom .navbar-nav .dropdown-item.active {
	background-color: transparent;
	color: #FFF;
}

.navbar.bg-custom .navbar-nav .nav-link.active,
.navbar.bg-custom .navbar-nav .nav-link:active {
	color: #FFF;
}

/* Toggler-Balken */
.custom-toggler.navbar-toggler {
	border-color: #FFF;
}

.custom-toggler .navbar-toggler-icon {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(50,48,46, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h23M4 15h23M4 23h23'/%3E%3C/svg%3E");
}

.custom-toggler.navbar-toggler:hover {
	border-color: #FFF;
}

.custom-toggler .navbar-toggler-icon:hover {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h23M4 15h23M4 23h23'/%3E%3C/svg%3E");
}

/* === Abmessungen ===*/
/* Abstände */

.navbar {
	/* (80px - line-height of 27px) / 2 = 26.5px */
	padding-top: 0px;
	padding-bottom: 0px;
	line-height: 1.4em;
	top: 0;
	background-color: #52b7c1;
}


@media (max-width: 991px) {
	.nav-item {
		padding-left: 15px;
		line-height: 1.0em;
	}

	.dropdown-menu {
		padding-top: 0px;
		margin-top: 0px;
	}
}

@media (min-width: 992px) {
	.nav-item {
		padding-left: 10px;
		padding-bottom: 0px;
		margin-bottom: 0px;
	}

	.dropdown-menu {
		padding-top: 0px;
		margin-top: 0px;
		line-height: 1.4em;
	}
}

/* Umbrüche */
/* Logo CDU */
@media (max-width: 1199px) {
	.navbar-brand > img {
		height: 50px;
	}

	.bg-custom {
		height: 80px;
	}
}

@media (min-width: 1200px) {
	.navbar-brand > img {
		height: 70px;
	}
}


@media (min-width: 461px) {
	#brandLogo1 {
		display: inline;
	}

	#brandLogo2 {
		display: none;
	}
}

@media (max-width: 460px) {
	#brandLogo1 {
		display: none;
	}

	#brandLogo2 {
		display: inline;
	}
}

/* Effekte */
.nav-item::after {
	content: '';
	display: block;
	width: 0px;
	height: 2px;
	background: #FFF;
	transition: 0.2s;
}

.bg-custom .nav-item::after {
	content: '';
	display: block;
	width: 0px;
	height: 2px;
	background: #FFF;
	transition: 0.2s;
}

.nav-item:hover::after {
	width: 100%;
}

.nav-link {
	transition: 0.2s;
}
