body {
	margin: 0;
	height: 100vh;
	display: grid;
	grid-template-rows: 1fr 10fr auto;
	grid-template-columns: 1fr;
}

body>header,
footer {
	background-color: #f0f0f0;
	padding: 0 10px;
}

footer {
	display: grid;
	grid-template-columns: 130px auto;
	align-items: center;
}

footer img {
	width: 120px;
}

main {
	line-height: 30px;
	background-color: #fff;
	padding: 20px;
	overflow-y: auto;
}

main img {
	max-width: 80vw;
}

main ul li {
	list-style: none !important;
}

.metadata span {
	margin-right: 1em;
}

main p {
	text-indent: 2em;
	margin-bottom: 0.2em;
}

main em {
	font-style: normal;
	font-weight: bold;
	padding: 0px 1.5em;
	border-bottom: 1px solid #373c44;
}

main ol {
	display: block;
	counter-reset: section;
	list-style-type: none;
	/*flex-direction: row;*/
	/*flex-wrap: wrap;*/
}

main ol li {
	display: inline-block;
	width: 42vw;
}

main ol li::before {
	counter-increment: section;
	content: counters(section, '.') '. ';
}

main hr {
	margin: 0.5em 0;
}

main .cloze-option {
	border: 1px solid #000;
	padding: 0.5em 0.2em;
	text-align: center;
	text-indent: 0;
}

.cloze-option strong {
	padding: 1em 0.2em;
	padding: 0 0.5em;
}

.print {
	display: none;
}

.watermark {
	background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('/image/watermark.jpg');
	background-repeat: repeat-y;
	background-position: top;
	background-size: contain;
	min-height: 100%;
	z-index: -1;
}

@media print {
	@page {
		size: A4;
		margin: 0;
	}

	body {
		font-size: 12pt;
		font-family: "Times New Roman", "SimSun", "STSong";
	}

	body>header {
		height: 4.8em;
		padding: 10px;
	}

	.container-fluid {
		padding-top: 0;
		margin-top: -1em;
	}

	.watermark {
		min-height: inherit;
	}

	/*show watermark image for print*/
	* {
		-webkit-print-color-adjust: exact !important;
		color-adjust: exact !important;
	}

	a {
		cursor: default;
		pointer-events: none !important;
		text-decoration: none;
		color: #373c44 !important;
	}

	.normal {
		display: none;
	}

	.print {
		display: block;
	}

	.metadata span:last-child {
		display: none;
	}

	/* 隐藏高频词 */

	/*hr:last-of-type +p{*/
	/*	display:none;*/
	/*}*/
	/*main ol {*/
	/*	display:none;*/
	/*}*/
}
