@import url("./refresh-2022-header.css");
@import url("./refresh-2022-red-line-elements.css");
@import url("./refresh-2022-grid-listings.css");
@import url("../external/naa/stockholm-stylesheet.css");
@import url("./refresh-2022-mixins.css");

/* variable declarations */
/* variable declarations - color palette */
.theme-refresh {
	--nhm-red-link-text-color: #E13824;
	--nhm-palette-black: #000000; /* standard black */
	--nhm-palette-red: #DB1A21; /* red from red line */
	--nhm-palette-everglades: #285738; /* "Everglades" green */
	--nhm-palette-green: #285738; /* "Everglades" */
	--nhm-palette-dark-grey: #434b58; /* "Riverbed" */
	--nhm-palette-yellow: #ccac54; /* "Sundance" */
	--nhm-palette-beige: #ede6dd; /* beige extensively used through
	prior theme */
	--nhm-palette-beige-darker: #E6DFD7; /* slightly darker beige used for contrast in some subsections */
	--nhm-palette-reddish-brown: #392222; /* deep dark reddish brown, almost black */
	--nhm-title-link-text-color: var( --nhm-palette-reddish-brown );
	
	--nhm-background-color-root: white;
	--nhm-background-color: var( --nhm-background-color-root );
	
	--toggle-color: #c89149;
	--nhm-header-color: #ede6dd;
	--nhm-link-text-in-top-nav-color: #000000;
	--nhm-link-text-color: #3d6947;
	--nhm-footer-text-color: #ffffff;
	
	--nhm-font-size-writing-text: 20px;
	--nhm-news-blog-title-size: 28px;
	--nhm-font-size-big-title: calc( var(--nhm-news-blog-title-size) + 4px );
	--nhm-font-size-big-title-responsive: calc( var( --nhm-font-size-writing-text ) + var( --nhm-font-size-step-big-title ) );

	--nhm-font-size-medium-title: var( --nhm-news-blog-title-size );
	--nhm-font-size-small-title: calc( var( --nhm-news-blog-title-size ) - 2px );

	--nhm-font-size-content-feature-title: 36px;
	--nhm-font-size-mobile-title-coordinated: 22px;
	--nhm-font-size-sidebar-title: calc( var( --nhm-news-blog-title-size ) - 6px );
	--nhm-font-size-top-level-title: 36px;
	--nhm-font-size-news-blog-title: calc( var( --nhm-font-size-writing-text ) + 8px );
	--nhm-font-size-push-in-title-basis: 32px;
	--nhm-font-size-push-in-title: 32px;

	--nhm-font-size-header-blurb: var( --nhm-font-size-writing-text );
	--nhm-font-size-event-date-box: calc( var( --nhm-width-event-date-box ) * 0.36 );

	--nhm-font-size-meta-text: 18px;
	--nhm-font-size-submeta-text: calc( var( --nhm-font-size-meta-text ) - 2px );
	--nhm-font-size-subsubmeta-text: calc( var( --nhm-font-size-meta-text ) - 4px );
	
	--nhm-font-size-footer-text: 18px;
	
	--nhm-font-size-step-big-title: 12px;
	
}

@font-face {
  font-family: OmnesRegular;
  src: url(../fonts/Omnes-Regular.woff2);
}
@font-face {
	font-family: OmnesRegular;
	src: url(../fonts/Omnes-Italic.woff2);
	font-style: italic;
}
@font-face {
  font-family: OmnesMedium;
  src: url(../fonts/Omnes-Medium.woff2);
}
@font-face {
	font-family: OmnesMediumItalic;
	src: url(../fonts/Omnes-SemiBoldItalic.woff2);
	font-style: italic;
}

body {
	--nhm-header-typeface: "Relay Cond Bd", "RelayCondBd", sans-serif;
	--nhm-meta-text-typeface: OmnesMedium, OmnesRegular, "Source Sans Pro", Helvetica, Arial, sans-serif;
	--nhm-text-typeface: OmnesRegular, "Source Sans Pro", Helvetica, Arial, sans-serif;
	--nhm-text-bolder-typeface: OmnesMedium, OmnesRegular, "Source Sans Pro", Helvetica, Arial, sans-serif;
}

/* variable declarations - element widths, margin and padding */
.theme-refresh {
	--nhm-max-width-content-area: 2000px;

	--nhm-offset-viewport-top: 0px;
	
	--nhm-width-logo: 200px;
	--nhm-height-logo: var( --nhm-width-logo );
	
	--nhm-width-from-logo-corner-to-paw: 21px;
	--nhm-width-from-logo-corner-to-nose: 26px;
	--nhm-width-from-logo-corner-to-ear: 30px;
	--nhm-width-from-logo-corner-to-peak: 98px;
	--nhm-width-from-logo-corner-to-ledge: 174px;
	
	--nhm-height-from-logo-top-to-peak: 20px;

	--nhm-offset-top-to-logo: 64px;
	--nhm-margin-from-top-to-logo: calc( var( --nhm-offset-top-to-logo ) + var( --nhm-height-from-logo-top-to-peak ) );

	--nhm-width-mobile-logo: 48px;
	--nhm-height-mobile-logo: 48px;
	--nhm-offset-top-mobile-to-logo-arrow-point: calc( var( --nhm-margin-from-top-to-logo-arrow-point ) - var( --nhm-height-mobile-logo ) );
	--nhm-offset-left-mobile-to-logo-arrow-point: calc( var( --nhm-margin-from-left-to-logo-arrow-point ) - var( --nhm-width-mobile-logo ) );
	--nhm-offset-top-mobile-to-1-3-logo: calc( var( --nhm-offset-top-mobile-to-logo-arrow-point ) - var( --nhm-height-logo )/3 );
	--nhm-offset-left-mobile-to-1-3-logo: calc( var( --nhm-offset-left-mobile-to-logo-arrow-point ) - var( --nhm-width-logo )/3 );
	

	--nhm-height-header-mural-image: 34vw;
	--nhm-sizing-header-mural-image: cover;
	
	--nhm-margin-from-left-to-title-box: 330px;
	--nhm-height-from-top-to-title-box: 200px;

	--nhm-offset-from-title-box-to-title: 40px;
	
	--nhm-red-line-margin-x: 23px;
	--nhm-red-line-corner-width: 88px;

	--footer-height-y-infinite: calc( 50vw + 40px );
	--footer-height-y-finite: calc( 0.50 * var( --nhm-max-width-content-area ) + 40px );
	--footer-height-y: min( var( --footer-height-y-finite ), var( --footer-height-y-infinite ) );

	--footer-height-column-allowance: calc( var( --nhm-font-size-footer-text ) * 12 );
	--footer-height-text-lines: calc( var( --nhm-font-size-footer-text ) * 18 );

	--footer-height-buffered: var( --footer-height-y );
	--footer-margin-bottom: calc( var( --footer-height-buffered ) - var( --footer-height-y ) );

	--footer-width-x: 100%;
	--footer-background-color: transparent;
	
	--nhm-header-z: 10000;
	--nhm-mobile-menu-z: 99999;
	--nhm-mobile-button-z: calc( var( --nhm-mobile-menu-z ) + 99 );
	--nhm-modal-overlay-z: calc( var( --nhm-mobile-button-z ) + 99 );
	--nhm-modal-z: calc( var( --nhm-modal-overlay-z ) + 1 );
}
.theme-refresh.admin-bar {
	--nhm-offset-viewport-top: var( --wp-admin--admin-bar--height );
}
.theme-refresh {
	--nhm-margin-from-left-to-title-box-less-line: calc( var(--nhm-margin-from-left-to-logo) + var( --nhm-margin-from-logo-to-title-box ) );
	--nhm-margin-from-logo-to-title-box: calc( var( --nhm-margin-from-left-to-title-box ) - var( --nhm-margin-from-left-to-logo ) );
	--nhm-red-line-margin-right-to-start-of-corner: calc( var(--nhm-red-line-margin-x) + var(--nhm-red-line-corner-width) );

	--nhm-width-logo-half: calc( var( --nhm-width-logo ) * 0.5 );
	--nhm-margin-from-left-to-title-box-half: calc( var( --nhm-margin-from-left-to-title-box ) / 2 );
	--nhm-margin-from-left-to-logo: calc( var( --nhm-margin-from-left-to-title-box-half ) - var( --nhm-width-logo-half ) );
	--nhm-margin-from-left-to-logo-paw: calc( var(--nhm-margin-from-left-to-logo) + var(--nhm-width-from-logo-corner-to-paw) );
	--nhm-margin-from-left-to-logo-nose: calc( var(--nhm-margin-from-left-to-logo) + var(--nhm-width-from-logo-corner-to-nose) );
	--nhm-margin-from-left-to-logo-ear: calc( var(--nhm-margin-from-left-to-logo) + var(--nhm-width-from-logo-corner-to-ear) );
	--nhm-margin-from-left-to-logo-peak: calc( var(--nhm-margin-from-left-to-logo) + var(--nhm-width-from-logo-corner-to-peak) );
	--nhm-margin-from-left-to-logo-ledge: calc( var(--nhm-margin-from-left-to-logo) + var(--nhm-width-from-logo-corner-to-ledge) );
	--nhm-margin-from-left-to-logo-arrow-point: calc( var(--nhm-margin-from-left-to-logo) + var(--nhm-width-logo) );
	
	--nhm-margin-from-top-to-logo-arrow-point: calc( var( --nhm-offset-top-to-logo ) + var( --nhm-height-logo ) );
	
	--nhm-margin-from-left-to-footer-logo: var( --nhm-margin-from-left-to-section-content );
	
	--nhm-margin-from-left-to-section-content: var(--nhm-margin-from-left-to-logo-nose);
	--nhm-margin-from-section-content-to-right: var(--nhm-margin-from-left-to-section-content);
	
	--nhm-width-both-margins-to-content: calc( var( --nhm-margin-from-left-to-section-content ) + var( 	--nhm-margin-from-section-content-to-right ) );
	
	--nhm-left-offset-to-content: calc( var( --nhm-margin-from-left-to-section-content ) - var( --nhm-margin-from-left-to-logo ) );
	
	--nhm-padding-from-left-line-edge-to-content: calc( var( --nhm-margin-from-left-to-title-box ) * 0.15 );
	/* 88px / 412px total left margin in comps was a factor =~ 0.21. adjusted to 0.15x to accomodate request for more "breathing room" on margins  */
	
	--nhm-margin-from-left-to-line-edge: calc( var( --nhm-margin-from-left-to-section-content ) - var( --nhm-padding-from-left-line-edge-to-content ) );
	
	--nhm-padding-from-section-to-logo: calc( var(--nhm-margin-from-left-to-logo) -	50px - var(--nhm-red-line-margin-x ) );

	/* these should be defined symmetrically */
	--nhm-margin-from-line-outside-edge-to-right: var( --nhm-margin-from-left-to-line-edge );
	--nhm-padding-from-content-to-right-line-outside-edge: var( --nhm-padding-from-left-line-edge-to-content );
	
	--nhm-red-line-width: 22px;
	--nhm-padding-red-line-to-inside-edge: var( --nhm-red-line-width );
	--nhm-padding-from-content-feature-to-red-line-inside-edge: 76px;
	--nhm-padding-red-line-right-to-content-feature: calc( var( --nhm-padding-from-content-feature-to-red-line-inside-edge ) + var( --nhm-padding-red-line-to-inside-edge ) );

	--nhm-padding-from-sidebar-content-to-red-line-inside-edge: 4.5vw;
	--nhm-padding-from-sidebar-content-to-red-line-outside-edge: calc( var( --nhm-padding-from-sidebar-content-to-red-line-inside-edge ) + var( --nhm-padding-red-line-to-inside-edge ) );
	
		
	--nhm-margin-from-header-to-content-area: 80px;
	--nhm-margin-writing-figure-blow-out: -90px;
	
	--nhm-offset-from-bottom-to-nav-menu: 60px;
	--nhm-height-white-bottom-logo: 140px;
	
	--nhm-width-event-date-box: 60px;
	--nhm-margin-from-date-box-right-edge-to-description: calc( var( --nhm-width-event-date-box ) * 0.5 );
	--nhm-width-from-date-to-description: calc( var( --nhm-width-event-date-box ) + var( --nhm-margin-from-date-box-right-edge-to-description ) );

	--nhm-width-mural-featured-title-panel-basis: 650px;
	--nhm-width-mural-featured-title-panel: var( --nhm-width-mural-featured-title-panel-basis );

	--nhm-top-navigation-font-size: 18px;
	--nhm-font-size-featured-title-header: calc( var( --nhm-font-size-big-title ) * 1.65 );
	--nhm-font-size-featured-subtitle-header: calc( var( --nhm-font-size-featured-title-header ) * 0.5 );
	
	--nhm-padding-featured-title-panel: calc( 0.545 * var( --nhm-font-size-featured-title-header ) );
	--nhm-padding-featured-title-panel-inner: max( 2px, calc( 0.136 * var( --nhm-font-size-featured-title-header ) ) );

	--nhm-top-navigation-padding: 20px;
	--nhm-margin-from-left-to-top-navigation: calc( var( --nhm-margin-from-left-to-title-box ) );
	--nhm-margin-top-navigation-to-right: calc( var( --nhm-margin-from-left-to-logo ) + var(--nhm-red-line-corner-width) + 7% );
	--nhm-top-navigation-drop-down-arrow-top: 0.6em;
	--nhm-top-navigation-drop-down-arrow-right: 2px;
	--nhm-top-socials-height: 80px;
	
	--nhm-margin-from-title-bar-top-to-section-title: 50px;
	--nhm-margin-from-section-title-to-red-line: 154px;
	--nhm-min-width-section-title: calc( var(--nhm-margin-from-section-title-to-red-line) + 223px );
	--nhm-margin-from-section-title-to-page-intro-paragraph: 38px;
	--nhm-offset-top-corner-from-title-bar-bottom: calc( var( --nhm-margin-from-section-title-to-page-intro-paragraph) - 56px );
	--nhm-offset-arrow-end-from-center: calc( var( --nhm-margin-from-section-title-to-page-intro-paragraph) - var( --nhm-margin-from-title-bar-top-to-section-title ) + 11px );

	--nhm-blog-grid-article-spacing: 0px;
	--nhm-blog-grid-article-spacing-reduced: 0px;
	--nhm-blog-grid-2-article-width: auto;
	--nhm-blog-grid-2-min-width: unset;
	--nhm-blog-grid-2-max-width: unset;
	--nhm-blog-grid-3-article-width: auto;
	--nhm-blog-grid-3-min-width: unset;
	--nhm-blog-grid-3-max-width: unset;
}

