/*
Welcome to Custom CSS!

CSS (Cascading Style Sheets) is a kind of code that tells the browser how to render a web page. You may delete these comments and get started with your customizations.

By default, your stylesheet will be loaded after the theme stylesheets, which means that your rules can take precedence and override the theme CSS rules. Just write here what you want to change, you don't need to copy all your theme's stylesheet content.

If you need any further help, ask in the CSS Customization forum.
*/
body {
	font-size: 78%;
}

#page {
	max-width: 1200px;
}

.site-header > a:focus {
  background-color: transparent !important;
}

.site-logo-link {
	display: none;
}

#homeh1 a {
	color: #666 !important;
}

#homeh1 a:hover {
	border-bottom: 0;
}

.home #homeh1 a {
	color: #B93900 !important;
}

#homeh1 {
	display: none;
	z-index: 1;
	width: 280px;
	position: absolute;
	top: 110px;
	font-size: 1em;
	text-decoration: underline;
}

.home #homeh1 {
	font-size: 3em;
	text-decoration: none;
}

.page-template-showcase-php #content-wrap {
	float: right;
	width: 79.7872%;
}

.widget p {
	z-index: 2;
	color: #666;
	line-height: 1.6em;
	margin-bottom: 1.6em;
}

.main-navigation {
	clear: both;
	display: block;
	font-size: 1em;
	margin: 0 0 10px;
	position: relative;
	visibility: hidden;
	width: 100%;
	z-index: 99;
}

#tertiary .widget {
	background-color: #F6F6F6;
	padding: 10px;
	width: 90%;
	margin-bottom: 30px;
	border-top: 4px solid #4E3587;
	border-bottom: 2px solid #d1d3d2;
}

h1, h2, h3, h4, h5, h6 {
	color: #333333 !important;
	text-transform: none !important;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	color: #078141 !important;
	text-transform: none !important;
}

a:hover, .comment-meta a, .comment-meta a:visited {
	border-color: transparent;
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6, dl dt, blockquote, blockquote blockquote blockquote, .site-title, .main-navigation a, .widget_calendar caption {
	font-family: 'Arial', sans-serif;
	line-height: 1.3em;
	margin: 0 0 15px;
}

#content u {
	text-decoration: none;
}

.clear-fix:after {
	clear: both;
	content: ".";
	display: block;
	height: 0;
	visibility: hidden;
	margin-bottom: 95px;
}

#masthead {
	color: #999999;
	border-top: 5px solid #444444;
	font-size: 1.5em;
	padding: .25em .6em .35em;
	text-transform: lowercase;
	width: 93.85%;
	width: 100%;
	padding: 0;
	background-image: none;
	background-position: right top;
	background-repeat: no-repeat;
	margin-bottom: 40px;
	background-color: #333333;
}

.custom-header {
	margin-bottom: 0;
}

.widget {
	float: left;
	margin-bottom: 52px;
	overflow: hidden;
	width: 100%;
}

.widgettitle {
	color: #AAAAAA;
	font-size: 1.6em;
	text-transform: uppercase;
}

#featured-content {
	margin-bottom: 20px;
	position: relative;
	margin-top: 20px;
}

.widget p#breadcrumb {
	display: none;
	color: #666666;
	line-height: 1.6em;
	margin-bottom: 1em;
	position: absolute;
	top: 110px;
	width: 350px;
	z-index: 2;
}

.widget p {
	color: #666666;
	line-height: 1.6em;
	z-index: 2;
}

.featured-wrapper {
	float: left;
	margin-bottom: 35px;
	overflow: hidden;
	position: relative;
	width: 100%;
	z-index: 1;
}

.widgettitle {
	letter-spacing: 0;
}

.featured-post .entry-title a {
	background: none repeat scroll 0 0 #FFFFFF;
	bottom: 110px;
	color: #333333;
	font-size: 1em;
	padding: .4em 30px .4em 1.5em;
	position: absolute;
	right: 0;
	text-transform: uppercase;
}

article .featured-image {
	display: none;
}

.featured-post.first {
	display: block;
	height: 380px;
	float: right;
}

#slider-next {
	background-position: 7px 11px;
}

#breadcrumb a {
	text-decoration: underline;
	color: inherit;
	border: none;
}

#slider-prev {
	background-position: 7px -21px;
}

.featured-post:hover .entry-title a,
.featured-post:hover .entry-meta {
	background-color: #333333 !important;
	color: #FFFFFF !important;
}

.menu-secondary li a {
	background: none repeat scroll 0 0 #ffffff;
	color: #000000;
	text-transform: none;
	font-size: 15px;
	padding: .5em;
}

.menu-secondary li {
	border: 0 solid #fff;
	display: block;
	position: relative;
	width: 100%;
}

