/*hide auto-related posts in favor of widget implementation*/
#jp-relatedposts.jp-relatedposts{
	visibility: hidden;
	height: 0px;
}

/* hide the featured image section, author details and related posts  || HC-28461238 | MM */
.postid-116131 .featured-image-behind,
.postid-116131 .jp-relatedposts-i2 {
  display: none;
} 

/* Colors */
body,
.entry-meta,
.entry-meta .byline a,
.single .cat-links a,
.wpnbha .cat-links a, 
amp-script .wpnbha .cat-links a{
	color: #333;
}

h1, h2, h3, h4, h5, h6,
strong,
.site-header .nav1 .main-menu > li > a,
body.h-db.h-dh .site-header .nav3 .menu-highlight a:hover,
.search .page-title,
.accent-header:not(.widget-title), 
.article-section-title {
	color: #111;
}

.top-header-contain,
.mobile-sidebar,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-text-color):not(:hover), 
.button, 
.button:visited, 
button, input[type="button"], input[type="reset"], input[type="submit"] {
	background: #111;
}

.entry-footer,
.tags-links a,
.tags-links span:first-child {
	color: #777;
}

.has-light-gray-background-color {
	background: #f4f4f4;
}

@media (min-width: 782px) {
	.h-db .featured-image-beside {
		background: #f4f4f4
	}
}

.mobile-sidebar, 
.mobile-sidebar button:hover, .mobile-sidebar a, 
.mobile-sidebar a:visited, .mobile-sidebar .nav1 .sub-menu > li > a, 
.mobile-sidebar .nav1 ul.main-menu > li > a {
	color: #fff;
}

article .entry-title a:hover,
.cat-links a:hover,
.entry-meta .byline a:hover,
.entry .entry-meta a:hover,
.entry-content a:hover,
.site-breadcrumb a:hover,
.entry .entry-footer a:hover,
.more-link:hover, 
.search-form button:active, .search-form button:hover, .search-form button:focus, 
.comment .comment-metadata > a:hover, 
.comment .comment-metadata .comment-edit-link:hover, 
.comments-toggle:hover,
body.h-db.h-dh .site-header .nav3 .menu-highlight a
 {
	color: #f60;
}

body.h-db.h-dh .site-header .nav3 .menu-highlight a,
body.h-db.h-dh .site-header .nav3 .menu-highlight a:hover {
	background: transparent;
}

/* My Account menu styles */
.account-menu-icon a {	
	align-content: center;
	display: inline-flex;
	position: relative;
}

.site-header .account-menu-icon a {
	width: 24px;
}

.site-header .account-menu-icon a span {
	display: none;
}

.account-menu-icon a:before {
	background-image: url( '/wp-content/uploads/2022/05/baseline_account_circle_black_36dp.png');
	background-size: auto 100%;
	display: inline-block;
	content: '';
	height: 24px;
	left: 0;
	overflow: hidden;
	position: absolute;
	top: -6px;
	width: 24px;
}

.site-header .nav3 .account-menu-icon a:before {
	top: 3px;
}

.mobile-sidebar .account-menu-icon a:before {
	background-image: url('/wp-content/uploads/2022/05/baseline_account_circle_white_36dp.png');
	top: 4px;
}

.mobile-sidebar .account-menu-icon a,
.mobile-sidebar .nav1 .main-menu > .account-menu-icon.account-menu-icon > a {
	display: inline-block;
	padding-left: 30px;
}

.mobile-sidebar .account-menu-icon a span {
	display: inherit;
}

/* Fonts */
.entry-meta,
.entry-meta .byline .author,
.site-breadcrumb .wrapper > span,
.entry-footer,
.page-subtitle,
.cat-links,
.jp-relatedposts-i2 .jp-relatedposts-headline,
.widget_recent_entries .post-date,
.comment-metadata {
	font-family: "IBM Plex Mono", sans-serif;
	font-weight: 600;
	text-transform: uppercase;
}

.font-ibm-plex-mono {
	font-family: "IBM Plex Mono", sans-serif !important;
}

