﻿header { position: relative; }
.navbar { background-color: #fff; border-bottom: solid 0px #000; z-index: 400; font-family:'playwrite-cc-de-grund', sans-serif; }
.navbar-brand, .navbar-brand img { transition: ease-in-out .30s; }
.navbar-light .navbar-nav .nav-link { color: #58585a; }
.navbar-light .navbar-toggler { border: 0; }
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover { color: #025a78; }
.mainmenu { padding: 8px 0; transition: ease-in-out 0.3s all; }
	.mainmenu .nav-item { font-size: 14px; line-height: 1.2; text-transform: uppercase; font-weight: 700; }
	.mainmenu a.nav-link:hover, .mainmenu a.active { color: #025a78 !important; }

.topnav { margin: 0px 0px 0 0; transition: ease-in-out 0.3s all; }
.topmenu { margin: 10px 0; }
	.topmenu .nav-item { font-size: 16px; line-height: 1.2; text-transform: lowercase; font-weight: 400; }
		.topmenu .nav-item:last-child { border-right: solid 0px #231f20; }
	.topmenu a.nav-link:hover, .topmenu a.active { color: #025a78 !important; }
.nav-button { background-color: #231f20; border: solid 2px #231f20 !important; display: inline-block; padding: 4px 20px !important; font-size: 16px; letter-spacing: 1px; text-transform: uppercase; color: #fff !important; border-radius: 20px; transition: ease-in-out all 0.3s; }
	.nav-button .fas { color: #025a78; }
	.nav-button:hover { background-color: #fff; color: #231f20 !important; border: solid 2px #231f20 !important; }

hr { border-color: #231f20 !important; }

@media(min-width:1200px) {
	header {height:218px;}
	.mainmenu {margin-top:50px;}
	.navfixed .mainmenu { margin-top: 30px; }
	.mainmenu .nav-item, .topmenu .nav-item { position: relative; }

	.navbar .dropdown-menu-end { right: 0; left: auto; }
	.navbar .nav-item .dropdown-menu { display: block; opacity: 0; visibility: hidden; transition: .3s; margin-top: 8px; padding-top: 5px; padding-bottom: 0; margin-left: 20px; border-radius: 0; background-color: #231f20; font-size: 18px; line-height: 1.8; border: 0; }
	.navbar .dropdown-menu .dropdown-item { color: #fff !important; }
		.navbar .dropdown-menu .dropdown-item:hover { color: #025a78 !important; background-color: #231f20; }
	.navbar .nav-item:hover .nav-link { color: #025a78; }
	.navbar .dropdown-menu.fade-down { top: 80%; transform: rotateX(-75deg); transform-origin: 0% 0%; }
	.navbar .dropdown-menu.fade-up { top: 180%; }
	.navbar .nav-item:hover .dropdown-menu { transition: .3s; opacity: 1; visibility: visible; top: 100%; transform: rotateX(0deg); }

	.navbar-brand { max-width: 200px; padding: 30px 0; display: inline-block; }
		.navbar-brand img { width: 200px; }
	.navfixed .navbar-brand { max-width: 150px; padding: 15px 0; }
		.navfixed .navbar-brand img { width: 150px; }
	.navbar-expand-xl .navbar-nav .nav-link { padding: 0 15px; }
	.navbar-expand-xl .navbar-nav.mainmenu .nav-link { padding: 0 15px; }
	.navbarspace { height: 180px; }
}

button:focus { outline: none; }

@media(max-width:1199px) {
	.container-nav { max-width: 100%; }
	.nav-item { text-align: center; font-size: 16px !important; line-height: 20px !important; font-weight: 700; }
	.mainmenu .nav-item { border-right: 0; }
		.mainmenu .nav-item:last-child { border-right: 0; }

	.navbar-toggler { width: 50px; height: 50px; background-color: transparent; box-shadow: none !important; }
		.navbar-toggler span { transform: none; background-color: #231f20; margin: 7px auto; width: 100%; height: 2px; transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375); opacity: 1; display: block; }
		.navbar-toggler[aria-expanded="true"] span:first-of-type { transform: rotate(45deg) translate(0px, 7px); }
		.navbar-toggler[aria-expanded="true"] span:nth-of-type(2) { opacity: 0; }
		.navbar-toggler[aria-expanded="true"] span:last-of-type { transform: rotate(-45deg) translate(6px, -12px); }
		.navbar-toggler[aria-expanded="true"] span { background-color: #025a78; }
	.navbar-collapse { margin-top: -30px; }
}

@media(min-width:992px) and (max-width:1199px) {
	header { height: 186px; }
	.navbar-brand img { max-width: 180px; padding: 15px 0; }
	.navfixed .navbar-brand img { max-width: 120px; }
}

@media(min-width:768px) and (max-width:991px) {
	header { height: 186px; }
	.navbar-brand img { max-width: 180px; padding: 15px 0; }
	.navfixed .navbar-brand img { max-width: 100px; }
	.navbarspace { height: 150px; }
}

@media(max-width:767px) {
	header { height: 130px; }
	.navbar-brand img { max-width: 140px; padding: 10px 0; }
	.navfixed .navbar-brand img { max-width: 80px; }
}