.menu-secondary .current-post-ancestor a, 
.menu-secondary .current-menu-parent a, 
.menu-secondary .current-post-parent a,
.menu-secondary .current-menu-item a,
.menu-secondary .current_page_item a,
.menu-secondary li a:hover {
	background-color: #E5E5E5;
	color: #000;
}

.menu-secondary {
	background: none repeat scroll 0 0 #111111;
	clear: left;
	float: left;
	position: relative;
	width: 100%;
	z-index: 2;
	top: -5px;
}

.cat-links {
	background: none repeat scroll 0 0 rgba(0,0,0,0.25);
	color: rgba(255,255,255,0.75);
	display: block;
	font-size: .833333em;
	padding: .1em .8em;
	position: absolute;
	right: 0;
	top: 0;
	visibility: hidden;
}

p.intranet-home-link {
	border-color: transparent;
	border-style: solid solid none;
	border-width: 1px 1px 0;
	display: block;
	left: 38px;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 80px;
	z-index: 100;
	width: auto;
}

p.intranet-home-link a, p.intranet-home-link a:link, p.intranet-home-link a:visited {
	background-color: #D8D8D8;
	color: #444444;
	display: block;
	font-size: 15px;
	font-weight: normal;
	margin: 0;
	padding: 5px 11px;
	text-decoration: none;
}

p.intranet-home-link a:hover {
	background-color: #E5E5E5;
	color: #000000;
	text-decoration: underline;
	border: none;
}

p.intranet-home-link a:active {
	background-color: #E5E5E5;
	color: #000000;
	text-decoration: underline;
	border: none;
}

.clear-fix:after {
	margin-bottom: 20px;
}

#featured-content {
	margin-top: 0;
}

#masthead,
.home #masthead {
	margin-bottom: 30px;
}

.main-small-navigation,
.main-navigation {
	display: none;
}

.page #primary #content article.page .entry-header h1.entry-title,
.single .entry-title {
	font-size: 2.7em;
}

.single .entry-title {
	margin-bottom: 1em;
}

.page #primary #content article.page .entry-header h1.entry-title {
	padding-bottom: 1em;
}

.page #primary #content article.page .entry-header .entry-meta, .single .entry-meta {
	border-bottom: 2px solid #dedede;
	padding-bottom: 2em;
	margin-top: 2em;
}

div.jp-relatedposts .jp-relatedposts-post {
	width: 99%;
}

span.sep,
span.byline {
	display: none !important;
}

.menu-secondary li a {
	background-position: 7px center;
	background-repeat: no-repeat;
	padding: .3em 2px .3em 20px;
}

.menu-secondary li a:hover {
	background-position: 7px center;
	background-repeat: no-repeat;
}

.menu-secondary .current-post-ancestor a, 
.menu-secondary .current-menu-parent a, 
.menu-secondary .current-post-parent a,
.menu-secondary .current-menu-item a,
.menu-secondary .current_page_item a {
	background-image: none;
	font-weight: bold;
}

.menu-secondary li.current-menu-item a, .menu-secondary li.current-page-item a {
	color: #000;
}

.menu-secondary {
	border: 1px solid #E5E5E5;
}

.menu-secondary ul {
	background-color: #FFFFFF;
}

#slider-nav {
	display: none;
}

.wp-caption {
	background-color: #F5F5F5;
}

.wp-caption .wp-caption-text {
	line-height: 1.5em;
	color: #646464;
	padding: 0 1em .5em;
}

.wp-caption.aligncenter img {
	margin: 5px 0 0 5px;
}

.entry-content,
.entry-summary,
.wp-block-rss__item-author, .wp-block-rss__item-publish-date {
	font-size: 16px;
	line-height: 1.6;
	color: #676767;
	max-width: 35rem;
}

.entry-content p,
.entry-summary p {
  	margin-bottom: 20px;
}

.wp-block-rss__item-publish-date {
	font-size: 14px;
	font-weight: normal;
	font-style: italic;
}

#colophon {
	display: none;
}

.entry-header,
.entry-summary {
	width: 47.9%;
}

.entry-summary p {
	margin-bottom: 0;
}

.entry-header .entry-title a {
	font-weight: bold !important;
}

.widgettitle {
	font-size: 1.2em;
	font-weight: bold;
}

.section-title h1 {
	background-color: #FFE4AF;
	border-left: none;
	color: #B93900 !important;
}

.recent-articles article h1, .more-articles article h1 {
	letter-spacing: normal;
	word-spacing: normal;
}

.entry-title {
	line-height: 1.15em;
}

.widget p,
.widget ul li a {
	color: #000 !important;
}

.page-template-showcase-php #secondary,
#secondary {
	margin-top: 5px;
}

