/*
Theme Name: Sunday Post
Theme URI: http://sundaypost.com/
Author: Graeme Pirie
Author URI: http://graemepirie.com
Description: Theme for Sunday Post, which is a child theme of Blocks.
Version: 4.3.10
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: sunday-post
Template: blocks-theme
Release Notes: blocks-theme, sunday-post, esio, syndicate, syndicate-subscriber
*/

body {
	font-family: 'Libre Baskerville', Georgia, serif !important;
}

.site-header {
	background-color: #fff;
}

.logo {
	width: 100%;
	max-width: 260px;
}

.title {
	font-weight: 700;
}

.cms h1,
.cms h2,
.cms h3,
.cms h4,
.cms h5,
.cms h6 {
	line-height: 1.3;
}

.cms p,
.cms ul,
.cms ol {
	margin-top: 1.25em;
	margin-bottom: 1.25em;
	line-height: 1.6;
}

.cms a {
	color: #1074b8;
}

.site-header,
.category-label,
.site-footer,
.extended-byline {
	font-family: 'Nunito Sans', Arial, sans-serif;
}

.extended-byline {
	font-size: .875rem;
	font-weight: 600;
	color: #444;
}

/* Header > Blaize Verticals */
.blaize-verticals {
	font-size: 12px;
}

.blaize-verticals .blaize-login-register > a {
	color: #000;
}

.blaize-verticals .blaize-login-register > .sub-menu a {
	font-size: 12px;
}

.title {
	line-height: 1.3;
	letter-spacing: -.015rem;
}

.title--block,
.title--icon {
	padding-top: 10px;
	padding-bottom: 10px;
	border-bottom: 3px solid #eee;
}

.excerpt {
	font-size: 87.5%;
}

.logo,
.no-logo {
	height: auto;
}

.widget_ep-related-posts ul {
	padding-top: .5em;
	list-style: none;
}

.widget_ep-related-posts li {
	padding-bottom: .5em;
	line-height: 1.462;
	border-bottom: 1px dotted;
	margin-bottom: .5em;
}

.header-btn {
	color: #000;
}

.nav-bar a {
	text-transform: uppercase;
}

.all-sections {
	background-color: #323232 !important;
	background-color: rgba(50, 50, 50, .99) !important;
	color: #fff !important;
}

/* Navigation > Sub Menu */
.archive .nav-bar > .current_page_item .sub-menu,
.archive .nav-bar > .menu-item-type-taxonomy.current-menu-item .sub-menu,
.archive .nav-bar > .menu-item-type-taxonomy.current-category-ancestor .sub-menu {
	background-color: #fff;
}

/* Navigation > All Sections */
.all-sections__nav,
.all-sections__internal {
	margin-top: 20px;
	margin-bottom: 20px;
}

html.no-js nav.all-sections .wrap {
	background-color: #323232;
}

.all-sections__nav:before,
.all-sections__internal:before {
	display: block;
	margin-bottom: 10px;
	padding-bottom: 5px;
	border-bottom: 1px solid #444;
	line-height: 100%;
	font-weight: 500;
	font-size: 87.5%;
	text-transform: uppercase;
	color: #aaa;
}

/* Navigation > All Sections > Nav */
.all-sections__nav:before {
	content: 'Sections';
}

.all-sections__nav a {
	color: #fff !important;
}

.all-sections__nav > .menu-item:nth-child(4n) {
	clear: left;
}

.all-sections__nav > .menu-item > a {
	padding-bottom: 10px;
	border-bottom: 2px solid #555;
	font-weight: 600 !important;
	font-size: 150% !important;
	text-transform: uppercase;
}

.all-sections__nav .sub-menu a {
	font-size: 100%;
}

.all-sections__nav > .menu-item > a:before {
	display: none;
}

.all-sections__nav .sub-menu > .menu-item:after {
	content: '' !important;
}

/* Navigation > All Sections > Internal */
.all-sections__internal:before {
	content: 'Services';
}

.all-sections__internal {
	clear: both;
	list-style: none;
	margin-top: 40px;
}

.all-sections__internal > li {
	float: left;
	width: 33.333%;
	line-height: 150%;
}

/* Navigation > All Sections > Copyright */
.all-sections .copyright {
	padding-top: 10px;
	padding-bottom: 10px;
	border-top: 1px solid #444;
}

.breadcrumb {
	color: #000;
}

.entry-header--enhanced .flex {
	background-color: #000;
}

.tag-list__tag-link {
	background-color: #333;
}