table {
	font-family: 'IBM Plex Sans','Helvetica', sans-serif;
}

div.wpnbha .cat-links, 
amp-script div.wpnbha .cat-link,
.tags-links span:first-child,
.comment-metadata {
	font-weight: 600;
}

.mobile-menu-toggle {
	text-transform: uppercase;
}

.search .page-title {
	text-transform: none;
}

figcaption, 
.wp-caption-text, 
.amp-image-lightbox-caption {
	font-family: "IBM Plex Mono", sans-serif;
	font-size: 0.6em;
}

div.wpnbha article .entry-meta,
.entry-meta,
.site-breadcrumb .wrapper > span,
div.wpnbha.ts-8 article .entry-meta,
div.wpnbha.ts-7 article .entry-meta,
div.wpnbha.ts-6 article .entry-meta,
div.wpnbha.ts-5 article .entry-meta,
div.wpnbha.ts-3 article .entry-meta,
div.wpnbha.ts-2 article .entry-meta,
div.wpnbha.ts-1 article .entry-meta,
.search .cat-links, 
.archive .cat-links,
.blog .cat-links,
.single .cat-links {
	font-size: 0.65em;
}

.entry-footer,
.tags-links a,
.tags-links span:first-child {
	font-size: 0.7rem;
}

.search .page-title {
	font-size: 1.8rem
}

@media (min-width: 782px) {
	.search .page-title {
		font-size: 2rem
	}
}

.nav3 {
	font-weight: bold;
}

/* Header */
.site-header .nav3 .menu-highlight a {
	padding-left: 0;
	padding-right: 0;
}

/* Accent Header */
.accent-header:not(.widget-title)::before,
.article-section-title::before, 
.cat-links::before, 
.page-title::before, 
.site-breadcrumb .wrapper > span::before {
	display: none;
}

/* Buttons */
.wp-block-button__link, 
.button, 
.button:visited, 
button, input[type="button"], input[type="reset"], input[type="submit"] {
	border-radius: 0;
}

/* Pullquotes */
.wp-block-pullquote p {
	font-style: normal;
}

.wp-block-pullquote blockquote p {
	font-size: 1.2em;
}

.wp-block-pullquote blockquote::after,
.wp-block-pullquote blockquote::before {
	display: none;
}

@media (min-width: 782px) {
	.wp-block-pullquote blockquote p {
		font-size: 1.4em;
	}
}

.wp-block-pullquote.alignleft, 
.wp-block-pullquote.alignright {
	margin-top: 0;
}

.wp-block-pullquote.alignleft blockquote::before, 
.wp-block-pullquote.alignright blockquote::before {
	display: none;
}

/* Homepage */
/* Apply styles to special 'Green List' section on homepage, tied to a Custom CSS class */
.green-list .wp-block-image + h2 {
	margin-top: -20px;
}

/* Make sponsor logos sit on same line as name in homepage posts block */
.wpnbha .sponsor-logos, 
amp-script .wpnbha .sponsor-logos {
	width: auto;
}

/* Breadcrumb - hide last item on article pages. A bit hacky due to the markup - we're adding, then hiding, the dividers via CSS because there's not a way to target the last one */
.site-breadcrumb span:before {
	content: '»';
	margin: 0 0.5em 0 0;
}

.site-breadcrumb .wrapper > span > span:before,
.single .site-breadcrumb .breadcrumb_last {
	display: none;
}

/* Bylines */
.single .entry-subhead .byline > span:first-child,
.archive .byline > span:first-child,
.search .byline > span:first-child,
.wpnbha .author-prefix,
.wp-block-newspack-blocks-carousel .author-prefix {
	display: none;
}

/* Single Posts */
.single:not(.has-large-featured-image) .entry-header {
	border-bottom: 4px solid #f60;
}

.newspack-post-subtitle {
	margin-bottom: 0.5rem;
}

/* remove bottom margin from share buttons */
.sd-content {
	margin-bottom: 0;
}

/* Make sure post title inherits the correct white colour */
.featured-image-behind .entry-header h1 {
	color: inherit;
}

