<!-- In-App Help Style 1.0.2 -->
<style type="text/css">

/*--
 The style used for in app help with TOC etc. Based on Handbook.
 */

div#header + div#TOC {
}

body {
	font-family: -apple-system, sans-serif, 'Muli';
	color: #000000;
	font-size: 15px;
	background-color: #ffffff;
	padding: 5%;
	-webkit-hyphens: auto;
	margin: 0.0px 0.0px 9.0px 0.0px;
	-webkit-text-size-adjust: none;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

a {
	color:#627aa7;
	text-decoration: none !important;
}

h1 {
	margin: 0.0px 0.0px 12.0px 0.0px;
	text-align: right;
	font: 2em;
	font-weight: normal;
	margin-bottom: 2em;
}


h2 {
	margin: 0.0px 0.0px 0.0px 0.0px;
	font: 1.2em;
	font-weight: normal;
	color: #02aaff;
	margin-bottom: 1em;
	margin-top: 2em;
	text-align: left;
}

h3 {
	margin: 0.0px 0.0px 0.0px 0.0px;
	font-weight: normal;
	color: #02aaff;
	margin-bottom: 1em;
	margin-top: 2em;
	text-align: left;
}

h4 {
	margin: 0.0px 0.0px 0.0px 0.0px;
	font-size: 0.9em;
	margin-top:2em;
	margin-bottom: 1em;
	text-align: left;
}

strong, b {
	font-weight: normal;
	color: #066eaf;
}


/* use this instead of blockquote to avoid extra <p> inside blockquote */
.sidebar {
	float: right;
	width: 30%;
	margin: 0em 3em 2em 2em;
	font-size: .95em;
	border : 1px solid #aaa; /* #066eaf; */
	border-left : 2px solid #066eaf;
	padding: 0 1.5em 0 1.5em;
	background-color: rgba(238, 238, 238, 0.1);
	overflow: hidden;  /*-- this ensures that div does not overlap image */
	page-break-inside: avoid;
}

.box {
	border-radius: 2px;
	font-size: .95em;
	margin: 2em 2em 2em 2em;
	padding: 0 1.5em 0 1.5em;
	background-color: rgba(238, 238, 238, 0.1);
	border: 1px solid #066eaf; /*-- rgba(6, 110, 175, 0.5); /* #066eaf; */
	overflow: hidden;  /*-- this ensures that box does not overlap sidebar */
}

blockquote {
	font-size: 1em;
	margin: 2em 2em 2em 2em;
	border : 1px solid #aaa; /* #066eaf; */
	border-left : 2px solid #066eaf;
	padding: 0 1.5em 0 1.5em;
	background-color: rgba(238, 238, 238, 0.1);
	border-left : 2px solid #066eaf;
	overflow: hidden;  /*-- this ensures that box does not overlap sidebar */
}


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

ol li {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

ul li {
	padding-top: 0.25em;
	padding-bottom: 0.25em;
}


/* ---- Definition lists ---- */

dl { /* The whole list */
	border-top:  2pt solid #aaa;
	padding-top: 0.5em;
	border-bottom: 2pt solid #aaa;
	margin-top: 2em;
	margin-bottom: 2em;
	padding-left:   0.5em;
	padding-right:  0.5em
}

dt {
	font-size: 0.9em;
	font-weight: bold;
	margin-top: 0.5em;
	letter-spacing: normal;
	text-transform: none;
	padding-bottom: 1em;
}

dd {
	margin-bottom: 0.5em;
}

dd+dt {/* 2nd or greater term in the list */
	border-top:  1pt solid #ddd;
	padding-top: 0.5em;
}

dd+dd /* 2nd or greater definition of a term */
{
	border-top: 1px solid #ddd; /* To separate multiple definitions */
	padding-top: 0.5em;
}

/* ----  ---- */

img {	/*-- for image in general */
	max-width:80vw;
	max-height: 80vw;
	display: inline-block;
	margin-left: auto;
	margin-right: auto;
}

div.fullscreen {
	padding-left: 5%;
	padding-right: 5%;
	width:auto;
	max-width:100%;
	height:auto;
	max-height: 100%;
}

div.alignright {
	width: 50% !important;
	float: right;
}

.alignright {
	width: 50% !important;
	float: right;
}

div.alignrightsmall {
	width: 35% !important;
	float: right;
}

div.alignleft {
	max-width: 50%;
}

/* ?? should I use <hr> to force a page break in print mode? */
hr {
	height: 1px;
	background-color: #9e9e9e;
	color: #9e9e9e;
	max-width: 75%;
	border-width: 0;
	margin-top: 2em;
	overflow: hidden;
}

pre {
	white-space: pre-wrap;
	border-radius: 5px; /* Softens it */
	margin: 2em 2em 2em 1em;
	padding: 5px 0.75em 5px .75em;
	border: 1px solid #ddd;
	overflow: hidden;  /*-- this ensures that div does not overlap image */
}

table {
	font-size: **NotebooksFontSize**;
	border-collapse: collapse;
	margin-top:    2em;
	margin-bottom: 2em;
	margin-left: auto;
	margin-right: auto;
	border-top:    1px solid rgba(0, 0, 0, .5);
	border-bottom: 1px solid rgba(0, 0, 0, .5);
	width: 90%;
	
}

td, th  {
	vertical-align: top;
	vertical-align: baseline;
	padding-left:   1.5em;
	padding-right:  1.5em;
	padding-top:    0.2em;
	padding-bottom: 0.2em;
	border-right: .5pt solid rgba(0, 0, 0, .1);
}

td:first-child, th:first-child {
	border-left:  .5pt solid rgba(0, 0, 0, .5);
}

td:last-child, th:last-child {
	border-right:  .5pt solid rgba(0, 0, 0, .65);
}

tr {
	border-bottom: .5pt solid rgba(0, 0, 0, .1);
}

tr:last-child {
	border-bottom: .5pt solid rgba(0, 0, 0, .5);
}

thead, th {
	border-bottom: 1px solid rgba(0, 0, 0, .2);
	padding-top:    0.4em;
	padding-bottom: 0.4em;
}

.pagebreak {
	page-break-before: always;
	margin-top: 2em;
	margin-bottom: 2em;
	border-width: 3pt;
	text-align: center;
	background: #eee;
	height: 1px;
	color: #ccc;
	font-size: 0.8em;
}

.pagebreak:after {
	content: "PAGE BREAK";
	display: inline-block;
	position: relative;
	top: -0.6em;
	padding: 0 0.5em;
	background: white;
}

@media print {
	.pagebreak {
		margin-top: 0em;
		margin-bottom: 0em;
		height: 0px;
		font-size: 0em;
	}
	
	.pagebreak:after {
		content: "";
		padding: 0 0em;
	}
}

/*---- dynamically generated TOC ----*/

div#TOC, nav#TOC {
	padding-top: 1.5em;
	padding-bottom: 1.5em;
}

#TOC div.h1 { margin-left: 0 }
#TOC div.h2 { margin-left: 1.5em }
#TOC div.h3 { margin-left: 3em }
#TOC div.h4 { margin-left: 4.5em }
#TOC div.h5 { margin-left: 6em }
#TOC div.h6 { margin-left: 7.5em }
#TOC li { margin-top:0em; list-style-type: none; } /*-- Markdown TOC --*/

/*---- checkboxes ----*/
li.nb_checkbox, li.nb_checkbox_done { list-style-type: none; text-indent: -1.5em; margin-left: -0px; padding-left: -0px; vertical-align: middle; }
li.nb_checkbox:before, li.nb_checkbox_done:before { content: ""; display: inline-block; width: 1em; height: 1em; vertical-align:middle; margin-bottom: 2px; margin-right: 0.5em; background-color: transparent; -webkit-box-shadow: inset 0px 0px 0px 1px #24aefc; box-shadow: inset 0px 0px 0px 1px #24aefc; border-radius: 3px; border: 1px; }
li.nb_checkbox_done:before { background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAsUlEQVRIie3Nv0pCcRzGYfXgnwztGhoEBwevw1WC8MIEcWppaWhwUQQRBOk+hCC6gwyelh/0dXA4dcTlfMZ3eN5Kpazs6qGB7FJ4Ha+YXQLP8OK3SZF4Dc8BX6KZF5ng8Qz+FPA1WnnxEY74xkPYq5gHfIObXHiC7nFIyBHjtE8DvkU7Nx5OenhP2BcWAd/h9s94OOnjw2l7dP6Nh5MBPhP+hm5heDgZYoW7wvGysuv3Axqf8vqUR8OzAAAAAElFTkSuQmCC');
	background-size:contain; background-color: #24aefc; -webkit-box-shadow: inset 0px 0px 0px 1px #02aaff; }


/* print specific styles */
@media print  {
	body {
		background: white;
		font-size: 12px;  /* fixed font size for printing */
		
		/* this guarantees that strong em background is printed */
		-webkit-print-color-adjust: exact;
		padding: 0%;
	}
	
	h1 {
		page-break-before: always;
		margin-top: 0.0px;
	}
	
	h1:first-of-type {
		page-break-before: avoid;
	}
	
	/*
	 h2 {
	 page-break-before: always;
	 }
	 */
	
	h2:first-of-type {
		page-break-before: avoid;
	}
	
	
	h1 + h2 {
		page-break-before: avoid;
	}
	
	
	h3, h4 {
		page-break-after: avoid;
		orphans: 1;
	}
	
	blockquote, table, pre {
		page-break-inside:avoid
	}
	
	img {
		page-break-inside:avoid;
	}
}

:root {
    color-scheme: light dark;
}
</style>
