/*
Theme Name: The Courier (2017)
Theme URI: https://www.dctmedia.co.uk
Author: Robert Paul
Author URI: https://www.dctmedia.co.uk
Description: The Courier's child-theme, based on the Blocks theme.
Template: blocks-theme
Version: 4.3.6
Release Notes: the-courier,esio,syndicate,syndicate-subscriber
*/

/* Colour */

:root {
	--courier-light-blue: #005A9E;
}

/* Typography */
body {
	font-family: 'Arial', sans-serif;
}

/* Typography > 'Guardian Compact Web' */
@font-face {
	font-family: 'Guardian Compact Web';
	src: url('assets/fonts/GuardianCompact/Guardian Compact Web-Thin.eot');
	src: url('assets/fonts/GuardianCompact/Guardian Compact Web-Thin.eot?#iefix') format('embedded-opentype'),
		url('assets/fonts/GuardianCompact/Guardian Compact Web-Thin.woff2') format('woff2'),
		url('assets/fonts/GuardianCompact/Guardian Compact Web-Thin.woff') format('woff');
	font-weight: 200;
	font-style: normal;
	font-stretch: normal;
}

@font-face {
	font-family: 'Guardian Compact Web';
	src: url('assets/fonts/GuardianCompact/Guardian Compact Web-Regular.eot');
	src: url('assets/fonts/GuardianCompact/Guardian Compact Web-Regular.eot?#iefix') format('embedded-opentype'),
		url('assets/fonts/GuardianCompact/Guardian Compact Web-Regular.woff2') format('woff2'),
		url('assets/fonts/GuardianCompact/Guardian Compact Web-Regular.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-stretch: normal;
}

@font-face {
	font-family: 'Guardian Compact Web';
	src: url('assets/fonts/GuardianCompact/Guardian Compact Web-Medium.eot');
	src: url('assets/fonts/GuardianCompact/Guardian Compact Web-Medium.eot?#iefix') format('embedded-opentype'),
		url('assets/fonts/GuardianCompact/Guardian Compact Web-Medium.woff2') format('woff2'),
		url('assets/fonts/GuardianCompact/Guardian Compact Web-Medium.woff') format('woff');
	font-weight: 500;
	font-style: normal;
	font-stretch: normal;
}

@font-face {
	font-family: 'Guardian Compact Web';
	src: url('assets/fonts/GuardianCompact/Guardian Compact Web-Semibold.eot');
	src: url('assets/fonts/GuardianCompact/Guardian Compact Web-Semibold.eot?#iefix') format('embedded-opentype'),
		url('assets/fonts/GuardianCompact/Guardian Compact Web-Semibold.woff2') format('woff2'),
		url('assets/fonts/GuardianCompact/Guardian Compact Web-Semibold.woff') format('woff');
	font-weight: 600;
	font-style: normal;
	font-stretch: normal;
}

/* Typography > Titles */
h3.accordion-pack-title,
.all-sections__nav:before,
.all-sections__internal:before,
.all-sections__nav > .menu-item > a,
.btn,
.breadcrumb,
.cms h1,
.cms h2,
.cms h3,
.cms h4,
.cms h5,
.cms h6,
.cms > .lightbox-content > p:first-of-type,
.elas-search__text,
.navigation,
.ow-temp,
.ow-windspeed,
.pds-question-top,
.pds-vote-button,
.post-embed__title,
.results__title,
.rpwe-title,
.sharing-bar__next-post,
.sharing-bar__title,
.title,
.title--caps,
.title--block,
.title--icon,
.verticals__wrap,
.widget-title {
	font-family: 'Guardian Compact Web', 'Georgia', sans-serif;
}

.title--caps {
	font-weight: 600;
	letter-spacing: .025rem;
}

.title--lg {
	line-height: 120%;
	font-weight: 900;
}

.title--md {
	line-height: 120%;
	font-weight: 600;
}

.title--sm {
	line-height: 110%;
	font-weight: 600;
}

.title--xs {
	line-height: 125%;
	font-weight: 400;
}

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

.title--papertray {
	color: #005A9E;
	color: var(--courier-light-blue);
}

.title--papertray__string {
	color: #003d73;
}

.title--papertray .genericon {
	background-color: #003d73;
}

.category-label {
	color: #005A9E;
	color: var(--courier-light-blue);
}

.title.entry-title,
.cms h1,
.cms h2,
.cms h3,
.cms h4,
.cms h5,
.cms h6 {
	color: #000;
}

.cms p,
.cms ul,
.cms ol {
	color: #444;
}

.cms a {
	color: #005A9E;
	color: var(--courier-light-blue);
}

.cms blockquote:before {
	color: #0066b3;
	width: auto;
	height: auto;
	font-size: 184px;
	left: 5px;
}

.cms blockquote {
	margin: 0;
	font-family: 'Guardian Compact Web', Georgia, serif;
	padding: 32px 32px 0 71px !important;
	background-color: #f8f8f8;
	overflow: hidden;
}

.cms blockquote p {
	font-family: 'Guardian Compact Web', Georgia, serif;
	font-weight: 600;
	color: #7D7D7D;
	margin-bottom: 1em;
}

.format-icon.format-breaking {
	-moz-animation: fadeInOut 1s infinite;
	-ms-animation: fadeInOut 1s infinite;
	-o-animation: fadeInOut 1s infinite;
	-webkit-animation: fadeInOut 1s infinite;
	animation: fadeInOut 1s infinite;
}

@keyframes fadeInOut {

	0% {
		color: rgba(255,255,255,1);
	}

	50% {
		color: rgba(255,255,255,0);
	}

	100% {
		color: rgba(255,255,255,1);
	}
}

/* Typography > Excerpts */
.excerpt {
	font-size: 87.5%;
}

.excerpt a {
	color: #005A9E;
	color: var(--courier-light-blue);
}

/* Header > Datestamp */
.datestamp {
	font-size: 87.5%;
}

.datestamp strong {
	font-weight: 500;
	color: #005A9E;
	color: var(--courier-light-blue);
}

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

/* Header > Verticals */
.verticals__wrap {
	border-color: #eee;
}

.verticals a {
	font-size: 81.25%;
}

.datestamp,
.verticals a,
.verticals__btn {
	color: #333;
}

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

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

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

/* Header > Search bar */
.search-form--header {
	border-color: #eee;
	background-color: transparent;
}

.search-form--header .search-form__text,
.search-form--header .search-form__submit {
	color: #555;
}

/* Navigation > Nav Bar */
.nav-bar > .menu-item > a {
	font-weight: 600;
	font-size: 106.25%;
	text-transform: uppercase;
}

.nav-button.js-on,
.all-sections-btn.js-on {
	background-color: #323232;
	color: #fff;
}

.all-sections-btn.js-on,
.navigation .all-sections-btn.js-on,
.all-sections {
	background-color: #323232;
	background-color: rgba(50,50,50,.99);
	color: #fff;
}

.nav-bar > .menu-item.nav--subscribe > a {
	color: #005A9E;
	color: var(--courier-light-blue);
}

/* Navigation > Tabs */
.nav-bar > .menu-item > a {
	color: #000;
}

/* Navigation > Show Tabs */
.show-tabs .nav-bar .sub-menu,
.show-tabs .nav-bar > .menu-item > a,
.show-tabs .all-sections-btn {
	background-color: #fff;
}

/* Navigation > Hide Tabs */
.hide-tabs .nav-bar .sub-menu {
	background-color: #fff;
}

.hide-tabs .current_page_item,
.hide-tabs .menu-item-type-taxonomy.current-menu-item,
.hide-tabs .menu-item-type-taxonomy.current-menu-parent,
.hide-tabs .menu-item-type-taxonomy.current-post-ancestor,
.hide-tabs .menu-item-type-taxonomy.current-fp-ancestor {
	border-color: #003e73;
}

.hide-tabs .nav-bar .sub-menu {
	border-color: #eee;
}

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

html.no-js nav.all-sections .wrap {
	background: #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;
}

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

.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;
	font-size: 150%;
	text-transform: uppercase;
}

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

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