/* Hide author avatar */
.single .entry-header .author-avatar {
	display: none;
}

/* Single post - move post meta to left on one column posts */
.post-template-single-feature .content-area {
	position: relative;
}

.post-template-single-feature .entry-header {
	position: static;
}

/* Make the content on single column posts a bit narrower */
.post-template-single-feature:not(.single-featured-image-beside) .entry-header,
.post-template-single-feature .main-content,
.post-template-single-feature .entry .entry-content > .wp-block-group.alignfull > div > :not(.alignfull):not(.alignwide),
.post-template-single-feature .featured-image-behind + figcaption {
		max-width: 740px;
	}

.post-template-single-feature:not(.single-featured-image-beside) .entry-header {
	margin-left: auto;
	margin-right: auto;
}

.post-template-single-feature .main-content,
.post-template-single-feature .entry .entry-content > .wp-block-group.alignfull > div > :not(.alignfull):not(.alignwide) {
    width: 100%;
}

@media (min-width: 1240px) {
	.post-template-single-feature .entry-subhead,
	.post-template-single-feature .entry-meta {
		display: block;
		width: auto;
	}
	.post-template-single-feature .entry-subhead {
		left: 0;
		position: absolute;
		top: -3px;
		max-width: 18%;
	}
	.post-template-single-feature .entry-date.published:not(.updated ) {
		display: block;
	}
	
	.post-template-single-feature .entry-meta .updated-label {
		margin-left: 0;
	}
	
	.single.single-featured-image-default .posted-on {
		margin-left: 0;
	}
	
	.post-template-single-feature .entry-subhead .sd-content {
		margin-top: 1em;
	}
	
	.post-template-single-feature .entry-subhead .sd-content amp-social-share,
	.post-template-single-feature .entry-subhead .sd-content li {
		/*display: block;*/
		margin-bottom: 8px;
	}
	
	.post-template-single-feature .featured-image-behind .entry-header .entry-meta .byline,
	.post-template-single-feature .featured-image-behind .entry-header .entry-meta .byline a {
		color: #000;
	}
}

/* Featured image beside */
@media (min-width: 782px) {
	.featured-image-beside .wrapper {
		margin-bottom: 1rem;
	}

	.post-template-single-feature .featured-image-beside .entry-header .entry-subhead,
	.post-template-single-feature .featured-image-behind .entry-header .entry-subhead {
		left: calc( (100% - 1200px)/2);
		top: calc(100% + 64px );
	}
	
	.featured-image-beside .entry-header .entry-meta .byline,
	.featured-image-behind .entry-header .entry-meta .byline {
		display: block;
	}
	
	.single-featured-image-behind .main-content,
	.single-featured-image-beside .main-content {
		margin-top: 32px;
	}
	
	.featured-image-beside .entry-header .entry-meta .byline::after {
		display: none;
	}
	
	.featured-image-beside .entry-header .entry-meta .posted-on,
	.featured-image-behind .entry-header .entry-meta .posted-on {
		color: #777;
	}
	
	.post-template-single-feature .featured-image-behind + figcaption {
		margin-bottom: -32px;
	}
}

@media (max-width: 1239px) and (min-width: 783px) {
	/*
	 * .featured-image-beside .entry-header .entry-meta .byline,
	.featured-image-beside .entry-header .entry-meta .posted-on,
	*/
	.featured-image-behind .entry-header .entry-meta .byline,
	.featured-image-behind .entry-header .entry-meta .posted-on {
		color: #fff;
		margin-right: 1em;
	}
}

/* Featured Image Behind */
@media (max-width: 781px) {
	.featured-image-behind .entry-header .byline {
		color: #fff;
	}
}

/* Archives */
/*.archive .page-header, 
.blog .page-header, 
.search .page-header {
	border-bottom: 4px solid #f60;
	
}*/

.page-subtitle {
	font-size: 0.9em;
}

.blog .cat-links a, 
.search .cat-links a, 
.archive .cat-links a {
	padding: 0;
}

