/*==================================================
* Font and body defaults
* ===============================================*/
@font-face {
	font-family: 'sbl_biblit';
	src: url('fonts/sbl_blit-webfont.eot');
	src: url('fonts/sbl_blit-webfont.eot?#iefix') format('embedded-opentype'),
	url('fonts/sbl_blit-webfont.woff') format('woff'),
	url('fonts/sbl_blit-webfont.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'sbl_biblit';
	src: url('fonts/iwoldstyi-webfont.eot');
	src: url('fonts/iwoldstyi-webfont.eot?#iefix') format('embedded-opentype'),
	url('fonts/iwoldstyi-webfont.woff') format('woff'),
	url('fonts/iwoldstyi-webfont.ttf') format('truetype'),
	url('fonts/iwoldstyi-webfont.svg#iowanoldst_btitalic') format('svg');
	font-weight: normal;
	font-style: italic;
}

@font-face {
	font-family: 'sbl_biblit';
	src: url('fonts/iwolstyb-webfont.eot');
	src: url('fonts/iwolstyb-webfont.eot?#iefix') format('embedded-opentype'),
	url('fonts/iwolstyb-webfont.woff') format('woff'),
	url('fonts/iwolstyb-webfont.ttf') format('truetype'),
	url('fonts/iwolstyb-webfont.svg#iowanoldst_btbold') format('svg');
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'sbl_biblit';
	src: url('fonts/iwolstbi-webfont.eot');
	src: url('fonts/iwolstbi-webfont.eot?#iefix') format('embedded-opentype'),
	url('fonts/iwolstbi-webfont.woff') format('woff'),
	url('fonts/iwolstbi-webfont.ttf') format('truetype'),
	url('fonts/iwolstbi-webfont.svg#iowanoldst_btbold_italic') format('svg');
	font-weight: bold;
	font-style: italic;
}

body {
	font-family: 'sbl_biblit', 'Times New Roman', serif;
	font-size: 100%;
	background: #f8f8f8;
	min-width: 320px;
	max-width: 1440px;
	margin: 0 auto;
}

a {
	color: maroon;
	text-decoration: none;
}

a:visited {
	color: maroon;
	text-decoration: none;
}

a:hover,
a:active {
	color: red;
	text-decoration: underline;
}
/*==================================================
* End font and body defaults
* ===============================================*/

/*==================================================
* Primary page components
* ===============================================*/
/* Blog name, navigation, etc. */
body > header {
	position: fixed;
	z-index: 0;
	padding: 0 2% 0 0;
	margin: 2em 0 0;
	width: 33%;
	font-size: 1.5em;
	text-align: right;
	overflow: auto;
}
#home > header {
	position: relative;
	top: 3em;
	margin: 0 auto;
	padding: 0;
	text-align: center;
}

a.home,
a.home:hover,
body > header a,
body > header a:visited {
	text-decoration: none;
	color: black;
}

header a:hover {
	text-decoration: underline;
	color: black;
}

nav > ul {
	font-size: 1.2em;
	padding: 0;
	text-indent: 0;
	line-height: 1em;
	list-style-type: none;
}

nav > ul > li {
	margin: 0.5em 0;
	text-indent: 0;
	line-height: 1em;
}

#sitenav {
	background: #f8f8f8;
	font-size: 1.2em;
	padding: 0 1em;
	box-sizing: border-box;
	margin: 0 auto;
	width: 100%;
	position: fixed;
	z-index: 2;
}

#sitenav > ul {
	padding: 0.2em 0 0;
	margin: 0 auto;
	border-bottom: 3px double #999999;
	text-align: center;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-flow: row wrap;
	-webkit-flex-flow: row wrap;
	justify-content: space-around;
	-webkit-justify-content: space-around;
	align-items: flex-start;
	-webkit-align-items: flex-start;
}

#sitenav li {
	display: inline-block;
}

