/******************************************* Tutył ******************************************/
#lista_tytul {
	background-color: white;
	position: fixed;
	top: 0; 
	width: 100%;
	z-index: 1000;
	padding: 0.75rem 0;
	border-bottom: 2px solid var(--maincolor);
	box-shadow: 0 0 10px #777;
	opacity: 0;

}

#lista_tytul.duzy_tytul {
	padding: 0.75rem 0 0;
	border: none;
	box-shadow: none;
}

/*************************************** Klawiatura wysunięta poziomo *****************************/
@media screen and (orientation: landscape) and (max-height: 256px) {
	#lista_tytul {
		display: none;
	}
}

/*************************************** Ustawienie diva pod tytułem *****************************/
#lista_tytul + div {
	margin-top: 8.75rem;
}

@media screen and (max-width: 900px) {
	#lista_tytul + div {
		margin-top: 5rem;
	}

	#lista_pasek + div {
		margin-top: 5rem;
	}
}

/******************************************* Środek tytułu ****************************************/
#tytul_srodek {
	width: var(--pagewidth);
	display: flex;
	position: relative;
	margin: auto;
	box-sizing: border-box;
}

#tytul_srodek > * {
	align-self: center;
}

#tytul_srodek img {
	height: 100%;
}

@media screen and (max-width: 1200px) {
	#tytul_srodek {
		padding: 0 0.75rem;
	}
}

/******************************************* Logo ****************************************/
#lista_tytul #logo_ewf {
	height: 4rem; 
	transition: 0.25s;
}

@media screen and (min-width: 901px) {
	#lista_tytul.duzy_tytul #logo_ewf {
		height: 8rem; 
	}
}

@media screen and (max-width: 900px) {
	#lista_tytul #logo_ewf {
		height: 3rem; 
	}
}

/****************************************** Menu ************************************************/
#lista_tytul #menu_toggle {
	cursor: pointer;
	display: none;
	height: 3rem;
	width: 4rem;
} 

#lista_tytul #menu {
	margin-left: auto;
	font-size: 1.1rem;
}

#lista_tytul #menu .menu_item {
	color: var(--maincolor);
	letter-spacing: 0.2rem;
	padding: 0.4rem;
	margin: 0.6rem 0.5rem;
	cursor: pointer;
}

#lista_tytul #menu .menu_item:hover {
	color: black;
	transition: 0.25s;
}

@media screen and (max-width: 900px) {
	/* #lista_tytul #menu_toggle {
		display: block;
	}

	#lista_tytul #menu_toggle:not(.wcisniety) #close-menu {
		display: none;
	}

	#lista_tytul #menu_toggle.wcisniety #menu {
		display: none;
	} */

	#lista_tytul #menu .menu_item {
		letter-spacing: 0;
	}

} 

/************************* USER **********************/
#lista_tytul #user {
	display: flex;
	margin-left: auto;
	gap: 1rem;
	opacity: 0;
}

#lista_tytul #user > div {
	cursor: pointer;
}

#lista_tytul #user #opis {
	text-align: right;
	align-self: center;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

#lista_tytul #user #nazwa {
	font-size: 1.25rem;
	white-space: nowrap;
}

#lista_tytul #user #rodzaj {
	font-size: 0.85rem;
	white-space: nowrap;
	color: #444;
}

@media screen and (max-width: 900px) {
	#lista_tytul #user {
		gap: 0.5rem;
	}

	#lista_tytul #user #panel{
		display: none;
	}

	#lista_tytul #user #nazwa {
		font-size: 1rem;
	}
	
	#lista_tytul #user #placowka {
		display: none;
	}
}

#lista_tytul #user .user_item {
	height: 3rem;
	margin: auto;
	transition: 0.25s;
}

@media screen and (min-width: 901px) {
	#lista_tytul.duzy_tytul #user .user_item {
		height: 4rem; 
	}
}

#lista_tytul #user .user_item:hover {
	transform: rotate(180deg);
	transition-timing-function: ease-in;
}

/************************************************************* Login ****************************************************/
#lista_tytul #user #login {
	padding: 0.25rem 0.75rem;
	height: 3.5rem;
	gap: 1rem;
	margin: -1rem 0;
}

