/* Begin header  >> */

.navbar-default {
	box-shadow: none;
}

.main-header.condensed .navbar-default {
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .175);
}

.with-transition .navbar-default {
	transition: background-color .15s ease, box-shadow .15s ease;
}

@media only screen and (min-width: 992px) {
	.main-header:not(.condensed) {
		--bs-header-color: #FFFFFF;
		--bs-header-hover-color: #FFFFFF;
		--bs-header-hover-line-color: #FFFFFF;
		--bs-header-active-color: #FFFFFF;
		--bs-header-active-line-color: #FFFFFF;
		--bs-header-open-color: #FFFFFF;
		--bs-header-open-line-color: #FFFFFF;
	}

	.site-wide-bar > .container {
		position: relative;
	}

	.site-wide-bar > .container::before {
		content: "";
		display: block;
		position: absolute;
		top: 50%;
		margin-top: -35px;
		left: calc((var(--navbar-brand-height) * 2) + 20px);
		width: calc(100% - (var(--navbar-brand-height) * 2) - 32px);
		height: 70px;
		background: url('images/header-background.svg');
		background-repeat: no-repeat;
		overflow: hidden;
		border-radius: 0 4px 4px 0;
		opacity: 0.8;
	}

	.with-transition .site-wide-bar > .container::before {
		transition: opacity .15s ease;
	}

	.main-header.condensed .site-wide-bar > .container::before {
		opacity: 0;
	}

	.main-header:not(.condensed) .navbar-brand {
		width: min(calc(var(--navbar-brand-height) * 2), 100%);
		height: calc(var(--navbar-brand-height) * 2);
		line-height: calc(var(--navbar-brand-height) * 2);
		margin-top: calc(var(--navbar-brand-margin-tb) * 2);
		margin-bottom: calc(var(--navbar-brand-margin-tb) * 2);
		margin-right: 32px;
	}

	.with-header-background-img .main-header:not(.condensed) .navbar {
		background: none;
	}

	.with-transition .navbar-brand {
		transition: height .15s ease, line-height .15s ease, margin .15s ease;
	}

	.site-header-menu,
	.site-wide-actions {
		min-height: calc(var(--bs-header-line-height) + 2px);
	}

	.site-header-menu.rn-uninitialized {
		max-height: calc(var(--bs-header-line-height) + 2px);
	}

	.navbar .navbar-nav.site-wide-actions:last-child,
	.navbar-text:last-child {
		margin-right: 0;
	}

	.site-wide-bar .nav > li {
		margin-right: 15px;
	}

	.site-wide-bar .nav > li > a {
		padding: 1px 0;
	}

	.site-wide-bar .navbar-nav > li > a:after {

		width: 100%;
	    left: 0;
		bottom: -2px;
	}

	.site-wide-bar .navbar-nav > li > .dropdown-menu {
		margin-top: 8px;
	}

	.site-wide-search > .navbar-form {
		padding: 0;
		margin: 0 15px 0 0;
	}
}

/* << End header */

@media only screen and (min-width: 992px) {
	.with-header-background-img .profile-hero {
		margin-top: calc(-2 * var(--header-condensed-height, var(--navbar-height)));
		padding-top: calc(var(--profile-hero-padding-t) + (2 * var(--header-condensed-height, var(--navbar-height))));
		min-height: calc(var(--profile-hero-min-height) + (2 * var(--header-condensed-height, var(--navbar-height))));
	}

	.profile-hero:has(> .profile-hero-background-asset[style*="background-image"]) {
		--profile-hero-padding-t: 161px;
		--profile-hero-min-height: 259px;
	}
}
