/* Header inside Bootstrap container (not full-viewport fixed nav) */
header .container #nav-anim.navbar {
	position: relative;
	width: 100%;
	min-height: 0;
	margin: 0;
	border: none;
}

header .container #cssmenu {
	width: 100%;
	overflow: visible;
}

header,
header .container,
header .row {
	overflow: visible;
}

/* Desktop: logo inset, bottom margin, menu vertically centered with logo */
@media screen and (min-width: 1001px) {
	header #cssmenu,
	header #cssmenu ul,
	header #cssmenu .logo,
	header #cssmenu .logo a {
		padding-top: 0 !important;
	}

	header #cssmenu .submenu-button {
		display: none !important;
	}

	header #cssmenu #head-mobile,
	header #cssmenu .button {
		display: none !important;
	}

	header #cssmenu {
		display: flex;
		align-items: center;
		flex-wrap: nowrap;
		min-height: 86px;
		background: #333;
		box-sizing: border-box;
	}

	header #cssmenu .logo {
		float: none;
		flex: 0 0 auto;
		display: flex;
		align-items: center;
		margin: 0;
	}

	header #cssmenu .logo a {
		display: block;
		line-height: 0;
	}

	header #cssmenu .logo img {
		float: none;
		display: block;
		width: 100px;
		max-width: 100px;
		min-width: 100px;
		height: 70px;
		margin-left: 100px;
		margin-right: 93px;
		margin-top: 8px;
		margin-bottom: 8px;
		padding: 0;
		object-fit: contain;
		box-sizing: border-box;
	}

	header #cssmenu > ul {
		display: flex !important;
		align-items: center;
		flex: 1 1 auto;
		flex-wrap: nowrap;
		float: none;
		width: auto;
		position: static;
		margin: 0;
		padding: 0;
		height: auto;
		overflow: visible;
		max-height: none;
	}

	header #cssmenu > ul > li {
		float: none;
		display: block;
	}

	header #cssmenu > ul > li > a {
		display: block;
		padding: 0 10px;
		line-height: 70px;
		height: 70px;
		box-sizing: border-box;
		white-space: nowrap;
	}

	/* Dropdown + indicator stays aligned when link is vertically centered */
	header #cssmenu > ul > li.has-sub > a {
		padding-right: 30px;
		position: relative;
	}

	header #cssmenu > ul > li.has-sub > a::after {
		top: 50%;
		margin-top: -1px;
	}

	header #cssmenu > ul > li.has-sub > a::before {
		top: 50%;
		margin-top: -4px;
	}

	header #cssmenu > ul > li.has-sub:hover > a::before {
		top: 50%;
		margin-top: 0;
		height: 0;
	}
}

@media screen and (min-width: 1001px) and (max-width: 1199px) {
	header #cssmenu .logo img {
		margin-left: 40px;
		margin-right: 40px;
	}
}

@media screen and (max-width: 1000px) {
	header #cssmenu .logo img {
		float: none;
		margin: 0 auto;
		height: 46px;
		width: auto;
		max-width: 120px;
		min-width: 0;
	}
}