.search .page-header {
	padding-bottom: 2em;
	width: 100%;
}

/* Pages */
/*.page .entry-header {
	border-bottom: 4px solid #f60;
	padding-bottom: 1em;
}*/

/* Temp fix for category block in group block */
.newspack-front-page .entry .entry-content .wp-block-group.alignfull > div > .wp-block-columns:not(.alignfull):not(.alignwide) {
	max-width: 1232px;
}

.accent-header + .wp-block-columns {
	margin-top: -16px;
}

.postid-113087 #primary .featured-image-beside {background: orange;}

.entry-subhead .entry-meta
{font-size: .9em;}

/* FORMS */
/* Homepage newsletter form */
@media (min-width: 782px) {
	.home .mc4wp-form p {
		display: inline-block;
		width: 49%;
		margin: 0 0 1rem 0;
	}
}
.mc4wp-form input[type='text'], 
.mc4wp-form input[type='email'], .home .mc4wp-form select {
	width: 95%;
}

/* Member login form */
.mc4wp-form label, #loginform label {
	display: block;
	font-size: 0.8em;
}

#loginform input[type='text'], 
#loginform input[type='email'], #loginform input[type='password'] {
	width: 100%;
}
/* Hide memberships admin notice banner */
.admin-restricted-content-notice {
	display: none;
}

/* Events landing page styles */
.postid-116131 .site-content {
	margin-top: 0;
}
.postid-116131 .entry-header, .postid-116131 .site-breadcrumb {
	display: none;
}

/* Table styles on mobile */
@media (max-width: 600px) {
	.wp-block-table tr {
		border-bottom: 2px solid #000;
	}
	.wp-block-table tr:first-child {
		border-top: 2px solid #000;
	}
	.wp-block-table.is-style-stripes td {
		display: block;
		border-bottom: 1px solid #ccc;
		border-top: none;
	}
}


/* 
 * WooCommerce
 */

/* Center woocommerce pages */
body.woocommerce #secondary {
	display: none;
}

@media (min-width: 782px) {
	body.woocommerce #main {
		margin-left: auto;
		margin-right: auto;
	}
	
	.woocommerce.single.has-sidebar #main {
		max-width: 780px;
	}
}

ul.wc-block-product-categories-list { 
	list-style-type:none; 
	display:block; 
	margin:0; 
	padding:0; 
}

ul.wc-block-product-categories-list li { 
	display:inline-block; 
}

ul.wc-block-product-categories-list a { 
	display: block; 
	background: #f16a28; 
	color: #fff; 
	padding: 10px 18px; 
	border-radius: 4px; 
	font-weight: 700; 
}

.woocommerce span.onsale.wc-memberships-member-discount {
	left: 0;
}

/* Remove related posts from Sponsored and Events categories */
.cat-events-tfeevents [class^="jp-relatedposts"],
.cat-sponsored [class^="jp-relatedposts"]{
	display: none !important;
}


/* center buttons in header */
/*.fullwidth-block-minus-padding { width:calc(100% - 32px); }*/
.flex-center-custom { 
	justify-content: center; 
}

/**
 * OneSignal - remove gap added to bottom due to AMP implementation
 */
body > amp-web-push-widget {
	display: block !important;
	max-height: 0 !important;
}

/** 
 * Layout of WooCommerce product
 * page - big pic on top
 * @author Candace Wong


@media only screen and (min-width: 782px) {
	.woocommerce #content div.product div.images,
	.woocommerce div.product div.images,
	.woocommerce-page #content div.product div.images,
	.woocommerce-page div.product div.images,
	.woocommerce #content div.product div.summary,
	.woocommerce div.product div.summary,
	.woocommerce-page #content div.product div.summary,
	.woocommerce-page div.product div.summary {
	float: none;
	width: 100%;
	}
}

.woocommerce div.product img {
	width: 100%;
}**/

.woocommerce div.product .wc-memberships-member-discount-message {
	margin-top: 1rem;
}


/*Below Header Widget Styling*/
.below-header-widgets a {
    text-decoration: underline;
		color: #000;
}