/* This file contains CSS tweaks for this blueprint.
 * As an example, we included CSS rules that put
 * a vertical line on the left of theorem statements
 * and proofs.
 * */


div.proof_content {
	border-left: .08rem solid grey;
}


/* Readable body text: larger base size, wider column, generous line height. */
html {
	font-size: 18px;
}

@media (max-width: 600px) {
	html {
		font-size: 16px;
	}
}

body {
	font-family: -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}

div.content-wrapper {
	max-width: 52rem;
	width: 100%;
	min-width: 0;
}

div.content, div.wrapper {
	min-width: 0;
}

@media (max-width: 600px) {
	h1#doc_title {
		font-size: 1.05rem;
		line-height: 1.4;
	}
}

div.content {
	line-height: 1.85;
}

div.content > p {
	margin: 1rem 0;
}

ol, ul {
	font-size: 1rem;
}

li {
	margin: 0.2rem 0;
}

h1 {
	line-height: 1.3;
}

.toc ul a {
	font-size: 1rem;
}

nav.toc {
	max-width: 18rem;
}

div[class$=_thmwrapper] {
	margin-top: 1.6rem;
}

div[class$=_thmcontent] p, div.proof_content p {
	margin: 0.4rem 0;
}

/* Figures: SVGs are declared 1.6 times print size and shrink to the column. */
figure {
	max-width: 100%;
	margin: 2rem 0;
	text-align: center;
	overflow-x: auto;
}

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

figcaption {
	font-size: 0.92rem;
	text-align: left !important;
	margin-top: 0.6rem;
	line-height: 1.7;
}

/* Boxed statements: definitions in blue, empirical laws in green, theorems, lemmas and corollaries in amber. */
div.definition_thmwrapper,
div.empirical_thmwrapper,
div.theorem_thmwrapper,
div.proposition_thmwrapper,
div.lemma_thmwrapper,
div.corollary_thmwrapper {
	border: 1px solid;
	border-left-width: 6px;
	border-radius: 6px;
	padding: 0.6rem 1rem 0.4rem;
	margin-top: 1.6rem;
}

div.definition_thmwrapper {
	border-color: #9db5d9;
	border-left-color: #3a6bb0;
	background: #f1f5fb;
}

div.empirical_thmwrapper {
	border-color: #9fd3b4;
	border-left-color: #2e8b57;
	background: #eef8f1;
}

div.theorem_thmwrapper,
div.proposition_thmwrapper,
div.lemma_thmwrapper,
div.corollary_thmwrapper {
	border-color: #e2c48f;
	border-left-color: #c07a1c;
	background: #fdf7ec;
}

div.definition_thmheading span.definition_thmcaption {
	color: #2c5590;
}

div.empirical_thmheading span.empirical_thmcaption {
	color: #1f6b42;
}

div.theorem_thmheading span.theorem_thmcaption,
div.lemma_thmheading span.lemma_thmcaption,
div.corollary_thmheading span.corollary_thmcaption,
div.proposition_thmheading span.proposition_thmcaption {
	color: #94590c;
}

div[class$=_thmcontent] {
	margin-left: 0;
	padding-left: 0;
	border-left: none;
}

div.proof_wrapper {
	margin: 0.3rem 0 0 1rem;
}

div.proof_content {
	border-left: .08rem solid #bbb;
}