.all-sections__nav > .menu-item > a:before,
.all-sections__nav .sub-menu > .menu-item:after {
	content: '';
}

/* 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;
}

/* Navigation > Buttons */
.header-btn,
.all-sections-btn,
.nav-bar .sub-menu a {
	color: #000;
}

/* Navigation > Pager */
.pagination .current {
	background-color: #005A9E;
	background-color: var(--courier-light-blue);
}

/* Post */
.intro__cell .subscribe__link {
	background-color: rgba(0,0,0,.125);
}

.tag-list__tag-link {
	background-color: #005A9E;
	background-color: var(--courier-light-blue);
}

/* Post > Header: Enhanced */
.entry-header--enhanced {
	font-family: 'Guardian Compact Web', 'Georgia', sans-serif;
}

.entry-header--enhanced .flex {
	background-color: #005A9E;
	background-color: var(--courier-light-blue);
}

.entry-header--enhanced .byline__name {
	color: #fff;
}

/* Template Parts > Premium Content label */
.label--premium__icon {
	background-color: #005A9E;
	background-color: var(--courier-light-blue);
}

.label--premium__text {
	color: #003c74;
}

/* Blocks */
.block--feature .category-label,
.block--grid .category-label {
	color: #005A9E;
	color: var(--courier-light-blue);
}