.home #tertiary {
	position: relative;
	top: -276px;
}

.featured-wrapper {
	margin-right: 38%;
	width: auto;
	margin-bottom: 20px;
}

.featured-post .entry-title {
	font-size: 1.5em;
}

.home .read-more {
	display: none !important;
}

.home article {
	margin-bottom: 30px;
}

.featured-post .entry-meta {
	bottom: 35px;
}

.featured-post .entry-title a {
	bottom: 57px;
}

.featured-post.first {
	height: auto;
}

.home .recent-articles .section-title {
	display: none;
}

@media screen and (max-width: 999px) {
	.home #tertiary {
		position: relative;
		top: -220px;
	}
}

@media screen and (max-width: 767px) {
	.featured-post .entry-title a {
		bottom: -60px;
	}
	
	#featured-content {
		padding-bottom: 50px;
	}
	
	.featured-post {
		overflow: visible;
	}
	
	#masthead img.custom-header {
		width: auto;
		height: 30px;
		margin-top: 0;
	}
	
	.page-template-showcase-php #content-wrap {
		width: 100%;
		float: none;
	}
	
	#masthead {
		position: relative;
		left: -10px;
		height: 32px !important;
		padding-left: 17px !important;
		padding-right: 3px !important;
	}
	
	p.intranet-home-link {
		top: -3em;
		left: 10px;
	}
	
	#tertiary,  .home #tertiary {
		float: none;
		position: relative;
		width: auto;
		top: 0 !important;
	}
	
	.featured-wrapper {
		margin-right: 0;
		float: none;
	}
	
	body.home #homeh1,
																											                  #mertonbreadcrumbs {
		top: 75px !important;
	}
}

div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post span.jp-relatedposts-post-context {
	display: none;
}

.widget ul li, .widget ol li {
	line-height: 1.75em;
	margin-bottom: 1em;
}

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

#bit #bitsubscribe h3 {
	color: white !important;
}

.wp-caption.alignnone {
	text-align: center;
	padding-top: 5px;
}

/**
 * CLEARFIX For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    contenteditable attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that are clearfixed.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.clear-fix:before,
.clear-fix:after {
	content: " ";
/* 1 */
	display: table;
/* 2 */
}

.clear-fix:after {
	clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.clear-fix {
	zoom: 1;
}

a.read-more, a.read-more:visited, .pagination a:hover, .comment-navigation a:hover, button, html input[type="button"], input[type="reset"], input[type="submit"], #infinite-handle span {
	background-color: #5F6793;
}

#content td {
	border-bottom: 1px solid #cccccc;
	color: #000;
	padding: .8125em 2%;
	text-align: left;
	vertical-align: top;
}

#content th {
	border-bottom: 1px solid #cccccc !important;
}

.home #tertiary {
	position: relative;
	top: -40px;
}

ul li, ol li {
	line-height: inherit;
}

article ul,
article ol {
	margin-left: 0 !important;
	padding-left: 2em !important;
	overflow: hidden;
}

ul {
	margin-left: 1em;
}

article li {
	padding-bottom: .75em;
}

.entry-content a, 
.entry-content a:visited {
	text-decoration: underline !important;
}

.entry-content a:hover {
	border: none;
	background-color: #E5E5E5 !important;
	color: black !important;
}

.entry-content a:focus,
.entry-content a:active {
	border: none;
	background-color: #5f6793 !important;
	color: white !important;
}

.hentry:hover a.read-more {
	display: none !important;
}

img.alignleft, img.alignright {
	margin-bottom: 1em !important;
}

.entry-content .wp-block-image {
    margin-bottom: 20px;
}

article li {
	margin-bottom: .75em;
	padding-bottom: 0;
}

ul {
	list-style: inherit;
}

#content ul {
	list-style: disc;
}

#content ul ul {
	list-style: circle;
}

button, html input[type="button"], input[type="reset"], input[type="submit"],
a.read-more, a.read-more:visited, 
.pagination a:hover, .comment-navigation a:hover, 
button, html input[type="button"], input[type="reset"], 
input[type="submit"], #infinite-handle span {
	background-color: #078141 !important;
	color: white !important;
}

#wpadminbar .quicklinks li#wp-admin-bar-my-account #wp-admin-bar-user-info .ab-sign-out {
	color: white !important;
}

.error, .entry-title a, .entry-content a, entry-summary a, 
.main-navigation > div > ul > li > a, .widget a, .post-navigation a, 
#image-navigation a, .pingback a, .logged-in-as a, 
.more-articles .entry-title a:hover, 
.widget_flickr #flickr_badge_uber_wrapper a {
	color: #333333;
}

.widget a {
	color: #078141;
}

.widget_blog_subscription a {
	text-decoration: underline;
}

