/*
 * Theme Name: ProM
 * Description: Custom Theme For Pro-M
 * Author: ProM Zrt, ProM Kft.
*/
@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&display=swap");
*:after,
*:before {
	margin: 0;
	box-sizing: border-box;
}


body {
  --text-color: #000;
  --bkg-color: #fff;
  --menu-bg: #072c59;
}
body.dark-theme {
  --text-color: #fff;
  --bkg-color: #000;
}

@media (prefers-color-scheme: dark) {
  /* defaults to dark theme */
  body {
    --text-color: #fff;
    --bkg-color: #000;
  }
  body.light-theme {
    --text-color: #000;
    --bkg-color: #fff;
  }
}

html {
	font-family: "EB Garamond", "Times New Roman";
	line-height: 1.45;
	font-weight: 500;
}

body {
	background: var(--bkg-color);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: left top;
}
body.dark-theme {
	background-image: initial!important;
}
* {
	color: var(--text-color);
}

hr {
	padding-bottom: 1rem;
	border: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
ul,
dl,
p,
table,
dd,
ol,
pre,
footer {
	padding-bottom: 1rem;
	display: block;
	max-width: 100%;
}
body {
	margin: 0;
}
p {
	line-height: 1.5;
}

h5,
h6 {
	text-transform: uppercase;
	font-size: 1rem;
}

dt {
	font-weight: normal;
}

form div {
	padding-bottom: 1rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
}

form label {
	font-weight: bold;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
	display: block;
	text-transform: uppercase;
}

th,
td,
tr {
	text-align: left;
}

td,
th {
	padding: 0.5rem;
}

th {
	text-transform: uppercase;
}

blockquote {
	padding-left: 1rem;
	font-style: italic;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}



header.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem;
}

nav h5 {
	margin: 0;
}

header.main {

}



header.main a.logo {
	width: 100%;
	max-width: 70px;
}

nav#top-navigation ul {
	margin: 0;
	padding: 0;
	display: flex;
	gap: 1rem;
	list-style: none;
}

nav#top-navigation ul a {
	font-size: 1rem;
	text-decoration: none;
	color: var(--text-color);
}
main#content,
nav#navigation {
	min-height: 100vh;
}

nav#navigation {
	background-color: var(--menu-bg);
}

nav#navigation * {
	color: #a3c9ff;
}

nav#navigation ul {
	padding: 0 0 0 1rem;
	list-style: none;
}

nav#navigation ul li {
	font-size: 125%;
	font-style: italic;
	font-weight: 300;
	padding-bottom: 0.5rem;
}

nav#navigation ul li a {
	text-decoration: none;
}

nav ul li.icon  {
	display: flex;
	align-items: center;
}
nav ul li.icon a {
	height: 24px;

}
nav ul li.icon a svg {
	fill: var(--text-color);
}
.dark-theme #mobile-navigation svg {
	fill: #fff;
}
nav#navigation h5 {
	padding: 0;
}

nav#navigation svg {
	fill: #a3c9ff;
}

nav#navigation a:hover {
	color: #fff;
}

nav#navigation a:hover svg {
	fill: #fff;
}

nav#navigation ul li.current-menu-item a {
	color: #fff;
}

article:first-of-type {
	/*	min-height: 100vh;*/
}

nav a.button {
	text-transform: uppercase;
	border: 3px solid #a3c9ff;
	padding: 3px 7px;
	font-style: normal;
}

.article-h1 {
	font-weight: 300;
	color: var(--text-color);
	font-style: italic;
	font-size: 2.25rem;
	border-bottom: 1px solid var(--text-color);
	margin-bottom: 1rem;
}

article {
	padding-bottom: 4rem;
}

article p {
	font-size: 1.25rem;
	margin-top: 0;
}

body.single .article-content {
	display: flex;
	flex-wrap: wrap;
}

body.single .article-content > * {
	flex: 1 1 100%;
}

.content-wrapper {
	padding-bottom: 12rem;
}

.wrapper {
	padding: 1rem;
}

footer#footer {
	padding: 2rem 1rem;
	background-color: #bcc7db;
}

dl dd {
	margin: 0;
}

dl dt {
	font-weight: bold;
	font-size: 125%;
}
address {
	font-style: normal;
}

.article-content h3 {
	text-transform: uppercase;
}

#top-navigation {
	display: none;
}

@media only screen and (min-width: 768px) {
	body.single .article-content > * {
		flex: 1 1 50%;
	}
	#top-navigation {
		display: initial;
		font-weight: 500;
	}
	#mobile-navigation {
		display: none;
	}
}

@media only screen and (min-width: 1024px) {
	.page .article-body {
		padding: 0rem;
	}
	dl.group {
		display: flex;
		gap: 1rem;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	dl.group span {
		flex: 1 1 30%;
		padding-bottom: 2rem;
	}

	article p,
	dl {
		font-size: 1.25rem;
	}

	header.main,
	.wrapper {
		padding: 1rem 3vw;
	}
}

@media only screen and (min-width: 1279px) {
	nav#top-navigation ul a {
		font-size: 1.25rem;
	}
	article p,
	dl,
	ul {
		font-size: 1.5rem;
	}

	.home .article-body {
		display: flex;
		gap: 2rem;
	}

	.home dl {
		/*	display: flex;*/
		flex-wrap: wrap;
	}

	.home dl > dt {
		flex: 1 1 33%;
	}

	.home dl > dd {
		flex: 1 1 66%;
	}

	header.main,
	.wrapper {
		padding: 1rem 16vw;
	}

	.page .article-body {
		padding: 0rem;
	}
}