/* variable settings - desktop layouts */
@media ( min-width: 769px ) {
	.theme-refresh {
		--nhm-blog-grid-article-spacing: 30px;
		--nhm-blog-grid-article-spacing-reduced: 20px;
		--nhm-blog-grid-2-article-width: calc( 50% - var( --nhm-blog-grid-article-spacing ) );
		--nhm-blog-grid-2-article-width-reduced: calc( 50% - var( --nhm-blog-grid-article-spacing-reduced ) );
		--nhm-blog-grid-2-min-width: 350px;
		--nhm-blog-grid-2-max-width: 900px;
		--nhm-blog-grid-3-article-width: calc( ( 100% / 3 ) - var( --nhm-blog-grid-article-spacing ) );
		--nhm-blog-grid-3-article-width-reduced: calc( ( 100% / 3 ) - var( --nhm-blog-grid-article-spacing-reduced ) );
		--nhm-blog-grid-3-min-width: 180px;
		--nhm-blog-grid-3-max-width: 500px;
	}
}

/* variable declarations: wide landscape layouts */
@media (min-width: 1450px) {
	.theme-refresh {
		--nhm-top-navigation-font-size: 20px;
		--nhm-top-navigation-padding: 22px;

		--nhm-font-size-footer-text: 20px;
	}

}
@media (max-width: 1320px) {
	.theme-refresh {

		--nhm-offset-from-bottom-to-nav-menu: 60px;
		--nhm-font-size-footer-text: 16px;
		--nhm-font-size-step-big-title: 8px;

	}
}
@media (max-width: 1100px) {
	.theme-refresh {
		
		--nhm-offset-from-bottom-to-nav-menu: 60px;
		--nhm-font-size-footer-text: 16px;
		--nhm-font-size-step-big-title: 8px;

	}	
}
/* variable declarations: portrait layouts */
@media (max-width: 990px) {
	.theme-refresh {
		--nhm-width-logo: 120px;
		--nhm-width-from-logo-corner-to-paw: calc( 21px * 0.6 );
		--nhm-width-from-logo-corner-to-nose: calc( 26px * 0.6 );
		--nhm-width-from-logo-corner-to-ear: calc( 30px * 0.6 );
		--nhm-width-from-logo-corner-to-peak: calc( 98px * 0.6 );
		--nhm-width-from-logo-corner-to-ledge: calc( 174px * 0.6 );
		--nhm-height-from-logo-top-to-peak: calc( 20px * 0.6 );

		--nhm-margin-from-left-to-title-box: 200px;	

		--nhm-height-header-mural-image: 42vw;
		--nhm-sizing-header-mural-image: contain;

		--nhm-margin-from-top-to-logo: 20px;
		--nhm-offset-top-to-logo: calc( var( --nhm-margin-from-top-to-logo ) - var( --nhm-height-from-logo-top-to-peak ) );

		/********* LOGO REDEFINITIONS ********/
		
		--nhm-margin-from-left-to-logo: calc( ( var( --nhm-margin-from-left-to-title-box ) - var( --nhm-width-logo ) ) / 2 );

		--nhm-height-from-top-to-title-box: auto;

		--nhm-margin-from-left-to-footer-logo: var( --nhm-margin-from-left-to-section-content );

		--nhm-padding-from-left-line-edge-to-content: calc( var( --nhm-margin-from-left-to-title-box ) * 0.21 ); 3

		--nhm-font-size-writing-text: 18px;
		--nhm-margin-writing-figure-blow-out: 0px;

		--nhm-font-size-step-big-title: 4px;

		--nhm-offset-from-bottom-to-nav-menu: 30px;
		--nhm-font-size-footer-text: 14px;

		--footer-height-y: 60vw;

		--footer-height-buffered: calc( var( --footer-height-y ) + 50px );

	}
}

@media ( max-width: 1360px ) {
	.theme-refresh {
		--nhm-padding-from-sidebar-content-to-red-line-inside-edge: 4vw;
	}
}
@media ( max-width: 990px ) {
	.theme-refresh {
		--nhm-padding-from-sidebar-content-to-red-line-inside-edge: 3vw;
	}
}
@media ( max-width: 880px ) {
	.theme-refresh {
		--nhm-padding-from-sidebar-content-to-red-line-inside-edge: 2vw;
	}
}
@media ( max-width: 768px ) {
	.theme-refresh {
		--nhm-padding-from-sidebar-content-to-red-line-inside-edge: var( --nhm-padding-from-content-to-right-line-outside-edge );
	}
}