#primary .entry-content a,
.comments-area a {
	color: #078141;
}

.comments-area a {
	text-decoration: underline;
}

#primary .entry-content a:focus,
#primary .entry-content a:hover,
#primary .entry-content a:active {
	color: black !important;
	background-color: white !important;
}

.entry-title {
	word-spacing: 0;
	font-weight: normal;
}

.entry-content h2 {
	font-size: 145%;
	font-weight: normal;
}

.entry-content h3 {
	font-size: 120%;
	font-weight: bold;
}

.featured-wrapper {
	margin-right: 0;
}

.home #tertiary {
	top: 0;
}

.home #primary .section-title h1 {
	color: #4E3587 !important;
	background-color: #F5F5F5;
	padding-top: 10px;
	padding-bottom: 10px;
}

.widget ul li a {
	color: #078141 !important;
}

#masthead {
	border-top: 5px solid #4E337A;
	background-color: #5F3E94;
}

/* Extend masthead on wide screens */
@media only screen and (min-width: 768px) {
  body:not(.wp-admin), #page {
    box-shadow: inset 0px 5px 0px 0px #4E337A, inset 0px 87px 0px 0px #5F3E94;
  }
}

.single .entry-title {
	font-weight: bold;
}

#tertiary {
	position: relative;
	top: 100px;
	margin-bottom: 100px;
}

#twitter_timeline-3 iframe {
	width: auto !important;
}

.entry-content {
	color: #676767;
}

.entry-summary {
	color: #555;
}

.entry-content p span, .entry-summary p span {
	color: #676767 !important;
	line-height: 1.6 !important;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
	font-size: 16px !important;
}

#mertonbreadcrumbs {
	position: absolute;
	top: 102px;
	color: #c6c6c6;
}

#mertonbreadcrumbs a {
	color: #078141;
	font-size: 16px;
}

#masthead {
	height: 62px;
	padding: 10px 10px 10px 0;
	margin-bottom: 80px;
}

.home #masthead {
	margin-bottom: 80px;
}

body.home #homeh1 {
	display: block;
	color: black;
	top: 130px;
}

body.home #homeh1 a {
	display: block;
	color: black !important;
	font-weight: bold;
}

body.home #main {
	padding-top: 20px;
}

body.home #mertonbreadcrumbs {
	/*  display: none; */
}

#eu-cookie-law {
	background-color: #E4E4E4 !important;
}

#eu-cookie-law input, #eu-cookie-law input:hover, #eu-cookie-law input:focus {
	color: white !important;
}

.single .entry-header, body.page .type-page .entry-header, .not-found .entry-header {
	margin-bottom: 50px;
}

a.rsswidget img {
	display: none;
}

/* Hide home page, COVID and school closures from Most Read list */
/* (Don't hide My Merton because it's sometimes the only item) */
#top-posts-2 a[href="https://news.merton.gov.uk/"],
#top-posts-2 a[href="https://news.merton.gov.uk/covid19/"],
#top-posts-2 a[href="https://news.merton.gov.uk/covid-alert-level/"],
#top-posts-2 a[href="https://news.merton.gov.uk/school-closures/"] {
	display: none;
}

#primary #content article h1.entry-title {
	font-weight: bold;
}

/* School closures RSS page */
.wp-block-rss__item-title {
	font-weight: bold;
	color: #333333;
}

.page-id-42082 #secondary .menu-secondary {
	display: none;
}

.page-id-42082 #content {
	margin-left: 0;
}

.page-id-42082 #content h1 {
	border-bottom: 2px solid #dedede;
}

a:focus,
input:focus,
select:focus,
option:focus,
textarea:focus,
button:focus, a:focus,
.widget ul li a:focus {
	outline: 3px solid #ffd302 !important;

}

a:focus,
button:focus, a:focus,
.widget ul li a:focus {
	background-color: #ffd302 !important;
	color: #333 !important;
}

input[type=text]:focus, select:focus, option:focus, textarea:focus {
    border-color: black;
    box-shadow: 0 0 0 2px black;
    outline-offset: 1px;
}

#primary .entry-content a.wp-block-button__link:focus,
input[type="submit"]:focus,
aside a.button:focus {
    outline: 2px solid black !important;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #ffd302;
}

.wp-block-coblocks-accordion-item__title.has-background:focus, .wp-block-coblocks-accordion-item__title:focus {
    outline: 2px solid black;
    outline-offset: 0;
}

.flickr-images a {
	display: block;
}

.widgettitle a.rsswidget:first-child {
	display: none;
}

a:focus img.attachment-featured-thumbnail {
	border: 3px solid #ffd302 !important;
}

.single .entry-meta a, body.page .type-page .entry-meta a {
	color: #666666;
	text-decoration: none;
	text-decoration-color: #999999;
}

