/* Change Primary Color */
body:not(.overlay-header) .primary-menu > li > a, body:not(.overlay-header) .primary-menu > li > .icon, .modal-menu a, .footer-menu a, .footer-widgets a, #site-footer .wp-block-button.is-style-outline, .wp-block-pullquote:before, .singular:not(.overlay-header) .entry-header a, .archive-header a, .header-footer-group .color-accent, .header-footer-group .color-accent-hover:hover {
    color: #3b4b57;
}

button {
	background-color: #3b4b57; 
}

/* Change Accent Color */
.color-accent, .color-accent-hover:hover, .color-accent-hover:focus, :root .has-accent-color, .has-drop-cap:not(:focus):first-letter, .wp-block-button.is-style-outline, a {
    color: #3b4b57;
}

/* Font Color */
h1, h2, h3, h4, h5, h6, p {
	color: #231f20;
}

/*------HEADER-------*/

/* Decrease top/bottom padding of header on desktop */
@media only screen and (min-width: 600px) {
.header-inner.section-inner {
    padding-top: 12px;
    padding-bottom: 12px;
}
}

/* Ensure logo isn't skewed */
img.custom-logo {
    height: auto!important;
}

/* Shrink logo on desktop */
@media only screen and (min-width: 600px) {
img.custom-logo {
    max-width: 65%;
}
}

/* Hide drop down arrows in menu */
.menu-item span.icon {
	display: none!important;
}

.primary-menu > li.menu-item-has-children > a {
	padding-right: 0!important;
	margin-right: 0!important;
}

/* Adjust spacing of header bottom on mobile to allow search and menu to display */
@media (max-width: 699px) {
.header-inner.section-inner {
    padding-bottom: 30px;
}
}

/* Hide current mobile menu */
span.toggle-inner {
    display: none;
}

/* Add hamburger menu icon */
button.toggle.nav-toggle.mobile-nav-toggle:before {
    content: '\2630';
    font-size: 2.5rem;
    line-height: 1;
    width: 25px;
    height: 25px;
}
/*------END HEADER------*/

/*-------FOOTER---------*/

/* Center widgets */
.widget.widget_nav_menu {
    text-align: center;
}

/* Change footer background and font color */
.footer-nav-widgets-wrapper.header-footer-group {
    background-color: #3a4b57;
}

.footer-widgets a {
    color: white;
    font-weight: 10;
	  font-size: .6em;
}

/* Make Footer 1 take up entire width */
.footer-widgets.column-one.grid-item {
    width:  100%;
}

/* Change footer menu title size */
.widgettitle {
    font-size: .7em;
    color: white;
}

.widgettitle {
    margin-bottom: 0;
    margin-top: 0;
}

/* Decrease footer padding */
aside.footer-widgets-outer-wrapper {
    padding-top: 0;
    padding-bottom: 0;
}

/* Remove Footer Top Margin */
.footer-nav-widgets-wrapper.header-footer-group {
    margin-top:0;
}

	/* Shrink Footer Logo on mobile */
@media only screen and (max-width: 599px) {
.wp-block-image.footer-logo img {
    max-width: 75%;
}
}
/*-------END FOOTER------*/


/* -----POST CAROUSEL-----*/

/* Turn of Category Links */

.cat-links a {
  pointer-events: none;
}

/* Change focal point of Post Carousel */
.wp-block-newspack-blocks-carousel .post-thumbnail img {
	object-position: 50% 25%;
}

/* Change Post Carousel block so image covers entire space regardless of screensize */
article.post-has-image.swiper-slide {
    display: block;
}

/* Shrink Gray padding on Post Carousel Desktop*/
@media only screen and (min-width: 600px) {
.wp-block-newspack-blocks-carousel article .entry-wrapper {
 padding-top: .9em!important;
 padding-bottom: .5em!important;
}
}

/* Shrink Gray padding on Post Carousel Mobile*/
@media only screen and (max-width: 599px) {
.wp-block-newspack-blocks-carousel article .entry-wrapper {
 padding-top: .2em!important;
 padding-bottom: 0!important;
}
}

/* Hide dots on Post Carousel block */
.swiper-pagination-bullets.amp-pagination.swiper-pagination-clickable {
    display: none;
}

h3.entry-title {
    text-align: center;
}

.cat-links {
    text-align:center!important;
}

/* Remove bottom margin from Post Carousel block */
#wp-block-newspack-carousel__1 {
    margin-bottom: 0;
}

/* Change Post Carousel Category Font Size */
.wp-block-newspack-blocks-carousel .cat-links {
    font-size: .7em!important;
}

/* ----END POST CAROUSEL----*/


/*-----BLOG POSTS BLOCK-----*/


/* Change Blog Post Block Heading Font size on mobile */
@media only screen and (max-width: 599px) {
.wpnbha.ts-2 article .entry-title a {
	font-size: 1.2em;
}
}

/* Change width of blog post block on home page */
.home .wp-block-newspack-blocks-homepage-articles {
    width: calc(100% - 7rem);
}

/* Change width of blog post block on Blog page */
.page-id-29809 .wp-block-newspack-blocks-homepage-articles {
    width: calc(100% - 4rem);
}