/* variable declarations: mobile layouts */
@media (max-width: 768px) {
	.theme-refresh {
		--nhm-width-logo: 90px;
		--nhm-width-from-logo-corner-to-paw: 9px;
		--nhm-width-from-logo-corner-to-nose: 11px;
		--nhm-width-from-logo-corner-to-ear: 12px;
		--nhm-width-from-logo-corner-to-peak: 44px;
		--nhm-width-from-logo-corner-to-ledge: 79px;
		--nhm-height-from-logo-top-to-peak: 10px;

		--nhm-margin-from-top-to-logo: 30px;
		
		--nhm-margin-from-left-to-title-box: 120px;
		--nhm-offset-from-title-box-to-title: 0px;
		--nhm-margin-from-title-bar-top-to-section-title: 0px;
		
		 /* we have abandoned the highly vertical layout for now in favor of a fixed aspect ratio */
		--nhm-height-header-mural-image: 42vw;
		--nhm-sizing-header-mural-image: contain;
		
		--nhm-font-size-writing-text: 18px;
		--nhm-font-size-header-blurb: var( --nhm-font-size-writing-text );
		--nhm-font-size-content-feature-title: 22px;
		--nhm-font-size-sidebar-title: var( --nhm-font-size-content-feature-title );
		
		--nhm-margin-writing-figure-blow-out: calc( -1 * var( --nhm-margin-from-left-to-section-content ) );

		--nhm-font-size-step-big-title: 12px;
		
		--nhm-font-size-top-level-title: 28px;

		--nhm-offset-top-to-logo: calc( var( --nhm-margin-from-top-to-logo ) - var( --nhm-height-from-logo-top-to-peak ) );

		--nhm-margin-from-section-title-to-red-line: 0px;
		--nhm-min-width-section-title: 1px;
		
		--nhm-margin-from-left-to-footer-logo: 0px;
		--nhm-offset-from-bottom-to-nav-menu: 30px;
		--nhm-font-size-footer-text: 16px;

		--footer-height-y: 80vw;
		--footer-height-buffered: calc( var( --footer-height-y ) + var( --footer-height-text-lines ) );

		--nhm-dummy-setting: inherit;

	}
}

@media ( max-width: 1400px ) {
	.theme-refresh {
		--nhm-width-mural-featured-title-panel: calc( var( --nhm-width-mural-featured-title-panel-basis ) - 50px );
		--nhm-top-navigation-font-size: 18px;
		--nhm-top-navigation-padding: 16px;	
		--nhm-margin-top-navigation-to-right: calc( var( --nhm-margin-from-left-to-logo ) + 7% );
	}
}
@media ( max-width: 1260px ) {
	.theme-refresh {
		--nhm-width-mural-featured-title-panel: calc( var( --nhm-width-mural-featured-title-panel-basis ) - 100px );
		--nhm-font-size-featured-title-header: calc( var( --nhm-font-size-big-title ) * 1.60 );
		--nhm-top-navigation-font-size: 18px;
		--nhm-top-navigation-padding: 12px;	
		--nhm-margin-top-navigation-to-right: calc( ( var( --nhm-margin-from-left-to-logo ) / 2 ) + 7% );
		--nhm-top-navigation-drop-down-arrow-right: 0px;
	}
}
@media ( max-width: 1220px ) {
	.theme-refresh {
		--nhm-width-mural-featured-title-panel: calc( var( --nhm-width-mural-featured-title-panel-basis ) - 125px );
	}
}
@media ( max-width: 1100px ) {
	.theme-refresh {
		--nhm-width-mural-featured-title-panel: calc( var( --nhm-width-mural-featured-title-panel-basis ) - 150px );
		--nhm-font-size-featured-title-header: calc( var( --nhm-font-size-big-title ) * 1.50 );
		--nhm-top-navigation-font-size: 18px;
		--nhm-top-navigation-padding: 8px;	
		--nhm-margin-top-navigation-to-right: calc( ( var( --nhm-margin-from-left-to-logo ) / 4 ) + 7% );
		--nhm-top-navigation-drop-down-arrow-right: -2px;
	}
}
@media ( max-width: 990px ) {
	.theme-refresh {
		--nhm-width-mural-featured-title-panel: calc( var( --nhm-width-mural-featured-title-panel-basis ) - 200px );
		--nhm-font-size-featured-title-header: calc( var( --nhm-font-size-big-title ) + 4px );
		--nhm-margin-top-navigation-to-right: calc( var( --nhm-margin-from-left-to-logo ) + var(--nhm-red-line-corner-width) );
	}
}
@media ( max-width: 768px ) {
	.theme-refresh {
		--nhm-width-mural-featured-title-panel: 70%;
		
		--nhm-font-size-featured-title-header: var( --nhm-font-size-mobile-title-coordinated );
		--nhm-font-size-featured-subtitle-header: calc( var( --nhm-font-size-featured-title-header ) * 0.7 );
		--nhm-margin-top-navigation-to-right: calc( var( --nhm-margin-from-left-to-logo ) );

		--nhm-margin-from-header-to-content-area: var( --nhm-height-spacer );

	}
}
.theme-refresh {
	--nhm-image-crossover-midpoint: url(../images/mid-point.png);
	--nhm-width-image-midpoint: 441px;
	--nhm-image-crossover-midpoint-scaling: auto;
	/* default image is vertically padded with whitespace; if replacement doesn't do well in the allotted height, consider contain, or cover, or ... */
	
	--nhm-width-image-left-wisp: 11px;
	--nhm-width-image-right-wisp: 11px;
	--nhm-width-left-wisp-spacing: 30px;
	--nhm-width-right-wisp-spacing: 30px;
	--nhm-width-space-midpoint: calc(
		var( --nhm-width-image-midpoint )
		+ var( --nhm-width-image-left-wisp )
		+ var( --nhm-width-left-wisp-spacing )
		+ var( --nhm-width-image-right-wisp )
		+ var( --nhm-width-right-wisp-spacing )
	);
	--nhm-width-image-corner-top-right: 172px;
	--nhm-width-image-line-top: 159px;
	--nhm-height-image-line-top: 90px;
	--nhm-height-line-bottom: 69px;

	--nhm-height-red-line-hr-basis: 152px;
	--nhm-height-red-line-hr: 152px;
	
	--nhm-offset-from-bottom-to-logo-top: max( var( --nhm-height-white-bottom-logo ), var( --footer-height-column-allowance ) );
	
	--nhm-offset-from-bottom-to-point: calc( var( --nhm-offset-from-bottom-to-nav-menu ) +  var( --nhm-offset-from-bottom-to-logo-top ) + 15px );
	
}
@media ( max-width: 990px ) {
	.theme-refresh {
		--nhm-width-image-midpoint: 250px;
		--nhm-image-crossover-midpoint-scaling: contain;

	}
}
@media ( max-width: 768px ) {
	.theme-refresh {
		--nhm-width-image-midpoint: 250px;
		--nhm-image-crossover-midpoint-scaling: contain;
		--nhm-width-image-line-top: 0px;
		--nhm-height-image-line-top: 0px;

	}
}
@media ( max-width: 512px ) {
	.theme-refresh {
		--nhm-width-space-midpoint: 250px;
		--nhm-width-left-wisp-spacing: 30px;
		--nhm-width-right-wisp-spacing: 30px;
		--nhm-width-image-midpoint: 190px;
		--nhm-image-crossover-midpoint-scaling: 190px;
	}
}
@media ( max-width: 990px ) {
}
.theme-refresh {
	--nhm-height-spacer: 40px;
	--nhm-height-spacer-quarter: calc( var( --nhm-height-spacer ) * 0.25 );
	--nhm-height-spacer-half: calc( var( --nhm-height-spacer ) * 0.5 );
	--nhm-height-spacer-and-a-half: calc( var( --nhm-height-spacer ) * 1.5 );
	--nhm-height-spacer-double: calc( var( --nhm-height-spacer ) * 2.0 );
}

/* variable declarations: mobile layouts */
@media (max-width: 768px) {
	.theme-refresh {
		--nhm-padding-red-line-to-inside-edge: 0px;
	}
}

.theme-refresh {
    --nhm-exhibitions-meta-column-width: calc( var(
    --nhm-margin-from-logo-to-title-box ) - var(
    --nhm-width-from-logo-corner-to-nose ) );
    
    --nhm-exhibitions-program-margin: var(--nhm-exhibitions-meta-column-width);
    --nhm-exhibitions-feature-content-padding: var( --nhm-offset-from-title-box-to-title );
	--nhm-content-feature-min-width: 500px;
	--nhm-content-feature-max-width: 1000px;
	--nhm-content-width-entry-content: calc(100% - ( var(--nhm-exhibitions-meta-column-width) * 2 ) );
	--nhm-content-width-entry-content-margin: var( --nhm-exhibitions-meta-column-width );
	--nhm-entry-content-column-content-padding: var( --nhm-exhibitions-feature-content-padding );
}
.theme-refresh .content-feature-with-sidebar {
	--nhm-content-width-entry-content: calc(100% - ( var(--nhm-exhibitions-meta-column-width) ) );
}

@media ( max-width: 1260px ) {
	.theme-refresh {
		--nhm-content-feature-min-width: 450px;
	}
}
@media ( max-width: 1100px ) {
    .theme-refresh {
		--nhm-content-width-entry-content: 100%;
		--nhm-content-width-entry-content-margin: 0px;
		--nhm-entry-content-column-content-padding: 0px;
}	}
}
@media ( max-width: 990px ) {
    .theme-refresh {
        --nhm-exhibitions-meta-column-width: 100%;
        --nhm-exhibitions-program-margin: 0;
		--nhm-content-feature-min-width: 200px;
    }
}
@media ( max-width: 768px ) {
    .theme-refresh {
		--nhm-content-feature-min-width: 100%;
	}
}



.theme-refresh .default-page {
	display: flex;
}
.theme-refresh .default-page > * {
	flex-grow: 1;
}

.theme-refresh .page-header {
  margin-bottom: 30px;
}

.theme-refresh img {
	max-width: 100%;
	object-fit: scale-down;
	height: auto;
}
.theme-refresh .wp-post-image {
	object-fit: cover;
}

.theme-refresh .wp-post-image.wp-post-image-featured-video {
	/* make sure not to clip controls, etc. */
	object-fit: unset !important;
}

