/******************************************* 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 {
	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: 10rem;
}

@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; 
		padding-top: 0.75rem;
	}
}

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

/****************************************** Menu ************************************************/
#lista_tytul #menu-list {
	margin: auto 1rem 0;
	/* gap: 0.5rem; */
	text-transform: uppercase;
	min-width: 25rem;
	transition: 0.25s;

	/* width: 100%;
	background-color: yellow; */
}

#lista_tytul #menu-list .menu_item {
	cursor: pointer;
	padding: 0.5rem 1.5rem;
	flex-grow: 1;
	min-width: 5rem;
	color: var(--maincolor);
	font-size: 1.25rem;
}

@media screen and (min-width: 901px) {
	#lista_tytul:not(.duzy_tytul) #menu-list {
		margin: auto 1rem -0.75rem;
	}

	#lista_tytul #menu-list .menu_item {
		text-align: center;
	}
}

@media screen and (max-width: 900px) {
	#lista_tytul #menu-list:not(.pokaz) {
		display: none;
	}

	#lista_tytul #menu-list.pokaz {
		position: absolute;
		top: 4rem;
		left: 0;
		padding: 0.5rem 0;
		margin: 0;
		width: 100%;
		z-index: 1000;
		background-color: white;
		border-bottom: 2px solid var(--maincolor);
	}

	#lista_tytul #menu-list.pokaz {
		flex-direction: column;
	}
}

/****************************************** Zaznaczona opcja ************************************************/
#lista_tytul #menu-list .menu_item:hover {
	background-color: #eee;
}

#lista_tytul #menu-list .menu_item.wybrany {
	background-color: var(--secondcolor);
	color: white;
}

/****************************************** Menu na komórkach ************************************************/
#lista_tytul #menu-toggle {
	cursor: pointer;
	display: none;
	height: 3rem;
	width: 3rem;
} 

@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;
	}
}

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

	position: absolute;
	right: 0;
	top: 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;
}

#lista_tytul #user #placowka-tytul {
	color: var(--maincolor);
	font-weight: bold;
}

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

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

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

#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 {
	height: 3.5rem;
	gap: 0.5rem;
	padding-right: 1rem;
}

