/**
 * Only used for the fulltext pages.
 */
body {
	width: 600px;
	margin: 0 auto;
	}

div.pg-img {
	margin: 0;
	padding: 0;
	display: inline;
	}

div.pg-img section {
	display: inline;
	}

div.pg-img p[data-p=brk], div.pg-img p[data-p=contd] {
	display: inline;
	}

div.pg-img p[data-p=brk]:before {
	content:"\a  ";
	white-space: pre;
	margin-right:2em;
	}

/*div.pg-img p[data-p=brk]:nth-of-type(2):before {
	content:"\a  ";
	white-space: pre;
	} */

div.pg-img h1, div.pg-img h2, div.pg-img h3, div.pg-img h4 {
	text-align: left;
	}

[data-book|=blank_page]:after {
	display: none;
	}

[data-book|=front_cover]:after {
	display: none;
	}

[data-book|=back_cover]:after {
	display: none;
	}

div.pg-img[data-pagenum]:before {
	display: none;
	}
	
div.pg-img:before {
	display: none;
	}

div.pg-img figure {
	display: none;
    	}

div.pg-img figure.figure:after {
	display: none;
	}

div.pg-img figure.frontispiece {
	display: none;
	}

div.pg-img figure.frontispiece:after {
	display: none;
	}


div.pg-img figure.headpiece {
	min-height: 80px;
	}

div.pg-img figure.headpiece:after {
	display: none;
	}

div.pg-img figure.tailpiece {
	display: none;
	}

div.pg-img figure.tailpiece:after {
	display: none;
	}

div.pg-img .document {
	display: none;
	}

div.pg-img section:before {
	display: none;
	}

div.pg-img .notes {
	display: none;
	}

div.pg-img [data-book="printernum"] {
	display: none;
	}
	
div.pg-img [data-book="catchword"] {
	display: none;
	}	

div.pg-img [data-book="table_of_contents"] {
	display: none;
	}

div.pg-img [data-text="index_of_persons"] {
	display: none;
	}

div.pg-img [data-text="index_of_authors"] {
	display: none;
	}

div.pg-img [data-text="index_to_the_notes"] {
	display: none;
	}

div.pg-img [data-text="appendix"] {
	display: none;
	}

div.pg-img [data-text="errata"] {
	display: none;
	}

div.pg-img span.footnote {
    display: block;
}

div.pg-img .imprint {
  text-align: left;
  margin: 0;
  text-indent: 0;
  width: auto;
}

[data-text="footnote"] {
    display: block;
}

[data-text="footnote"]:first-of-type:before {
  content:"\a\aNotes:\a\a";
  font-size: 1.25em;
  font-weight: bold;
  display: inline;
  white-space: pre;
}

[data-text="footnote"]:after {
  content:"\a\a";
  display: inline;
  white-space: pre;
}