body {
	font-family: 'latin_modern_roman10_regular', 'Times New Roman', serif;
	font-size: 11.5pt;
	margin: 5em auto 8em;
	width: 36.15em;
	text-align: justify;
	line-height: 1.4;
/*	border: solid 1px blue;*/
}

body#home {
	margin: 10em auto;
}



/* ===== HEADER STYLES ===== */

/* h1:
	- #home: 17pt, center, normal, normal
	- .section: 10pt, left, normal, italic (top left)
	- other (subsection): 10pt, right, normal, italic (top right)
	h2:
	- #abstract: 9pt, center, bold, normal
	- .section: 14.4pt, left, bold, normal
	- other: 10pt, left, normal, normal, uppercase (top left)
	h3:
	- #abstract: 9pt, center, bold, normal
	- other (subsection): 12pt, left, bold, normal
*/

header {
	overflow: hidden;
/*	background-color: orange;*/
/*	position: relative;*/
	margin-bottom: 2em;
}

body#home header {
	margin-bottom: 0em;
}

/*	all non-home pages
	9pt non-bold
*/
body:not(#home) header > * {
	font-size: .9em;
	margin: 0;
	font-weight: normal;
	font-style: normal;
	line-height: 1.4;
}


/*	section pages only
	h1: left, italic
	page num: right
*/
body.section header h1 {
	font-family: 'latin_modern_roman10_italic', 'Times New Roman', serif;
	float: left;
	text-align: left;
	font-style: italic;
}
body.section header h1 a {
	font-style: italic;
}
body.section header .pagenum {
	float: right;
}


/*	non-section, non-home pages
	h2: left, uppercase
	h1: right, italic
*/
body:not(#home):not(.section) header h1 {
	font-family: 'latin_modern_roman10_italic', 'Times New Roman', serif;
	float: right;
	text-align: right;
	font-style: italic;
}
body:not(#home):not(.section) header h2 {
	font-family: 'latin_modern_roman10_italic', 'Times New Roman', serif;
	font-style: italic;
	float: left;
	text-transform: uppercase;
	margin: 0;
/*	background-color: fuchsia;*/
}
body:not(#home):not(.section) header h2 .sectionnum {
	margin-right: .6em;
}


/*	section pages, and home
	(h2 font overriden later in abstract)
*/
body.section h2,
body#home h2 {
	font-family: 'latin_modern_roman12_bold';
	font-size: 1.44em;
	margin: 1.25em 0 .5em;
}


/* section number in h2 outside header (de facto not in abstract) and h3 everywhere */
*:not(header) h2 .sectionnum,
h3 .sectionnum {
	margin-right: .7em;
}


/* home only (abstract de facto) */
#home header h1,
#home header .author,
#home header .affiliation,
#home header .date {
	text-align: center;
	font-weight: normal;
	font-style: normal;
}
#home header h1 {
	font-family: 'latin_modern_roman17_regular', 'Times New Roman', serif;
	font-size: 1.728em;
	margin: .9em 0;
}
#home header .author,
#home header .date {
	font-family: 'latin_modern_roman12_regular', 'Times New Roman', serif;
	font-size: 1.2em;
	margin: .75em 0;
}
#home header .author sup.footnote {
	margin-left: 0;
}
#home header .affiliation {
	font-family: 'latin_modern_roman12_italic', 'Times New Roman', serif;
	font-size: 1.2em;
	margin: .85em auto 1.6em;
/*	width: 20em;*/
	line-height: 1.2;
	font-style: italic;
}
#abstract {
	font-family: 'latin_modern_roman9_regular', 'Times New Roman', serif;
	font-size: 0.9em;
	padding: 0 2.5em;
}
#abstract em,
#abstract i {
	font-family: 'latin_modern_roman9_italic', 'Times New Roman', serif;
	font-style: italic;
}
#abstract h2 {
/*	font-size: .9em;*/
	font-family: 'latin_modern_roman10_bold', 'Times New Roman', serif;
	font-size: 1em !important;
	font-weight: normal;
	font-style: normal;
	text-align: center;
	margin-top: 1.75em !important;
}


/* all pages, de facto outside header */
h3 {
	font-family: 'latin_modern_roman10_bold', 'Times New Roman', serif;
	font-size: 1.2em;
	font-weight: normal;
	font-style: normal;
	margin: .5em 0 .5em;
}
h4 {
	font-family: 'latin_modern_roman10_bold', 'Times New Roman', serif;
	font-size: 1em;
	font-weight: normal;
	font-style: normal;
	margin: 1.25em 0 .5em;
}
h5 {
	font-family: 'latin_modern_roman10_italic';
	font-weight: normal;
	font-style: italic;
	font-size: 1em;
	margin: 0;
}