.single .entry-meta a:hover, body.page .type-page .entry-meta a:hover,
.single .entry-meta a:focus, body.page .type-page .entry-meta a:focus {
	color: #333333;
	text-decoration: underline;
	text-decoration-color: #333333;
}

.entry-meta {
	color: #666666;
	font-size: 1.1em;
}

.entry-date a {
	color: #666 !important;
	text-decoration: none !important;
	font-weight: bold;
}

input[type="text"], input[type="password"], input[type="email"], .input-text, textarea, select {
	background: #fff;
	color: #333;
}

#infinite-handle span button,
#infinite-handle span button:focus,
#infinite-handle span button:hover {
	font-weight: bold;
}

#content th {
	color: #333;
	border-bottom: 1px solid #E7E7E7;
	font-weight: bold;
	text-transform: none;
	font-size: 100%;
}

#content td {
	color: #676767;
}

.entry-content h2,
.entry-content h3,
.section-title h1 {
	font-weight: bold;
}

.entry-content h2,
.entry-content h3 {
	margin-top: 2em;
}

.entry-content h4 {
	font-size: 1em;
	font-weight: bold;
	color: #6D6D6D !important;
}

.entry-content>h2:first-child {
	margin-top: 0;
}

td ul,
td ol {
	margin-bottom: 0;
}

td li:last-child {
	margin-bottom: 0;
}

.wp-block-table {
	overflow-x: unset;
}

aside#blog_subscription-2:target {
	outline: 5px solid #ffd302;
}

.wp-block-button {
	margin: 0 0 1.75em !important;
}

aside a.button,
#primary .entry-content a.wp-block-button__link {
	background-color: #078141 !important;
	color: white;
	text-decoration: none !important;
	border-radius: 0;
	border-bottom: 3px solid #0c4c57;
	transition: all .5s linear;
	padding: 10px 20px;
	font-size: 100%;
	display: inline-block;
}

aside a.button {
	padding: 5px 10px;
	font-size: 100%;
}

aside a.button:focus,
aside a.button:hover,
#primary .entry-content a.wp-block-button__link:hover,
#primary .entry-content a.wp-block-button__link:focus {
    color: white !important;
    background-color: #0c4c57 !important;
}


@media screen and (max-width: 499px) {
	.wp-block-image:after {
		content: "";
		display: table;
		clear: both;
	}
}

/* Coronavirus, school closures and other special pages */
.page-id-44213 .menu-secondary,
.page-id-43217 .menu-secondary,
.page-id-42082 .menu-secondary,
.page-id-48777 .menu-secondary,
.page-id-44782 .menu-secondary,
.page-id-45133 .menu-secondary,
.page-id-51313 .menu-secondary {
	display: none;
}

.page-id-44213 #primary > #content,
.page-id-44213 #mertonbreadcrumbs,
.page-id-42082 #primary > #content,
.page-id-42082 #mertonbreadcrumbs,
.page-id-43217 #primary > #content,
.page-id-43217 #mertonbreadcrumbs,
.page-id-48777 #primary > #content,
.page-id-48777 #mertonbreadcrumbs,
.page-id-44782 #primary > #content,
.page-id-44782 #mertonbreadcrumbs,
.page-id-45133 #primary > #content,
.page-id-45133 #mertonbreadcrumbs,
.page-id-51313 #primary > #content,
.page-id-51313 #mertonbreadcrumbs {
	margin-left: 18px;
}

@media only screen and (max-width: 767px) {
	.page-id-44213 #primary > #content,
	.page-id-44213 #mertonbreadcrumbs,
	.page-id-42082 #primary > #content,
	.page-id-42082 #mertonbreadcrumbs,
	.page-id-43217 #primary > #content,
	.page-id-43217 #mertonbreadcrumbs,
	.page-id-44782 #primary > #content,
	.page-id-44782 #mertonbreadcrumbs,
	.page-id-48777 #primary > #content,
	.page-id-48777 #mertonbreadcrumbs,
	.page-id-45133 #primary > #content,
	.page-id-45133 #mertonbreadcrumbs,
	.page-id-51313 #primary > #content,
	.page-id-51313 #mertonbreadcrumbs{
		margin-left: 0;
	}
}

@media screen and (min-width: 1200px) {
	.page-id-44213 .wp-block-image .alignright,
	.page-id-42082 .wp-block-image .alignright,
	.page-id-43217 .wp-block-image .alignright,
	.page-id-48777 .wp-block-image .alignright,
	.page-id-44782 .wp-block-image .alignright,
	.page-id-48777 .wp-block-image .alignright,
	.page-id-45133 .wp-block-image .alignright,
	.page-id-51313 .wp-block-image .alignright {
		position: relative;
		left: 150px;
		margin-left: -130px;
	}
}

