body,h1,h2,h3,h4,h5,h6 {
	font-family: "Raleway", sans-serif;
	font-size: 15px;
}

html, body {
	height: 100%; margin:0;
}	

.navbar{
	background-color: white;				
	height: 50px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: solid 1px black;
	z-index: 9001;
}

.nav-links{
	display: flex;
	gap: 10px;	
}

.nav-title {
	color: black;
	text-align: center;
	padding: 8px 16px;
	text-decoration: none;	
	vertical-align: center;
	font-size: 16px;
	letter-spacing: 5px;
}

.nav-item {	
	color: black;
	text-align: center;
	padding: 8px 16px;
	text-decoration: none;	
	vertical-align: center;
	font-size: 14px;
	cursor: pointer;
}

.nav-item:hover {
	background-color: #f1f1f1;				
}

#nyelv-wrapper {
	position: relative;
}

#nyelv-container {
	display: none;
	position: absolute;
	width: auto;
	height: auto;
	top: 41px;
	left: 50%;
	transform: translateX(-50%);
	background: white;
	border-bottom: solid 1px black;
	border-left: solid 1px black;
	border-right: solid 1px black;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	z-index: 2000;	
	max-width: 90vw;
}

#about-container {
	display: none;
	position: fixed;
	top: 25%;
	left: 25%;
	background: white;
	border: 2px solid rgba(0,0,0,0.3);
	border-radius: 10px;	
	z-index: 9500;	
	max-width: 50vw;	
	overflow: hidden;
}

#help-container {
	display: none;
	position: fixed;
	top: 25%;
	left: 25%;
	background: white;
	border: 2px solid rgba(0,0,0,0.3);
	border-radius: 10px;	
	z-index: 9500;	
	max-width: 50vw;	
	overflow: hidden;
}

#welcome-container {
	display: none;
	position: fixed;
	top: 25%;
	left: 25%;
	background: white;
	border: 2px solid rgba(0,0,0,0.3);
	border-radius: 10px;	
	z-index: 9500;	
	max-width: 50vw;	
	overflow: hidden;
}

#nyelv-container.expanded, #about-container.expanded, #help-container.expanded, #welcome-container.expanded {
	display: block;
}

#about-container.expanded #about-container-body, #help-container.expanded #help-container-body, #welcome-container.expanded #welcome-container-body {
	max-height: calc(50vh - 20px);
	overflow-y: auto;
	overflow-x: auto;
}

#nyelv-container-body, #about-container-body, #help-container-body, #welcome-container-body {
	padding: 8px;
}

#nyelv-container-body a {
	display: block;
}

#about-container.expanded #close-button-a {
	display: block;	
}

#about-container.expanded .about-header {
	display: block;	
}

#help-container.expanded #close-button-h {
	display: block;	
}

#help-container.expanded .help-header {
	display: block;	
}

#welcome-container.expanded #close-button-w {
	display: block;	
}

#welcome-container.expanded .welcome-header {
	display: block;	
}

.menu-icon {
	display: none;
	font-size: 24px;
	cursor: pointer;
}

@media (min-width: 769px) {
	#jelmagyarazat-container.expanded {									
		min-width: 500px;
		overflow-x: hidden;
	}
}

@media (max-width: 768px) {
	.nav-title {
		font-size: 14px;
		letter-spacing: 2px;
	}
	
	.nav-links {
		display: none;
		flex-direction: column;
		position: absolute;
		top: 50.5px;
		right: 0;
		background: white;
		width: 25vw;					
		z-index: 9000;
		border-bottom: solid 1px black;
		border-left: solid 1px black;		
		border-bottom-left-radius: 10px;
	}

	.nav-links.active {
		display: flex;
	}

	.menu-icon {
		display: block;
		padding: 8px 16px;
	}
	
	#jelmagyarazat-container.expanded, #jelmagyarazat-container.expanded #jelmagyarazat {				
		max-width: 95vw;					
	}
	
	#eredmenyek {
		max-width: 95vw;
		overflow-x: auto;
	}
	
	#kezeloszervek-container, #kereso-container {
		font-size: 12px;
	}				
	
	#kezeloszervek-container.expanded {
		max-width: 95vw;
		overflow-x: auto;
	}
	
	#nyelv-container {
		left: auto;
		right: 25vw;
		transform: translateX(0);
		top: 0;		
		border-right: transparent;
		border-bottom-right-radius: 0;
	}

	#about-container, #help-container, #welcome-container {		
		top: 30%;
		left: 10%;
		max-width: 80vw;
	}	
}

