@font-face {
	font-family: "Roboto Mono";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("roboto-mono-400.ttf") format("truetype");
}

@font-face {
	font-family: "Roboto Mono";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("roboto-mono-700.ttf") format("truetype");
}

@font-face {
	font-family: "Roboto Mono";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("roboto-mono-400-italic.ttf") format("truetype");
}

@font-face {
	font-family: "Roboto Mono";
	font-style: italic;
	font-weight: 700;
	font-display: swap;
	src: url("roboto-mono-700-italic.ttf") format("truetype");
}

html {
	height: 100%;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

html, body, body * {
	font-family: "Roboto Mono", monospace !important;
}

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

body[background*="Parchmtl"] td,
body[background*="Parchmtl"] th {
	overflow-wrap: break-word;
}

body.shell {
	display: flex;
	height: 100%;
	height: 100dvh;
	margin: 0;
	overflow: hidden;
}

#menu-toggle {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.menu-button {
	display: none;
}

.shell-nav {
	position: relative;
	flex: 0 0 260px;
	min-width: 0;
	min-height: 0;
	border-right: 1px solid #ccc;
}

.shell-main {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	min-height: 0;
}

.shell-nav iframe,
.shell-main iframe {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 1px;
	min-width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 960px), (pointer: coarse) {
	body.shell {
		flex-direction: column;
	}

	.menu-button {
		display: block;
		flex: 0 0 auto;
		padding: 14px 16px;
		background: #f3f3f3;
		border-bottom: 1px solid #ccc;
		font-size: 16px;
		cursor: pointer;
	}

	.shell-nav {
		display: none;
		flex: 0 0 48vh;
		height: 48vh;
		border-right: 0;
		border-bottom: 1px solid #ccc;
	}

	#menu-toggle:checked ~ .shell-nav {
		display: block;
	}

	.shell-main {
		flex: 1 1 0;
		height: 0;
	}

	body[background*="Parchmtl"] {
		box-sizing: border-box;
		width: 100%;
		margin: 0;
		padding: 12px 14px;
		overflow-wrap: break-word;
	}

	body[background*="Parchmtl"] table {
		width: calc(100vw - 28px) !important;
		max-width: 100% !important;
		table-layout: fixed;
	}

	body[background*="Parchmtl"] td,
	body[background*="Parchmtl"] th {
		width: auto !important;
		max-width: 100%;
	}
}

body[background*="Parchmtl"] > * {
	max-width: calc(210mm - 1cm);
	margin-left: auto;
	margin-right: auto;
}

body[background*="Parchmtl"] p {
	text-align: justify;
}

body[background*="Parchmtl"] p[align="center"] {
	text-align: center;
}

body[background*="Parchmtl"] p[align="right"] {
	text-align: right;
}

body[background*="pink"] {
	margin: 12px;
}

body[background*="pink"] ol {
	font-size: 14px;
	line-height: 1.45;
	list-style-position: inside;
	margin: 0.4em 0 0;
	padding-left: 0;
}

body[background*="pink"] ol li {
	margin: 0.55em 0;
}
