div.flexcontainer {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-ms-flex-line-pack: start;
	align-content: flex-start;
	-webkit-box-align: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
}

div.flexcontainer div.book_img {
	width: 25%;
	padding: 4px;
}

div.flexcontainer div.book_detail {
	width: calc(75% - 1.5em);
	padding: 4px;
}

div.flexcontainer div.book_arrow {
	width: 1.25em;
}

a.item {
	all: initial;
	cursor: pointer;
	display: block;
	padding: 8px;
	width: 33%;
	margin: 1px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	border-top: 1px dashed silver;
}

a.item div.flexcontainer {
	padding: 0 8px;
	height: 100%;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

a.item div.book_detail h3,
h3.booktitle {
	color: #428bca;
	text-decoration: none;
}

@media screen and (max-width: 1024px) {
	a.item {
		width: 49.5%;
	}
}

@media screen and (max-width: 680px) {
	a.item {
		width: 99.9%;
	}
}

.staticheader {
	max-width: 970px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: max(40px, min(6vw, 50px));
}

input + label {
	padding: 8px 8px 8px 8px;
	border: 1px solid silver;
	border-radius: 4px;
	color: #5b5b5b;
	font-weight: 400;
}

.radio label {
	padding: 8px;
}

input:checked + label {
	color: white;
	background-color: #404040;
}

h2.titelheader {
	margin-top: 2em;
	margin-left: -8px;
	border-left: 10px solid #2ca6e0;
	padding: .5em .25em;
	background: #f0f6f9;
}

.modal-change {
	color: #fff;
	background-color: #5bc0de;
	border-color: #46b8da;
}

.modal-change:hover,
.modal-change:focus,
.modal-change:active {
	color: #fff;
	background-color: #31b0d5;
	border-color: #269abc;
}

.modal-change + .modal-change {
	color: #fff;
	background-color: #d9534f;
	border-color: #d43f3a;
}

.modal-change + .modal-change:hover,
.modal-change + .modal-change:focus,
.modal-change + .modal-change:active {
	color: #fff;
	background-color: #c9302c;
	border-color: #ac2925;
}

div.biostatics {
	margin: 8px 0;
	background: rgba(152, 251, 152, 0.5);
	padding: 8px;
	border-radius: 4px;
	border: 1px solid #9bb49c;
}

div.biostatics span.label {
	background-color: #205a20;
}

div.medstatics {
	margin: 8px 0;
	background: rgba(173, 216, 230, 0.5);
	padding: 8px;
	border-radius: 4px;
}

div.medstatics span.label {
	background-color: #203dea;
}

h4.cat {
	text-decoration: underline;
	text-decoration-color: darkslategray;
}

div#contents {
	max-width: 1240px;
	margin-inline: auto;
}

.intro {
	display: grid;
	justify-content: center;
}

.intro p {
	line-height: 1.8;
}

.intro p:not(:last-child) {
	margin-bottom: 2em;
}

.intro mark {
	background: linear-gradient(transparent 70%, #bfe4f6 70%);
	font-weight: 700;
}

#MathJax-Element-1-Frame {
	padding: 0 2px;
}

.curious {
	border-color: #faaf00;
	background: #fdf3de;
}

input:checked + label.curious {
	background: #faaf00;
}

.audience {
	border-color: #5e9adb;
	background: #e7f2fe;
}

input:checked + label.audience {
	background: #5e9adb;
}

.bookstore_fair {
	margin: 30px auto 70px;
	display: flex;
	justify-content: center;
}

.bookstore_fair a {
	display: grid;
	grid-template-columns: auto auto;
	align-items: center;
	color: inherit;
	justify-content: center;
	border: 1px solid #ccc;
	padding: 20px;
}

.bookstore_fair a img {
	height: 80px;
}

.bookstore_fair a p {
	margin: 0;
	line-height: 1.6;
	font-size: 16px;
	height: 100%;
	padding: 15px;
	display: grid;
	align-items: center;
	height: 85px;
}

@media (max-width: 767px) {
	.bookstore_fair a {
		grid-template-columns: auto;
		padding: 15px;
		gap: 15px;
	}

	.bookstore_fair a img {
		width: 60%;
		margin-inline: auto;
		height: auto;
	}

	.bookstore_fair a p {
		font-size: 12px;
		text-align: center;
		padding: 0;
		height: auto;
	}
}