/* ===== CV STYLES ===== */
#cv h4 { /* sections */
	font-family: 'latin_modern_roman10_bold', 'Times New Roman', serif;
	font-size: 1.2em;
	font-weight: normal;
	font-style: normal;
	margin: 1.25em 0 .5em;
	text-align: center;
}
#cv h5 { /* employers */
	font-family: 'latin_modern_roman10_bold', 'Times New Roman', serif;
	font-size: 1em;
	font-weight: normal;
	font-style: normal;
	margin: 1.25em 0 0;
}
#cv h6 { /* positions */
	font-family: 'latin_modern_roman10_italic';
	font-weight: normal;
	font-style: italic;
	font-size: 1em;
	margin: 0;
}




/* ===== GENERIC STYLES ===== */

p, ul, ol {
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

code, pre, samp {
	font-family: 'latin_modern_mono_light10Rg';
	font-style: normal;
	font-weight: normal;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
}

code b, b code,
code strong, strong code,
pre b, b pre,
pre strong, strong pre,
samp b, b samp,
samp strong, strong samp {
	font-family: 'latin_modern_mono_light10Bd';
	font-weight: bold;
}

code i,
code em {
	font-family: 'latin_modern_mono_light10Ob';
	font-weight: normal;
	font-style: oblique;
}

code i b, code i strong,
code em b, code em strong,
code var b, code var strong,
code b i, code b em, code b var,
code strong i, code strong em, code strong var,
pre i b, pre i strong,
pre em b, pre em strong,
pre var b, pre var strong,
pre b i, pre b em, pre b var,
pre strong i, pre strong em, pre strong var {
	font-family: 'latin_modern_mono_light10BdOb';
	font-weight: bold;
	font-style: oblique;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
/*	color: #666;*/
	text-decoration: underline;
}

ul, ul li {
	margin: .75em 0;
}

p {
	text-indent: 1.5em;
	margin: 0;
}

*:not(#about) p:first-of-type {
	text-indent: 0;
}

blockquote {
	font-family: 'latin_modern_roman9_normal';
	font-size: 0.9em;
}

li.skills {
	list-style-type: none;
/*	font-family: 'latin_modern_roman10_regular';*/
}

p.skills,
div.skills,
li.skills {
	line-height: 1.1;
}

small {
	font-size: .8em;
}

.smallcaps {
	font-family: 'latin_modern_roman_caps10Rg';
	font-size: .75em;
}

p em, p i,
li em, li i, 
.skills {
	font-family: 'latin_modern_roman10_italic';
	font-style: italic;
}

.callout {
	font-family: 'latin_modern_roman10_italic';
	font-weight: normal;
	font-style: italic;
	font-size: 1em;
	margin: 2em 0;
	text-align: center;
/*	background-color: purple;*/
	text-indent: 0;
}

.restricted {
	font-family: 'latin_modern_roman9_regular', 'Times New Roman', serif;
	font-weight: normal;
	font-size: .9em;
}
figure {
	margin: 1em 0;
}
figure img {
	width: 100%;
}
figure figcaption {
	font-family: 'latin_modern_roman9_regular', 'Times New Roman', serif;
	font-size: 0.9em;
/*	padding: 0 2.5em;*/
}
figure figcaption .sourcelink {
	font-family: 'latin_modern_roman9_italic';
	font-style: italic;
}
.side-by-side {
	float: left;
}

.side-by-side.arrow {
	position: relative;
}

.side-by-side.arrow:after {
/*	background-color: fuchsia;*/
	position: absolute;
	right: -.55em;
	top: 50%;
	margin-top: -.5em;
	line-height: 1em;
	content: '➧';
	font-size: 400%;
}

.side-by-side.half {
	width: 47.5%;
}
.side-by-side.half + .side-by-side.half {
	margin-left: 5%;
}
.side-by-side.third {
	width: 30%;
}
.side-by-side.third + .side-by-side.third {
	margin-left: 5%;
}

#works figure > a {
	display: block;
/*	border: solid 1px black;*/
/*	margin: -1px;*/
/*	background-color: fuchsia;*/
	background-color: hsla(0, 0%, 80%, .2);
	-webkit-box-shadow: inset 0px 0px 30px 0px rgba(50, 50, 50, 0.25);
	-moz-box-shadow:    inset 0px 0px 30px 0px rgba(50, 50, 50, 0.25);
	box-shadow:         inset 0px 0px 30px 0px rgba(50, 50, 50, 0.25);
}
#works figure > a img {
	vertical-align: bottom;
	position: relative;
	z-index: -1;