@media (max-height: 500px) {
	.navbar {
		display: none;					
	}	
	
	#terkep_helye {
		top: 0 !important;
	}

	#kereso-container {
		top: 10px !important;
	}
	
	#tartalom {
		top: 0 !important;		
	}	
}

body:has(#about-container.expanded) #tartalom, body:has(#help-container.expanded) #tartalom, body:has(#welcome-container.expanded) #tartalom {
	background: rgba(0, 0, 0, 0.1);
	pointer-events: all;
}

#terkep_helye {
	position: absolute;			
	width: 100vw;
	top: 51px;		
	bottom: 0;
	z-index: 0;
}

#jelmagyarazat-container {
	position: absolute;
	bottom: 25px;
	right: 10px;
	z-index: 1001;
	width: 35px;
	height: 35px;
	background-color: #ffffff;
	border-radius: 10px;
	border: 2px solid rgba(0,0,0,0.3);
	cursor: pointer;
	transition: all 0.3s ease;				
}

#jelmagyarazat-container.expanded {
	width: auto;
	height: auto;
}

#jelmagyarazat-kep {
	margin-left: auto;
	margin-right: auto;
	padding: 5px 0;				
	width: 25px;
	height: 25px;
	display: block;
}

#jelmagyarazat {
	display: none;			    
	padding: 10px;
	font-family: "Raleway", sans-serif;			    
	z-index: 1001;				
}

#jelmagyarazat-container.expanded #jelmagyarazat {
	display: block;	
	max-height: 50vh;			
	overflow-y: auto;
	overflow-x: auto;
}

#jelmagyarazat-container.expanded #close-button-jm {
	display: block;	
}

#jelmagyarazat-container.expanded .jelmagyarazat-header {
	display: block;	
}

#jelmagyarazat-container.expanded #jelmagyarazat-kep {
	display: none;			
}

#jelmagyarazat-elemek_ {
	width: 245px;
	column-count: 2;
	column-width: 120px;
	column-gap: 5px;
}		

#kezeloszervek-container {
	position: absolute;
	bottom: 25px;
	left: 10px;
	z-index: 1000;
	width: 35px;
	height: 35px;
	background-color: #ffffff;
	border-radius: 10px;
	border: 2px solid rgba(0,0,0,0.3);
	cursor: pointer;
	transition: all 0.3s ease;
	overflow: hidden;
}

#kezeloszervek-container.expanded {
	width: auto;
	height: auto;
}

#kezeloszervek-kep {
	margin-left: auto;
	margin-right: auto;
	padding: 5px 0;				
	width: 25px;
	height: 25px;
	display: block;
}			

#kezeloszervek {
	display: none;
	background: rgba(255, 255, 255, 1);
	padding: 8px;			
	z-index: 1000;
	text-align: center;				
}

#kezeloszervek-container.expanded #kezeloszervek {
	display: block;			
}

#kezeloszervek-container.expanded #close-button-ksz {
	display: block;	
}

#kezeloszervek-container.expanded .kezeloszervek-header {
	display: block;	
}

#kezeloszervek-container.expanded #kezeloszervek-kep {
	display: none;			
}		

#close-button-ksz, #close-button-jm, #close-button-k, #close-button-a, #close-button-h, #close-button-w {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	padding: 4px;
	border: none;
	text-align: center;
	width: 18px;
	height: 14px;
	font: 16px/14px Tahoma, Verdana, sans-serif;
	color: #c3c3c3;
	text-decoration: none;
	font-weight: bold;
	background: transparent;
	cursor: pointer;
}

#close-button-ksz:hover, #close-button-jm:hover, #close-button-k:hover, #close-button-a:hover, #close-button-h:hover, #close-button-w:hover {
	color: #999;
}

#kereso-container {
	position: absolute;
	top: 61px;
	left: 55px;
	z-index: 999;
	width: 35px;
	height: 35px;
	background-color: #ffffff;
	border-radius: 10px;
	border: 2px solid rgba(0,0,0,0.3);
	cursor: pointer;
	transition: all 0.3s ease;
	overflow: hidden;
}

#kereso-container.expanded {
	width: auto;
	height: auto;								
}

#kereso {
	display: none;
	background: rgba(255, 255, 255, 1);
	padding: 8px;			
	z-index: 1000;						
}			

#kereso-kep {
	margin-left: auto;
	margin-right: auto;
	padding: 5px 0;				
	width: 25px;
	height: 25px;
	display: block;
}

#kereso-container.expanded #kereso {
	display: block;			
}

#kereso-container.expanded #close-button-k {
	display: block;	
}

#kereso-container.expanded .kereso-header {
	display: block;	
}

#kereso-container.expanded #kereso-kep {
	display: none;			
}

