/************************************/
/***** Pfalzwerke Joomla Layout *****/
/************** Header **************/
/************************************/
.spacer_top {
	height:			10px;
	width:			100%;
	margin-top:		0px; 
}

.slogan {	

	height:	52px;	
	position: relative;
	padding-top: 10px; /*Analog zu margin des Menus*/

	display: flex;
	flex-direction: row;
	flex-basis: auto;
	align-items: center;
	gap: var(--bigGap);	

	& > *:nth-child(2){
		flex-grow: 1;		
	}

	& .pfmnet_color_TEST{
		color: var(--pwRot);
	}
	
	& .logo {
		
		width:	fit-content;
		height: 100%;
		align-self: center;
		padding-top: 4px;

		& > a{
			display: block;
			height: 100%;
			width: 100%;

			& > img{
				height: 100%;
			}
		}
	}
}

#cms_hidSelectPortfolio{
	width: 0px;
	height: 0px;
	padding: 0px;
	margin: 0px;
	box-sizing: border-box;
	border: 0px;
}



#pfmnet_header_portfolioAuswahl{
	white-space: nowrap;
	width: fit-content;

	/*Portfolio Auswahl im Menu-Bereich*/
	float: right;
}

#cms_selPortfolio{
	width:250px;
	color: black;
	font-size:15px;
}

#pfmnetSlogan{
	box-sizing: border-box;
	white-space: nowrap;
}

.slogan_border {
	float:			right;
	width:			6px;
}

.pfmnet_text {
	font-size:		30px;
	font-weight: 	645;
	color:			#fff;

	& > form{
		display: flex;
		align-items: center;
		justify-content: end;
		flex-direction: row;
		gap: var(--stdGap);
		height: 100%;
	}

}

.pfmnet_text.portfolio_text {
	font-size:		16px;	
	font-weight: bold;
}

.vertical_spacer {
	max-width: 		100vw;
	margin-top:		0px;	
}

.menu_td {
	position:		relative;
	background-color:	#FFFFFF;
	z-index: 100;		/* Sicherstellen, dass das Menü über allen anderen Elementen liegt. */
	margin:			10px 0px;
	padding:		0;
	border-bottom: 1px solid var(--pwRot);
	box-sizing: border-box;
	min-width: 1022px;
	max-width: 100%;

	--menuBtnHeight: 60px;

	& > .pfmnet_text.portfolio_text{
		color: var(--menu-text-color);
		font-size: 15px;
		font-weight: normal;
		height: var(--menuBtnHeight);
		margin-right: 10px;
		max-width: 420px;

		& > .cms_header_pfAnzeige > span,
		& > #cms_header_singlePF > span{
			display: block;
			height: 100%;
			line-height: var(--menuBtnHeight);

			&:nth-child(2){				
				overflow: hidden;
				text-overflow: ellipsis;	
				flex-grow: 1;			
			}
		}

		& > span:first-of-type{
			margin-right: var(--stdGap);
		}
	}
}

#cms_header_pfName{
	font-weight: 700;
}

.cms_header_pfAnzeige,
#cms_header_singlePF{
	height: 100%;
	display: flex;
	flex-direction: row;
	gap: var(--stdGap);
}

.logout{
	width: fit-content;
	/* grid-area: logoutButton; */
}

.logout > a > .logoutBtn {
	--btnHeight: 40px;

	box-sizing: border-box;
	width:			130px;
	height:			var(--btnHeight);
	padding: 0px 16px;	
	border-radius: var(--stdGap);

	font-size: 15px;
	font-weight: bold;
	color: white;
	line-height: var(--btnHeight);
	text-align: left;	

	background-color: var(--button-background);
	background-image: url(../images/lock.svg);
	background-repeat: no-repeat;
	background-position: calc(100% - 10px) 50%;
	background-size: 12%;
}

.logout:hover > a > .logoutBtn{

	background-color: rgb(0,18,23);/* Temporärer Fallback dank IE11*/
	background-color: var(--button-background-pressed); 

	color: white;	
}

.logout a{
	color: white;
}

.logout a:hover{
	text-decoration: none;
}

.logout a:visited{
	color: white;
}


.topHeader{
	width: 100%;
	min-width: 1000px;
	height: 58px;
}
