.theme-refresh .redline-stretch {
	position: absolute;
	top: 59px; right: 88px; left: auto;
	padding-right: 170px;
	background-clip: content-box;
	background-image: url(../images/redline_horizontal.png);
	background-repeat: repeat-x;
	overflow: visible;
	height: 87px;
	width: auto;
}
.theme-refresh .redline-stretch::before {
}
.theme-refresh .redline-corner {
	position: absolute;
	height: 87px;
	width: var( --nhm-width-image-corner-top-right );
	
	background-image: url(../images/redline_toprightcorner.png);
	background-repeat: no-repeat;
	background-position-x: right;
	background-position-y: top;
	
	top: 0px; right: 0px;
	overflow: visible;
}

/******************************************************************************/

.theme-refresh .site-content .cornered {
	position: relative;
	margin-top: 0px; margin-bottom: 0px;
	margin-left: var( --nhm-margin-from-left-to-line-edge );
	margin-right: var(--nhm-margin-from-line-outside-edge-to-right);
	padding: 0px;
	content: " ";
	border: none;
	display: block;
	height: var( --nhm-height-red-line-hr );
	width: auto;
	background-repeat:
		no-repeat,
		no-repeat;
}

.theme-refresh .site-content .cornered.midpoint::before {
	left: calc( 50% + ( var( --nhm-width-space-midpoint ) / 2 ) ) !important;
}
.theme-refresh .site-content *:nth-of-type(even) + .cornered.midpoint::before {
	left: calc( 50% + ( var( --nhm-width-space-midpoint ) / 2 ) ) !important;
}

.theme-refresh .site-content .cornered.midpoint::after {
	content: " ";
	display: block;
	position: absolute;
	background-image: url(../images/redline_horizontal.png);
	background-repeat: repeat-x;
	top: 65px;
	left: 171px;
	right: calc( 50% + ( var( --nhm-width-space-midpoint ) / 2 ) );
	width: auto;
	height: 100%;
}
.theme-refresh .site-content *:nth-of-type(even) + .cornered.midpoint::after,
.theme-refresh .site-content .red-line-left + .cornered.midpoint:nth-of-type(n)::after {
	left: 88px;
}

.theme-refresh .site-content .midpoint hr {
	width: var( --nhm-width-space-midpoint);
	margin-left: auto;
	margin-right: auto;
	background-image:
		url(../images/mid-point.png),
		url(../images/line_midarrow_positive.png),
		url(../images/line_midarrow_negative.png);
	background-repeat:
		no-repeat,
		no-repeat,
		no-repeat;
	background-position-y:
		center,
		center,
		center;
	background-position-x:
		center,
		right,
		left;
	background-size:
		var( --nhm-image-crossover-midpoint-scaling ),
		auto,
		auto;
}

.theme-refresh .site-content .midpoint hr.red-line-left-to-right {
	background-image:
		var( --nhm-image-crossover-midpoint ),
		url(../images/line_midarrow_negative_ltr.png),
		url(../images/line_midarrow_positive_ltr.png);
}

@media (max-width: 768px) {
	.theme-refresh .site-content .cornered {
		margin: 0px;
	}
	.theme-refresh .site-content .cornered.midpoint::after {
		left: 0px;
	}
	.theme-refresh .site-content *:nth-of-type(even) + .cornered.midpoint::after,
	.theme-refresh .site-content .red-line-left + .cornered.midpoint:nth-of-type(n)::after {
		left: 0px;
	}

}

/* --- */

.theme-refresh .title-bar .container .red-line-horizontal {
	position: relative;
	display: flex;
}
.theme-refresh .red-line-horizontal {
  /*background-image: url(../images/redline_horizontal.png);/
  background-repeat: repeat-x;
  background-position-x: right;
  background-position-y: calc(50% + ( 10px / 2 ));
  margin-right: calc(172px / 2); /* allow space for corner */
}

.theme-refresh .site-content hr {
	position: relative;
	margin: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
	content: "";
	border: none;
	display: block;
	height: var( --nhm-height-red-line-hr );
	width: auto;
}

.theme-refresh .site-content hr.thinline {
	height: auto;
	border: 1px solid black;
	margin-top: 24px;
        margin-bottom: 24px;
}