#sitenav a, 
#sitenav a:visited {
	padding: 0.7em 0.7em 0.5em;
	text-decoration: none;
	color: grey;
}

#sitenav a:hover {
	text-decoration: underline;
	color: black;
}

#sitenav a.current-section {
	background: white;
	color: black;
	border: 1px solid #999999;
	border-bottom: 1px solid #f8f8f8;
}

#blognav {
	width: 100%;
}

#category_list {
	padding: 0;
	font-size: 0.75em;
	list-style-type: none;
	/* 	overflow: hidden; */
	opacity: 0;
	transition: margin 0.2s, opacity 0.2s;
}
#category_list.visible {
	display: block;
	margin: 0.5em 0;
	opacity: 1;
}
#category_list li {
	transition: line-height 0.2s, margin 0.2s, padding 0.2s;
}
#category_list:not(.visible) li {
	line-height: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
}
#category_list a {
	display: block;
}

.nav-toggle {
	display: none;
}
/* End of blog name, navigation, etc. */

/* Content area */
main {
	padding: 5em 1em 0;
}

body > footer {
	padding: 0 1em;
}

main,
body > footer {
	position: relative;
	margin-left: 33%;
	margin-right: 0.5em;
	width: auto;
	border: none;
}

#home > main,
#home > footer {
	margin-left: 0.5em;
}

article,
main > section {
	background: white;
	margin: 0 auto 1.8em;
	padding: 2em 2.5em;
	border: 1px solid lightgrey;
	max-width: 600px;
}

article section:not(:last-of-type) {
	border-bottom: 1px solid lightgrey;
	padding-bottom: 1em;
}

.more {
	font-weight: normal;
	font-style: normal;
}

.pagelinks {
	max-width: 600px;
	margin: 1.5em auto;
	padding: 0.7em 2.5em 0.5em;
	background: white;
	border: 1px solid lightgrey;
	text-align: center;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-flow: row wrap;
	-webkit-flex-flow: row wrap;
	justify-content: space-around;
	-webkit-justify-content: space-around;
	align-items: flex-start;
	-webkit-align-items: flex-start;
}

.pagelinks a {
	text-decoration: none;
	width: 33%;
	text-align: center;
	margin: 0.1em 0 0;
}

.pagelinks a:visited {
	text-decoration: none;
}

.pageform {
	display: inline;
	width: 33%;
	text-align: center;
	margin: 0;
}

.pageform select {
	display: inline-block;
	border: 1px solid #bbb;
}

.end-matter {
	max-width: 600px;
	margin: 1.5em auto 1em;
	/* padding: 0 2.5em; */
	text-align: center;
}

.end-matter > *:not(:last-child)::after {
	content: " |";
}
/* End of content area */
/*==================================================
* End of primary page components
* ===============================================*/

/*==================================================
* Headings and such
* ===============================================*/
.title {
	font-size: 2em;
	font-weight: bold;
	width: 100%;
	padding-left: 0.5em;
	box-sizing: border-box;
	line-height: 1.25em;
}
#home .title {
	width: auto;
	padding-left: 0;
}
.sitedescription {
	margin: 0;
}

article header {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-flow: row wrap;
	-webkit-flex-flow: row wrap;
	justify-content: space-between;
	-webkit-justify-content: space-between;
}


article header + * {
	clear: both;
}

article header h1,
section header h1 {
	font-size: 2em;
	font-weight: bold;
	margin: 0 0 0.2em;
	padding: 0;
	width: 100%;
}

article header h1 a,
article header h1 a:visited,
section header h1 a,
section header h1 a:visited {
	color: black;
	text-decoration: none;
}

.articleinfo {
	font-size: 0.85em;
	font-style: italic;
	color: grey;
	padding: 0;
	line-height: 22px;
}

article header .articleinfo {
	margin: 0.5em 0;
	line-height: 24px;
	float: left;
}

