* {
	margin: 0px;
}

html {
	height: 100%;
	overflow-y: scroll;
}

body {
	height: 100%;
	background: #000;
	color: rgb(255,255,255);
}

ul {
	list-style: none;
}

audio {
	display: block;
	width: 100%;
}

#wrapper {
	background-color: rgb(238,238,238);
	color: rgb(32,32,48);
	margin: 0px auto -80px;
	padding: 0px;
	min-height: 100%;
	font-family: Baskerville, 'Noto Serif', serif;
}

#wrapper.night {
	background-color: rgb(16,16,16);
	color: rgb(238,238,254);
}

#wrapper, footer {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

#prepaper {
	background-image: url('/italy.jpg');
	text-shadow: 0px 0px 8px #000000;
	background-color: #000;
	color: rgb(255,255,255);
	background-repeat: no-repeat;
	background-position-y: 100%;
}

#prepaper.society {
	background-image: url('/society/earth.jpg');
}

#prepaper.mentality {
	background-image: url('/mentality/mars.png');
}

#prepaper.eternity {
	background-image: url('/eternity/sol.png');
}

#wrapper #prepaper.cover {
	background-image: none;
}

#prepaper.cover h1 {
	padding: 0px;
}

#prepaper.cover img {
	width: 100%;
}

h1, h2, h3, h4 {
	text-align: center;
	padding: 20px 0px;
	font-size: 200%;
	font-family: 'Josefin Sans', sans-serif;
	letter-spacing: 2.5px;
}

h1 {
	font-size: 300%;
}

h2 {
	padding-top: 0px;
}

h4 {
	font-size: 120%;
}

#dustJacket p {
	font-size: 120%;
	padding: 15px 15%;
	line-height: 140%;
	text-indent: 8%;
}

#aboutText p {
	padding: 15px 8%;
	font-size: 130%;
	line-height: 140%;
	text-indent: 8%;
}

#aboutText table {
	padding: 15px 8%;
	font-size: 130%;
	line-height: 140%;
}

#aboutText table tr td:first-child {
	font-weight: bold;
	text-align: right;
}

#aboutText table tr td {
	padding-right: 20px;
}

#paper #bookPart {
	padding: 0;
	margin: 0;
}

#paper #bookPart img {
	width: 100%;
}

#bookText {
	padding-bottom: 30px;
}

#bookText p {
	padding: 15px 8%;
	font-size: 130%;
	line-height: 140%;
	text-indent: 8%;
}

#bookText ul, #bookText ol {
	padding: 0px 16% 15px 16%;
	font-size: 130%;
	line-height: 140%;
}

#bookText li {
	padding-top: 15px;
}

#bookText table {
	text-align: center;
	padding: 15px 16%;
	font-size: 130%;
	line-height: 140%;
	border: none;
}

#bookText td {
	padding: 5px;
	border: thin solid;
}

#bookText button {
	background-color: inherit;
	margin-top: 8px;
	font: inherit;
	border: none;
	color: rgb(32,32,187);
}

.night #bookText button {
	color: rgb(140,140,255);
}

#wrapper p.noIndent {
	text-indent: 0px;
}

#wrapper .center, #wrapper .sectionBreak {
	text-align: center;
	text-indent: 0px;
}

#wrapper #excerpt {
	padding: 5px 0px 25px 0px;
}

#wrapper #excerpt p {
	font-size: 150%;
	padding-left: 10%;
	padding-right: 10%;
	padding-bottom: 0px;
	line-height: 140%;
	text-indent: 8%;
	text-align: justify;
}

#wrapper #excerpt p:last-child {
	padding-top: 10px;
	text-align: right;
}

nav, #textControlBox {
	background-color: rgb(40,40,40);
	text-align: center;
	font-family: 'Josefin Sans', sans-serif;
}

nav {
	padding: 20px;
	font-size: 150%;
	line-height: 170%;
}

#textControlBox {
	padding: 10px 20px;
	border-top: thin solid #AAA;
	font-size: 120%;
	line-height: 120%;
}

button {
	cursor: pointer;
}

nav a , .night nav a, #textControlBox button{
	padding: 0px 10px;
	color: #FFF;
	display: inline-block;
}

#nextChapter {
	display: inline-block;
}

.night #nextChapter a, #nextChapter a {
	color: #EE5;
	text-shadow: -2px 0px 5px black;
}

#textControlBox button {
	padding: 5px;
	background: inherit;
	border: none;
	font: inherit;
	margin: 0 30px;
}

h1 a, .night h1 a, .tableOfContents a, .night .tableOfContents a {
	color: inherit;
}

a {
	text-decoration: none;
	color: rgb(32,32,187);
}

.night a {
	color: rgb(140,140,255);
}

a {
	text-decoration: none;
}

#paper section {
	padding-top: 15px;
}

.fileFormatList {
	padding-left: 20%;
	font-size: 130%;
	line-height: 140%;
}

.tableOfContents {
	font-family: 'Josefin Sans', sans-serif;
	padding-left: 10%;
	font-size: 130%;
	line-height: 140%;
	padding-bottom: 20px;
}

.tableOfContents li {
	margin-left: 10%;
}

.tableOfContents li.tocBookLink {
	list-style: none;
	margin-left: 0%;
	font-size: 150%;
	padding-bottom: 5px;
}

.tableOfContents li.tocPartLink {
	list-style: none;
	margin-left: 5%;
	font-size: 125%;
	padding-top: 10px;
	padding-bottom: 5px;
}

.push {
	height: 80px;
}

footer {
	color: rgb(32,32,48);
	background-color: rgb(238,238,238);
	min-height: 80px;
	text-align: center;
}

footer > div {
	padding: 8px;
	padding-top: 18px;
}

footer p {
	display: inline-block;
}