#keresomezo {
	font-family: "Raleway", sans-serif;
	font-size: inherit;
}

#eredmenyek { 
	margin-top: 20px; 
	max-height: 25vh; 
	overflow-y: auto;				 
}

#eredmenyek div {
	max-width: 45vw;
	padding: 8px; 
	cursor: pointer; 
}

#eredmenyek div:hover { 
	background-color: #e0e0e0; 
}
		
#evszoveg {
	font-family: "Raleway", sans-serif;
	font-size: inherit;
}		

#lejatszas {
	font-family: "Raleway", sans-serif;
	font-size: inherit;				
}

.jelmagyarazat-header, .kezeloszervek-header, .about-header, .help-header, .welcome-header {
	display: none;
	position: relative;
	height: 20px;
	background: rgba(255,255,255,1);								
}

.kereso-header {
	display: none;
	position: relative;
	height: 5px;
	background: rgba(255,255,255,1);								
}

.jelmagyarazat-cim {
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 5px;				
	text-transform: uppercase;
	color: #a00808;
}

.jelmagyarazat-alcim {
	font-size: 11px;
	font-weight: bold;				
	margin-bottom: 10px;
	margin-top: 10px;
	text-transform: uppercase;
	color: #a00808;
}

.jelmagyarazat-elem {
	margin: 3px 0;
	font-size: 10.5px;
	white-space: nowrap;
	flex-shrink: 0;
}

.jelmagyarazat-elem span {
	display: inline-block;
	margin: 1px;
	vertical-align: middle;
}

.kor {
	border-radius: 50%;
	border: solid 1px black;
	background-color: white;
	width: 6px;
	height: 6px;
}

.vonal {
	width: 70px;
	height: 5px;
}

.cimke {
	margin: 5px;				
}

.telnev {
	margin-left: 1px;				
}

.megyenev {
	margin-left: 1px;				
}

.block {
	width: 120px;
}		

.leaflet-labeler-label {
	font-family: "Raleway", sans-serif;
	font-size: 10.5px;				
}

.leaflet-popup {
	font-family: "Raleway", sans-serif;
	font-size: 9px;
}
.leaflet-popup a {
	color: #a00808;
}
.leaflet-label {
	font-family: "Raleway", sans-serif;
}
.leaflet-touch .leaflet-bar, .leaflet-touch .leaflet-control-layers {
	border: 2px solid rgba(0,0,0,0.3);
	border-radius: 10px;
	box-shadow: none;
	background: #fff;	
}
.leaflet-touch .leaflet-bar a {
	width: 35px;				
	height: 35px;				
	line-height: 35px;
	font-size: 24px;
	border-radius: 0;	
}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 35px;
	height: 35px;
	background-size: 25px 25px;
}
.leaflet-control-layers-expanded {
	padding: 8px 10px;
	border-radius: 10px;
}
#loading-screen {
	position: fixed;
	inset: 0;
	background: rgba(255, 255, 255, 0.6);
	z-index: 5000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.loading-box {
	text-align: center;
	font-family: "Raleway", sans-serif;
	color: #222;
}

.spinner {
	width: 42px;
	height: 42px;
	margin: 0 auto 14px;
	border: 4px solid #ddd;
	border-top: 4px solid #a00808;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;	
}

@keyframes spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

.loading-text {
	font-size: 18px;
	font-weight: bold;
	letter-spacing: 1px;
}

body.loading {
	overflow: hidden;	
}

#kezeloszervek-container.loading {
	pointer-events: none;		
}

#overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	pointer-events: none;
}

#tartalom {
	position: fixed;
	top: 51px;
	bottom: 0;
	width: 100vw;
	z-index: 1500;
	pointer-events: none;
}

#szoveg {
	padding: 10px;
	text-align: justify;				
	line-height: 1.5;
}

.cim, .alcim {
	font-weight: bold;
	color: #a00808;
}

.kiemelt {	
	color: #a00808;
	font-weight: 600;
}

.kep-lista {
	display: flex;
	align-items: center;
	gap: 10px;
}

#retegkezelo-kep {
	margin-left: auto;
	margin-right: auto;
	padding: 5px 0;				
	width: 25px;
	height: 25px;
	display: block;
}

.zoom-ikon {
	padding: 0;				
	width: 25px;
	height: 25px;
	display: inline-flex;	
	align-items: center;
	justify-content: center;
	font-size: 36px;
	line-height: 1;
	font-weight: light;
	white-space: nowrap;
	flex-shrink: 0;
	vertical-align: middle;
}

p {
	margin-top: 0;
}

.nyelv {
	margin: 0;
}

.forras {
	margin-bottom: 8px;
}

a {
	color: #a00808;	
}