/* for The Dream of Poor Bazin and probably subsequent books */

/* overall styles */
p, div, h1, h2, li {
	font-size: 100%;
	font-weight: normal;
	font-family: Palatino,"Bookman Old Style",Georgia, serif;
}

body {
	margin: 0;
	padding: 0;
	background-color: #faf8ec;
}

/* banner */
div#banner {
	background-image: url(https://www.hoboes.com/library/graphics/banners/Bazin.jpg);
	background-size: 100%;
	/* background-repeat: repeat-x;*/
	margin: 0;
	padding: 0;
	padding-top: 1px;
	padding-left: 8%;
	padding-right: 8%;
}

div#banner.recipe-cards {
	background-image: url(https://www.hoboes.com/library/graphics/banners/clubpadgett.jpg);
}

div#banner.hespotucky {
	background-image: url(https://www.hoboes.com/library/graphics/banners/hesperia.jpg);
	padding-left: 16%;
	padding-right: 16%;
	line-height: 300%;
}

div#banner h1, div#banner p {
	margin: 0;
	margin-top: .5em;
	padding: 0;
}

div#banner h1 {
	text-align: center;
	font-size: 400%;
	font-weight: bold;
}

div#banner p {
	text-align: center;
	font-size: 160%;
	padding-bottom: 1em;
}

div#banner p.author {
	font-size: 400%;
	padding-bottom: .4em;
}

div#banner a, div#footer a {
	color: black;
	text-decoration: underline;
}

/* body */
div#content, div#footer {
	font-size: 120%;
	padding: 2em;
}

div#content div.icon img {
	float: right;
	width: 20%;
	height: auto;
	padding: .5em;
	padding-left: 1em;
}

div#generic-content {
	margin-left: 20%;
	margin-right: 20%;
}

div#generic-content ul.sharing {
	float: right;
	margin-top: 0;
}

div#generic-content h2 {
	font-weight: bold;
	margin-left: -2em;
}

div#content p {
	text-align: justify;
}

div#content p a {
	color: #227;
}

div#content a {
	text-decoration: none;
}

div#content div.highlight {
	text-align: center;
	width: 50%;
	margin-left: 25%;
}
div#content div.highlight img {
	width: 100%;
	height: auto;
}

/* images */
div.example {
	width: 80%;
	margin: auto;
	border: solid black .1em;
}

div.imagepull img {
	width: 100%;
	height: auto;
}

div#content p.caption {
	width: 92%;
	margin: auto;
	font-size: 82%;
	text-align: center;
	padding: .2em;
}

/* sharing */
ul.sharing {
	text-align: center;
}

ul.sharing li {
	list-style: none;
	display: inline;
}

ul.sharing img {
	height: 2.5em;
	width: auto;
}

/* book and other links */
div#content table {
	border-top: solid #CCC .1em;
	border-bottom: solid #CCC .1em;
	margin: auto;
	margin-top: 4em;
	clear: right;
}

div#content table th, div#content table td {
	vertical-align: top;
	padding: 0;
	margin: 0;
}

div#content table h2 {
	text-align: right;
}

div#content table ul, div#content table h2 {
	margin: 0;
	padding: 1em;
}

div#content table li {
	display: block;
	padding-top: 0;
}
div#content table li + li {
	margin-top: .3em;
}

div#generic-content table {
	margin-top: .5em;
	font-size: 92%;
}

div#generic-content table.small {
	font-size: 82%;
}

div#generic-content table td+td {
	padding-left: 1em;
}

/* footer */
div#footer p.home, div#banner p.home {
	text-align: center;
	text-transform: uppercase;
	font-size: 120%;
	margin-top: 0;
	padding-top: 0;
	padding-bottom: 2em;
	line-height: 100%;
}

div#content blockquote {
	margin: auto;
	margin-top: 4em;
	width: 62%;
}

div#footer.generic-content {
	margin-top: 1em;
	padding: 2em;
	background-image: url(https://www.hoboes.com/library/graphics/banners/hesperia.jpg);
	background-size: 100%;
	background-position: bottom;
}

div#footer blockquote {
	margin: auto;
	width: 62%;
}

