/*
Theme Name: Resources for Christian Theology (static)
Description: A static rebuild of the twentyseventeen WordPress theme for Resources for Christian Theology
Author: James Knight
Version: 2.0.0
*/

/* ==========================================================================
   1. Normalize + Base
   ========================================================================== */
*, *:before, *:after {
	box-sizing: border-box;
}

html {
	font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
	font-size: 15px;
	line-height: 1.8;
}

body {
	background: #ffffff;
	color: #333;
	margin: 0;
	-webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   2. Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: 800;
	margin: 0 0 0.3em 0;
	line-height: 1.3;
	color: #222;
}

h1 {
	font-size: 36px;
	font-size: 2.4rem;
	margin: 0 0 0.5em;
}

h2 {
	font-size: 24px;
	font-size: 1.6rem;
	margin-bottom: 0.5em;
}

h3 {
	font-size: 20px;
	font-size: 1.333em;
	margin-bottom: 0.5em;
}

p {
	margin: 0 0 1.5em;
}

a {
	color: #222;
	text-decoration: none;
}

a:hover,
a:focus,
a:active {
	color: #767676;
}

code {
	margin: 0 0.25em;
	background: #f1f1f1;
	padding: 0.125em 0.25em;
	font-size: 1rem;
	font-family: Inconsolata, monospace;
}

blockquote {
	margin: 0 0 1.5em;
	padding: 0 0 0 1.5em;
	border-left: 4px solid #ddd;
}

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

/* ==========================================================================
   3. Grid / Layout
   ========================================================================== */
.wrap {
	max-width: 1000px;
	padding-left: 2em;
	padding-right: 2em;
	margin: 0 auto;
}

#content {
	background: #fff;
	padding-top: 2em;
}

.site-content {
	padding-bottom: 2em;
}

.site-content .wrap {
	display: flex;
	flex-wrap: wrap;
}

#primary {
	float: left;
	width: calc(100% - 340px);
	padding-right: 4em;
}

#secondary {
	float: right;
	width: 300px;
	margin-left: 2em;
}

@media screen and (max-width: 780px) {
	#primary, #secondary {
		float: none;
		width: 100%;
		margin-left: 0;
		padding-right: 0;
	}
}

/* ==========================================================================
   4. Header
   ========================================================================== */
.site-header {
	position: relative;
}

.custom-header {
	position: relative;
	z-index: 2;
}

.custom-header-media {
	position: relative;
	background: #222;
}

.custom-header-media img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 165px;
	object-fit: cover;
}

.site-branding {
	background: #222;
	color: #fff;
	padding: 1em 0;
	text-align: center;
}

.site-branding-text .site-title {
	margin: 0;
	font-size: 48px;
	letter-spacing: -0.02em;
}

.site-branding-text .site-title a {
	color: #fff;
}

.site-branding-text .site-title a:hover,
.site-branding-text .site-title a:focus {
	color: #fff;
	opacity: 0.8;
}

.site-description {
	margin: 0;
	font-size: 14px;
	color: #bbb;
	font-weight: normal;
}

/* Navigation */
.navigation-top {
	background: #222;
	border-top: 1px solid rgba(255,255,255,0.1);
	position: relative;
	z-index: 3;
}

.navigation-top .wrap {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation li {
	display: inline-block;
	margin-right: 1.5em;
}

.main-navigation a {
	color: #fff;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.077em;
	padding-bottom: 0.25em;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation a[aria-current="page"] {
	color: #bbb;
}

/* ==========================================================================
   5. Content
   ========================================================================== */
.page-header {
	margin: 0 0 2em;
	border-bottom: 1px solid #eee;
	padding-bottom: 1em;
}

.page-title {
	font-size: 20px;
	margin: 0;
}

article.post,
article.page {
	margin-bottom: 4em;
	border-bottom: 1px solid #eee;
	padding-bottom: 3em;
}

article.post:last-child,
article.page:last-child {
	border-bottom: none;
}

.entry-header {
	margin-bottom: 1em;
}

.entry-title {
	font-size: 28px;
	line-height: 1.3;
	margin: 0 0 0.3em;
}

.entry-title a {
	color: #222;
}

.entry-title a:hover {
	color: #767676;
}

.entry-meta {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.077em;
	margin-bottom: 1em;
}

.entry-meta a {
	color: #767676;
}

.entry-content {
	font-size: 16px;
}

.entry-content p:last-child {
	margin-bottom: 0;
}

.more-link {
	display: inline-block;
	margin-top: 1em;
	color: #222;
	text-decoration: underline;
}

.more-link:hover {
	color: #767676;
}

/* ==========================================================================
   6. Sidebar / Widgets
   ========================================================================== */
.widget {
	margin-bottom: 2em;
}

.widget-title {
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 1em;
	text-align: left;
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget li {
	padding: 0.4em 0;
	border-bottom: 1px solid #eee;
	font-size: 14px;
}

.widget li a {
	color: #333;
}

.widget li a:hover {
	color: #767676;
}

.widget_search input[type="search"] {
	width: 100%;
	padding: 0.5em;
	border: 1px solid #ddd;
}

.textwidget p {
	font-size: 14px;
}

/* ==========================================================================
   7. Search
   ========================================================================== */
#pagefind-search-wrapper {
	display: inline-block;
}

.pagefind-search-toggle {
	background: none;
	border: none;
	color: #fff;
	font: inherit;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.077em;
	cursor: pointer;
	padding: 0.25em 0;
}

.pagefind-search-toggle:hover {
	color: #bbb;
}

/* ==========================================================================
   8. Footer
   ========================================================================== */
.site-footer {
	background: #222;
	color: #fff;
	padding: 2em 0 3em;
	border-top: 1px solid #3c3c3c;
}

.site-footer .wrap {
	text-align: center;
}

.site-footer p {
	margin: 0;
	font-size: 14px;
	color: #bbb;
}

/* ==========================================================================
   9. Residual twentyseventeen bits
   ========================================================================== */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link {
	left: -9999em;
	position: absolute;
	top: 2px;
	z-index: 100000;
}

.skip-link:focus {
	background: #f1f1f1;
	clip: auto;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	text-decoration: none;
	padding-left: 0.5em;
	padding-right: 0.5em;
	left: 6px;
	top: 7px;
	text-transform: uppercase;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Entry content from WordPress (font fixes for old inline styles) */
.entry-content p,
.entry-content div {
	line-height: 1.9;
}

.entry-content p,
.entry-content div,
.entry-content span {
	line-height: 1.9 !important;
	font-size: 15px !important;
}

.entry-content p[style*="font-family: Verdana"] {
	font-family: Verdana, Geneva, sans-serif !important;
}

.entry-content,
.entry-content p {
	word-wrap: break-word;
}

/* ==========================================================================
   Pagefind
   ========================================================================== */
#pagefind-ui {
	margin-top: 1em;
}