.theme-refresh .flexslider img {
	object-fit: inherit;
}
.theme-refresh .flexslider .slides {
        display: flex;
        align-items: flex-end;
}
.theme-refresh .content-feature .flexslider .slides,
.theme-refresh .compact-sidebar .flexslider .slides {
	display: flex;
	align-items: flex-start;
}

.theme-refresh .main-navigation ul a {
	color: var(--nhm-link-text-in-top-nav-color) !important;
}
.theme-refresh .writing-page .read-more,
.theme-refresh .blog-page .read-more {
	color: var(--nhm-red-link-text-color) !important;
}
.theme-refresh .main-navigation ul a:hover {
	color: var( --nhm-palette-yellow ) !important;
}

.theme-refresh .entry-content {
	font-size: var( --nhm-font-size-writing-text );
}
.theme-refresh .compact-meta {
	list-style: none !important;
	padding: 0px !important;
	margin: 10px 0px 40px 0px !important;
	font-size: var( --nhm-font-size-writing-text );
}
.theme-refresh .compact-meta li {
	list-style: none !important;
	padding-bottom: 0px !important;
	font-weight: bold;
}

.theme-refresh .compact-meta.semi {
	margin-bottom: 0px !important;
}
.theme-refresh .compact-meta.semi li {
	padding-bottom: 20px !important;
}
.theme-refresh .compact-meta li.single-date {
	font-style: normal !important;
}

.theme-refresh .entry-meta-and-content .semi.compact-meta {
	margin-top: 0px !important;
	padding-top: 0px !important;
}

.theme-refresh .entry-meta .semi.compact-meta {
	font-size: 16px !important;
}
.theme-refresh .entry-meta .semi.compact-meta .single-date,
.theme-refresh .entry-meta .semi.compact-meta li + li {
	font-size: 14px !important;
}
.theme-refresh .entry-meta .semi.compact-meta li.single-date + li {
	font-size: 16px !important;
}
.theme-refresh .entry-header .semi.compact-meta li.single-date {
	font-size: 14px !important;
}

.theme-refresh h1.title, .theme-refresh h1.title-alt,
.theme-refresh h1, .theme-refresh h2,.theme-refresh .naa-team-profiles h3 {
  font-family: var( --nhm-header-typeface );
  font-style: normal;
  font-size: var( --nhm-font-size-top-level-title );
  font-weight: 700;
  padding-bottom: 40px;
}

.theme-refresh .content-area .entry-title,
.theme-refresh .blog-row .entry-title {
	color: var( --nhm-title-link-text-color );
}

.theme-refresh h1.compact-headline, .theme-refresh h2.compact-headline, .theme-refresh h3.compact-headline {
	padding-bottom: 0px !important;
}
.theme-refresh .compact-headline a {
	color: inherit !important;
}
.theme-refresh.page-child-of-learn-teach-writing article {
	padding-top: var(--nhm-margin-from-header-to-content-area);
}
.theme-refresh article .entry-header .single-title {
	text-align: left;
	text-transform: none;
}

.theme-refresh h1.title.past-event-title, .theme-refresh h1.past-event-title.title-alt,
.theme-refresh h1.past-event-title {
    color: white;
}
.theme-refresh h2 {
	font-size: 32px;
}
.theme-refresh .naa-team-profiles h3 {
	font-size: 28px;
	color: black;
}

.theme-refresh .row {
	margin-right: 0px;
	margin-left: 0px;
}
.theme-refresh .container {
	padding-right: 0px;
	padding-left: 0px;
	margin-left: 0px;
	margin-right: 0px;
}

/* --- */

.theme-refresh .auto-container {
	margin-left: auto !important;
	margin-right: auto !important;
}
.theme-refresh .auto-container-two-thirds {
	margin-left: auto !important;
	margin-right: auto !important;
	width: calc( 100% * 2 / 3 );
}
.theme-refresh .entry-container {
	margin-left: 0 !important;
	margin-right: auto !important;
}

@media (min-width: 769px) {
	.theme-refresh {
		--nhm-max-width-content-container: calc( 100vw - var( --nhm-width-both-margins-to-content ) );
	}
	
	.theme-refresh .auto-container {
		width: var( --nhm-max-width-content-container );
	}
	.theme-refresh .entry-header,
	.theme-refresh .entry-meta-and-content,
	.theme-refresh .entry-container {
		max-width: var( --nhm-max-width-content-container );
	}
	.theme-refresh .mural-image .entry-header {
		max-width: unset;
	}
}
@media (min-width: 992px) {
	.theme-refresh {
		--nhm-max-width-content-container: calc( 100vw - var( --nhm-width-both-margins-to-content ) );
	}
}
@media (min-width: 1920px) {
	.theme-refresh {
		--nhm-max-width-content-container: calc( 1920px - var( --nhm-width-both-margins-to-content ) );
	}
}
.theme-refresh .container-fluid {
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
}

/* --- */

.theme-refresh .blog-page .featured-content {
	padding-left: var(--nhm-padding-from-section-to-logo);
}

.theme-refresh .outside-container {
	position: relative;
}
.theme-refresh .title-bar .container {
	width: auto !important;
	margin-left: 0 !important;
	margin-right: 0% !important;
}

/*---*/

.theme-refresh .site-content section::after {
	display: block;
	content: " ";
	clear: both;
}

.theme-refresh .site-content section {
	margin-left: var( --nhm-margin-from-left-to-line-edge );
	margin-right: var( --nhm-margin-from-line-outside-edge-to-right );
	padding-left: var( --nhm-padding-from-left-line-edge-to-content );
	padding-right: var( --nhm-padding-from-content-to-right-line-outside-edge );
	width: calc( 100% - var(--nhm-width-both-margins-to-content) );
	box-sizing: content-box;
}
.theme-refresh .site-content section.mural-image {
	box-sizing: border-box;
	width: 100% !important;
}

.theme-refresh .site-content section.subsection > .container {
	margin-left: var( --nhm-margin-from-left-to-line-edge );
	padding-left: var( --nhm-padding-from-left-line-edge-to-content );
	margin-right: var( --nhm-margin-from-line-outside-edge-to-right );
	padding-right: var( --nhm-padding-from-content-to-right-line-outside-edge );
	width: calc( 100% - var(--nhm-width-both-margins-to-content) );
	box-sizing: content-box !important;
}
@media ( min-width: 769px ) {
	.theme-refresh .site-content section.subsection.with-sidebar > .container {
		padding-left: var( --nhm-padding-from-left-line-edge-to-content ) !important;
		padding-right: var( --nhm-margin-from-line-outside-edge-to-right ) !important;
		margin-right: 0px !important;
		width: auto !important;
	}
}

.theme-refresh .content-area.container {
	width: auto !important;
}

.theme-refresh .title-bar .container section {
  padding-left: var(--nhm-margin-from-logo-to-title-box);
}

@media ( max-width: 768px ) {
	.theme-refresh .title-bar .container section {
	  padding-left: 0 !important;
	  padding-top: var( --nhm-height-spacer );
	  padding-right: var( --nhm-margin-from-line-outside-edge-to-right ) !important;
	  padding-bottom: var( --nhm-height-spacer-half );
	}
}

/*---*/

.theme-refresh .breadcrumbs-container {
	position: absolute;
	top: var( --nhm-margin-from-title-bar-top-to-section-title );
	left: 0;
}
.theme-refresh .breadcrumbs {
	padding-top: 0px;
	width: calc( var( --nhm-margin-from-logo-to-title-box ) - 25px );
	height: 150px;
	overflow: hidden;
}
.theme-refresh .breadcrumbs-container.mobile-breadcrumbs {
	position: relative;
	top: 0;
	left: 0;
}
.theme-refresh .breadcrumbs-container.mobile-breadcrumbs .breadcrumbs {
	height: auto;
	width: auto;
}

@media (min-width: 769px) {
	.theme-refresh .breadcrumbs > * + *::before {
	  content: "\A"; /* = ASCII 0x0A, Line Feed */
	  white-space: pre;
	  }

	.theme-refresh .breadcrumbs-container {
		position: absolute;
		top: var( --nhm-margin-from-title-bar-top-to-section-title );
		left: var( --nhm-left-offset-to-content );
	}

}

.theme-refresh .breadcrumbs span[property="v:title"],
.theme-refresh .breadcrumbs a.landing-page[property="v:title"] {
  color: var(--nhm-red-link-text-color);
  font-weight: bold;
}
.theme-refresh.single-post.story-from-a-section .breadcrumbs a.taxonomy {
	display: none !important;
}
.theme-refresh.story-from-a-section .breadcrumbs span[property="v:title"] {
	display: none !important;
}

@media (max-width: 768px) {
	.theme-refresh .title-bar {
		background: solid var(--nhm-header-color);
	}
	.theme-refresh .breadcrumbs-container {
		position: static;
		top: auto;
		left: auto;
		background-color: inherit;
	}
	.theme-refresh .breadcrumbs {
		padding-top: 10px;
		padding-left: 0px; /* bear's nose alignment handled by parent container */
		padding-bottom: 10px;
		width: auto;
		height: auto;
		overflow: hidden;
		
		font-size: 16px;
		font-weight: 300;
		font-style: italic;
		color: black;
	}
	.theme-refresh .breadcrumbs a[property="v:title"] {
		display: none !important;
	}
	.theme-refresh .breadcrumbs a[href] {
		display: revert !important;
		color: var( --nhm-palette-dark-grey );
	}
}

.theme-refresh .content-area {
	padding-bottom: 0px !important;
}

.theme-refresh {
	--nhm-footer-image: url(/wp-content/themes/nhm/assets/images/dinosaur_footer_02_2000x971.png);
	--nhm-footer-offset-x: 0px;
	--nhm-footer-sizing: auto var( --footer-height-y );
}
.theme-refresh.has-customized-footer {
	--nhm-footer-offset-x: 0px;
	--nhm-footer-sizing: var( --footer-width-x ) var( --footer-height-y );
}

