@import 'navigation';

body {
	margin: 0 0 3em 0; 
	padding: 0; 
	text-align: justify;
}

.base {
	margin: 80px auto 0 auto; 
	max-width: 700px;
	box-shadow: 1px 4px 14px #888;
}

.text_area {
	margin: 2em auto 2em auto;
	padding: 15px;
	max-width: 600px;
}

code {
	font-family: monospace;
}

p {
	margin: 0;
	text-align: justify;
	text-indent: 1.2em;
}
h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p {
	margin: 0;
	text-align: justify;
	text-indent: 0;
}

 .NewScene {
	margin-top: .75em;
	margin-bottom: .75em;
	text-indent: 0;
	text-align: center;
}
 .NewScene + p {
	text-indent: 0;
}

.szeneimg {
	width: 10%; 
	vertical-align:middle; 
}

.chapterdiv {
	text-align:center;
	margin-top:0;
	margin-bottom:1.5em;
}
.chapterdiv + p {
	text-indent: 0;
}

.chapterimg {
	width: 100%; 
}

div.noindent {
	margin: 0;

	p {
		text-indent: 0;
	}
}

div.align_left {
	margin: 0;

	p {
		text-align: left;
	}
}

div.align_center {
	margin: 0;

	p {
		text-align: center;
	}
}

div.align_right {
	margin: 0;

	p {
		text-align: right;
	}
}

.pagebreak {
	page-break-after: always;
}

a {
	color: inherit;
	text-decoration: none;
	
	.footnoteRef {
		vertical-align: super;
	}
}

h1 {
	margin-top: 1em;
	margin-bottom: 2em;
	font-size: 1.5em;
	text-align: $heading-alignment;
	font-weight: bold;
	page-break-before: always;
	text-indent: 0;
}
h2 {
	margin-top: 1em;
	margin-bottom: 1.5em;
	font-size: 1.3em;
	text-align: $heading-alignment;
	font-weight: bold;
	page-break-before: always;
	text-indent: 0;
}
h3 {
	margin-top: 1em;
	margin-bottom: 1em;
	font-size: 1.2em;
	text-align: $heading-alignment;
	font-weight: bold;
	text-indent: 0;
}

.header_image h1, .header_image h2 {
	margin-bottom: 0;
}

.header-section-number {
	display: block;
	padding-bottom: 1em;
}

.figure {
	text-align: center;
	margin: 1em 0;
	max-width: 100%;
	max-height: 100%;
	page-break-inside: avoid;
	clear: both;

	img {
	max-height: 100%;
	max-width: 100%;
	}

	.caption {
		text-indent: 0;
		text-align: center;
		font-style: italic;
		padding-left: 1em;
		padding-right: 1em;
	}
}

div.dedication {
	padding-top: 35%;
	padding-left: 20%;
	padding-right: 20%;
	page-break-before: always;
	page-break-after: always;

	p {
		text-indent: 0em;
		text-align: center;
	}
}

div.Poem {
	margin-top: 1em;
	margin-bottom: 1em;
	margin-right: 1em;
	margin-left: 1em;
	text-align: left;

	.Stanza {
		page-break-inside: avoid;
	}

	p, div {
		text-indent: -0.5em;
		margin-left: 1.5em;
		margin-top: 0;
		margin-bottom: 0;
	}

	+ p {
		text-indent: 0;
	}

	.PoemAuthor {
		font-style: italic;
		text-indent: 0;
		text-align: right;
	}

	.PoemTitle {
		font-weight: bold;
		text-indent: 0;
		text-align: right;
	}

	.PoemTitleTop {
		font-weight: bold;
		text-indent: 0;
		text-align: center;
	}

	.PoemAuthorTop {
		font-style: italic;
		text-indent: 0;
		text-align: center;
	}

	.PoemAuthorTop + p, .PoemTitleTop + p {
		padding-top: 1em;
	}

	.PoemTitleTop + .PoemAuthorTop {
		padding-top: 0.2em;
	}

	.PoemSingle {
		text-indent: 0;
		text-align: right;
	}
}

div.QuoteBlock {
	margin-left: 2em;
	margin-right: 2em;
	margin-top: 1em;
	margin-bottom: 1em;
	text-indent: 0;

	p {
		text-indent: 0;
		margin-top: 0;
		margin-bottom: 0;
	}

	p + p {
		text-indent: 1.2em;
	}

	.QuoteAuthor {
		font-style: italic;
		text-indent: 0;
		text-align: right;
	}

	.QuoteScource {
		font-weight: bold;
		text-indent: 0;
		text-align: right;
	}

	.QuoteScourceTop {
		font-weight: bold;
		text-indent: 0;
		text-align: center;
	}

	.QuoteAuthorTop {
		font-style: italic;
		text-indent: 0;
		text-align: center;
	}

	.QuoteAuthorTop + p, .QuoteScourceTop + p {
		padding-top: 1em;
	}

	.QuoteScourceTop + .QuoteAuthorTop {
		padding-top: 0.2em;
	}

	.QuoteSingle {
		text-indent: 0;
		text-align: right;
	}
}

div.Epigraph {
	margin-top: 0;
	margin-bottom: 1em;
	margin-left: 55%;
	margin-right: 1em;
	text-indent: 0;
	text-align: left;

	p {
		margin-top: 0;
		margin-bottom: 0;
		text-indent: 0;
	}

	+ p {
		text-indent: 0;
	}

	.EpigraphAuthor {
		font-style: italic;
		text-align: right;
		border-top: thin solid;
	}
}

.DefinitionTerm{
	margin: 0;
	font-weight: bold;
	text-indent: 0em;
}
.DefinitionDescription{
	margin-left: 2em;
	text-indent: 0em;
}

.author {
	margin-top: 3em;
	margin-bottom: 3em;
	text-indent: 0em;
	font-size: 1.5em;
	text-align: center;
}

div.copyrights {
	padding-top: 5%;
	padding-left: 5%;
	padding-right: 5%;
	page-break-before: always;
	page-break-after: always;

	p {
		font-size: 0.8em;
		text-indent: 0em;
		text-align: center;
	}
}

.publisher {
	margin-top: 3em;
	margin-bottom: 3em;
	text-indent: 0em;
	font-size: 1.2em;
	text-align: center;
}
.main {
	margin-top: 2em;
	text-indent: 0em;
	font-size: 1.6em;
	font-weight: bold;
	text-align: center;
}
.title {
	margin-top: 2em;
	text-indent: 0em;
	font-size: 1.6em;
	font-weight: bold;
	text-align: center;
}
.subtitle {
	margin-top: 1em;
	text-indent: 0em;
	font-size: 1.4em;
	font-style: italic;
	text-align: center;
}
div#cover-image img {
  max-height: 100%;
  max-width: 100%;
}

ol.toc {
	padding: 0;
	margin-left: 1em;
}
ol.toc li {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

em, em em em, em em em em em {
	font-style: italic;
}

em em, em em em em {
	font-style: normal;
}
