/* reset some of the old biblio en20 styles */

.wrapper { overflow: auto; }

#secondary { margin-top: 0; }

/* end reset */

.page-body,
.has-sidebar { 
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	text-align: left;
}	

.page-body:not(.has-sidebar) > * { flex: 1 0 100%; }	

.content > *:first-child,
.wrapper > *:first-child { margin-top: 0; }

.lander-splash + div { margin-top: 30px; }

p + .boxed { margin-top: 20px; }

.intro-text { margin: 0 0 20px 0; }

.page-head + .intro-text { margin-top: 15px; }

div.surhead { font-weight: 700; }

ol.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	list-style: none;
	padding: 0;
	margin: 0 0 10px 0;
}

ol.breadcrumbs li {
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
}

ol.breadcrumbs li::after {
	content: '';
	display: block;
	width: 7px;
	height: 7px;
	margin: 2px 10px 0 12px;
	background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='6.9px' height='6.4px' viewBox='0 0 6.9 6.4' style='overflow:visible;enable-background:new 0 0 6.9 6.4;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%235e5e5e;%7D%0A%3C/style%3E%3Cdefs%3E%3C/defs%3E%3Cpath class='st0' d='M0,5.3l3.4-1.2l2.1-0.8V3.2L3.4,2.4L0,1.1V0l6.9,2.7v1L0,6.4V5.3z'/%3E%3C/svg%3E%0A");
}

ol.breadcrumbs li:last-child::after { display: none; }

ol.breadcrumbs li > * {
	display: inline-block;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	max-width: 260px;
}

.categories-list-1 {
	display: flex;
	flex-wrap: wrap; 
	gap: 30px;
}

.categories-list-1 > .item {
	margin: 0;
	padding: 0;
	flex: 0 0 100%;
}

.categories-list-1 > .item > .box-link {
	display: flex;
	align-items: center;
	gap: 15px;
}

.categories-list-1 > .item > .box-link > .image {
	flex: 0 0 30%;
	max-width: 142px;
	margin: 0;
	align-self: flex-start;
}

.categories-list-1 > .item > .box-link > .text { 
	flex: 1 0 calc(70% -15px);
	margin: 0; 
}

.categories-list-1 h3 + p,
.categories-list-1 h4 + p { margin-top: 5px; }

.categories-list-1 .box-link:hover,
.categories-list-1 .box-link:active { background-color: #eee; }

/* .page-body { overflow: auto; } */

.page-header-wrap::after,
.clearfix::after {
	display: block;
	clear: both;
	content: '';
}

.text > *:first-child,
.quote > *:first-child { margin-top: 0; }

.text > *:last-child,
.quote > *:last-child { margin-bottom: 0; }

.body-text + div.more,
h3 + div.more,
p + div.more,
ul + div.more,
p + form { margin-top: 10px; }

.input-group > p { margin: 0; } /* CK Editor weakness of inserting <p> around inputs */

.masonry {
	-webkit-columns: 2 300px;
	-moz-columns: 2 300px;
	columns: 2 300px;
	margin: 0 0 20px 0;
	padding: 0;
	-moz-column-gap: 20px;
	-webkit-column-gap: 20px;
	column-gap: 20px;
}

.masonry > .box-link,
.masonry > .item {
    display: inline-block;
    background: #fff;
    width: 100%;
	-webkit-transition:1s ease all;
	padding: 20px 15px;
	border: 1px #ccc solid;
	margin: 20px 0 0 0;
}

blockquote.sidebar-item { padding: 0; }

blockquote .speaker {
	line-height: 1.3;
	text-align: left;
	font-style: normal;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0 15px;
	margin: 6px auto 0 auto;
	padding-left: 50px;
}
	
blockquote .quote p:first-child:before { content: '\201C'; }

blockquote .quote p:last-child:after { content: '\201D'; }

blockquote .author:before {
	content: '\2014';
	display: inline-block;
	width: 1.1em;
	margin-left: -1.1em;
}

.speaker .image {
	max-width: 100px;
	width: 20%;
	border-radius: 50%;
	overflow: hidden;
}

.speaker .image img { display: block; }

.craft-content .hero {
	flex: 0 0 100%;
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	margin: 0;
}

.craft-content .hero .image { flex: 0 0 100%; }

.craft-content .hero .image::after { padding-top:45%; }

.craft-content .hero .text { margin-top: 10px; }

.intro-text > *:first-child,
#hero-search > *:first-child { margin-top: 0 !important; }

.hero.search-box .page-head + .intro { margin-top: 6px; }

.hero.search-box .intro-text p { margin-top: 6px; }

#hero-search .main-fields + .options-section { margin-top: 15px; }

#hero-search .options-section .form-check + .form-check,
.form-group .form-check + .form-check { margin-top: 6px; } /* for .hero-search-box if narrowing needed */

.pledge-icon { overflow: hidden; }

.boxed.sidebar-item .wrapper {
	display: flex;
    flex-wrap: wrap;
    gap: 15px 20px;
}

.boxed.sidebar-item .wrapper .item {
    flex: 1 0;
    min-width: 135px;
}

.boxed.sidebar-item .wrapper.items-1 .item { flex-basis: 100%; }
.boxed.sidebar-item .wrapper.items-2 .item { flex-basis: calc(50% - 20px); }
.boxed.sidebar-item .wrapper.items-3 .item { flex-basis: calc(33.3% - 20px); }
.boxed.sidebar-item .wrapper.items-4 .item { flex-basis: calc(25% - 20px); }

.sidebar-item.article-summaries .wrapper .item {
    flex: 1 0 calc(50% - 15px);
    min-width: 168px;
}

.sidebar-item.article-summaries header { margin-bottom: 15px; }

.sidebar-item.article-summaries header h2 { margin: 0; }

.sidebar-item.article-summaries .item {
	padding-top: 15px;
	border-top: 1px dotted var(--light-gray);
}

.article-summaries .item h3 { 
	text-transform: none;
	margin-top: 0;
}

.article-summaries .item h3 a { text-underline-offset: 3px; }

.sidebar-item.article-summaries .item .thumb-wrap {
	float: right;
	width: 40%;
	max-width: 100px;
	margin: 3px 0 5px 10px;
}

.entry-date {
	display: inline-block;
	font-size: 90%;
	background-color: var(--lightest-gray);
	padding: 2px 5px;
	margin: 10px 0;
}

@media (min-width: 420px) {}
	.craft-content .hero .text > * { 
		width: auto;
		flex: 0 0 100;
	}
	
	.craft-content .hero .form-wrapper { margin-left: 0; }
} 

@media (min-width: 534px) {
	.featured-image { 
		float: right;
		margin: 0 0 10px 15px;
		width: 50%;
		max-width: 450px;
	}
}

/* bootstrap sm */
@media (min-width: 576px) { 
	.categories-list-1 > .item { flex: 0 0 calc(50% - 15px); }
}

/* bootstrap md */
@media (min-width: 768px) { 
	
	.sidebar-item + .sidebar-item { margin-top: 30px; }

	.categories-list-1 > .item { flex: 0 0 100%; }
}

/* bootstrap lg */
@media (min-width: 992px) { 

	.categories-list-1 > .item { flex: 0 0 calc(50% - 15px); }

}