body.theme-refresh {
	min-height: var( --footer-height-buffered );
	font-family: var( --nhm-text-typeface );
	font-size: 16px;
	font-weight: 400;
	
}
.theme-refresh {
	background-image: none !important;
	padding-bottom: 0;
}
.theme-refresh .body-container {
	position: relative;
	padding-bottom: var( --footer-height-buffered );
}

.theme-refresh {
	position: relative;
}
.theme-refresh::before {
	display: block;
	content: " ";
	min-width: 1px;
	min-height: 1px;
	
	position: absolute;
	bottom: calc( var( --footer-margin-bottom ) + 10px ); top: auto; height: calc( var( --footer-height-y ) +
	282px );
	left: 0; right: 0; width: auto;

	background-color: var( --footer-background-color );
	z-index: -10001;

}

.theme-refresh .body-container::before {
	display: block;
	content: " ";
	min-width: 1px;
	min-height: 1px;

	position: absolute;
	bottom: 0; top: auto; height: calc( var( --footer-margin-bottom ) + 10px );
	left: 0; right: 0; width: auto;
	
	z-index: -10001;
	background-color: #838387;
}
.body-container::after {
	display: block;
	content: " ";
	min-width: 1px;
	min-height: 1px;

	position: absolute;
	bottom: var( --footer-margin-bottom ); top: 0;
	left: 0; right: 0;
	z-index: -10000;

	background-color: transparent;
	background-image: var( --nhm-footer-image );
	background-attachment: local;
	background-origin: border-box;
	background-position-x: center;
	background-position-y: bottom;
	background-repeat: repeat-x;
	background-size: var( --nhm-footer-sizing );
	min-height: var( --footer-height-y );
	padding-bottom: var( --footer-height-y );
}

@media ( max-width: 1260px ) {
	body.theme-refresh {
		background-size: 1260px auto;
	}
}
@media ( max-width: 990px ) {
	body.theme-refresh {
		background-size: 990px auto;
	}
}
@media ( max-width: 768px ) {
	body.theme-refresh {
		background-size: 768px auto;
	}
}
/*@media ( min-width: 2600px ) {
	body.theme-refresh {
		background-size: 2600px auto;
	}
}*/

.theme-refresh section a:link, .theme-refresh section a:visited {
	color: var(--nhm-link-text-color);
	font-weight: bold;
}
.theme-refresh section .entry-title a:link, .theme-refresh section .entry-title a:visited {
	color: inherit;
	font-weight: inherit;
}

/*** FROM = ABOUT PAGE ELEMENTS, ETC. ***/

.theme-refresh .site-content section.redline-body {
	padding-top: var( --nhm-margin-from-header-to-content-area );
	padding-bottom: var( --nhm-margin-from-header-to-content-area );
}

@media ( min-width: 769px ) {
	.theme-refresh .site-content .with-sidebar {
		padding-top: var( --nhm-margin-from-header-to-content-area ) !important;
		padding-right: 0px !important;
		padding-bottom: var( --nhm-margin-from-header-to-content-area ) !important;
		width: auto !important;
		box-sizing: content-box;
	}
}
@media ( max-width: 768px ) {
	.theme-refresh .site-content .with-sidebar {
		padding-top: var( --nhm-margin-from-header-to-content-area ) !important;
		padding-bottom: var( --nhm-margin-from-header-to-content-area ) !important;
		padding-left: var( --nhm-padding-from-left-line-edge-to-content );
		padding-right: var( --nhm-padding-from-content-to-right-line-outside-edge );
		width: unset !important;
	}
}

.theme-refresh .with-sidebar > .container {
	width: auto !important;
}

.theme-refresh .redline-body .subsection {
	padding-top: var( --nhm-margin-from-header-to-content-area );
	padding-bottom: var( --nhm-margin-from-header-to-content-area );
	text-align: center;
}
.theme-refresh .alternate-row {
	background-color: var(--nhm-header-color);
	--nhm-background-color: var(--nhm-header-color);
}
.theme-refresh .alternate-row.beige-block-darker {
	--nhm-background-color: var(--nhm-palette-beige-darker);
}
.theme-refresh .subsection.alternate-row {
	position: relative;
	margin-left: 0px;
	margin-right: 0px;
	padding-left: 0px;
	padding-right: 0px;
	padding-bottom: 0px !important;
	width: 100%;
	height: auto;
	background-image: none;
	background-position-x: left;
	background-position-y: top;
	background-size: cover;
}

.theme-refresh .site-content .subsection .auto-container {
	width: calc( 100% - var( --nhm-width-both-margins-to-content ) );
}
@media (min-width: 769px) {
	.theme-refresh .site-content .subsection .auto-container {
		width: calc( 500px - var( --nhm-width-both-margins-to-content ) );
	}
}
@media (min-width: 992px) {
	.theme-refresh .site-content .subsection .auto-container {
		width: calc( 700px - var( --nhm-width-both-margins-to-content ) );
	}
}
@media (min-width: 1200px) {
	.theme-refresh .site-content .subsection .auto-container {
		width: calc( 900px - var( --nhm-width-both-margins-to-content ) );
	} 
}

.theme-refresh .site-content .alternate-row .auto-container {
	padding-bottom: 40px;
}

.theme-refresh .site-content .alternate-row hr {
	content: " ";
	position: relative;
	display: block;
	background-color: var( --nhm-background-color-root );
	height: var( --nhm-height-spacer );
}

.theme-refresh .accordion-open::before {
	content: "";
	display: block;
	text-decoration: none !important;
}
.theme-refresh .accordion-open::after {
	content: "\0025BC";
	display: block;
	text-decoration: none !important;
	font-size: 12px;
	line-height: 12px;
	margin-top: 0px;
}
.theme-refresh .accordion-close::before {
	content: "\0025B2";
	display: block;
	text-decoration: none !important;
	font-size: 12px;
	line-height: 12px;
	margin-bottom: -3px;
}
.theme-refresh .accordion-close::after {
	content: "";
	display: block;
	text-decoration: none !important;
}

/* ENDNOTES / FOOTNOTES FOR WORDPRESS PLUGIN */

.theme-refresh sup.for-endnote a {
	display: none;
}
.theme-refresh sup.for-endnote a.footnoted {
	display: inline-block;
}
.theme-refresh sup.for-endnote {
	font-weight: bold;
	font-size: 0.75em;
}

.theme-refresh .float-a-note .footnote,
.theme-refresh .float-a-note .note {
	font-size: var( --nhm-font-size-writing-text );
}

.theme-refresh ol.footnotes::before {
	display: block;
	padding-top: 20px;
	content: "Endnotes";
	font-weight: bold;
}
.theme-refresh ol.footnotes {
	padding: 0px;
}
.theme-refresh ol.footnotes li {
	background-color: transparent;
	background-image: none;
	border: none;
	margin-left: 0px; margin-right: 0px;
	padding-left: 0px; padding-right: 0px;
}
.theme-refresh ol.footnotes li sup {
	padding-right: 0.25em;
}
.theme-refresh .float-a-note .footnote sup {
	padding-right: 0.5em;
}
.theme-refresh ol.footnotes li .note-return {
	margin-left: 0.5em;
}
.theme-refresh ol.footnotes li .note-return img {
	display: none !important;
}
.theme-refresh ol.footnotes li .note-return::after {
	content: "\21A9";
}
.theme-refresh .float-a-note {
	background-color: var(--nhm-palette-dark-grey);
	border-radius: 0px;
	color: white;
}
.theme-refresh .float-a-note .footnote, .theme-refresh .float-a-note .note {
	background-color: inherit;
	color: inherit;
}
.theme-refresh .float-a-note .note-label {
	color: inherit;
	background-color: inherit;
}
.theme-refresh .float-a-note .note-label a {
	color: inherit;
	background-color: inherit;
	font-weight: bold;
}
.theme-refresh .footnote-magic-tip {
	visibility: hidden !important;
}
.theme-refresh .float-a-note .footnote {
	padding-top: 15px !important;
}
.theme-refresh .float-a-note .note-label.note-title {
	display: none !important;
}

.naa-supporters-list.in-columns > .row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.naa-supporters-list.in-columns .row > .column {
	list-style: none !important;
	margin-left: 0px;
	padding-left: 0px;
}
.naa-supporters-list.in-columns .row > .column li {
	display: block;
	margin-left: 0px;
	padding-left: 0px;
}

.naa-supporters-list.with-2-columns .row > .column {
	width: calc( 100% / 2 );
	min-width: 300px;
}

.naa-supporters-list.with-3-columns .row > .column {
	width: calc( 100% / 3 );
	min-width: 200px;
}

.theme-refresh .entry-content blockquote {
  padding: 10px 20px;
  margin: 0 0 20px;
  font-size: 17.5px;
  border-left: 5px solid #eee;
}

.theme-refresh figure {
	margin-left: 0px;
	margin-right: 0px;
}
.theme-refresh figure figcaption {
	font-size: calc( var( --nhm-font-size-writing-text ) - 4px );
.	font-style: italic;
	padding-top: 15px;
	padding-left: 15px;
}

.theme-refresh figure.wp-caption {
	max-width: 100%;
}
.theme-refresh .content-feature figure.wp-caption {
	width: 100% !important;
}
.theme-refresh .content-feature figure.wp-caption img {
	width: 100%;
	object-fit: contain;
}

.theme-refresh .content-feature .single-featured-image figure figcaption {
	text-align: right;
}

.theme-refresh .entry-content .with-dinkus figure {
	position: relative;
	margin-left: var(--nhm-margin-writing-figure-blow-out);
	margin-right: var(--nhm-margin-writing-figure-blow-out);
	width: calc( 100% - ( 2 * var(--nhm-margin-writing-figure-blow-out) ) ) !important;
	max-width: calc( 100% - ( 2 * var(--nhm-margin-writing-figure-blow-out) ) ) !important;
}
.theme-refresh .entry-content .with-dinkus figure img {
	position: relative;
	width: 100% !important; /* 100% of blown-out containing figure */
	max-width: 100% !important; /* 100% of blown-out containing figure */
}

