<!-- Notebooks Novel Theme 2.3 -->
<style type="text/css">

body {
	font-family: **NotebooksFont**;
	color: **NotebooksFontColor**;
	font-size: **NotebooksFontSize**;
	line-height: **NotebooksLinespacing**;
	background-color: **NotebooksBGColor**;
	background-image:url('**NotebooksBGImage**');
	text-align: **NotebooksTextAlign**;
	-webkit-hyphens: **NotebooksHyphens**;
	padding: 5%;
	margin: 0.0px 0.0px 0.0px 0.0px;
	-webkit-text-size-adjust: none;
}

/* --------------------------------- */
/* Pandoc author and date headers    */
/* (h1.title, h2.author and h3.date) */

div#header, header {
	border-bottom: 1px solid #aaa;
	padding-bottom: 1em;
	margin-bottom: 2.5em;
}

.title {
	text-align: center;
	margin: 0em 0px 0.5em 0px;
	border-bottom:none;
	color: **NotebooksFontColor**;
}

.author {
	text-align: center;
	margin: 0em 0px 0em 0px;
	border-bottom:none;
	color: **NotebooksFontColor**;
}

.date {
	text-align: center;
	margin: 0em 0px 1.25em 0px;
	color: **NotebooksFontColor**;
}


/* div for table of contents */
/* with divider at top and bottom */
div#TOC, nav#TOC {
	border-top: 1px solid #aaa;
	padding-top: 1.5em;
	margin-top: 2.5em;
	border-bottom: 1px solid #aaa;
	padding-bottom: 1.5em;
	margin-bottom: 2.5em;
}

/* ... unless we are following the header */
div#header + div#TOC {
	border-top: 0px solid #aaa;
	padding-top: 0em;
	margin-top: 0em;
}

/* do not print TOC */
@media print
{
	div#TOC, nav#TOC {
		/* Don't display TOC in print */
		/* display: none; */
	}
}
/* --------------------------------- */


p {
	margin-top:0em;
	margin-bottom:0em;
}

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

img {
	max-width: 100%;
	height: auto;
	margin-top: auto;
	margin-bottom: auto;
}

table {
	font-size: **NotebooksFontSize**;
	border: 1px solid gray;
	-webkit-border-radius: 3px;
	padding: 6px !important;
	margin-left: auto;
	margin-right: auto;
	margin-top: 2em;
}

table th {
	padding-left: 30px;
	padding-right: 30px;
	vertical-align:top;
}

table td {
	padding-left: 30px;
	padding-right: 30px;
	vertical-align:top;
}

hr {
	height: 1px;
	margin: 2em 1em 4em 0;
	text-align: center;
	background-color: #9E9E9E;
	border-width: 0;
}

h1 {
	font-size: 1.4em;
	text-align: left;
	font-weight: normal;
	line-height: 1.5em;
	margin: 0em 0px 1.25em 0px;
	page-break-before: always;
	text-align: center;
}

h2 {
	font-size: 1.1em;
	text-align: left;
	font-weight: normal;
	line-height: 1.8em;
	letter-spacing: .2em;
	margin: 2.5em 0 1em 0;
	text-transform: uppercase;
	text-align: center;
}

h1 + h2 {
	margin-top: 1.5em;
}

h3 {
	font-size: .91em;
	text-align: left;
	font-weight: normal;
	line-height: 1.8em;
	letter-spacing: .2em;
	margin: 2.0em 0 1em 0;
	text-transform: uppercase;
	text-align: center;
}

h2 + h3 {
	margin-top: 1em;
}

h4, h5, h6 {
	font-size: 1em;
	text-align: left;
	font-weight: bold;
	line-height: 1.8em;
	margin: 2em 0 0 0;
}

blockquote {
	font-size: 1em;
	margin: 2em 2em 2em 1em;
	padding: 0 .75em 0 1.25em;
	border-left: 1px solid #777;
}

blockquote strong {
	font-weight: bold;
	font-size: 1em;
	letter-spacing: normal;
	text-transform: none;
}

ul, ol {
	padding-left: 1.25em;
	margin-left: 1em;
	text-indent:0em;
}

dt {
	font-size: 1em;
	text-align: left;
	font-weight: normal;
	margin-top: 0.5em;
	letter-spacing: normal;
	text-transform: none;
}

dd {
	margin: auto auto 0 2.25em;
}

pre {
	white-space: pre-wrap;
}

/* ------------------------------------------------ */
/* Custom classes
 
/* use this for an empty div to enforce a pagebreak */
/* in Markdown you just need > %pagebreak%           */
.pagebreak {
	page-break-after: always;
	width: 100%;
	margin: 2em auto;
	overflow: hidden;
	text-align: left;
	font-weight:300;
	color: #999;
	font-size: 0.8em;
	font-style: italic;
	text-transform: uppercase;
	
}

.pagebreak:before {
	content: "—  PAGE BREAK";
}

.pagebreak:after {
	display: inline-block;
	width: 100%;
	vertical-align: middle;
	border-bottom: .5px dashed #999;
	content: "";
	margin: 0 -55% 0 0.5em;
}

@media print {
	.pagebreak {
		margin: 0em;
		width: 0px;
		height: 0px;
	}
}

/* This is the caption for tables or images */
/* in Markdown, us it like >%caption%       */
.caption {
	caption-side: top;
	border: none;
	font-size:  0.9em;
	font-style: italic;
	text-align: center;
	margin-top:  0.5em;
	margin-bottom:  0.3em;
	padding-bottom: 0.2em;
}

@media print  {
	
	body {
		background: white;
		padding: 0%;
	}
	
	h1 {
		page-break-before: always;
	}
	
	h1:first-of-type {
		page-break-before: avoid;
		counter-reset: page;
	}
	
	h1, h2, h3, h4, h5, h6 {
		page-break-after:avoid;
		page-break-inside:avoid
	}
	
	blockquote, table, pre {
		page-break-inside:avoid
	}
	
	ul, ol, dl  {
		page-break-before:avoid
	}
	
	img {
		page-break-inside:avoid;
		page-break-after:avoid;
	}
	
	a {
		text-decoration: none !important;
		color: **NotebooksFontColor**;
	}
}

</style>