.page-id-44213 #content .entry-title,
.page-id-43217 #content .entry-title,
.page-id-42082 #content .entry-title,
.page-id-44782 #content .entry-title,
.page-id-48777 #content .entry-title,
.page-id-45133 #content .entry-title,
.page-id-51313 #content .entry-title {
	border-bottom: 2px solid #dedede;
}

.page-id-44213 .entry-content p,
.page-id-44213 .entry-content ul,
.page-id-44213 .entry-content h2,
.page-id-44213 .entry-content h3,
.page-id-44213 .entry-content ol,
.page-id-44213 .entry-content ul,

.page-id-42082 .entry-content p,
.page-id-42082 .entry-content ul,
.page-id-42082 .entry-content h2,
.page-id-42082 .entry-content h3,
.page-id-42082 .entry-content ol,
.page-id-42082 .entry-content ul,

.page-id-43217 .entry-content p,
.page-id-43217 .entry-content ul,
.page-id-43217 .entry-content h2,
.page-id-43217 .entry-content h3,
.page-id-43217 .entry-content ol,
.page-id-43217 .entry-content ul,

.page-id-44782 .entry-content p,
.page-id-44782 .entry-content ul,
.page-id-44782 .entry-content h2,
.page-id-44782 .entry-content h3,
.page-id-44782 .entry-content ol,
.page-id-44782 .entry-content ul,

.page-id-48777 .entry-content p,
.page-id-48777 .entry-content ul,
.page-id-48777 .entry-content h2,
.page-id-48777 .entry-content h3,
.page-id-48777 .entry-content ol,
.page-id-48777 .entry-content ul,

.page-id-45133 .entry-content p,
.page-id-45133 .entry-content ul,
.page-id-45133 .entry-content h2,
.page-id-45133 .entry-content h3,
.page-id-45133 .entry-content ol,
.page-id-45133 .entry-content ul,

.page-id-51313 .entry-content p,
.page-id-51313 .entry-content ul,
.page-id-51313 .entry-content h2,
.page-id-51313 .entry-content h3,
.page-id-51313 .entry-content ol,
.page-id-51313 .entry-content ul,

.comments-area {
	max-width: 650px;
}



.page-id-53887 .comment-form-field.comment-form-url,
.page-id-48777 .comment-form-field.comment-form-url,
.page-id-44782 .comment-form-field.comment-form-url,
.page-id-45133 .comment-form-field.comment-form-url,
.page-id-51313 .comment-form-field.comment-form-url {
	display: none;
}

.page-id-48777 #masthead,
.page-id-44782 #masthead,
.page-id-45133 #masthead,
.page-id-51313 #masthead {
	margin-bottom: 40px;
}

.page-id-53887 .comments-title,
.page-id-48777 .comments-title,
.page-id-44782 .comments-title,
.page-id-45133 .comments-title,
.page-id-51313 .comments-title {
	display: none;
}

.page-id-53887 .commentlist .comment-date,
.page-id-48777 .commentlist .comment-date,
.page-id-44782 .commentlist .comment-date,
.page-id-45133 .commentlist .comment-date,
.page-id-51313 .commentlist .comment-date {
    display: none;
}

/* End special pages */

/* Dark theme */

body.tag-mourning #masthead, 
.page-id-48777 #masthead,
.page-id-44782 #masthead,
.page-id-45133 #masthead,
.postid-45133 #masthead,
.page-id-51313 #masthead {
	background-color: #222222;
	border-top-color: #222222;
}

/* Extend dark masthead on wide screens */
@media only screen and (min-width: 768px) {
  body.tag-mourning, 
  body.page-id-48777,
  body.page-id-44782,
  body.page-id-45133,
  body.postid-45133,
  body.page-id-51313,
  body.tag-mourning #page,
  body.page-id-48777 #page,
  body.page-id-44782 #page,
  body.page-id-45133 #page,
  body.postid-45133 #page,
  body.page-id-51313 #page {
    box-shadow: inset 0px 5px 0px 0px #222222, inset 0px 87px 0px 0px #222222;
  }
}

body.tag-mourning #tertiary {
	display: none;
}

body.tag-mourning .entry-meta  {
  visibility: hidden;
	margin-bottom: 0;
}

body.tag-mourning .entry-date {
    visibility: visible;
}

body.tag-mourning .edit-link {
    visibility: visible;
}

body.tag-mourning .entry-header {
	border-bottom: 2px solid #dedede;
}

.page-id-48777 .entry-content,
.page-id-48777 .comments-area,
.page-id-44782 .entry-content,
.page-id-44782 .comments-area,
.page-id-45133 .entry-content,
.page-id-45133 .comments-area,
.page-id-51313 .entry-content,
.page-id-51313 .comments-area {
    margin-left: auto;
    margin-right: auto;
    max-width: 45rem;
}

