body {
	/* base2tone sea */
	--A0: #1d262f; --B0: #004a9e; --C0: #717a77; --D0: #067953;
	--A1: #27323f; --B1: #1757a1; --C1: #818d89; --D1: #088c60;
	--A2: #405368; --B2: #34659d; --C2: #939f9b; --D2: #0aa370;
	--A3: #4a5f78; --B3: #57718e; --C3: #a6b0ad; --D3: #0db57d;
	--A4: #738191; --B4: #6e9bcf; --C4: #b7c2be; --D4: #0fc78a;
	--A5: #8a96a3; --B5: #7eb6f6; --C5: #cbd7d3; --D5: #14e19d;
	--A6: #a1aab5; --B6: #afd4fe; --C6: #e1eae7; --D6: #2aeaaa;
	--A7: #b8bfc7; --B7: #ebf4ff; --C7: #f9fbfa; --D7: #47ebb4;
}

@media screen and (max-width: 1000px) {
	body {
		width: 90%;
	}

	div#logo img {
		height: unset;
		width: 100%;
	}

	div#page {
		flex-wrap: wrap;
		margin-top: 1.0rem;
	}

	div#sidebar {
		width: 100%;
	}

	div#sidebar li {
		margin-top: 2rem;
		margin-bottom: 2rem;
	}

	div#sidebar li img {
		margin-right: 1em;
		width: 2em;
		height: 2em;
	}

	div#content {
		width: 100%;
	}

}

@media screen and (min-width: 1001px) {
	body {
		width: 80%;
	}

	div#logo img {
		width: 100%;
/*		height: 8rem;*/
	}

	div#page {
		flex-wrap: nowrap;
		margin-top: 4.0rem;
	}

	div#sidebar {
		width: 38%;
	}

	div#sidebar li {
		margin-top: 1rem;
		margin-bottom: 1rem;
	}

	div#sidebar li img {
		margin-right: 1em;
		width: 1em;
		height: 1em;
	}

	div#content {
		width: 62%;
	}
}

body {
	font-family: sans;
	font-style: normal;
	font-size: 1.3rem;
	margin-left: auto;
	margin-right: auto;
	/*width: 77%;*/
	color: var(--A1);
	background-color: var(--C7);
}

div#logo {
	width: 100%;
}

div#logo img {
	margin-left: auto;
	margin-right: auto;
	display: block;
}

div#index {
	margin-top: 4rem;
	margin-bottom: 5rem;
	text-align: center;
	width: 100%;
}

div#index div#menu {
	font-size: 2rem;
}

/* picture menu */
/*
div#menu {
	margin-top: 3rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 4rem 4rem;
}

div.menu-item {
	width: 20rem;
	border: solid var(--A4) 1px;
}

div.menu-item img {
	width: 100%
}
*/

@font-face {
    font-family: 'Libertine';
    src: url('/fonts/LinLibertine_R.woff');
}

div#menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 4rem 4rem;
}

div#menu div.item {
	width: 20rem;
	height: 20rem;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	display: table-cell;
	vertical-align: middle;
	font-family: Libertine;
}

div#menu a:link {
	color: var(--A1);
	text-decoration: none;
}

div#menu a:visited {
	color: var(--A1);
	text-decoration: none;
}

/* other pages */
div#logo {
}

div#logo img {
	width: 100%;
}

div#page {
	display: flex;
}

div#sidebar {
	margin-bottom: 2rem;
	margin-right: 2rem;
}

div#sidebar ul {
	list-style: none;
	margin: 0;
	word-wrap: break-word;
}

div#sidebar li.current {
	font-weight: bold;
}

div#sidebar li.current ul {
	font-style: normal;
}


div#content {
	float: right;
	text-align: left;
	background: center center no-repeat;
	background-size: contain;
}

div#content img {
	width: 100%;
}

div#content p {
	margin-bottom: 2rem;
}

a:link {
	color: var(--B1);
	text-decoration: none;
}

a:visited {
	color: var(--B1);
	text-decoration: none;
}

h1 {
	font-size: 1.5rem;
}

h1:not(:first-child) {
	margin-top: 2.5rem;
}

h2 {
	font-size: 1.3rem;
}

h2:not(:first-child) {
	margin-top: 2.5rem;
}

h3 {
	font-size: 1.2rem;
}

h3:not(:first-child) {
	margin-top: 2.5rem;
}

h4 {
	font-size: 1rem;
	font-style: italic;
}

label {
	display: block;
}

input {
	display: block;
}

textarea {
	display: block;
	rows: 10;
	cols: 72;
}

div#footer {
	margin-top: 6rem;
	text-align: center;
}

div#footer a {
	margin-right: 1.5rem;
	margin-left: 1.5rem;
}

div#footer a:link {
	color: var(--A1);
	text-decoration: none;
}

div#footer a:visited {
	color: var(--A1);
	text-decoration: none;
}

blockquote {
	background-color: #ebf4ff99;
	padding: 0.5em;
	margin-left: 0;
	margin-right: 0;
}

blockquote p {
	margin: 0 !important;
	padding-bottom: 0.5rem;
}

/*
blockquote p.first::before {
    content: "„";
    font-size: 4em;
    display: inline;
    position: relative;
    top: -0.1em;
    line-height: 0.25em;
}*/

/*
blockquote p::after {
    content: "“";
    display: inline;
}*/

blockquote cite {
	text-align: right;
	display: block;
}

ul.toc {
	padding: 0;
	list-style: "↓" inside;
}

ul.toc li.item {
	margin-bottom: 0.5em;
}