/*	opacity: .75;*/
/*	visibility: hidden;*/
}
#works figure > a:hover {
	background-color: hsla(0, 0%, 80%, 0);
	-webkit-box-shadow: inset 0px 0px 30px 0px rgba(50, 50, 50, 0.1);
	-moz-box-shadow:    inset 0px 0px 30px 0px rgba(50, 50, 50, 0.1);
	box-shadow:         inset 0px 0px 30px 0px rgba(50, 50, 50, 0.1);
}
#works figure > a:hover img {
	border: solid 1px black;
	margin: -1px;
/*	opacity: 1;*/
}

.lock {
	height: 1.2em;
	width: 1.2em;
	font-style: normal;
}

sup.footnote {
	vertical-align: baseline;
	position: relative;
	top: -.55em;
	margin-left: .5em;
	margin-right: .2em;
	font-size: .7em;
}
sup.footnote.glyph {
	top: -.4em;
}
div.footnote sup.footnote.glyph {
	top: -.1em;
	font-size: .9em;
	margin-right: .1em;
}

div.footnote:before {
	content: '';
	display: block;
/*	position: absolute;*/
	width: 17em;
/*	height: 0;*/
	border-top: solid .2em black;
	margin: 0;
/*	background-color: fuchsia;*/
}
div.footnote {
	font-size: .8em;
/*	background-color: purple;*/
	margin-top: .5em;
	line-height: 1.3;
}
div.footnote p {
	text-indent: 1.25em !important; /* undo removal from first */
}
div.footnote p:first-of-type {
	margin-top: 0;
}

footer {
	text-align: center;
	margin-top: 1.75em;
}


/* LaTeX logo */
.LaTeX_e {
	text-transform: uppercase;
	margin-left: -0.1667em;
	vertical-align: -0.5ex;
	line-height: 0;
	margin-right: -0.125em;
}
.LaTeX_a {
	text-transform: uppercase;
	font-size: 70%;
	margin-left: -0.36em;
	vertical-align: 0.3em;
	line-height: 0;
	margin-right: -0.15em;
}


/* table of contents */
#toc ol {
	counter-reset: section appendix;
	list-style-type: none;
	padding-left: 1.5em;
	position: relative;
}
#toc > ol {
	font-family: 'latin_modern_roman10_bold', 'Times New Roman', serif;
	font-size: 1em;
	font-style: bold;
}
#toc > ol > li {
	margin-top: 1em;
}
#toc > ol ol {
	padding-left: 2.25em;
	font-family: 'latin_modern_roman10_regular', 'Times New Roman', serif;
}
#toc li:before {
	position: absolute;
	left: 0;
}
#toc li:not(.appendix):before {
	counter-increment: section;
	content: counters(section, ".");
}
#toc li.appendix:before {
	counter-increment: appendix;
	content: counter(appendix, upper-alpha);
}
#toc dl {
	margin: 0;
	position: relative;
	z-index: 1;
}
#toc dt, #toc dd {
	display: inline-block;
}
#toc dt {
	padding-right: .5em;
	background-color: white;
}
#toc dd {
	float: right;
}
#toc li .leader {
	position: absolute;
	height: 1.4em;
	width: 100%;
	right: 2em;
	text-align: right;
	z-index: -1;
/*	background-color: green;*/
}


/* LaTeX-equivalent sizes: */
/*
.scriptsize {
	font-size: .7em;
}
.footnotesize {
	font-size: .8em;
}
.normal {
	font-size: 1em !important;
}
.normalbold {
	font-family: 'latin_modern_roman10_bold' !important;
	font-size: 1em !important;
}
.large {
	font-size: 1.2em !important;
}
.Large {
	font-family: 'latin_modern_roman12_bold' !important;
	font-size: 1.44em !important;
}
.LARGE {
	font-size: 1.728em !important;
}
.huge {
	font-size: 2.074em !important;
}
.Huge {
	font-size: 2.488em !important;
}
.small {
	font-family: 'latin_modern_roman10_bold' !important;
	font-size: 0.9em !important;
}
*/


/* morphology spoof: */
/*header {
	font-size: 1.17498565em;
	margin: 5em 0;
}
header h1 {
	font-family: 'latin_modern_roman10BdIt', 'Times New Roman', serif;
	font-size: inherit;
	font-weight: normal;
	font-style: normal;
	margin: 0;
}
header h1 .tab1 {
	font-family: 'latin_modern_roman12_regular', 'Times New Roman', serif;
	font-weight: normal;
	font-style: normal;
}
.tabparent {
	position: relative;
	height: 1.4em;
	line-height: 1.4;
}
.tab1, .tab2, .tab3, .tab4 {
	position: absolute;
}
.tab2 { left: 2.5em; }
.tab3 { left: 7.8em; }
.tab4 { left: 16.6em; }
*/