/* End dark theme */

/* Hide most footer widgets on condolence page */

.page-id-51313 #supplementary .widget {
    display: none;
}

.page-id-51313 #supplementary #text-15 {
    display: block;
}

.page-id-51313 #supplementary.three .widget-area {
    width: 100%;
}

.page-id-51313 #supplementary #text-15 ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.page-id-51313 #supplementary #text-15 li {
    display: inline-block;
    margin-right: 3em;
}

/* End Hide most footer widgets on condolence page */


/* Comments */

.comments-area {
	font-size: 1rem;
}

.comment-form-comment input:invalid, .comment-form-comment textarea:invalid {
	background-color: white;	
}

.comment-meta a.comment-date {
    color: #666;
}

.comment-content {
    margin-left: 0;
}

#comments #reply-title {
	font-size: 20px;
}

.comments-title, .comment-reply-title, #comments #reply-title {
	font-weight: bold;
	margin-left: 0;
	padding-left: 0;
	border-left: 0;
	background-color: white;
}

.commentlist li {
	border-bottom: 2px solid #dedede;
}

.commentlist li,
.commentlist li:first-child {
    padding-top: 0;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.comments-area .form-submit input {
	font-size: 120%;
  text-shadow: none;
  border-radius: 0;
}

.comment-meta .comment-author cite {
    color: #666;
}

/* Hide 'Follow' link in bottom right */
.actnbr-has-follow {
	display: none;
}

/* Hide black bar if you're not logged in */
body:not(.logged-in) #wpadminbar {
	display: none;
}

body.category.archive h1.page-title {
	font-weight: bold;
}

body.category-covid-19 h1.page-title {
	font-size: 0;
}

body.category-covid-19 h1.page-title span {
	font-size: 25px;
	display: block;
	height: 25px;
	margin-top: 15px;
	margin-bottom: 15px;
}

body.category-covid-19 h1.page-title span:before {
	content: "Latest ";
}

body.category-covid-19 h1.page-title span:after {
	content: " news";
}

.wp-block-coblocks-alert {
	color: #6c47a9;
  border-left: 8px solid #6c47a9;
  padding: 1em 2em;
  font-weight: normal;
  background-color: #EFE9F8;
	border-radius: 0;
}

.widget p, .widget ul li a,
.widget select {
    font-size: 15px;
}

.widgettitle {
    font-size: 17px;
    font-weight: bold;
}



/* Pagination */

/* Hide default pagination because 
   we're using custom pagination via
   the wp-paginage plugin */
#nav-below {
	display: none;
}

.pagination .current, .comment-navigation .current {
    color: #666;
}

.wp-paginate {
	margin-bottom: 4em;
}

.wp-paginate.wpp-modern-grey .current {
	opacity: 1;
	border-color: #f8f8f8;
	border-radius: 0;
}

.wp-paginate.wpp-modern-grey a {
	border-radius: 0;
	border-color: #078141;
	background-color: #078141;
	color: white;
}

.wp-paginate.wpp-modern-grey a:hover {
	color: black;
	background-color: #F2F9F8;
}

.comment-navigation .page-numbers {
	text-decoration: none;
}

body.home #homeh1 a {
    color: #333 !important;
}

.home #primary .section-title h1 {
    color: #333 !important;
    background-color: white;
    border-bottom: 2px solid #dedede;
    font-size: 25px;
    text-transform: lowercase !important;
	padding-left: 0;
}

.home #primary .section-title h1::first-letter {
    text-transform: uppercase;
}



/* Sharing */
div.sharedaddy h3.sd-title:before {
    border-top: none; 
}

/* Home */
	body.home #main {
    padding-top: 30px;
		/* border-top: 2px solid #dedede; */
	}


/* Hide unused slider on home page */
body.home .featured-wrapper {
	display: none;
}

/* Home page layout on mobiles */
@media screen and (max-width: 767px) {
	body.home .recent-articles .entry-header, 
	body.home .recent-articles .entry-summary {
    width: 100%;
		float: none;
		padding-left: 0;
	}
	body.home .recent-articles .entry-header h1 {
		font-size: 1.3rem;
	}
	body.home #homeh1 {
		top: 127px !important;
	}
	body.home #main {
    padding-top: 60px; 
	}
	body.home #main #content-wrap {
    padding-top: 40px;
		border-top: 2px solid #dedede;
	}
}


/* Search results */
.comments-link a {
	color: #555;
}


