/* @override 
	http://www.hoboes.com/library/css/individual.css
*/

/* @group Page Structure */

body {
	background-color: white;
	color: black;
}

html {
	background-color: white;
}

h1, h2 {
	color: black;
}

div#footer {
	border-top-style: solid;
	border-top-color: black;
	border-top-width: .1em;
}

div.byline {
	margin-bottom: 2em;
}
div.byline, p.byline {
	text-align: center;
	font-style: italic;
}

div.byline ul.authors {
	margin: 0;
	padding: 0;
}

img.example {
	display: block;
	margin: auto;
	max-width: 100%;
	height: auto;
}
ol {
	list-style-type: decimal;
}
ol ol {
	list-style-type: lower-alpha;
}
div.pageList {
	counter-reset: pageSpanner;
}
div.pageList ol {
	display: table;
}
div.pageList ol > li {
	display: table-row;
}
div.pageList ol li {
	counter-increment: pageSpanner;
	list-style: none;
}
div.pageList ol > li::before {
	display: table-cell;
	text-align: right;
	white-space: pre;
}
div.pageList.alpha ol li:before {
	content: counter(pageSpanner, lower-alpha) '. ';
}

div.linksection, ol.footnotes, dl.updates {
	border-top-style: dashed;
	border-top-width: .1em;
}

body.oldschool div#sidebar {
	background-color: #909090;
}

/* @group sections */
div.section {
	clear: both;
}
/* @end */

/* @end */

/* @group Child links */

dl.children dt, dl.children dd, dl.otherpages dt, dl.otherpages dd {
	border-style: none;
	background-color: white;
}
dl.children dt, dl.otherpages dt {
	font-size: 140%;
	margin-top: .3em;
	text-indent: -2em;
	padding-left: 2em;
}

dl.children dd, dl.otherpages dd {
	margin-bottom: .5em;
	margin-left: 0;
	padding-left: 3em;
}

div.bookblock {
	width: 46%;
	display: inline-block;
	vertical-align: top;
	margin-left: .75em;
	margin-right: .75em;
}

div.bookblock h2 {
	border: .1em inset black;
	border-left-style: none;
	border-right-style: none;
	margin-top: .2em;
	background-color: #FFFF77;
}

dl.linklist ul.sublinks {
	margin-top: 0;
	margin-bottom: 0;
	padding-left: .5em;
	padding-right: 0;
	margin-right: 0;
	display: inline;
}
dl.linklist ul.sublinks:before {
	content: "> Also see ";
}
dl.linklist ul.sublinks:after {
	content: "<";
}
ul.sublinks li {
	list-style-type: none;
	display: inline;
	margin-top: 0;
}
ul.sublinks li+li:before {
	content: " | ";
}

dl.updates {
	padding-top: 1em;
}
/* @end */

/* @group Writing styles */

p.description {
	border: .1em dashed black;
	padding: .2em;
}
p.ascii {
	font-family: monospace;
}
a.footnote {
	vertical-align: super;
	font-size: 60%;
}

ul.handwriting {
	font-family: cursive;
}

/* @group Sidebar */

div.notebar {
	float: right;
	width: 33%;
	font-size: 88%;
	border-style: inset;
	border-width: .1em;
	border-color: #444444;
	background-color: #77AA77;
	padding: .15em;
	margin-left: 1em;
	margin-bottom: .5em;
	padding: .4em;
	padding-top: 0;
	text-align: justify;
}

div.notebar p {
	margin-top: 0;
	margin-bottom: 0;
}

div.notebar p + p {
	margin-top: 1em;
}

div.notebar p.author {
	text-align: right;
}

div.notebar ol {
	padding-left: 1em;
	width: 90%;
}

table.center {
	margin: auto;
	max-width: 90%;
}
table.center td+td {
	padding-left: 0.75em;
}

/* @end */

/* @group Standout */

p.standout {
	font-weight: bold;
	color: #881111;
}

div.standout {
	border-width: .4em;
	border-style: outset;
	padding: .2em;
}
div.standout p {
	margin: 0;
}

div.maintext div.headline, div.maintext img.headline {
	width: 100%;
	height: auto;
	float: none;
	margin: 0;
	clear: both;
}

/* replacement for the <u> tag when used as a citation */
cite.u {
	text-decoration: underline;
	font-style: normal;
}

/* @end */


/* @group Code display */
/* for Nisus-generated pages */
p.code_sample, p.code_display, p.code_display_full {
	white-space: pre;
	border-left-style: inset;
	border-left-width: .2em;
	margin: 0;
	font-family: monospace;
}
div.code {
	margin-left: 2em;
	margin-bottom: 1em;
	line-height: 100%;
	background-color: #EEEEFF;
	border-width: .2em;
	border-style: inset;
	border-color: #4444FF;
	padding: .4em;
	font-size: 80%;
	width: 90%;
	clear: left;
}
div.code pre {
	margin: 0;
}