.block--signup .signup__title {
	font-size: 150%;
}

/* Block: Premium */
.block--premium .title--lg {
	color: #005A9E;
	color: var(--courier-light-blue);
}

.post__premium--main .title--md {
	line-height: 105%;
}

.block--premium .byline,
.block--premium .thumbnail__caption-text {
	font-family: 'Guardian Compact Web', 'Georgia', sans-serif;
}

.block--premium .post__excerpt {
	font-family: 'Georgia', sans-serif;
}

.block--premium .post__excerpt a {
	color: #005A9E;
	color: var(--courier-light-blue);
}

/* Block: Package */
.package--top__synopsis .signup {
	border-color: #fff;
}

/* Block: Carousel */
.block--carousel .title--block__link {
	color: #003e73;
}

.carousel__ui {
	background-color: black;
	color: #fff;
}

/* Block: News */
.block--news .timestamp,
.block--grid .timestamp {
	border-color: #eee;
}

/* Block: Gallery */
.gallery__page.js-pager-active {
	background-color: #005A9E;
	background-color: var(--courier-light-blue);
	color: #fff;
}

.gallery__page.js-pager-active:before {
	color: #005A9E;
	color: var(--courier-light-blue);
}

.gallery__thumbs::-webkit-scrollbar-thumb {
	background-color: #005A9E;
	background-color: var(--courier-light-blue);
}

.gallery__thumbs::-webkit-scrollbar-thumb:window-inactive {
	background-color: #005A9E;
	background-color: var(--courier-light-blue);
	background-color: rgba(0,102,179,0.6);
}

.block--post-grid > .title,
.block--post-list > .title {
	color: #005A9E;
	color: var(--courier-light-blue);
}

.block--post-grid > .title > strong,
.block--post-list > .title > strong {
	color: #143c70;
}

/* Author */
.author__meta-link:hover {
	color: #005A9E;
	color: var(--courier-light-blue);
}

.byline__name {
	font-weight: 500;
	color: #005A9E;
	color: var(--courier-light-blue);
}

.byline:hover > .byline__name,
.byline:focus > .byline__name {
	border-color: #005A9E;
	border-color: var(--courier-light-blue);
}

/* Image Galleries */
.image-gallery__control:hover {
	background-color: #005A9E;
	background-color: var(--courier-light-blue);
	color: #fff;
}

.format-icon.format-gallery,
.format-icon.format-arrow,
.format-icon.format-video-play,
.format-icon.format-video {
	background-color: #003e73;
}

/* CTAs */
.signup__wrap,
.signup__wrap .signup__title,
.package--top__signup {
	color: #fff;
}

.package--top__signup:after,
.signup__wrap:after,
.signup--post:after {
	background-color: rgba(0,102,179,0.8);
}

.signup__btn {
	background-color: #005A9E;
	background-color: var(--courier-light-blue);
	color: #fff;
}

.signup__btn:hover {
	background-color: #fff;
	color: #005A9E;
	color: var(--courier-light-blue);
}

.subscribe__link {
	color: #fff;
}

/* Sharing Bar */
.sharing-bar {
	background-color: #005A9E;
	background-color: var(--courier-light-blue);
	background-color: rgba(0,102,179,0.9);
}

.sharing-bar__title {
	font-weight: 500;
}

.sharing-bar__next-post {
	font-weight: 600;
	font-size: 93.75%;
	text-transform: uppercase;
	color: #005A9E;
	color: var(--courier-light-blue);
}

.sharing-bar .socialize-icon {
	background-color: #fff;
	color: #005A9E;
	color: var(--courier-light-blue);
}

.sharing-bar .socialize-icon--whatsapp {
	background-image: url(assets/images/icons/icon_whatsapp.png);
}

/* Sign Up / Subscribe */
.signup__btn {
	font-weight: 500;
	font-size: 125%;
	text-transform: uppercase;
}

