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

/* @group Search Form */

div.form form {
	width: 8em;
	float: right;
	background-color: burlywood;
	padding: .4em;
	border: solid .1em;
	margin-bottom: .5em;
	margin-left: 1em;
}

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

div#main p.submit {
	text-align: center;
}

input#find {
	width: 7em;
}

div.form ul {
	list-style-type: none;
	margin-top: 0;
	padding-left: 1em;
}

div.form h2, div.form p label {
	font-family: inherit;
	font-size: 100%;
	font-weight: bold;
	border: none;
}

/* @end */

/* @group Simple List */
ul.simple_list li {
	list-style-type: none;
	display: inline;
	margin-left: 0;
	padding-left: 0;
}

ul.simple_list li+li:before {
	content: ", ";
}

/* @end */

/* @group Browse Styles */

table.incantationlist th {
	text-align: left;
	white-space: nowrap;
}

table.incantationlist td {
	vertical-align: top;
}

/* @end */

/* @group List Styles */
div.list table tr {
	vertical-align: top;
}
div.list th {
	text-align: right;
	padding-right: 1em;
}

div.list table ul {
	margin: 0;
	padding: 0;
}
div.list table ul li {
	display: inline;
}
div.list table ul li+li:before {
	content: ", ";
}
/* @end */

/* @group Book Styles */
table.incantation th {
	text-align: right;
	white-space: nowrap;
	vertical-align: top;
}

table.incantation {
	float: left;
	border: inset .1em;
	margin-right: 1em;
	width: 20em;
}
div.incantations h2, div.incantations h3 {
	clear: left;
	padding-top: 2em;
}

div.incantations h2 + h3 {
	padding-top: 0;
}

div.incantations p {
	margin-top: 0;
}

/* @end */

@media print {

	div.title, div.form, div#footer {
		display: none;
	}

	body div#content {
		border: none;
	}

	table.incantationlist {
		font-size: 10pt;
		page-break-inside: avoid;
	}

	table.incantationlist th {
		white-space: nowrap;
	}

	table.incantationlist td {
		vertical-align: top;
	}

	div.maintext h2 {
		page-break-after: avoid;
		keep-with-next: always;
		font-size: 12pt;
		margin-bottom: 0;
		margin-top: 12pt;
		font-size: 18pt;
	}

/* causes irreparable issues in webkit and mozilla as of September 11, 2010
	div.incantations {
		-webkit-column-width: 21.9em;
		-moz-column-width: 21.9em;
		column-width: 21.9em;
	}
*/
	table.incantation {
		font-size: 10pt;
		page-break-inside: avoid;
		keep-with-next: always;
	}

}