.comments-and-sharing {
	line-height: 24px;
	font-style: italic;
	font-size: 0.85em;
	float: right;
	text-align: right;
	margin-top: 0.5em;
}

time {
	display: inline-block;
}

time + span.commentcount::before {
	content: " • ";
}

.commentcount {
	float: right;
	margin: 0 2em 0 0.3em;
}

.comments-and-sharing:not(:hover) a {
	color: grey;
	transition: color 0.5s;
}

.sharing {
	height: 20px;
	opacity: 0.5;
	-webkit-filter: grayscale(50%);
	filter: grayscale(50%);
	-webkit-transition: opacity 0.5s, filter 0.5s;
	-moz-transition: opacity 0.5s, filter 0.5s;
	-o-transition: opacity 0.5s, filter 0.5s;
	transition: opacity 0.5s, filter 0.5s, -webkit-filter 0.5s;
}

.comments-and-sharing:hover .sharing {
	opacity: 1;
	-webkit-filter: grayscale(0%);
	filter: grayscale(0%);
}

.share-button img {
	width: 20px;
	height: 20px;
	margin: 0 5px;
}

.feed_link img {
	width: 16px;
	height: 16px;
	vertical-align: middle;
}

/* Override AddToAny's styling of its share counters */
.a2a_count {
	width: auto !important;
	padding: 0 5px !important;
}

/* Heading styles */
h2 {
	font-size: 1.4em;
	margin: 0.67em 0;
	font-weight: bold;
	font-style: normal;
}

h3 {
	font-size: 1.4em;
	margin: 0.67em 0;
	font-weight: normal;
	font-style: normal;
}

h4 {
	font-size: 1.25em;
	margin: 0.8em 0;
	font-weight: bold;
	font-style: normal;
}

h5 {
	font-size: 1.25em;
	margin: 0.8em 0;
	font-weight: normal;
	font-style: normal;
}

h6 {
	font-size: 1em;
	margin: 1em 0;
	font-weight: bold;
	font-style: normal;
}

p.inline-heading {
	font-size: 1em;
	display: inline;
	font-weight: bold;
	font-style: normal;
}

p.inline-heading:before {
	content: "\A";
}

p.inline-heading::after {
	content: ". ";
}

p.inline-heading+p {
	display: inline;
}

p.inline-heading+p::after {
	content: "\A\A";
	white-space: pre;
}
/*==================================================
* End of headings and such
* ===============================================*/

