@import url(https://fonts.googleapis.com/css2?family=Alata&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap);

body {
	font: normal 16px/22px Roboto, Arial, sans-serif;
	color: #333;
	margin: 5px;
}

#content {
	max-width: 760px;
	margin: 0 auto;
}

p {
	margin: 0;
	padding: 0;
	text-align: left;
}

	p.back {
		text-align: center;
		padding-top: 1rem;
	}

a {
	text-decoration: none;
	color: #039;
}
a:hover {
	text-decoration: underline;
}

/* nyelvválasztó oldal */
#intro { text-align: center; }
	#intro img {
		height: 90vh;
		margin: 0 auto 1rem;
		border: 1px solid #ccc;
		box-shadow: 2px 2px 5px rgba(0,0,0,.3);
	}

	@media only screen and (max-width: 576px) {
		#intro img {
			max-width: 95vw;
			height: auto;
			margin-bottom: 1.5rem;
		}
	}

	#intro a {
		margin: 0 2rem;
		padding: 5px 0 5px 40px;
	}

	#intro a.flaghun { background: url(i/flag_hun.png) no-repeat center left; }
		#intro a.flageng { background: url(i/flag_eng.png) no-repeat center left; }

/* fejléc */
h1 {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	    -ms-flex-direction: row;
	        flex-direction: row;
	-webkit-flex-wrap: wrap;
	    -ms-flex-wrap: wrap;
	        flex-wrap: wrap;
	-webkit-justify-content: space-between;
	          -ms-flex-pack: justify;
	        justify-content: space-between;
	-webkit-align-content: stretch;
	   -ms-flex-line-pack: stretch;
	        align-content: stretch;
	-webkit-align-items: stretch;
	     -ms-flex-align: stretch;
	        align-items: stretch;
	margin: 0;
	padding: 0;
	background-color: #BE8747;
}

	h1 > * {
		padding: 0.75rem 0.5rem;
		font-family: Alata;
		font-size: 2.074rem;
		line-height: 1.2;
		color: #18498e;
	}

	h1 .title {
		-webkit-flex: 3 0 auto;
		    -ms-flex: 3 0 auto;
		        flex: 3 0 auto;
		margin-left: 120px;
		text-align: left;
		font-variant-caps: small-caps;
		background-color: #edf3fa;
		border-left: 5px solid #fff;
		border-right: 5px solid #fff;
	}

	h1 .year {
		-webkit-flex: 1 1 auto;
		    -ms-flex: 1 1 auto;
		        flex: 1 1 auto;
		text-align: center;
		background-color: #edf3fa;
	}

	@media only screen and (max-width: 768px) {
		h1 {
		-webkit-flex-direction: column;
		    -ms-flex-direction: column;
		        flex-direction: column;
		}
		h1 .title {
			margin-top: 5px;
			margin-left: 0;
			text-align: center;
			border-bottom: 5px solid #fff;
			border-left: none;
			border-right: none;
		}

	}

h2 {
	margin: 1em auto;
	padding: 0;
	text-align: center;
	font-family: Alata;
	font-size: 1.728rem;
	line-height: 1.2;
}

h3 {
	margin: 1em 0 0 0;
	padding: 0;
	text-align: left;
	font-size: 1.44rem;
	line-height: 1.2;
}

/* főoldal */
#mainpage {
	width: 600px;
	margin: 0 auto;
	overflow: auto;
}

	#mainpage img {
		float: left;
		margin: 0.2rem 3rem 0 0;
		width: 180px;
		border: 1px solid #ccc;
		box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.3);
	}

	#mainpage p {
		margin-top: 1.2rem;
		text-indent: -1.5rem;
	}

	#mainpage.eng p {
		margin-top: 1rem;
	}

	.iso_dl {
		margin: 2rem 0 1rem;
		text-align: center;
	}

	@media only screen and (max-width: 576px) {
		#mainpage {
			width: 100%;
		}

		#mainpage img {
			display: none;
		}

		#mainpage p {
			margin-top: 1rem;
			text-align: center;
		}
	}

/* pdf-ek és táblák */
ul.chapters {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

	ul.chapters li {
		position: relative;
		padding: 2px 2px 2px 2.5rem;
	}

		ul.chapters li.sub {
			margin-top: 0.5rem;
			font-weight: bold;
		}

		ul.chapters li.gap {}

		ul.chapters li a {
			text-decoration: none !important;
		}

		ul.chapters li span.num {
				width: 2.5rem;
				position: absolute;
				top: 2px;
				left: 2px;
				text-decoration: none !important;
			}

			ul.chapters li a:hover,
			ul.chapters li a:hover span.num {
				text-decoration: underline !important;
			}

/* táblák jelmagyarázata */
table.symbols {
	margin: 1em auto;
	border-collapse: collapse;
	background: #e2e2e2;
}

	table.symbols th, table.symbols td {
		font-weight: normal;
		text-align: left;
		vertical-align: top;
	}

	table.symbols th {
		padding: 2px 5px 2px 10px;
		white-space: nowrap;
	}

	table.symbols td {
		padding: 2px 10px 2px 0px;
	}

/* Impresszum */
.about p {
	text-align: center;
	margin: 1em 0 0 0;
}

/* link típusok */
a.xls {
	padding-right: 20px;
	background: url(i/icon_xls.png) no-repeat right 0;
}
a.pdf {
	padding-right: 20px;
	background: url(i/icon_pdf.png) no-repeat right 0;
}
a.out {
	padding-right: 16px;
	background: url(i/icon_out.png) no-repeat right 0;
}
a.iso {
	padding: 13px 0 13px 40px;
	background: url(i/icon_cd.png) no-repeat center left;
}