/* front page */

  .theme-refresh .events-box article .event-details {
		padding: 10px;
		margin: auto 0;
	}

  .theme-refresh .events-box article .event-dateline {
		margin: 30px 0;
	}

	.theme-refresh .event-dateline {
		width: var( --nhm-width-event-date-box );
		min-width: var( --nhm-width-event-date-box ) !important;
		text-transform: uppercase;
		font-family: var( --nhm-header-typeface );
		font-size: var( --nhm-font-size-event-date-box );
		font-style: normal;
		font-weight: bold;
		
		display: flex;
		overflow: hidden;
	}
	.theme-refresh .event-dateline .inner {
		margin: 0px auto auto 0px;
		text-align: left;
		align-items: flex-start;
	}
	.theme-refresh .event-page-article .event-dateline .inner {
		margin: auto;
		text-align: center;
		align-items: center;
	}
	.theme-refresh .event-page-article .event-dateline {
		color: #ede6dd;
		background-color: #1c4c29;
		height: 75px;
		min-height: 75px;
		text-align: center;
	}
	.theme-refresh .event-page-article.past-event {
		background-color: #6598b2;
	}

.theme-refresh .nhm-writing-filter {
	flex-grow: 1;
	font-size: 16px;
}
.theme-refresh .nhm-writing-filter-spacer {
	padding-right: 10px;
	font-size: 20px;
	font-family: var( --nhm-header-typeface );
	color: var( --nhm-palette-reddish-brown );
}