/*==================================================
* Article content
* ===============================================*/
article p,
main > section p {
	margin: 1em 0 0;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

table p {
	margin: 0;
	text-indent: 0;
	line-height: 1em;
}

table {
	margin: 1em 0;
	border-collapse: collapse;
	word-wrap: break-word;
}

td {
	border-style: solid;
	border-width: 1.0px 1.0px 1.0px 1.0px;
	border-color: #cbcbcb #cbcbcb #cbcbcb #cbcbcb;
	padding: 2.0px 5.0px;
}

hr {
	border-style: solid;
	border-width: 1.0px 0 0;
	border-color: #cbcbcb;
	margin: 1em 0;
}

/* Footnotes */
a.fn_marker {
	vertical-align: super;
	font-size: smaller;
	color: red;
}

div.footnote:first-of-type:before {
	content: "";
	display: block;
	height: 1px;
	width: 40%;
	margin: 0;
	background: #cbcbcb;
}

aside.footnote {
	border-left: 3px double grey;
	padding-left: 1em;
	margin: 1em 0 0;
	max-height: 100vh;
	background: -webkit-linear-gradient(left top, #eee, white, white);
	background: -o-linear-gradient(bottom right, #eee, white, white);
	background: -moz-linear-gradient(bottom right, #eee, white, white);
	background: linear-gradient(to bottom right, #eee, white, white);
	transition: margin 0.3s linear, max-height 0.3s linear, opacity 0.2s ease-in-out 0.4s;
}
aside.footnote:not(.visible) {
	opacity: 0;
	max-height: 0;
	margin: 0;
	overflow: hidden;
	transition: margin 0.3s linear 0.3s, max-height 0.3s linear 0.3s, opacity 0.2s ease-in-out 0s;
}

aside > p {
	margin-top: 0;
	margin-bottom: 0;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}
/* End of footnotes */

/* Tag and category list pages */
.taglist,
.categorylist {
	list-style-type: none;
	padding: 0;
	margin-left: 0;
	-moz-column-count: 3;
	-webkit-column-count: 3;
	column-count: 3;
}

.taglist > li,
.categorylist > li {
	font-size: 1.25em;
	line-height: 2.5em;
	font-weight: bold;
	font-style: normal;
}

.entrylist {
	list-style-type: none;
	padding-left: 0 !important;
}

.entrylist > li {
	margin-bottom: 1em;
}

.entrylist > li > a {
	font-size: 1.25em;
	color: black;
}
/* End of tag list pages */

/*==================================================
* End of article content
* ===============================================*/

/*==================================================
* Article footer
* ===============================================*/
footer {
	border-top: medium double grey;
	margin-top: 1em;
}

dl.article_taglist, 
dl.article_categorylist {
	list-style-type: none;
	padding: 0;
	margin: 1em 0 0;
}

dl.article_taglist dt, 
dl.article_categorylist dt {
	display: inline;
	padding: 0;
	margin: 0;
}

dl.article_taglist dt::after, 
dl.article_categorylist dt::after {
	content: ": ";
}

dl.article_taglist dd, 
dl.article_categorylist dd {
	display: inline;
	padding: 0;
	margin: 0;
}

dl.article_taglist dd::after, 
dl.article_categorylist dd::after {
	content: ", ";
}

dl.article_taglist dd:last-child::after, 
dl.article_categorylist dd:last-child::after {
	content: "";
}
/*==================================================
* End article footer
* ===============================================*/

/*==================================================
* List of articles
* ===============================================*/
.entrylist dl.article_taglist, 
.entrylist dl.article_categorylist {
	padding: 0;
	margin: 0;
	font-size: 0.85em;
	color: grey;
}

.entrylist dl.article_taglist a,
.entrylist dl.article_categorylist a {
	color: grey;
}

.sort.asc::after {
	content: " ↑ ";
}

.sort.desc::after {
	content: " ↓ ";
}

.sort-by {
	padding-left: 1em;
	padding-right: 0.2em;
}
/*==================================================
* End list of articles
* ===============================================*/

/*==================================================
* Email protection
* ===============================================*/
.mail_user::after {
	content: "@";
}
.mail_domain::after {
	content: ".";
}
.hidden {
	display: none;
}
/*==================================================
* End of email protection
* ===============================================*/

/*==================================================
* Responsive design
* ===============================================*/
@media (max-width:850px) {
	body > header {
		position: relative;
		padding: 0 0.66em;
		margin: 0 auto;
		width: auto;
		font-size: 1.5em;
		text-align: left;
		overflow: auto;
		border: 1px none lightgrey;
	}
	#home > header {
		top: 1em;
	}
 	
	.title {
		width: auto;
		max-width: 600px;
		margin: 0.5em auto;
		padding: 0 0 0 0.2em;
		text-align: center;
	}
 	
	.title br {
		display: none;
	}
 	
	a.home:hover {
		text-decoration: underline;
	}
 	
	#sitenav, #blognav {
		width: auto !important;
		padding: 0 !important;
	}
	
	#sitenav {
		position: relative;
	}
	
	#sitenav > ul {
		background: #f8f8f8 !important;
	}
 	
	#blognav > ul {
		border: 1px solid lightgrey;
	}
	
	nav > ul {
		max-width: 680px;
		padding: 0.2em 0 0;
		margin: 0 auto;
		font-size: 1em;
		background: white;
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		flex-flow: row wrap;
		-webkit-flex-flow: row wrap;
		justify-content: space-around;
		-webkit-justify-content: space-around;
		align-items: flex-start;
		-webkit-align-items: flex-start;
	}

	#blognav > ul > li {
		padding: 0;
		margin: 0.7em 0;
	}
	
	#category_list {
		margin-bottom: 0;
		max-width: 50px;
		overflow: visible;
	}

	#nav_categories::after {
		content: none;
	}
 	
	main {
		padding: 1.8em 1em 0;
	}

	main,
	body > footer {
		margin-left: 0;
		margin-right: 0;
	}
	
	a.previous {
		text-align: left;
	}
	
	a.next {
		text-align: right;
	}

}