/* Change Top and Bottom Margin for Blog Posts block */
.wp-block-newspack-blocks-homepage-articles {
    margin-top: 3.5rem!important;
	 margin-bottom: 1rem!important;
}

/* Stack image and excerpt on Tablet */
@media only screen and (min-width: 600px) and (max-width: 1220px) {
.wpnbha.image-alignleft.mobile-stack .post-has-image, .wpnbha.image-alignright.mobile-stack .post-has-image {
    display: block!important; 
}
}


/*------END BLOG POSTS BLOCK-------*/

/*---BLOG CATEGORY COLUMNS SECTION-----*/

/* Set gaps in Blog Category Columns section */
:where(.wp-block-columns.is-layout-flex.blog-category-columns) {
    gap: 0.5em;
}

/* Remove Top Margin from Blog Category Columns */
.is-layout-flex.wp-container-5.wp-block-columns.alignfull.blog-category-columns {
    margin-top: 0;
	  margin-bottom: 0;
}

/*---END BLOG CATEGORY COLUMNS SECTION-----*/

/* ---POST AND PAGE ---*/

/* Control Top Margin on Video Posts */
/* YouTube */
.wp-block-embed.alignwide.is-type-video.is-provider-youtube {
    margin-top: 0;
}

/* Vimeo - doesn't get rid of all space */
.wp-block-embed.alignwide.is-type-video.is-provider-vimeo {
    margin-top: 0;
}

/* Ensure image blocks at the top of a post have no top margin */
.wp-block-image:first-of-type {
    margin-top: 0!important;
}

/* Hide all page titles */
.entry-header {
	display: none;
}

/* Hide Excerpt from Post Heading */
.intro-text {
	display: none;
}

/* Post Heading Font */
.wf-active .entry-content h2 {
    text-transform: uppercase;
    letter-spacing: .6px;
    font-weight:700;
}

.wf-active .entry-content h5 {
    font-family: 'Open Sans',Helvetica,Arial,Lucida,sans-serif;
	letter-spacing: .2px;
}

.wf-active .entry-content h6 {
    text-transform: none;
}	

/* H2 Article Title (Hed) */
.single-post .entry-content h2 {
	  margin-top: 5rem!important;
    margin-bottom: 0!important;
}

@media only screen and (max-width: 599px) {
.single-post .entry-content h2 {
	  margin-top: 2rem!important;
    margin-bottom: 0!important;
}
}
/* H3 Subheading */
.single-post .entry-content h3 {
    margin-top: 0!important;
    margin-bottom: 2rem!important;
}
/* H5 Dek */
.single-post .entry-content h5 {
  margin-top: 1rem!important; 
  margin-bottom: 0!important; 
}
/* H6 Byline/date */
.single-post .entry-content h6 {
  margin-top: 2rem!important; 
  margin-bottom: 2rem!important;
}

/* Make Post Paragraphs wide width */

@media (min-width: 700px) {
.single-post p {
    max-width: calc(100vw - 8rem)!important;
    width: calc(100vw - 8rem)!important;
}
}

@media (min-width: 1280px) {
.single-post p {
    max-width: 120rem!important;
    width: 120rem!important;
}
}


/* Adjust spacing at top of posts  */
.post-inner {
    padding-top: 0!important;
}


/* ---END POST AND PAGE---*/

/*------CLASSES-------*/

/* Class to hide on mobile */
@media ( max-width: 479px ) {
.hide-on-mobile {
    display: none!important;
}
}

/* Class to hide on desktop */
@media ( min-width: 480px ) {
.hide-on-desktop {
    display: none!important;
}	
}

/* Class to Hide Post desktop Image block in mobile view */
@media ( max-width: 479px ) {
.wp-block-image.desktop-wide-width {
    display: none;
}
}

/* Class to Hide Post mobile Image Block in desktop view */
@media ( min-width: 480px ) {
.wp-block-image.mobile-full-width {
    display: none;
}
}

/* Class to Shrink Cover Block top margin */
.smaller-top-margin-cover-block {
    margin-top: 1rem!important;
}

/* Class to Zero Cover Block top margin */
.cover-block-zero-top-margin {
    margin-top: 0!important;
}

/* Class to remove left padding from a Media & Text block */
@media (min-width: 600px) {
.no-left-padding-media-text .wp-block-media-text__content {
	padding-left: 0;
}
}

/* Class to remove top margin from paragraphs */
p.no-top-margin {
	margin-top: 0!important;
}

/* Class to remove bottom margin from paragraphs */
p.no-top-margin {
	margin-bottom: 0!important;
}

/*------END CLASSES-------*/

/*--------MISC--------*/
/* Center YouTube, Vimeo blocks */
.wp-block-embed-youtube,
.wp-block-embed-vimeo {
    margin-left: auto;
    margin-right: auto;
}




/* Change top/bottom margins in posts 
.entry-content > .alignwide:not(.wp-block-group.has-background), .entry-content > .alignfull:not(.wp-block-group.has-background) {
    margin-bottom: 4rem;
    margin-top: 2rem;
}
*/