@font-face {
	font-family: "DejaVu Serif";
	src:
		local("DejaVu Serif")
		url("/static/DejaVuSerif.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: "DejaVu Serif";
	src:
		local("DejaVu Serif")
		url("/static/DejaVuSerif-Bold.ttf") format("truetype");
	font-weight: bold;
	font-style: normal;
}
@font-face {
	font-family: "DejaVu Serif";
	src:
		local("DejaVu Serif")
		url("/static/DejaVuSerif-Italic.ttf") format("truetype");
	font-weight: normal;
	font-style: italic;
}
@font-face {
	font-family: "DejaVu Serif";
	src:
	local("DejaVu Serif")
	url("/static/DejaVuSerif-BoldItalic.ttf") format("truetype");
	font-weight: bold;
	font-style: italic;
}

body {
	margin: 0;
	padding: 5pt;
	background-color: lightgoldenrodyellow;
	font-family: "DejaVu Serif";
}

#content {
	margin-top: 1em;
	max-width: 30cm;
	padding-left: 5pt;
	margin-left: auto;
	margin-right: auto;
}

#top-banner-ad {
	display: none;
	margin-top: 0.5em;
	max-width: 30cm;
	max-height: 3.5cm;
	margin-left: auto;
	margin-right: auto;
}

#footer {
	margin: 1em;
	font-size: small;
}

#top {
	padding: 5pt;
	background-color: #64310054;
}

#top h1 {
	margin: 5pt 5pt 0 5pt;
	padding: 0;
	display: block;
}

#top h2 {
	margin: 0 5pt 15pt 5pt;
	padding: 0;
	display: block;
	font-size: medium;
}

#top h3 {
	margin: 0 0.5em 5pt 0.5em;
}

#nav {
	margin-bottom: 5pt;
}

#nav > a {
	display: inline-block;
	background-color: #6430001a;
	padding: 5pt;
	margin: 1pt;
	text-decoration: none;
	font-weight: bold;
	color: #000;
}

#nav > a:hover {
	background-color: #64310054;
}

#lookup-form, #search-form {
	border-left: 15pt solid #64310054;
	background-color: #6430001a;
	padding: 5pt;
}

#search-form {
	margin-top: 5pt;
}

#lookup-form input[type="number"] {
	width: 3em;
	text-align: center;
	font-weight: bold;
	-moz-appearance: textfield;
}

#lookup-form input[type="number"]::-webkit-inner-spin-button, 
#lookup-form input[type="number"]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}

#lookup-form > div, #search-form > div {
	display: inline-block;
	margin: 0 0 0 0.5em;
}

#lookup-result {
	margin-bottom: 15pt;
}

.result-line {
	color: #000;
	display: block;
	padding: 5pt 0;
	font-style: italic;
}

.result-line:hover {
	background-color: #eeeeee77;
}

.result-line::before {
	font-style: normal;
	color: gray;
	margin-right: 15pt;
	font-size: small;
	text-align: right;
	width: 30pt;
	display: inline-block;
}

.result-line:hover::before {
	color: black;
}

.result-line a {
	text-decoration: none;
	color: inherit;
}

.gray-line {
	color: gray;
}

.paragraph-line:not(:first-child) {
	margin-top: 10pt;
}

#search-result > div {
	background: #6430001a;
	padding: 5pt;
	margin: 15pt 5pt;
}

#search-result h3 {
	display: block;
	margin: 0 5pt;
	font-size: small;
}

#book-list {
	padding-left: 10pt;
}

#book-list li {
	/*display: block;*/
	margin: 5pt 0;
	/*list-style: none;*/
}

#book-list a {
	display: inline-block;
	background-color: #6430001a;
	padding: 5pt;
	text-decoration: none;
	font-weight: bold;
	color: #000;
}

#book-list a:hover {
	background-color: #64310054;
}

.nav-link {
	display: inline-block;
	background-color: #6430001a;
	padding: 5pt;
	text-decoration: none;
	font-weight: bold;
	color: #000;
}

.nav-link:hover {
	background-color: #64310054;
}