/* Blocks */

.carousel__ui {
	background-color: #000;
	color: #fff;
	border: 1px solid #000;
}

.carousel__ui:hover {
	background-color: #fff;
	color: #000;
	border: 1px solid;
}

/* Block: Gallery */
.gallery__page.js-pager-active {
	background-color: #000;
}

.gallery__page.js-pager-active:before {
	color: #000;
}

/* Block: Premium */
.block--premium .post__excerpt {
	line-height: 1.4 !important;
	font-family: 'Libre Baskerville', Georgia, serif;
}

/* Block: Top Story + sections */
.block--top-story-with-sections .block--top-story__grid-list[data-count="4"] .list-posts-container {
	background-color: #333;
}

.block--top-story-with-sections .block--top-story__grid-list[data-count="4"] .post--list:not(:last-of-type) {
	margin-bottom: 10px;
	border-bottom: 1px solid #555;
}

.alt-layout .title--block__link.title {
	background-color: #fff;
	color: black;
	font-weight: 700;
	padding: 5px;
	text-transform: uppercase;
	font-size: 87.5%;
	font-family: 'Nunito Sans', Arial, sans-serif;
}

.alt-layout .title {
	color: white;
}

.block--top-story-with-sections .title--alt.category-label {
	font-weight: 900;
	text-transform: uppercase;
	font-size: 87.45%;
}

.block--top-story-with-sections__grid-one-main .block--top-story__grid-list .title--sm {
	line-height: 1.4 !important;
}

/* Template Parts > Sharing Bar */
.sharing-bar__next-post {
	background-color: #fff;
	color: #000;
}

/* Embeds > Analysis */
.o-analysis {
	background-color: #f8f8f8;
}

/* Widgets > JSON Feed */
.wpc-shortcode-json-feed__title {
	line-height: 1.3;
	font-weight: 500;
	font-size: .9375rem;
}

/* Plugin: DCT FAQs */
.dct-faq__title-btn-icon {
	margin-top: .125rem;
}

.dct-faq__title-btn-text {
	font-family: 'Libre Baskerville', Georgia, serif;
	font-weight: 400;
	font-size: 1.125rem;
	letter-spacing: -.0125rem;
}

/* Search */
.pagination .current {
	background-color: #333;
}

/* Media: >= 479px */
@media only screen and (min-width: 479px) {
	.block--news .post .dfp-ad, .block--news .post .dfp-ad > div, .block--news .post .dfp-ad > div iframe {
		height: 100% !important;
	}
}

/* Media: <=899px */
@media only screen and (max-width: 899px) {
	.block--top-story-with-sections .list-posts-container.alt-layout .title--block__link {
		font-size: 90%;
	}
}

/* Media: <=767px */
@media only screen and (max-width: 767px) {
	.header-btn {
		background-color: white;
		border-color: white;
		outline: white;
		color: #000 !important;
	}
}

/* Media: >=768px */
@media only screen and (min-width: 768px) {

	/* Post > Sharing bar */
	.sharing-bar.js-on {
		top: 64px;
	}

	/* Typography */
	.title--icon,
	.title--block {
		font-size: 175%;
	}

	.title.entry-title {
		font-size: 225%;
	}

	.title--lg {
		font-size: 225%;
	}

	.title--md {
		font-size: 150%;
	}

	.title--sm {
		font-size: 100%;
	}

	.title--xs {
		font-size: 93.75%;
	}

	.cms h1 {
		font-size: 225%;
	}

	.cms h2 {
		font-size: 200%;
	}

	.cms h3:not(.wpc-shortcode-json-feed__title) {
		font-size: 175%;
	}

	.cms h4 {
		font-size: 150%;
	}

	.cms h5 {
		font-size: 125%;
	}

	.cms h6 {
		font-size: 100%;
	}

	.cms p,
	.cms ul,
	.cms ol {
		font-size: 100%;
	}

	/* All Sections */
	.all-sections__nav > .menu-item {
		float: left;
		padding-bottom: 20px;
		padding-right: 20px;
		width: 33.333%;
		box-sizing: border-box;
	}

	.all-sections__nav .sub-menu > .menu-item {
		float: none !important;
	}
}

.all-sections *:focus,
.site-footer *:focus {
	outline: 1px white dotted;
}

.all-sections-btn,
.header-btn {
	background-color: white;
	border-color: white;
	outline: white;
	color: #000 !important;
}

.entry-header .byline,
.entry-header .post-timestamp {
	height: 32px;
	line-height: 32px;
}