.theme-refresh .story-sort-controls {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

	.theme-refresh .story-sort-controls > * {
		margin-right: var( --nhm-height-spacer-quarter );
		magin-bottom: var( --nhm-height-spacer-quarter );
	}

/* we use support for translate: none as a screen for versions of Safari
 * that support gap properties in grid but not in flexbox */
@supports ( column-gap: 10px ) and ( translate: none ) {
	.theme-refresh .story-sort-controls {
		row-gap: var( --nhm-height-spacer-quarter );
		column-gap: var( --nhm-height-spacer-quarter );
	}

	.theme-refresh .story-sort-controls > * {
		margin-right: 0px;
		magin-bottom: 0px;
	}
}

.theme-refresh .story-sort-controls > label {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	flex-grow: 1;
	white-space: nowrap;
}

.theme-refresh .content-feature-with-sidebar .sidebar-1 .compact-meta,
.theme-refresh .content-feature-with-sidebar .sidebar-1 .extra-compact-meta,
.theme-refresh .content-feature-with-sidebar .sidebar-1 .single-date,
.theme-refresh .content-feature-with-sidebar .sidebar-1 .widget {
	--nhm-font-size-meta-text: 16px;
	
	font-family: var( --nhm-meta-text-typeface ) !important;
	font-size: var( --nhm-font-size-meta-text ) !important;
}

.theme-refresh .content-feature-with-sidebar .sidebar-1 .compact-meta li,
.theme-refresh .content-feature-with-sidebar .sidebar-1 .extra-compact-meta li,
.theme-refresh .content-feature-with-sidebar .sidebar-1 .single-date,
.theme-refresh .content-feature-with-sidebar .sidebar-1 .widget li {
	font-family: var( --nhm-meta-text-typeface );
}
.theme-refresh .content-feature-with-sidebar .sidebar-1 .widget.browse-by li {
	display: grid;
	column-gap: 10px;
	grid-template-columns: auto 3.0em;
}
.theme-refresh .content-feature-with-sidebar .sidebar-1 .widget.browse-by li a:hover,
.theme-refresh .content-feature-with-sidebar .sidebar-1 .widget.browse-by li a:focus,
.theme-refresh .content-feature-with-sidebar .sidebar-1 .widget.browse-by li a:active {
	color: var( --nhm-palette-yellow ) !important;
}
.theme-refresh .content-feature-with-sidebar .sidebar-1 .widget.browse-by li .cat_count {
	font-family: var( --nhm-meta-text-typeface );
	text-align: right;
}

.theme-refresh .content-feature-with-sidebar .sidebar-1 .widget ul {
	margin-top: var( --nhm-height-spacer-half );
}
.theme-refresh .content-feature-with-sidebar .sidebar-1 .widget li a {
	font-size: inherit !important;
	color: inherit !important;
}
.theme-refresh .content-feature-with-sidebar .sidebar-1 .compact-meta.extra li + li,
.theme-refresh .content-feature-with-sidebar .sidebar-1 .extra-compact-meta li + li {
	font-size: calc( var( --nhm-font-size-meta-text ) - 2px ) !important;
}

.theme-refresh .entry-meta,
.theme-refresh .entry-meta .single-date {
	font-family: var( --nhm-meta-text-typeface ) !important;
	font-weight: bold !important;
}
.theme-refresh .entry-meta .single-date p {
	font-weight: inherit !important;
}
.theme-refresh .entry-meta .entry-blurb {
	font-weight: normal !important;
}
.theme-refresh .content-feature article .entry-meta .entry-blurb p {
	font-weight: normal !important;
}

/************************************** MURAL LAYOUTS *************************/
 /* Certain features in common, wherever it's placed. */

.theme-refresh .mural-image,
.theme-refresh .mural-container {
	margin-left: 0px !important; margin-right: 0px !important;
	padding-left: 0px; padding-right: 0x;
}

.theme-refresh .mural-image {
	background-color: #eee;
	background-size: cover;
	background-position-x: left;
	background-position-y: top;
	overflow: hidden;
	width: auto;
	box-sizing: border-box;
}

.theme-refresh .title-bar.mural-container {
	padding-top: 56px;
}
@media ( min-width: 769px ) {
	.theme-refresh .title-bar.mural-container {
		padding-top: 0px;
	}
}
.theme-refresh .title-bar .mural-image {
	background-color: transparent;
}
.theme-refresh .mural-image .mural-source {
	display: none !important;
}

/* Placement - the one that we put up in the title bar. */
.theme-refresh .header-container .title-bar .mural-image {
	position: relative; /* must take up space; must be a positioning context */
	height: var( --nhm-height-header-mural-image ) !important;
	width: 100% !important;
	background-position-x: center;
	background-position-y: center;
	background-size: var( --nhm-sizing-header-mural-image );
}

/* Placement - the ones that we put down in the site content. */	
.theme-refresh .site-content .mural-image { /* Content area murals */
	position: relative;
}
.theme-refresh .site-content .mural-image.placeholder-image {
	height: 50vw;
	background-image: url(//thenaturalhistorymuseum.org/wp-content/uploads/2014/08/nhmbus.png);
}
.theme-refresh .site-content .mural-image.story-banner {
	height: 450px;
}
.theme-refresh .site-content .mural-image img {
	display: none;
}
.theme-refresh .site-content .mural-image.image-content img {
	display: inline-block;
}

.theme-refresh .site-content .mural-image .entry-header {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(20, 20, 20, 0.75);
	z-index: 999;
}
.theme-refresh .site-content .mural-image .entry-header > .red-line-right,
.theme-refresh .site-content .mural-image .entry-header > .red-line-left {
	/* occupy the entire .entry-header parent element */
	position: absolute;
	top: 0; bottom: 0;
	left: 0; right: 0;
	padding: 0px;

	/* center .container child element vertically */
	display: flex;
	flex-wrap: nowrap;
	flex-direction: column;
	justify-content: center;
	
	/* really everything should be in a .container child element; but *
	 * in case we have any strays, center those vertically too....... */
	text-align: center;
}
@media ( min-width: 769px ) {
	.theme-refresh .site-content .mural-image .entry-header > .red-line-right,
	.theme-refresh .site-content .mural-image .entry-header > .red-line-left {
		background-image: url(../images/redline_vertical.png);
		background-repeat: repeat-y;
		background-position-x: right;
		background-position-y: top;
		margin-left: var( --nhm-margin-from-left-to-line-edge );
		margin-right: var( --nhm-margin-from-line-outside-edge-to-right );
	}
	.theme-refresh .site-content .mural-image .entry-header > .red-line-right {
		background-position-x: right;
	}
	.theme-refresh .site-content .mural-image .entry-header > .red-line-left {
		background-position-x: left;
	}
}

.theme-refresh .site-content .mural-image .red-line-right > .container,
 .theme-refresh .site-content .mural-image .red-line-left > .container {
	max-width: 700px;
	margin-left: auto !important; /* overrides .theme-refresh .container */
	margin-right: auto !important; /* overrides .theme-refresh .container */
}

.theme-refresh .site-content .mural-image .entry-header h2.single-title {
	color: white;
	display: block;
	text-align: inherit;
	font-weight: bold;
	margin-bottom: 0px;
}
.theme-refresh .site-content .mural-image .entry-header .single-title+p {
	margin-top: 30px;
}
.theme-refresh .site-content .mural-image .entry-header p {
	color: white;
	font-size: 22px;
}
.theme-refresh .site-content .mural-image .entry-header p+.reveal-more-container {
	margin-top: 60px;
}
.theme-refresh .site-content .mural-image .entry-header .reveal-more-text {
	display: inline-block;
	text-align: inherit;
	background-color: white;
	color: black;
	font-weight: bold;
	font-size: 22px;
	padding: 4px 30px;
	line-height: 100%;
	text-transform: uppercase;
}
.theme-refresh .mural-details .entry-title {
	font-weight: bold;
	font-size: 22px;
}
.theme-refresh .mural-details .entry-header {
	margin-bottom: 40px;
}
.theme-refresh .mural-details .entry-content p {
	line-height: 1.33em;
}
.theme-refresh .mural-details .entry-header p:last-child {
	margin-bottom: 0px;
}
.theme-refresh .mural-details footer h4 {
	font-weight: bold;
	text-transform: uppercase;
}
.theme-refresh .mural-details .accordion-button-container {
	text-align: center;
	text-transform: uppercase;
}

/********* MODAL POPUPS *******************************************************/

/* override styles applied by Stockholm & directly by JS */
body div.pp_overlay {
	/* Let's make this darker, get alpha only on background-color. */
	background-color: rgba(41, 41, 41, 0.98) !important;
	opacity: 1.0 !important;
	z-index: var( --nhm-modal-overlay-z );
	height: 100vh !important;
	width: 100vw !important;
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;

}

/* --- */
div.pp_pic_holder {
  display: none;
  position: absolute;
  width: 100px;
  z-index: var( --nhm-modal-z );
}
/* --- */

.pp_pic_holder {
	width: 100% !important;
	height: 100% !important; /* auto */
	left: 0px !important;
	right: 0px !important;
	top: 0px !important; /**/
	padding-top: 48px;
	position: fixed !important; /**/
	overflow-y: scroll; /**/
}
.pp_content {
	position: relative;
	width: 100% !important;
	height: auto !important;
	margin-left: 0px !important;
	margin-right: 0px !important;
	margin-top: 40px !important;
	margin-bottom: 60px !important;
}
@media ( min-width: 991px ) {
	.pp_content {
		margin-top: 60px !important;
	}
}
.pp_details {
	visibility: hidden !important;
}

.pp_pic_holder article {
	width: 50%;
	min-width: 300px;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}
.pp_pic_holder .content-feature article {
	max-width: 1200px;
}
.pp_pic_holder .content-feature article .single-title {
	display: none;
}
.pp_pic_holder .content-feature article .entry-meta {
	text-align: center
}
.pp_pic_holder .content-feature article .entry-meta {
	display: none;
}
.pp_pic_holder .content-feature article .entry-content {
	flex-grow: 1;
}

@media ( max-width: 990px ) {
	.pp_pic_holder article {
		width: 75%;
	}
}
@media ( max-width: 768px ) {
	.pp_pic_holder article {
		width: 90%;
	}
}

.naa-modal-popup, .naa-modal-popup h2, .naa-modal-popup h2 a,
.naa-modal-popup h3, .naa-modal-popup h3 a {
	color: white;
	line-height: 200%;
}
.naa-modal-popup h2, .naa-modal-popup h3 {
	letter-spacing: inherit;
}
.naa-modal-popup h3 {
	font-size: inherit;
	text-transform: uppercase;
}

.naa-modal-popup hgroup h3 {
	text-transform: inherit;
}


.naa-modal-popup hgroup h3.context {
	color: #c79048;
	font-size: 15px;
	font-style: italic;
}

.naa-modal-popup .naa-modal-project-description {
	font-size: 16px;
	padding-bottom: 24px;
}
.naa-modal-popup .naa-modal-project-description-text {
	/* max-size */
}

.naa-modal-popup .naa-modal-project-description hgroup h2 {
	font-size: 20px;
	line-height: 120%;
}
.naa-modal-popup .naa-modal-project-description .subtitle {
	font-size: 14px;
	font-weight: normal;
	font-style: italic;
	font-family: var( --nhm-header-typeface );
}
.naa-modal-popup .naa-modal-project-description hgroup {
	margin-bottom: 28px;
}

.naa-modal-controls {
	position: relative;
	text-align: right;
	padding-bottom: 20px;
	pointer-events: auto;
}
.naa-modal-popup-event .naa-modal-controls {
	text-align: left;
	padding-left: 40px;
}

.naa-modal-close {
	position: fixed;
	top: 5vh; right: 5vw;
	z-index: 99999;
	pointer-events: auto;
}
@media ( min-width: 991px ) {
	/* more horizontal orientation can leave more vertical space unused */
	.naa-modal-close {
		top: 10vh; right: 10vw;
	}
}

.naa-modal-popup nav ul.prevnext {
	list-style: none;
	margin: 0; padding: 0;
}
.naa-modal-popup nav ul.prevnext li {
	display: inline-block;
	margin: 0; padding: 0;
}
.naa-modal-popup nav .prev, .naa-modal-popup nav .next {
	width: 33.33333333%;
}
.naa-modal-popup nav .prev a, .naa-modal-popup nav .next a {
	display: inline-block;
	margin-left: 0px;
	margin-right: 0px;
	font-size: 10px;
	text-align: center;
	width: 100%;
	border: 2px solid #c79048;
	color: #c79048;
	background: transparent;
	padding-top: 10px;
	padding-bottom: 12px;
	line-height: 8px;
	text-transform: uppercase;
}
.naa-modal-popup nav .prev {
	float: left;
}
.naa-modal-popup nav .next {
	float: right;
}

.naa-modal-popup .flex-control-nav { margin: 0; padding: 0; list-style: none; }
.naa-modal-popup .flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center;}
.naa-modal-popup .flex-control-nav li {margin: 0 6px;  zoom: 1; display: inline-block;}

.naa-modal-popup .flex-direction-nav a { background: transparent; font-size: 44px; }
	
.naa-modal-popup .flex-control-paging li a {width: 11px; height: 11px; display: block; background: rgba(256, 256, 256, 0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(0,0,0,0.3);}
.naa-modal-popup .flex-control-paging li a:hover { background: #333; background: rgba(256, 256, 256, 0.7); }
.naa-modal-popup .flex-control-paging li a.flex-active { background: #000; background: rgba(256, 256, 256, 0.9); cursor: default; }

.naa-modal-popup .flex-direction-nav {margin: 0; padding: 0; list-style: none;} 
/* Direction Nav */
.naa-modal-popup .flex-direction-nav a {
	display: block;
	position: absolute; top: 50%;
	cursor: pointer;
	opacity: 0;
	
	/* fade in sliding */
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	transition: all .3s ease;
}
.naa-modal-popup .flex-direction-nav .flex-next {background-position: 100% 0; right: -36px; }
.naa-modal-popup .flex-direction-nav .flex-prev {left: -36px;}
.naa-modal-popup .flexslider:hover .flex-next {opacity: 0.8; right: 5px;}
.naa-modal-popup .flexslider:hover .flex-prev {opacity: 0.8; left: 5px;}
.naa-modal-popup .flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {opacity: 1;}
.naa-modal-popup .flex-direction-nav .disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}

/******************************************* ENTRY CONTENT ********************/


.entry-content .entry-content-text strong,
.entry-content .entry-content-text b {
	font-family: var( --nhm-text-bolder-typeface ) !important;
	font-weight: bold;
}

.entry-content .entry-content-text ul,
.entry-content .entry-content-text ol,
.entry-content .entry-content-text .easingslider {
	margin-top: var( --nhm-height-spacer );
	margin-bottom: var( --nhm-height-spacer );
}

.entry-content .entry-content-text * + h1,
.entry-content .entry-content-text * + h2,
.entry-content .entry-content-text * + h3,
.entry-content .entry-content-text * + h4,
.entry-content .entry-content-text * + h5,
.entry-content .entry-content-text * + h6 {
	margin-top: var( --nhm-height-spacer-half );
}

.entry-content .entry-content-text h1,
.entry-content .entry-content-text h2,
.entry-content .entry-content-text h3,
.entry-content .entry-content-text h4,
.entry-content .entry-content-text h5
.entry-content .entry-content-text h6 {
	font-family: var( --nhm-text-bolder-typeface );
	font-weight: bold;
	color: var( --nhm-palette-green );
	font-size: calc( var( --nhm-font-size-mobile-title-coordinated ) - 2px );
	margin-bottom: 1.0em;
}

.entry-content-text .easingslider {
	margin-left: auto;
	margin-right: auto;
}

@media ( min-width: 769px ) {
	.entry-content .entry-content-text h1,
	.entry-content .entry-content-text h2,
	.entry-content .entry-content-text h3,
	.entry-content .entry-content-text h4,
	.entry-content .entry-content-text h5
	.entry-content .entry-content-text h6 {
		font-size: 24px;
	}
}

.entry-content .entry-content-text blockquote {
	font-style: italic;
}

.entry-content .entry-content-text h1 strong,
.entry-content .entry-content-text h2 strong,
.entry-content .entry-content-text h3 strong,
.entry-content .entry-content-text h4 strong,
.entry-content .entry-content-text h5 strong
.entry-content .entry-content-text h6 strong {
	font-family: inherit !important;
}

/* wpautop is trash and often leaves blank <p>...</p> tags hanging out */
.entry-content-text > :last-child:empty {
	display: none;
}


/************************** FOOTERS *******************************************/

.site-footer a { color: inherit !important; }
.site-footer .sub-menu {
    padding: 5px 0 5px 10px;
    display: none;
}

.theme-refresh footer.site-footer {
	position: absolute;
	color: var( --nhm-footer-text-color );
	padding: 0;
	background-color: transparent;
	background-image: none !important;
	min-height: var( --footer-height-buffered );
	font-family: var( --nhm-header-typeface ); 
	font-size: var( --nhm-font-size-footer-text );
	width: 100%;
}
.theme-refresh .site-footer > .container {
	position: relative;
	margin-left: var(--nhm-red-line-margin-x);
	margin-right: var(--nhm-red-line-margin-x);
	top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; width: auto !important; height: auto !important;
	background-origin: border-box;
	background-position-x: left;
	background-position-y: top;
	background-repeat: repeat-y;
	background-color: transparent;
	background-image: none; /*url(../images/redline_vertical.png);*/
}
.theme-refresh .site-footer .container {
	position: absolute;
	top: auto; bottom: var( --nhm-offset-from-bottom-to-nav-menu ); height: auto;
	left: var( --nhm-margin-from-left-to-footer-logo );	right: 0; width: auto;
	color: white;
}


.theme-refresh .site-footer .row {
	margin-right: 0px;
	margin-left: 0px;
	display: flex;
	flex-wrap: wrap;
	min-height: var( --footer-height-column-allowance )
}

.site-footer .footer-column {
	width: calc( 100% / 3 );
}
.theme-refresh .site-footer .footer-column.with-expanders {
	width: 31%;
	min-height: var( --footer-height-column-allowance );
}
.theme-refresh .site-footer .row .footer-column.footer-contact-us {
	width: 31%;
	flex-grow: 2;
	margin-bottom: 1.0em;
}
.theme-refresh .site-footer .row .footer-column.footer-contact-us p {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	padding: 0;
}
.theme-refresh .site-footer .footer-socials {
	width: 38%;
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: flex-end;
	margin-bottom: 1.0em;
}
.theme-refresh .site-footer .footer-socials > * {
	margin-top: 1.0em;
	margin-left: var( --nhm-width-from-logo-corner-to-nose );
}

.theme-refresh .site-footer .row .footer-column.footer-logo {
	width: 38%;
}
.theme-refresh .site-footer .row .footer-column.footer-logo img {
	width: var( --nhm-width-logo );
	height: auto;
	object-fit: scale-down;
}
.theme-refresh .site-footer .row .footer-column.footer-logo > * {
	display: block;
}
.site-footer li.menu-item {
	margin-bottom: 0.5em;
}
.site-footer li.menu-item:last-child {
	margin-bottom: 0px;
}

@media ( min-width: 769px ) {
	.theme-refresh .site-footer > .container {
		margin-right: var(--nhm-margin-from-section-content-to-right);
	}
	
	/* switch to 4-column (logo + 3 nav) format */
	.theme-refresh .site-footer .row .footer-column.footer-logo {
		width: 25%;
		margin-right: 0px;
	}
	.theme-refresh .site-footer .row .footer-column.footer-contact-us {
		width: 25%;
		min-width: 25%;
		flex-grow: unset;
	}
	.theme-refresh .site-footer .row .footer-column {
		width: 25%;
		max-width: 375px;
	}
	.theme-refresh .site-footer .footer-socials {
		display: none;
	}
	.theme-refresh .site-footer .row .footer-column.footer-logo img {
		width: var( --nhm-height-white-bottom-logo );
		height: var( --nhm-height-white-bottom-logo );
		object-fit: contain;
	}

}

/************************** SUBSCRIBE DIALOGUE BOXES **************************/
.theme-refresh #subscribe-form-ajax-overlay {
	z-index: var( --nhm-modal-overlay-z ) !important
}
.theme-refresh #subscribe-form-ajax-result {
	z-index: var( --nhm-modal-z ) !important
}

@media (max-width: 990px) {

	.theme-refresh #subscribe-form-ajax-result {
		width: 80% !important;
		left: 10% !important;
		top: 10% !important;
	}

}