/* Archive page layout on mobiles */
@media screen and (max-width: 767px) {
	body.archive.category .entry-header,
	body.archive.category .entry-summary {
    width: 100%;
	}
	body.archive.category h1.entry-title {
    font-size: 1.7em;
  }
	body.archive.category h1.entry-title a {
    text-decoration: underline;
  }
	body.archive.category .entry-summary {
		float: left;
		padding-left: 0;
	}
}


/* News stories category archive title */

body.category h1.page-title span {
	font-size: 34px;
	margin-top: 18px;
	margin-bottom: 35px;
	border-bottom: 2px solid #e8e8e8;
	padding-bottom: 10px;
	display: block;
	min-height: 34px;
}

body.category-news-stories h1.page-title {
	font-size: 0;
}

body.category-news-stories h1.page-title span {
	font-size: 34px;
	display: block;
	height: 34px;
}

/* Page (not post) titles */
.page #primary #content article.page .entry-header h1.entry-title {
	margin-bottom: 0;
	border-bottom: 2px solid #e8e8e8;
	padding-bottom: 16px !important;

}

/* Hide category lists on home page */
body.home .cat-links {
	display: none;
}

/* Prevent flash of border when hovering links */
#page a, #page a img, .featured-post .entry-meta {
    border-color: transparent;
}

/* Show pagination on home */
body.home #nav-below {
    display: block;
}

/* Pagination colour */
.pagination a.page-numbers, .comment-navigation a.page-numbers {
    background: #078141;
    color: #fff;
}
.pagination .current, .comment-navigation .current {
    color: #333;
    font-weight: bold;
	background-color: #eee;
}

#content ul.wp-block-post-template {
    list-style: none;
    margin-left: 0;
    padding-left: 0 !important;
}

.wp-block-image figcaption,
.wp-block-image figcaption strong,
.wp-block-image figcaption b {
  font-size: 0.875rem;
	font-weight: bold;
}

.wp-block-image figcaption:before {
    content: "\f129";
    font-family: dashicons;
    display: inline-block;
    line-height: 1.4;
    font-weight: 400;
    font-style: normal;
    speak: never;
    text-decoration: inherit;
    text-transform: none;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 20px;
    height: 20px;
	  margin-right: 3px;
	  margin-left: -3px;
    font-size: 15px;
    vertical-align: top;
    text-align: center;
    transition: color .1s ease-in;
}

.widget_top-posts li a strong,
.widget_recent_entries li a strong,
.widget_top-posts li a b,
.widget_recent_entries li a b {
	font-weight: normal;
}

.merton-twitter {
	height: 250px !important;
	background-color: white;
  border-radius: 12px;
}

.merton-twitter iframe {
	max-height: 250px !important; 
}

.sharedaddy {
  margin-top: 5rem;
}

/* Comment pagination */
.site-navigation.comment-navigation,
.pagination.loop-pagination {
	line-height: 2.2; 
}

/* Start blockquotes */

blockquote {
    color: #676767;
    line-height: 1.6;
    background-image: none;
    background-blend-mode: saturation;
    border-left: 4px solid #4E3587;
    padding-left: 45px;
    padding-right: 45px;
}

blockquote::before {
    content: " ";
    background-image: url(/wp-content/uploads/2023/07/quote.png);
    position: absolute;
    left: 15px;
    margin-top: 0;
    background-size: 25px 18.75px;
    display: inline-block;
    width: 25px; 
    height: 18.75px;

}

blockquote p {
    margin-top: 20px;
}

/* End blockquotes */

/* Single column home on mobiles */
@media only screen and (max-width: 767px) {
    .entry-header, .entry-summary {
        max-width: 100%;
        width: 100%;
    }
    .entry-summary p {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}
/* END Single column home on mobiles */


.site-header img {
	max-width: 200px;
	height: auto;
	margin-top: 5px;
}


.wp-block-coblocks-accordion-item__title.has-background, 
.wp-block-coblocks-accordion-item__title, 
.wp-block-coblocks-accordion-item__title.has-background:focus, 
.wp-block-coblocks-accordion-item__title:focus,
.wp-block-coblocks-accordion-item__title:not(.has-background) {
	  color: #078141;
    font-weight: bold;
    background-color: #F5F7E3;
}

/* Accessibility fix - colour of edit links */
a.post-edit-link {
    color: #078141 !important;
    text-decoration: underline  !important;
}

/* Hide left menu on selected pages */
/* 53887 Covid Memory Book */
body.page-id-53887 .site-navigation.menu-secondary {
    display: none;
}

body.page-id-53887 #content {
    margin-left: 0;
}

body.page-id-53887 .entry-content,
body.page-id-53887 .entry-summary {
    max-width: 740px;
}

/* END Hide left menu on selected pages */


/* Fix font size in editor */
body .editor-styles-wrapper {
    font-size: 18px;
}
/* END Fix font size in editor */