@media (max-width:600px) {
	.taglist,
	.categorylist {
		-moz-column-count: 2;
		-webkit-column-count: 2;
		column-count: 2;
	}
	
	blockquote {
		margin-left: 1.5em;
		margin-right: 1.5em;
	}
	
	p {
		word-wrap: break-word;
	}

}
 
@media (max-width:460px) {
	article,
	main > section,
	.pagelinks {
		padding: 1em 1.5em;
	}
	
	
	blockquote {
		margin-left: 1em;
		margin-right: 1em;
	}
	nav > ul {
		padding: 0.2em 0 0;
		display: block !important;
	}
	
	#blognav > ul > li {
		text-indent: 1em;
	}

	#categorymenu li {
		font-size: 1em;
		text-indent: 2em;
		margin-top: 0.6em;
	}

	#category_list {
		max-width: none;
	}

	#sitenav > ul {
		background: #d8d8d8 !important;
		overflow: hidden;
		padding: 0;
	}
	#sitenav:not(.visible) > ul {
		margin: 0;
		border: 0;
	}
	
	#sitenav li {
		display: block;
		overflow: hidden;
		margin: 0;
	}
	#sitenav:not(.visible) li {
		padding: 0;
		line-height: 0;
	}
	
	#sitenav a {
		color: black;
		display: block;
		margin: 0;
		transition: margin 0.2s, padding 0.2s, line-height 0.2s, opacity 0.2s;
	}
	#sitenav:not(.visible) a {
		padding: 0;
		opacity: 0
	}
	#sitenav a.current-section {
		background: white;
		border: none;
	}

	#blognav:not(.visible) ul {
		overflow: hidden;
		margin: 0;
		padding: 0;
		opacity: 0;
		transition: opacity 0.1s linear 0.1s;
	}
	#blognav li {
		transition: margin 0.2s, padding 0.2s, line-height 0.2s;
	}
	#blognav:not(.visible) li {
		overflow: hidden;
		padding: 0;
		margin: 0;
		line-height: 0;
	}
	#blognav a {
		display: block;
		transition: opacity 0.2s;
	}
	#blognav:not(.visible) a {
		opacity: 0;
	}
	
	#mobile-sitenav-toggle {
		display: block !important;
		font-size: 1.6em;
		color: rgba(0,0,0,0);
		padding: 0 0.5em;
		position: relative;
		z-index: 3;
		right: 0.6em;
	}
	#mobile-blognav-toggle {
		display: block !important;
		background: white;
		color: black;
		border: 1px solid lightgrey;
		padding: 0.7em 1em 0.5em;
		position: relative;
	}
	.nav-toggle::after {
		content: url(/notebook/resources/menu.svg);
		position: absolute;
		font-size: 1em;
		top: 0.8em;
		right: 1.1em;
	}

}

@media (max-width:360px) {
	.taglist,
	.categorylist {
		-moz-column-count: 1;
		-webkit-column-count: 1;
		column-count: 1;
	}
	
	.end-matter > *:first-child::after {
		content: " \A";
		white-space: pre;
	}

}
/*==================================================
* End of responsive design
* ===============================================*/