/* Begin header  >> */

.main-header {
	box-shadow: none;
}

.main-header.condensed {
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .175);
}

.with-transition .navbar-default {
	transition: background-color .15s ease;
}

@media only screen and (min-width: 992px) {
	.main-header:not(.condensed) {
		--dxp-header-color: #FFFFFF;
		--dxp-header-hover-color: #FFFFFF;
		--dxp-header-hover-line-color: #FFFFFF;
		--dxp-header-active-color: #FFFFFF;
		--dxp-header-active-line-color: #FFFFFF;
		--dxp-header-open-color: #FFFFFF;
		--dxp-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(--dxp-header-line-height) + 2px);
	}

	.site-header-menu.rn-uninitialized {
		max-height: calc(var(--dxp-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 */

/* Begin profile page >> */

@media only screen and (min-width: 651px) {
	.profile-hero {
		--profile-hero-padding-t: 200px;
	}

	.profile-hero.has-rating {
		--profile-hero-padding-t: 188px; /* Compensate for rating */
	}
}

.profile-hero-background-asset:after,
.profile-hero-background-asset[style*="background-image"]:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,.4) 100%);
	pointer-events: none;
}

.profile-hero-background-asset:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-image: url('images/profile-overlay.svg');
	background-repeat: no-repeat;
	background-position: right;
	background-size: auto 100%;
	pointer-events: none;
}

@media only screen and (min-width: 651px) {
	.profile-hero-info {
		padding: 16px 0 16px 0;
	}
	
	.profile-hero.has-rating .profile-hero-info {
		padding: 2px 0 10px 0;
	}
}

.profile-hero-info > h1 {
	font-size: 42px;
	line-height: 48px;
	margin-top: -4px;
	margin-bottom: -2px;
}

@media only screen and (max-width: 650px) {
	.profile-hero-info > h1 {
		font-size: 36px;
		line-height: 42px;
	}
}

.profile-hero-headline {
	padding-left: 1px;
}

.media-item-link-list .btn {
	font-size: 18px;
}

@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;
	}
}

/* << End profile page */

.read-more-content-4 {
	max-height: 100px;
}
.read-more-content-6 {
	max-height: 150px;
}
.read-more-content-8 {
	max-height: 200px;
}

.media-item-content-translate-wrapper {
	font-size: 16px;
	line-height: 1.5;
}

.media-item-content-translate-wrapper > .icon-busy {
	vertical-align: -2px;
	background-size: 16px 16px;
}
