@import url('https://fonts.googleapis.com/css?family=EB+Garamond:400,400i,700');
 
body {
	background-color: white;
	font-family: "EB Garamond", serif;
	line-height: 1.5;
	margin: 0 auto;
	max-width: 48em;
	text-align: justify;
	word-wrap: break-word;
}

pre,code,kbd,samp,tt {
	font-family: monospace,monospace;
	font-size: 0.9em;
}

code,kbd,samp,tt {
	padding-left: .25em;
	padding-right: .25em;
}

h1 {
	font-variant: small-caps;
	text-align: center;
	margin-top: 4em;
}

h2 {
	border-bottom: 1px solid silver;
	margin-top: 1.5em;
	margin-bottom: 0.5em;
}

h3 {
	font-size: large;
	margin-top: 1em;
	margin-bottom: 0.5em;
}

pre {
	border: 1px dotted silver;
	overflow: auto;
	padding: .5em;
	text-align: left;
}

img {
	border-style: none;
	max-width: 100%;
}

li {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

main { margin: 0 1em; }
ul, ol { margin: 0; }
p { margin: 1em 0; }
p:first-child { margin-top: 0; }
p:last-child { margin-bottom: 0; }

dt { font-weight: bold; }
dd { margin-bottom: 1em; }


figure,.display { text-align: center; }
figcaption {
	font-style: italic;
	margin: .5em;
}


.uniname { font-variant: small-caps; }

.subtitle {
	font-variant: small-caps;
	text-align: center;
	margin-bottom: 4em;
}

aside {
	font-size: 0.9em;
	float: right;
	max-width: 20em;
	border: 1px solid silver;
	margin: 0em 0em 0em 1em;
	padding: .5em 1em;
}

a:link {
	color: #0077CC;
	text-decoration: none;
}

a:hover {
	color: #0077CC;
	text-decoration: underline;
}

a:visited { color: #446688; }

h1 > a:link, h1 > a:visited, h2 > a:link, h2 > a:visited, h3 > a:link, h3 > a:visited {
	color: inherit;
	text-decoration: none;
}

table {
	border: none;
	margin-top: 0.75em;
	margin-bottom: 0.75em;
	border-collapse: collapse;
	width: 100%;
}

th {
	border-left: 1px solid black;
	text-align: center;
	padding: 0.25em;
}

tr:first-child {
	border-top: none;
	border-bottom: 1px solid silver;
}

td {
	border-left: 1px solid black;
	text-align: center;
	padding: 0.25em;
}

th:first-child {
	border-left: none;
}

tr:first-child th {
	padding-top: 0.75em;
	padding-bottom: 0.75em;
}

nav {
	text-align: right;
	font-size: 0.9em;
	margin: 0.5em 0;
}

body {counter-reset: h2}
h2 {counter-reset: h3}
h3 {counter-reset: h4}

h2:before {counter-increment: h2; content: counter(h2) ". "}
h3:before {counter-increment: h3; content: counter(h2) "." counter(h3) ". "}