.fb-share-button > span {
	vertical-align: top !important;
}

img.alignleft, iframe.alignleft, figure.alignleft {
	padding-right: 40px; padding-bottom: 40px; padding-top: 40px;
}
img.alignright, iframe.alignright, figure.alignright {
	padding-left: 40px; padding-bottom: 40px; padding-top: 40px;
}

img.alignleft:first-child, iframe.alignleft:first-child, figure.alignleft:first-child,
img.alignright:first-child, iframe.alignright:first-child, figure.alignright:first-child {
	padding-top: 0px;
}

.theme-refresh .content-feature h2.single-title {
	font-size: var( --nhm-font-size-content-feature-title );
}

@media ( min-width: 769px ) {
	
	.theme-refresh .cornered.closing {
		padding-bottom: var( --nhm-height-spacer );
	}
	
}


/********************** EXHIBITIONS/EXPEDITIONS & FEATURED-SIDEBAR LAYOUTS ****/

.theme-refresh .expedition-blurb {
  font-size: var( --nhm-font-size-writing-text );
}

.theme-refresh .content-feature header h2 {
    text-align: left;
    text-transform: none;
    padding-bottom: 40px;
}

.theme-refresh .content-feature .entry-meta {
    display: block;
    padding-top: 0px;
    padding-bottom: 20px;
    padding-left: 0px;
    padding-right: 0px;
}

@media ( min-width: 769px ) {
	.theme-refresh .content-feature .entry-meta-and-content {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
	}
	.theme-refresh .content-feature .entry-meta {
		flex-grow: 1;
		width: var(--nhm-exhibitions-meta-column-width);
	}
	.theme-refresh .content-feature .entry-meta > * {
		margin-right: var( --nhm-padding-from-left-line-edge-to-content ) !important;
	}
	.theme-refresh .content-feature .entry-content {
		width: var( --nhm-content-width-entry-content );
		min-width: var(--nhm-content-feature-min-width);
		padding: 0px var(--nhm-exhibitions-feature-content-padding);
		flex-grow: 1;
	}

	.theme-refresh.page-child-of-learn-teach-writing article .entry-content {
		width: var( --nhm-content-width-entry-content );
		margin-right: var( --nhm-content-width-entry-content-margin );
		padding: 0px var(--nhm-entry-content-column-content-padding);
	}
}

.theme-refresh .content-feature article .entry-meta p {
    padding-bottom: 20px; margin-bottom: 0px;
    font-style: normal;
    font-weight: bold;
}

.theme-refresh .program-list {
    margin-left: 0px; /*var(--nhm-exhibitions-program-margin);*/
    padding: 0px; /*0px var(--nhm-exhibitions-feature-content-padding);*/
    margin-top: 40px;
}

.theme-refresh .program-list h2 {
    text-align: left;
    font-size: var( --nhm-font-size-medium-title );
    color: black;
}
.theme-refresh .program-list .programs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
.theme-refresh .program-list .programs article {
    display: block;
    min-width: 150px;
    width: calc(50% - 20px);
}
.theme-refresh .program-list .programs article .thumbnail {
    border: none;
    padding: 0px;
}

.theme-refresh .program-list .programs article a {
    color: #E7666B;
}
.theme-refresh .program-list .programs article h3 {
	font-family: var( --nhm-header-typeface );
    font-size: 18px;
}
.theme-refresh .program-list .programs article h3 a {
    color: inherit;
}
.theme-refresh .program-list > .single-title {
	font-weight: 400;
	line-height: 1.0em;
}
.theme-refresh .program-content {
	font-size: 16px;
	line-height: 1.2em;
}
.theme-refresh .entry-content .program-content p {
	font-size: inherit;
	line-height: inherit;
}
.theme-refresh .program-content .single-date {
	font-style: normal;
	font-family: var( --nhm-meta-text-typeface );
	font-size: 14px;
}
.theme-refresh .flex-direction-nav a {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10.5px 8px 10.5px 0;
  border-color: transparent #e1bc46 transparent transparent;
  text-decoration: none;
  display: block;
  position: absolute;
  bottom: -20px;
  z-index: 10;
  overflow: hidden;
  cursor: pointer; }

.theme-refresh .flex-direction-nav a:hover {
    border-color: transparent #1c4c29 transparent transparent; }

.theme-refresh .flex-direction-nav .flex-prev {
  /*left: 0px;*/
	right: 42px;
	left: auto;
}

.theme-refresh .flex-direction-nav .flex-next {
  right: 0px;
  left: auto;
  /*left: 42px;*/
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
}

.theme-refresh .slider-counter {
  position: absolute;
	left: auto;
  right: 15px;
  bottom: -18px;
  font-style: italic;
  font-size: 16px;
  font-weight: 100;
  font-weight: 400; }

.theme-refresh .slider-caption {
	display: none;
  position: absolute;
	left: auto;
  right: 65px;
  bottom: -19px;
  font-size: 16px;
  font-weight: 100;
}
.theme-refresh li.flex-active-slide + .slider-counter + .slider-caption {
	display: block;
	
}

.theme-refresh .content-feature-single-column .sidebar-1 article .padding-medium {
	padding-bottom: 0px;
}
.theme-refresh .content-feature-single-column .sidebar-1 article .sidebar-title,
.theme-refresh .content-2-column article .push-in-title {
	font-size: 40px;
	position: relative;
	margin-top: -70px;
	margin-left: -1px;
	z-index: 300;
	width: 48%;
	background: white;
	text-transform: none;
	text-align: left;
	min-height: 84px;
}
.theme-refresh .content-feature-single-column .content-2-column article .push-in-title {
  width: 60%;
}
.theme-refresh .nhm-tv-title .push-in-title {
	padding-top: 10px;
	width: 60% !important;
	font-size: 32px !important;
}
.theme-refresh a .nhm-tv-title .push-in-title {
  color: black;
}
 
.theme-refresh .content-feature-single-column .sidebar-1 article .sidebar-title a {
	font-size: inherit;
}
.theme-refresh .content-feature-single-column .content-3-column article .entry-title {
  text-transform: none;
  text-align: left;
font-size: calc( var(--nhm-news-blog-title-size) - 4px );
  margin-top: 20px;
}


/*************************** TRY TO DEAL WITH DISRUPTIVE ELEMENTS *************/

.theme-refresh .content-feature .entry-content {
	position: relative; /* establish a context */
	overflow: hidden;
}
.theme-refresh .content-feature article .single-featured-image iframe,
.theme-refresh .content-feature article .entry-content iframe {
	width: 100% !important;
}

/*.easingslider {  }
.easingslider-wrapper-outer {  }
.easingslider-wrapper { display: flex !important; }
.easingslider-item {  }
.easingslider-item.active { }
.easingslider-slide { width: 100% !important; background-color: transparent !important; }
.easingslider-image { object-fit: cover !important; width: 100% !important; }*/

.theme-refresh .single-socials {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	padding-bottom: var( --nhm-height-spacer-half );
}
.theme-refresh .single-socials > * + * {
	margin-left: 12px;
}
@media ( min-width: 769px ) {
	.theme-refresh .single-socials {
		padding-bottom: 40px;
	}
}