.subscribe__link {
	font-weight: 400;
}

/* Widgets */
.widget-title {
	font-weight: 600;
}

/* Widgets > JSON Feed */
.block--text .wpc-shortcode-json-feed__title {
	line-height: 110%;
	font-size: 125% !important; /* Overrides .cms h3 {...} */
	font-weight: 600;
}

.block-widget .wpc-shortcode-json-feed__title {
	line-height: 125%;
	font-size: 93.75% !important; /* Overrides .cms h3 {...} */
	font-weight: 400;
}

/* Plugins > Blaize > Meter */
.blaize-meter__title {
	font-family: 'Guardian Compact Web', 'Georgia', sans-serif;
	color: #0066b3;
}

.blaize-meter__title:after {
	content: '';
	display: block;
	margin-top: 15px;
	margin-left: auto;
	margin-right: auto;
	border-top: 2px solid #eee;
	width: 80px;
}

.blaize-meter__text {
	font-family: 'Guardian Compact Web', Georgia, sans-serif;
	font-size: 112.5%;
	color: #143c70;
}

/* Plugins > OpenWeather */
.ow-temp,
.ow-windspeed {
	font-weight: 600;
	font-size: 150%;
	text-transform: uppercase;
}

/* Plugins > PollDaddy */
.PDS_Poll .pds-question-top {
	line-height: 110%;
	font-weight: 500;
	font-size: 125%;
}

.PDS_Poll .pds-vote-button {
	font-weight: 600;
	font-size: 125%;
	text-transform: uppercase;
}

.PDS_Poll .pds-vote-button,
.PDS_Poll .pds-answer-feedback-bar {
	background-color: #005A9E;
	background-color: var(--courier-light-blue);
	color: #fff;
}

.PDS_Poll .pds-vote-button:hover {
	background-color: #fff;
	color: #005A9E;
	color: var(--courier-light-blue);
}

/* Plugins: Yoast SEO > Breadcrumbs */
.breadcrumb {
	font-weight: 600;
	font-size: 100%;
	letter-spacing: .025rem;
	text-transform: uppercase;
}

.breadcrumb a {
	color: #005A9E;
	color: var(--courier-light-blue);
}

/* Plugins > Elastic Press */
.filter-btn {
	background-color: #003e73;
}

.elas-search__submit:hover,
.filter-btn.js-on,
.elas-search__filters .genericon,
.aggregation__remove {
	background-color: #005A9E;
	background-color: var(--courier-light-blue);
}

.results__string {
	color: #005A9E;
	color: var(--courier-light-blue);
}

.related-posts__title--name {
	color: #003e73;
}

/* Plugins > Jobs in Scotland */
.job__link .genericon {
	background-color: #003e73;
}

.job__title {
	color: #003e73;
}

/* Plugins > DCT CTAs > Signup */
.dct-cta--signup .dct-cta {
	font-family: 'Guardian Compact Web', 'Georgia', sans-serif;
}

.dct-cta--signup .dct-cta__title {
	font-size: 125%;
	font-weight: 400;
	color: #005A9E;
	color: var(--courier-light-blue);
}

.dct-cta--signup .dct-cta__input {
	border-color: #003d73;
	color: #003d73;
}

.dct-cta--signup .dct-cta__btn,
.dct-cta--signup .dct-cta__btn:disabled:hover {
	border-color: #003d73;
	background-color: #003d73;
	color: #fff;
}

.dct-cta--signup .dct-cta__btn-text {
	font-weight: 400;
	font-size: 112.5%;
}

.dct-cta--signup .dct-cta__btn:hover,
.dct-cta--signup .dct-cta__btn:not(:disabled):hover .dct-cta__btn-text:before,
.dct-cta--signup .dct-cta__btn:focus {
	border-color: #005A9E;
	border-color: var(--courier-light-blue);
	background-color: #005A9E;
	background-color: var(--courier-light-blue);
	color: #fff;
}

/* Plugins > DCT CTAs > Subscribe */
.dct-cta--subscribe {
	font-family: 'Guardian Compact Web', 'Georgia', sans-serif;
}

.cms p + .dct-cta--subscribe {
	margin-top: 1em;
	margin-bottom: 1em;
}

.dct-cta--subscribe .dct-cta__title {
	font-size: 125%;
}

.dct-cta--subscribe .dct-cta__content p {
	line-height: 120%;
}

