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

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

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#TOC, nav#TOC {
	border-bottom: 1px solid #aaa;
	padding-bottom: 1.5em;
	margin-bottom: 2.5em;
}

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

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

table {
	font-size: **NotebooksFontSize**;
}

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

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

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>
