@charset "utf-8";
/* RESET */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	-webkit-text-size-adjust: 100%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	line-height: 1.3em;
	border: none;
	outline: none;
	text-decoration: none;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, main {
	display: block;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
body {
	font-family: Calibri, sans-serif;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
	-webkit-font-smoothing: antialiased !important;
	-moz-osx-font-smoothing: grayscale;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	line-height: 1.2em;
}
#wrapper {
	overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}
h1 {
	font-family: Georgia, serif;
	font-size: 42px;
	line-height: 1.2em;
}
h2 {
	font-family: Georgia, serif;
	font-size: 28px;
	line-height: 1.2em;
}
h3 {
	font-family: Georgia, serif;
	font-size: 24px;
	line-height: 1.2em;
}
h4 {
	font-family: Georgia, serif;
	font-size: 18px;
	line-height: 1.2em;
}
p, li {
	font-family: Calibri, sans-serif;
	color:#494949;
	font-size:16px;
	line-height:1.4em;
	font-weight:500;
	margin-bottom: 20px;
}
blockquote {
	margin-left: 30px;
}
b, strong {
	font-weight: bold;
}
em, i {
	font-style: italic;
}
sup {
	vertical-align: super;
	margin-left: 2px;
	font-size: smaller;
}
/* Structure CSS */
.flex-container {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.vert-align-center {
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
}
.large-50 {
	width: 50%;
}
.large-100 {
	width: 100%;
}
.content-medium {
	max-width: 700px;
	width: 100%;
}
.content-max {
	max-width: 1200px;
	width: 100%;
}
.content-centered {
	margin: 0 auto;
}
.text-center {
	text-align: center;
}
.text-left {
	text-align: left;
}
.text-right {
	text-align: right;
}
.responsive-image {
	max-width: 100%;
	/*width: 100%;*/
}
.underline {
	text-decoration: underline;
}
.align-left {
	float: left;
	margin: 0 20px 20px 0;
}
.row {
	margin: 0 -15px;
}
.row .column {
	padding: 0 15px;
}
/* Book Page CSS */
a.amazon {
	display: block;
	margin-bottom: 20px;
}
a.amazon::before {
	content: '';
	display: inline-block;
	background-image: url("../svg/Amazon-icon.svg");
	background-repeat: no-repeat;
	background-position: center center;
	width: 25px;
	height: 25px;
	background-size: 25px;
	vertical-align: middle;
	margin-right: 6px;
}
.book {
	padding-bottom: 60px;
	margin-bottom: 60px;
	border-bottom: 1px solid #eaeaea;
}
section#sidebar {
	overflow-y: auto;
	padding: 70px 25px 30px 25px;
	width: 200px;
	position: fixed;
	z-index: 1;
	height: 100%;
	background-color: #fff;
	border-left: 1px solid #eaeaea;
	top: 0;
	right: 0;
	box-sizing: border-box;
}
section#sidebar a {
	color: #313131;
	font-family: Calibri, serif;
	line-height: 1.4em;
	text-decoration: none;
}
section#sidebar ul {
	padding-top: 20px;
}
section#sidebar ul li {
	display: block;
	border-bottom:1px solid #e0e0e0;
	margin-bottom: 0;
}
section#sidebar ul li:last-child {
	border-bottom: 0;
}
section#sidebar #reading-display {
	display: block;
	text-transform: capitalize;
	font-size: 14px;
}
section#sidebar #reading-display::before {
	content: '';
	display: inline-block;
	vertical-align: middle;
	background-repeat: no-repeat;
	margin-right: 5px;
}
section#sidebar #reading-display.light-mode::before {
	background-image: url("../svg/light-mode-icon.svg");
	width: 20px;
	height: 20px;
	background-size: 20px;
}
section#sidebar #reading-display.dark-mode::before {
	background-image: url("../svg/dark-mode-icon.svg");
	width: 15px;
	height: 15px;
	background-size: 15px;
}
section#sidebar ul li.current-page a {
	font-weight: bold;
}
section#sidebar ul li a {
	display: block;
	padding: 15px 0;
	text-transform: uppercase;
	font-size: 14px;
}
#wrapper.menu-active section#body {
	margin-right: 200px;
}
section#body {
	padding: 100px 30px 30px 30px;
}
section#body a {
	color: #000;
	text-decoration: underline;
}
section#body a.button {
	color: #fff;
	text-decoration: none;
}
section#body a.note-active {
	background-color:#000;
	display: inline-block;
	color: #fff;
	padding: 1px 5px;
}
body.table-of-contents section#body a {
	text-decoration: none;
}
section#body ul, section#body ol {
	padding-left: 40px;
}
section#body ul li {
	list-style: disc;
}
section#body ol li {
	list-style: decimal;
}
section#body ol.lower-alpha li {
	list-style-type: lower-alpha;
}
.chapter {
	border-bottom: 1px solid #e2e2e2;
	padding-top: 20px;
}
.chapter:last-child {
	border-bottom: 0;
}
span.chapter-number {
	color: #999;
	font-size: 14px;
	letter-spacing: 1px;
	display: block;
	text-transform: uppercase;
}
#navigation {
	padding: 20px 0;
	border-top: 1px solid #dbdbdb;
	border-bottom: 1px solid #dbdbdb;
	margin: 45px 0;
}
#navigation a {
	display: block;
}
#navigation .large-50:last-child {
	border-left: 1px solid #dbdbdb;
}
.footnote {
	padding-top: 100px;
    margin-top: -100px;
}
a.button {
	display: inline-block;
	background-color: #000;
	color: #fff;
	font-size: 15px;
	padding: 10px 20px;
	text-decoration: none;
}
/* Book Page Dark Mode CSS */
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4, body.dark-mode h5, body.dark-mode h6, body.dark-mode li, body.dark-mode li a, body.dark-mode blockquote, body.dark-mode section#sidebar a, body.dark-mode p, body.dark-mode section#body a, body.dark-mode header#header .back-button {
	color: #fff;
}
body.dark-mode {
	background-color: #2d2d2d;
	color: #fff;
}
body.dark-mode section#sidebar, body.dark-mode header#header {
	background-color: #252525;
	border-color: #4f4f4f;
}
body.dark-mode header#header .back-button, body.dark-mode header#header #mobile-icon {
	border-color: #4f4f4f;
}
/*body.dark-mode p {
	color: #9f9f9f;
}*/
body.dark-mode #mobile-icon div.burger-stack {
	background-color: #fff;
}
body.dark-mode #mobile-icon div.burger-stack::before, body.dark-mode #mobile-icon div.burger-stack::after {
	background-color: #fff;
}
body.dark-mode #mobile-icon.is-open div.burger-stack {
	background: none;
}
body.dark-mode section#sidebar ul li {
	border-bottom: 1px solid #474747;
}
body.dark-mode section#body a.note-active {
	background-color:#fff;
	color: #000;
}
/* Menu CSS */
header {
	background-color: #fff;
	border-bottom: 1px solid #eaeaea;
	position: fixed;
	z-index: 2;
	left: 0;
	top: 0;
	width: 100%;
	height: 50px;
}
header #header-inner {
	position: relative;
}
#mobile-icon {
	cursor: pointer;
	position: absolute;
	right:0;
	top:0;
	width: 50px;
    height: 50px;
	border-left: 1px solid #eaeaea;
	/*border: 2px solid #000;*/
}
#mobile-icon div.burger-stack {
	height: 2px;
	width: 22px;
	background-color: #595959;
	position: absolute;
	top: 23px;
	right: 14px;
}
#mobile-icon div.burger-stack::before {
	transform: translateY(-6px);
}
#mobile-icon div.burger-stack::after {
	transform: translateY(6px);
}
#mobile-icon div.burger-stack::before, #mobile-icon div.burger-stack::after {
	height: 2px;
	width: 100%;
	background-color: #595959;
	display: block;
	content: '';
	position: absolute;
	-webkit-transition: all 0.4s ease;
	transition: all 0.4s ease;
}
#mobile-icon.is-open div.burger-stack {
	background: none;
}
#mobile-icon.is-open div.burger-stack::before {
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
#mobile-icon.is-open div.burger-stack::after {
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
.back-button {
	height: 50px;
	width: 100px;
	border-right: 1px solid #eaeaea;
	text-align: center;
}
.back-button a {
	font-size: 14px;
	padding-top: 13px;
	display: block;
	text-decoration: none;
	color: #999;
	text-transform: uppercase;
}
.anchor-link {
	display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
}
@media screen and (max-width: 950px) {
	#wrapper.menu-active .medium-100 {
		width: 100%;
	}
	#wrapper.menu-active .medium-100 .book .column:first-child {
		margin-bottom: 20px;
	}
	#wrapper.menu-active .row {
		margin-left: 0;
		margin-right: 0;
	}
	#wrapper.menu-active .medium-100.column {
		padding-left: 0;
		padding-right: 0;
	}
}
@media screen and (max-width: 768px) {
	.medium-100 {
		width: 100%;
	}
	.medium-100 .book .column:first-child {
		margin-bottom: 20px;
	}
	.row {
		margin-left: 0;
		margin-right: 0;
	}
	.row .column {
		padding-left: 0;
		padding-right: 0;
	}
}
@media screen and (min-width: 550px) {

}
@media screen and (max-width: 550px) {
	section#sidebar {
		right: -200px;
	}
	section#body {
		margin-right: 0 !important;
	}
}