div.code ul.basic {
	font-family: monospace;
	font-size: 120%;
}

div.code ul.number pre {
	margin-left: -2em;
}

p.codecopier {
	float: right;
	font-size: 84%;
	margin: 0;
	opacity: 0.7;
	position: relative;
	z-index: 1; /* when ul.number is positioned, it blocks javascript events */
}

ul.code {
	padding: 0;
	margin: 0;
	position: relative;
}
ul.number {
	position: relative;
	margin-left: 1em;
}
ul.number span.number {
	position: absolute;
	left: -4.5em;
	text-align: right;
	width: 2.8em;
}
li.highlight {
	font-weight: bold;
}
li:not(.highlight) {
	font-weight: normal;
}
li.select {
	color: #911108;
}
li.added:before, li.removed:before {
	position: absolute;
	left: -.5em;
}
li.removed:before {
	content: "-";
}
li.added:before {
	content: "+";
}

/* remember that margins collapse, so floated elements to the left can cause problems */
ul.code li {
	list-style: none;
	text-indent: -1em;
	margin-left: 1em;
}

ul.code li.copyable {
	text-indent: 0;
}

ul.code ul {
	padding-left: 0;
}

ul.keyboard li {
	font-family: monospace;
	white-space: pre;
}

li.section, ul.section {
	padding-top: 1em;
}
/* @end */

/* @group poetry */
blockquote.poetry {
	font-family: "Palatino";
}
blockquote.poetry p:nth-child(even) {
	margin-left: 3em;
}

ul.poetry {
	list-style-type: none;
}
li.shortpause {
	text-indent: 2em;
}
li.longpause {
	text-indent: 4em;
}
li.jump {
	text-indent: 7em;
}

.poetry ul {
	margin-top: 1.5em;
	list-style-type: none;
}
.poetry li.in {
	padding-left: 1em;
}
ul.poetry li.tail {
	padding-left: 3em;
}
ul.poetry p {
	margin-top: 0;
	margin-left: 2.5em;
}
/* @end */

.columned {
	-webkit-column-width: 21.9em;
	-moz-column-width: 21.9em;
	column-width: 21.9em;
}
/* @end */

/* @group Topics */
div.topics, ol.footnotes, dl.updates {
	border-top-color: #77AA77;
	clear: both;
	margin-top: 1.5em;
}
/* @end */

/* @group Tag pages */

ul.tags li {
	display: inline;
	white-space: nowrap;
	padding-left: 1em;
}

/* @end */

/* @group Nisus */

p.common_subtitle, p.front_title, p.frontispiece {
	font-variant: small-caps;
	text-align: center;
}

p.player_description {
	margin-left: 5%;
	margin-right: 5%;
	text-align: justify;
	color: red;
}
p.important_rule {
	border-top: solid;
	background-color: yellow;
	margin: 0;
}
p.important_rule + p.important_rule {
	border-top: none;
}

p.front_license {
	font-size: 80%;
}

p.normal_list, p.front_quote {
	margin-left: 10%;
	margin-bottom: 0;
	margin-top: 0;
}
p.front_quote, p.encounter_statistics {
	font-style: italic;
}

/* @end */

/* image rows */
div.quintuple, div.quadruple, div.triple, div.double {
	clear: both;
}
div.quintuple img, div.quadruple img, div.triple img, div.double img {
	width: 32%;
	height: auto;
	vertical-align: top;
	margin-top: 1em;
}
div.double.smaller {
	width: 66%;
	margin: auto;
}
div.double img {
	width: 49%;
}
div.quadruple img {
	width: 24%;
}
div.quintuple img {
	width: 19%;
}
div#main div.quintuple p.summary, div#main div.quadruple p.summary, div#main div.triple p.summary, div#main div.double p.summary {
	text-align: center;
	font-size: 120%;
	margin-bottom: 0;
	font-style: italic;
}

div.shelf img {
	height: 12em;
	width: auto;
	display: inline-block;
}

div.shelf {
	text-align: center;
}

div.quintuple div.captioned, div.quadruple div.captioned, div.triple div.captioned, div.double div.captioned {
	width: 32%;
	display: inline-block;
	vertical-align: top;
}
div.double div.captioned {
	width: 49%;
}
div.quadruple div.captioned {
	width: 24%;
}
div.quintuple div.captioned {
	width: 19%;
}
div.captioned+div.captioned {
	/* not sure I like this, as it doesn't match the width which is in percentages, but percentages don't work here */
	padding-left: .3em;
}
div.quintuple div.captioned img, div.quadruple div.captioned img, div.triple div.captioned img, div.double div.captioned img {
	width: 100%;
}