.theme-refresh .site-content .cornered::before {
	content: " ";
	display: block;
	position: absolute;
	background-image: url(../images/redline_horizontal.png);
	background-repeat: repeat-x;
	top: 65px;
	left: 0px;
	right: 0px;
	
	width: auto;
	height: 100%;
}

@media (min-width: 769px) {
	.theme-refresh .site-content .cornered {
	background-image:
		url(../images/redline_botrightcorner.png),
		url(../images/redline_topleftcorner.png);
	background-position-y:
		top,
		bottom;
	background-position-x:
		right,
		left;
}

.theme-refresh .site-content *:nth-of-type(odd) + .cornered,
.theme-refresh .site-content .red-line-right:nth-of-type(even) + .cornered {
	background-image:
		url(../images/redline_botrightcorner.png),
		url(../images/redline_topleftcorner.png);
	background-position-y:
		top,
		bottom;
	background-position-x:
		right,
		left;
}


.theme-refresh .site-content *:nth-of-type(even) + .cornered,
.theme-refresh .site-content .red-line-left:nth-of-type(odd) + .cornered {
	background-image:
		url(../images/redline_botleftcorner.png),
		url(../images/redline_toprightcorner.png);
	background-position-y:
		top,
		bottom;
	background-position-x:
		left,
		right;

}
.theme-refresh .site-content .cornered::before {
	right: 88px; /* width of corner image */
	left: 171px; /* width of corner image */
}
.theme-refresh .site-content *:nth-of-type(odd) + .cornered::before,
.theme-refresh .site-content .red-line-right:nth-of-type(even) + .cornered::before {
	right: 88px; /* width of corner image */
	left: 171px; /* width of corner image */
}
.theme-refresh .site-content *:nth-of-type(even) + .cornered::before,
.theme-refresh .site-content .red-line-left:nth-of-type(odd) + .cornered::before {
	left: 88px;
	right: 171px;
}

	.theme-refresh .site-content section {
		background-image: url(../images/redline_vertical.png);
		background-repeat: repeat-y;
		background-position-x: right;
		background-position-y: top;
		
		padding-top: 10px; padding-bottom: 10px;
		padding-left: var( --nhm-padding-from-left-line-edge-to-content );
		padding-right: var( --nhm-padding-from-content-to-right-line-outside-edge );
		
		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 .red-line-spacer {
		padding-top: 0px;
		padding-bottom: 0px;
		height: calc( var( --nhm-margin-from-header-to-content-area ) / 2 );
	}
	.theme-refresh .site-content .red-line-spacer:first-child {
		height: var( --nhm-margin-from-header-to-content-area );
	}
	
	.theme-refresh .site-content .mural-image.red-line-right::after,
	.theme-refresh .site-content .mural-image.red-line-left::after {
		position: absolute; content: " ";
		top: 0; bottom: 0; height: auto;
		left: var(--nhm-margin-from-left-to-line-edge);
		right: var(--nhm-margin-from-line-outside-edge-to-right); width: auto;
		background-image: url(../images/redline_vertical.png);
		background-repeat: repeat-y;
		background-position-x: right;
		background-position-y: top;
		pointer-events: none;
	}
	.theme-refresh .site-content .mural-image.red-line-left::after {
		background-position-x: left;
	}
	
	.theme-refresh .red-line-right {
		position: relative;
	}
	.theme-refresh .featured-title-panel.red-line-right::after,
	.theme-refresh .site-content .spacer-element.red-line-right::after,
	.theme-refresh .site-content .subsection.red-line-right::after,
	.theme-refresh .site-content .subsection.red-line-left::after {
		position: absolute; content: " ";
		top: 0; bottom: 0; height: auto;
		left: var(--nhm-margin-from-left-to-line-edge);
		right: var(--nhm-margin-from-line-outside-edge-to-right);
		width: 33px;
		background-image: url(../images/redline_vertical.png);
		background-repeat: repeat-y;
		background-position-x: right;
		background-position-y: top;
		z-index: 1000;
	}
	.theme-refresh .featured-title-panel.red-line-right::after,
	.theme-refresh .site-content .spacer-element.red-line-right::after,
	.theme-refresh .site-content .subsection.red-line-right::after {
		background-position-x: right !important;
		left: auto !important;
		right: var(--nhm-margin-from-line-outside-edge-to-right) !important;
	}
	.theme-refresh .site-content .subsection.red-line-left::after {
		background-position-x: left !important;
		right: auto !important;
		left: var(--nhm-margin-from-left-to-line-edge) !important;
	}
	
	.theme-refresh .site-content section:nth-of-type(odd), 
	.theme-refresh .site-content section.red-line-right:nth-of-type(n) {
		background-position-x: right;
	}

	.theme-refresh .site-content section:nth-of-type(even), 
	.theme-refresh .site-content section.red-line-left:nth-of-type(n)
	{
		background-position-x: left;
	}

	.theme-refresh .title-bar .container section h1::after {
		display: block;
		content: " ";
		position: absolute;
		z-index: 10;
		top: 10px;
		bottom: 0;
		left: 0;
		right: 0;
		background-image:  url(../images/line_midarrow_negative_ltr.png);
		background-repeat: no-repeat;
		background-position-x: right;
		background-position-y: calc( 50% - var( --nhm-offset-arrow-end-from-center ) );
	}


}

@media ( min-width: 769px ) {

	.theme-refresh .site-footer::before {
		position: absolute; content: " ";
		left: var( --nhm-margin-from-left-to-line-edge );
		background-image: url(../images/redline_vertical.png);
		background-repeat: repeat-y;
		width: var( --nhm-red-line-margin-x );
		height: auto;
		top: 0;
		bottom: calc( var( --nhm-offset-from-bottom-to-point ) + var( --nhm-height-line-bottom ) );
	}

}

.theme-refresh .site-footer::after {
	position: absolute; content: " ";
	left: var( --nhm-margin-from-left-to-line-edge );
	background-image: url(../images/line_bottom.png);
	background-repeat: no-repeat;
	width: 40px;
	height: var( --nhm-height-line-bottom );
	bottom: var( --nhm-offset-from-bottom-to-point );
}
@media ( max-width: 768px ) {
	.theme-refresh .site-footer::after {
		left: calc( var(--nhm-red-line-margin-x) - 60px );
	}
}

@media ( min-width: 769px ) {
	.theme-refresh .red-line-top {
		position: relative !important;
	}
	.theme-refresh .red-line-top::after{
		display: block; content: " ";
		position: absolute;
		top: 0; bottom: 0;
		left: 0; right: 0;
		height: auto; width: auto;
		
		margin-left: 0px; margin-right: var( --nhm-margin-from-line-outside-edge-to-right );
		background-image: url("../images/line_top.png");
		background-position-x: right;
		background-position-y: bottom;
		background-repeat: no-repeat;

	}

}

/****************************** FEATURE VS. SIDEBAR LAYOUTS *******************/


.theme-refresh .content-feature-with-sidebar .content-feature {
    min-width: var( --nhm-content-feature-min-width );
	width: calc( 100% - var( --nhm-margin-from-section-content-to-right ) );
}

.theme-refresh .sidebar-column {
	width: auto;
	margin-left: 0px;
}
.theme-refresh .content-feature-with-sidebar .sidebar-column {
	width: 100%;
}

.theme-refresh {
	--nhm-content-col-scale: 1;
	--nhm-sidebar-col-scale: 1;
	--nhm-width-sidebar-margins-half: calc( 0.5 * var( --nhm-padding-from-sidebar-content-to-red-line-inside-edge ) );
}

@media ( min-width: 769px ) {
	.theme-refresh .content-feature-with-sidebar .content-feature {
		width: var( --nhm-content-feature-min-width );
		padding-right: 0px;
		margin-right: var( --nhm-width-sidebar-margins-half );
	}
	.theme-refresh .content-feature-with-sidebar .sidebar-column {
		width: calc( ( 100% - var( --nhm-red-line-width ) ) - var( --nhm-content-feature-min-width ) - var( --nhm-width-sidebar-margins-half ) );
		margin-left: var( --nhm-width-sidebar-margins-half );
	}

}
@media ( min-width: 880px ) {
	.theme-refresh {
		--nhm-content-col-scale: 0.6;
		--nhm-sidebar-col-scale: 0.4;
	}
	.theme-refresh .content-feature-with-sidebar .content-feature {
		width: calc( var( --nhm-content-col-scale ) * ( 100% - var( --nhm-red-line-width ) ) - var( --nhm-width-sidebar-margins-half ) );
		padding-right: 0px;
		margin-right: var( --nhm-width-sidebar-margins-half );
	}
	.theme-refresh .content-feature-with-sidebar .sidebar-column {
		width: calc( var( --nhm-sidebar-col-scale ) * ( 100% - var( --nhm-red-line-width ) ) - var( --nhm-width-sidebar-margins-half ) );
		margin-left: var( --nhm-width-sidebar-margins-half );
	}
}
@media ( min-width: 991px ) {
	.theme-refresh {
		--nhm-content-col-scale: 0.7;
		--nhm-sidebar-col-scale: 0.3;
	}
}
@media ( min-width: 1361px ) {
	.theme-refresh {
		--nhm-content-col-scale: 0.73;
		--nhm-sidebar-col-scale: 0.27;
	}
}


.theme-refresh .block-title+.expeditions-list {
	margin-top: var( --nhm-height-spacer-and-a-half );
}
.theme-refresh .content-feature-with-sidebar .block-title+.expeditions-list {
	margin-top: var( --nhm-height-spacer-half );
}
.theme-refresh .expeditions-list .compact-sidebar.has-flexslider .sidebar-title {
	padding-right: 55px;
}

.theme-refresh .expeditions-list .compact-meta {
	margin-top: 10px;
	margin-bottom: 20px;
}
.theme-refresh .expeditions-list .compact-meta li {
	font-weight: normal !important;
	margin-bottom: 10px;
}
.theme-refresh .compact-meta.extra, .theme-refresh .extra-compact-meta {
	margin-top: 8px !important;
	margin-bottom: 8px !important;
}

.theme-refresh .compact-meta.extra li, .theme-refresh .extra-compact-meta li {
	margin-bottom: 3px !important;
}
.theme-refresh .compact-meta.extra li + li, .theme-refresh .extra-compact-meta li + li  {
	font-size: calc( var( --nhm-font-size-meta-text ) - 2px )!important;
}
.theme-refresh .compact-meta.extra-extra li, .theme-refresh .extra-extra-compact-meta li {
	margin-bottom: 3px !important;
}
.theme-refresh .compact-meta.extra-extra li + li, .theme-refresh .extra-extra-compact-meta li + li  {
	font-size: var( --nhm-font-size-subsubmeta-text ) !important;
}

@media ( min-width: 769px ) {
	.theme-refresh .content-feature-with-sidebar, .theme-refresh .content-feature-single-column {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
	}
}

.theme-refresh .content-area .sidebar-1 {
    background-color: transparent;
    padding-right: 0px;
    padding-top: 0px;
	padding-bottom: 50px; /* preserve background color in & out of flexbox */
	margin-bottom: 0px;
}
.theme-refresh .content-area .content-feature-single-column .sidebar-1 {
	padding-left: 0px;
}
.theme-refresh .content-area .sidebar-1 h1, .theme-refresh .content-feature >
h2, .theme-refresh h2.featured, .theme-refresh h2.all-items {
    text-align: left;
    padding-top: 5px;
    padding-bottom: 10px;
    padding-left: 5px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.theme-refresh .content-area .sidebar-1 h1,
.theme-refresh .content-area .sidebar-1 .widget-title,
.theme-refresh .content-area .sidebar-1 .widgettitle {
    background-color: red;
    background-image: url(../images/redline_horizontal.png);
    background-repeat: repeat;
    color: white !important;
}
.theme-refresh .content-area .sidebar-1 .widget-title,
.theme-refresh .content-area .sidebar-1 .widgettitle {
	color: white;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 20px;
	background-color: #333;
	
	line-height: 100%;
	padding: 5px 10px !important;
	text-align: left;
}
.theme-refresh .content-area .sidebar-1 .widget > ul {
	padding-right: var( --nhm-padding-from-content-to-right-line-outside-edge );
}

.theme-refresh .content-feature-single-column .sidebar-1 {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
}
@media ( min-width: 769px ) {
	.theme-refresh .content-feature-single-column .sidebar-1 {
		margin-right: 22px;
	}
}

.theme-refresh .content-feature-single-column .sidebar-1 h1 {
	align-self: flex-end;
	width: calc(100% / 3);
}

@media ( min-width: 769px ) {
	.theme-refresh .content-area .sidebar-1 article {
		padding-bottom: 40px;
	}

	.theme-refresh .content-area .content-feature-with-sidebar .sidebar-1 > * {
		padding-right: var( --nhm-padding-from-sidebar-content-to-red-line-outside-edge );
	}
	.theme-refresh .content-area .content-feature-single-column .sidebar-1 > *	{
		padding-left: calc( 50% - 300px );
		padding-right: calc( 50% - 300px );
	}
	.theme-refresh .content-area .content-feature-with-sidebar .sidebar-1 > h1,
	.theme-refresh .content-area .content-feature-with-sidebar .sidebar-1 > h2,
	.theme-refresh .content-area .content-feature-with-sidebar .sidebar-1 > h3,
	.theme-refresh .content-area .content-feature-with-sidebar .sidebar-1 > h4,
	.theme-refresh .content-area .content-feature-with-sidebar .sidebar-1 > h5,
	.theme-refresh .content-area .content-feature-with-sidebar .sidebar-1 > h6,
	.theme-refresh .content-area .content-feature-with-sidebar .sidebar-1 > .connects-back {
		padding-right: 0px;
	}
	.theme-refresh .content-area .content-feature-with-sidebar .sidebar-1 > h1 > *,
	.theme-refresh .content-area .content-feature-with-sidebar .sidebar-1 > h2 > *,
	.theme-refresh .content-area .content-feature-with-sidebar .sidebar-1 > h3 > *,
	.theme-refresh .content-area .content-feature-with-sidebar .sidebar-1 > h4 > *,
	.theme-refresh .content-area .content-feature-with-sidebar .sidebar-1 > h5 > *,
	.theme-refresh .content-area .content-feature-with-sidebar .sidebar-1 > h6 > *,
	.theme-refresh .content-area .content-feature-with-sidebar .sidebar-1 > .connects-back > * {
		padding-right: var( --nhm-red-line-width ) !important;
	}


}
.theme-refresh {
		--nhm-expedition-fixed-left-margin: calc( var( --nhm-margin-from-logo-to-title-box ) - var( --nhm-width-from-logo-corner-to-nose ) );
}
@media ( min-width: 991px ) {
	.theme-refresh .content-area .content-feature-single-column .sidebar-1 >
	* {
		padding-left: calc( 50% - ( 53px + 25vw ) );
		padding-right: calc( 50% - ( 52px + 25vw ) );
	}
}
@media ( min-width: 1451px ) {
	.theme-refresh .content-area .content-feature-single-column .sidebar-1 > *	{
		padding-left: var( --nhm-expedition-fixed-left-margin );
		padding-right: var( --nhm-expedition-fixed-left-margin );
	}

}

.theme-refresh .content-feature-with-sidebar .sidebar-1 .sidebar-title,
.theme-refresh .content-feature-with-sidebar .sidebar-1 .widget-title {
    color: black;
    font-weight: bold;
    font-size: var( --nhm-font-size-sidebar-title );
	line-height: 1.3em;
	font-family: var( --nhm-header-typeface );
}
.theme-refresh .content-feature-with-sidebar .sidebar-1 .sidebar-title > *,
.theme-refresh .content-feature-with-sidebar .sidebar-1 .widget-title > * {
	font-size: inherit !important;
}

.theme-refresh .content-feature-with-sidebar .sidebar-1 .single-date {
    font-style: normal;
    font-size: var( --nhm-font-size-meta-text );
	padding-top: 5px;
	padding-bottom: 15px;
}
.theme-refresh .sidebar-title a {
    color: inherit !important;
}
.theme-refresh .sidebar-1 .read-more {
    color: #E7666B;
    font-size: inherit;
}
