.panel-header {
	--surface-foreground: var(--primary-color-700);
	--surface-background: var(--primary-color-900);
	--surface-mobile-nav: var(--gray-100);
	--text: var(--gray-100);
	--text-alt: var(--gray-900);
	
	color: var(--text);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--space-5) var(--space-5) var(--space-5);
	position: absolute;
	left: 0;
	right: 0;
	z-index: 10;
}

@media screen and (min-width: 40em) {
	.panel-header {
		padding: var(--space-5) var(--space-6) var(--space-5);
	}

	.panel-header .logo-container {
		margin-top: var(--space-2);
	}
}

@media screen and (min-width: 64em) {
	.panel-header {
		padding: var(--space-5) var(--space-5) var(--space-5);
	}

	.panel-header .logo-container {
		margin-top: 0;
	}
}

.panel-page.no-hero .panel-header {
	position: relative;
	z-index: 5;
	margin-bottom: 10px;
}

@media screen and (min-width: 64em) {
	.panel-header {
		padding: 50px var(--space-10);
	}
}

.panel-header::before {
	content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.66), transparent);
    z-index: -1;
}

@media screen and (min-width: 40em) {
	.panel-header::before {
		bottom: -20px;
		left: 20px;
		width: calc(100% - 40px);
		border-top-right-radius: 6px;
		border-top-left-radius: 6px;
	}
}

.panel-header.active::before {
	display: none;
}

.panel-header.active {
	background-color: var(--surface-background);
}

.panel-header .nav-content-container .top-content {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

@media screen and (min-width: 64em) {
	.panel-header .nav-content-container .top-content {
		height: 40px;
	z-index: 2;position: relative;}
}

.panel-header .nav-content-container .top-content .widgets {
	display: none;
}

@media screen and (min-width: 64em) {
	.panel-header .nav-content-container .top-content .widgets {
		display: flex;
		justify-content: center;
		align-items: center;
		margin-right: 6px;
	}

	.panel-header .nav-content-container .top-content .widgets.search-active .contentRender_name_plugins_weather_weather,
	.panel-header .nav-content-container .top-content .widgets.search-active .contentRender_name_plugins_tripbuilder_counter {
		display: none;
	}

}

.panel-header .secondary-nav-container {
	display: none;
}

@media (min-width: 40em) {
	.panel-header .secondary-nav-container {
		display: block;
	}

	.panel-header .secondary-nav-container.search-active {
		display: none;
	}
}

.panel-header .primary-content-container {
	display: flex;
	align-items: stretch;
	justify-content: flex-end;
z-index: 1;position: relative;}

.panel-header .primary-content-container .contentRender_name_plugins_common_logo {
	padding: var(--space-4) 0;
}

.panel-header .logo-container .contentRender_name_plugins_common_logo img {
	width: 168px;
}

@media screen and (min-width: 64em) {
	.panel-header .logo-container {
		align-self: flex-start;
	}

	.panel-header .logo-container .contentRender_name_plugins_common_logo img {
		width: 206px;
	}
}

.panel-header.active .logo-container .contentRender_name_plugins_common_logo img  {
	width: 116px;
}

.panel-header .main-nav-widgets-container {
	display: grid;
	align-items: stretch;
	grid-template-columns: min-content;
}

@media (min-width: 64em) {
	.panel-header .main-nav-widgets-container {
		grid-template-columns: min-content min-content;
	}
}

.panel-header .main-nav-widgets-container > *:not(.widgets) {
	display: flex;
	align-items: center;
}

.panel-header .main-nav-widgets-container .widgets {
	display: none;
	align-items: center;
}

@media (min-width: 64em) {
	.panel-header .main-nav-widgets-container .widgets {
		display: flex;
	}
}

.panel-header .widgets-mobile {
	display: flex;
	justify-content: center;
	align-items: center;
}

@media screen and (min-width: 64em) {
	.panel-header .widgets-mobile {
		display: none;
	}
}

.panel-header .widgets-mobile .weather-nav-cont {
	display: none;
}

.panel-header.active .widgets-mobile .weather-nav-cont {
	display: block;
}

.panel-header .widgets-mobile .weather-wrapper .weather-button .temp .fa {
	display: none;
}

.panel-header .widgets-mobile .weather-wrapper .weather-button {
	padding: 0 var(--space-5) 6px 0;
}

@media screen and (min-width: 375px) {
	.panel-header .widgets-mobile .weather-wrapper .weather-button {
		padding: 0 var(--space-8) 6px 0;
	}
}

.panel-header .widgets-mobile .weather-wrapper .weather-button,
.panel-header .widgets-mobile .weather-wrapper .weather-wrapper .weather-button .weather-icon { 
	font-size: var(--text-sm);
}

.panel-header .mobile-nav-container {
	position: absolute;
	top: 82px;
	right: 0;
	z-index: 10;
	display: none;
	width: 100%;
}

.panel-header .mobile-nav-container.active {
	display: flex;
	justify-content: flex-end;
}

/*Mobile tb and weather widgets*/
.panel-header.active .nav-container .widgets-mobile {
	display: flex;
	align-items: center;
	justify-content: center;
}


@media (min-width: 64em) {
	.panel-header .mobile-nav-container.active {
		display: none;
	}	
}

.panel-header .mobile-nav-container .mobile-nav {
	max-width: 420px;
	width: 100%;
	background-color: var(--surface-mobile-nav);
}

.panel-header .mobile-nav .widgets {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-auto-flow: dense;
	padding: var(--space-6) var(--space-5);
	color: var(--text-alt);
	background-color: var(--gray-100);
}

.panel-header .mobile-nav .search-cont {
	grid-column: 1 / -1;
}

.panel-header .mobile-nav .widgets > *:not(.search-cont) {
	align-self: center;
	justify-self: center;
}