/*** Spine theme alterations ***/
body {
	color: #1b1b1b;
}

body:not(.has-background-image),
main {
	background-color: #fff;
}

main {
	padding-bottom: 3em;
}

#spine #glue:before {
	border-right: 1px solid #ccc;
}

.main-header {
	background: none;
	height: auto;
}

.main-header .header-group {
	box-sizing: border-box;
	max-width: 1188px;
	padding-top: 2rem;
	position: relative;
	text-align: center;
}

.source,
.main-header sup span {
	display: none;
}

.main-header sub, 
.main-header sup {
	color: #211f1f;
}

.opensansy .main-header sub {
	font-size: 20px;
	font-weight: 600;
}

/*** Type ***/
h2 {
	font-size: 2.2rem;
	font-weight: 300;
	padding-top: 2.3em;
	padding-bottom: 1.3em;
}

h3 {
	font-size: 1.7rem;
	text-transform: none;
	font-weight: 600;
	padding-top: 1.4em;
	padding-bottom: .5em;
}

h3:first-of-type {
	padding-top: 0;
}

p + h3:first-of-type {
	padding-top: 2.3em;
}

a {
	cursor: pointer;
	transition: background .25s ease-in-out;
}

p, 
main ol, 
main ul {
	font-weight: 300;
	font-size: 1.1rem;
	line-height: 1.6em;
}

main ol li, 
main ul li {
	padding-bottom: .7em;
}

ul.li-u {
	padding-left: 0;
}

ul.li-u li {
	list-style: none;
	border-top: 1px solid #ccc;
	padding: .5em 0;
}

ul.li-u li:last-of-type {
	border-bottom: 1px solid #ccc;
}

ul.index {
	display: flex;
	padding-left: 0;
	padding-right: 0;
	flex-direction: row;
	flex-wrap: wrap;
}

ul.index li {
	padding: .3em;
	font-size: 1.2rem;
	list-style: none;
}

ul.group {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	flex-grow: 2;
	padding-right: 0;
}

ul.group li {
	border-bottom: 1px solid #e3e3e3;
	padding-top: .5em;
	list-style: none;
	width: 25%;
	margin-right: 1em;
}

ul.group li:last-of-type {
	border-bottom: none;
}

blockquote {
	font-family: "Open Sans";
	padding-top: 0;
}

blockquote:before {
	color: #ccc;
	content: "\201C";
	font-size: 4rem;
	line-height: .1em;
	margin-left: -.2em;
	vertical-align: -.8em;
}

blockquote p {
	font-weight: 400;
	font-size: 1.1rem;
	line-height: 1.4;
	padding-bottom: 1.5em;
}

blockquote cite {
	font-weight: 300;
	font-size: 1rem;
}

/*** Utlities ***/
.g-bg {
	background: #f0f0f0;
}

.pad-top {
	padding-top: 2em;
}

.column.middle {
	padding-top: 20%;
}

/** Tables **/
.error-tb th {
	font-size: 1.3rem;
	padding-bottom: 1em;
	padding-top: 1.1em;
}

.error-tb tr {
	border-bottom: 1px solid #ccc;
}

.error-tb tr:nth-child(even) {
	background-color: #f0f0f0;
}

.error-tb td {
	padding: .4em;
}

/*** Action links ***/
.action-link {
	background: #981e32;
	color: #fff;
	display: inline-block;
	text-decoration: none;
	line-height: normal;
	padding: .5em 1em;
	transition: background .25s ease-in-out;
	font-family: system-ui;
	font-size: 1.1rem;
	font-weight: normal;
}

.action-link:focus, 
.action-link:hover {
	color: #fff;
	background: #c60c30;
}

/*** Forms ***/
.button, 
button, 
input[type=submit],
input[type=reset],
input[type=button] {
	background: #981e32;
	border: none;
	color: #fff;
	display: inline-block;
	text-decoration: none;
	cursor: pointer;
	margin-bottom: 0;
	line-height: normal;
	padding: .5em 1em;
	vertical-align: middle;
	border-radius: 0;
	transition: background .25s ease-in-out;
	font-size: 1.1rem;
}

button a {
	color: #fff;
}

.button:focus, 
.button:hover, 
button:focus, 
button:hover,
button a:hover,
input[type=submit]:focus, i
nput[type=submit]:hover, 
input[type=reset]:focus, 
input[type=reset]:hover,
input[type=button]:focus, 
input[type=button]:hover {
	color: #fff;
	background: #c60c30;
	border: none;
}

/* Gallery and slideshow */
.gallery {
	display: block;
	margin: 1rem 0 2rem;
}

figure {
	margin: 0;
	max-width: 100%;
}

figure img {
	display: block;
}

.gallery img {
	width: 100%;
	border: none;
}

figcaption.wp-caption-text {
	position: relative;
}

.sss {
	display: block;
	height: 0;
	position: relative;
}

.sss .ssslide {
	display: none;
	overflow: hidden;
	padding: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

.ssslide-inner {
	display: table;
	margin: 0 auto;
}

.ssslide figcaption {
	caption-side: bottom;
	display: table-caption;
	width: auto;
}

.sssprev,
.sssnext {
	border: none;
	cursor: pointer;
	display: block;
	height: 100%;
	overflow: hidden;
	position: absolute;
	text-indent: -5rem;
	top: 0;
	width: 1rem;
}

.sssprev:before,
.sssnext:before {
	border-color: transparent;
	border-style: solid;
	border-width: 1.5rem 1rem;
	box-sizing: border-box;
	content: '';
	margin-top: -1.5rem;
	position: absolute;
	top: 50%;
}

.sssprev {
	left: -1.5rem;
}

.sssprev:before {
	border-right-color: #717171;
	right: 0;
	transition: border-right-color .4s;
}

.sssprev:hover:before {
	border-right-color: #981e32;
}

.sssnext {
	right: -1.5rem;
}

.sssnext:before {
	border-left-color: #717171;
	left: 0;
	transition: border-left-color .4s;
}

.sssnext:hover:before {
	border-left-color: #981e32;
}

/* Accordion */
dl.js-accordion {
	padding-top: 1.1em;
}

.js-accordion dt {
	border-top: solid 1px #f3f3f3;
	cursor: pointer;
	display: block;
	padding: .5rem 2.5rem .5rem 1rem;
	position: relative;
}

.js-accordion dt:hover,
.js-accordion dt:active {
	color: #981e32;
}

.js-accordion dt:after {
	content: '+';
	font-weight: normal;
	font-size: 1.1rem;
	position: absolute;
	right: 1rem;
	top: .5rem;
	transition: transform .4s;
	color: #981e32;
}

.js-accordion dt[aria-expanded="true"]:after {
	transform: rotate(45deg);
}

.js-accordion dd {
	display: block;
	padding: .5rem 2.5rem 1rem 2rem;
}

/* Posts modification from Phil */
.pager {
	display: none;
}

.single-post .sub-header:before {
	content: "The Website of Prof. Paul Brians";
}

.single-post .sub-header span {
	display: none;
}

cite {
	font-style: italic;
}

@media screen and (max-width: 690px) {
	ul.group {
		display: block;
	}
	
	ul.group li {
		width: 100%;
	}
}