.dct-cta--subscribe .dct-cta__btn-text {
	font-size: 112.5%;
	font-weight: 500;
	letter-spacing: .05rem;
}

/* Plugin: DCT Timeline */
.dct-timeline__title,
.dct-timeline__event-title {
	font-family: 'Guardian Compact Web', 'Georgia', sans-serif;
}

.dct-timeline__title {
	font-weight: 400;
}

.dct-timeline--timeline .dct-timeline__event-title,
.dct-timeline--list .dct-timeline__event-title {
	font-weight: 800;
}

.dct-timeline--grid .dct-timeline__event-title {
	font-weight: 500;
}

.dct-timeline__event-date {
	font-family: 'Georgia', sans-serif;
	font-size: 87.5%;
}

.dct-timeline--timeline .dct-timeline__event:before {
	background-color: #0066b3;
}

/* Plugin: 24 Live Blog */
#LB24 .lb24-theme-block .lb24-base-news-container {
	border-color: #005A9E !important;
	border-ccolor: var(--courier-light-blue) !important;
}

.lb24-base-news-title-text,
#LB24 .lb24-base-news-footer li:last-child {
	font-family: "Guardian Compact", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#LB24 .lb24-theme-block .lb24-base-news-container .lb24-base-news-body .lb24-component-content p {
	color: #444;
}

#LB24 .lb24-component-content a {
	color: #005A9E !important;
	color: var(--courier-light-blue) !important;
}

/* Embeds */
.post-embed__title {
	font-size: 100%;
	color: #003e73;
}

.post-collection {
	padding: 0;
	background-color: transparent;
}

.post-collection .list__link {
	font-size: 87.5%;
}

/* Breaking News */
.breaking-news {
	background-color: #e13232;
	background-color: rgba(225,50,50,0.92);
	color: #fff;
}

.breaking-news__posts {
	color: #fff;
	color: rgba(255,255,255,0.33);
}

.breaking-news__link,
.breaking-news__error {
	color: #fff;
}

.breaking-news__close {
	border-color: #fff;
}

/* Misc */
.bg-box .title--caps {
	color: #003e73;
}

/* Misc > Buttons */
.btn--subscribe {
	background-color: #005A9E;
	background-color: var(--courier-light-blue);
	color: #fff;
}

.btn--subscribe:hover {
	background-color: #003e73;
	color: #fff;
}

/* CSS3 Vendor Prefixes */
.btn,
.pds-vote-button {
	border-radius: 4px;
}

.dct-hijobs-widget .widget-title, .block-widget--hijobs .block-widget__title {
	background-position-y: 20%;
}

/* Media: <=767px */
@media only screen and (max-width: 767px) {

	.title--lg,
	.cms h1 {
		font-size: 175%;
	}

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

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

	.title--md,
	.cms h4 {
		font-size: 112.5%;
	}

	.title--sm,
	.cms h5 {
		font-size: 106.25%;
	}

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

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

	.all-sections__nav > .menu-item {
		float: none;
		padding-right: 0;
		padding-bottom: 0;
		width: 100%;
	}

	.all-sections__nav .sub-menu > .menu-item {
		margin: 0 0 15px 0;
		width: 100%;
	}

	.all-sections__nav .sub-menu .menu-item:nth-child(2n) {
		padding-left: 0;
	}

	.all-sections__internal > li {
		line-height: 100%;
	}

	.all-sections__internal .menu-item {
		float: none;
		margin-bottom: 15px;
		width: 100%;
	}

	.block--signup .signup__title {
		font-size: 125%;
	}

	.gallery__page.js-pager-active {
		background-color: transparent;
		color: #005A9E;
		color: var(--courier-light-blue);
	}

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

	.gallery__page.js-pager-active:before,
	.gallery__page.js-pager-active:after {
		background-color: #005A9E;
		background-color: var(--courier-light-blue);
	}

	.header-btn {
		background-color: white;
		border-color: white;
		outline: white;
	}
}

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

	.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: 125%;
	}

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

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

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

	.cms h3 {
		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%;
	}

	.nav-bar .nav-bar-highlight > a {
		color: #005A9E;
		color: var(--courier-light-blue);
	}
}

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

	.entry-meta .timestamp--revised:hover > .genericon {
		color: #005A9E;
		color: var(--courier-light-blue);
	}
}

.image-gallery__control:focus,
.carousel__ui:focus {
	background-color: #005A9E;
	background-color: var(--courier-light-blue);
}

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

.o-analysis {
	background-color: #f8f8f8;
}
