/*
Theme Name: _bd_ Ultralight
Theme URI: http://aequalsb.com
Description: A WordPress extensible parent theme.
Author: Brent Garren
Version: 5.3.3

Tags: none
*/


/* HTML SELECTORS */
@media screen {
	html,
	body {
		min-width:fit-content;
		margin:0;
		}
	html {
		font-family:var(--primary-font, Verdana);
		font-size:100%;
		color:#444;
		scroll-behavior:smooth;
		}
	a {
		color:initial;
		border-width:0;
		background-color: transparent;
		text-underline-offset:3px;
		text-decoration-thickness:1px;
		}
	a:hover {
		text-decoration:none;		
		}
	a:active {
		text-decoration:underline;
		color:var(--a-active-color) !important;
		background-color:var(--a-active-background-color);
		outline:5px solid var(--a-active-background-color);
		border-radius:4px;
		}
	:focus-visible {
		/* heavy use of !important here keep your fingers off my styles */
		outline-width:3px !important;
		outline-style:solid !important;
		outline-color:var(--focus-outline-color, #ffa500) !important;
		outline-offset:3px !important;
		border-radius:4px !important;
		}
	img {
		display:block;
		max-width:100%;
		height:auto;
		}
	figure {
		margin:0;
		position:relative;
		max-width:100%;
		/*overflow:hidden;*/
		}
	figcaption {
		position:absolute;
		right:0px;
		bottom:0px;
		left:0px;
		font-size:14px;
		color:#ddd;
		background-color:#333c;
		padding:4px 12px 6px 12px;
		}
	iframe {
		max-width:100% !important;
		}
	input, textarea {
		font-family:inherit;
		font-size:inherit;
		}
	a, button, select, input[type="button"], input[type="submit"] {
		cursor:pointer;
		font-size:inherit;
		}
	:is(h1, h2, h3, h4, h5, h6) a {
		display:block;
		}
	p, div, section, article, span, code, ol, ul,
	input[type="text"], input[type="email"], input[type="password"], input[type="tel"],
	select, textarea,
	h1, h2, h3, h4, h5, h6,
	header, main, footer {
		box-sizing:border-box;
		}
	fieldset {
		padding:0;
		border:0;
		}
	li {
		-webkit-column-break-inside: avoid;
		page-break-inside: avoid;
		break-inside: avoid;
		}
	figure:empty,
	p:empty {
		display:none !important;
		}
} @media screen and (max-width:640px) {
	h1, h2, h3, h4, h5, h6 {
		hyphens:auto;
		}
}



/* ACCESSIBILITY SELECTORS */
@media screen {
	.screen-reader-text {
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(1px,1px,1px,1px);
		clip-path: inset(50%);
		word-wrap: normal;
		border: 0;
		padding: 0;
		margin: -1px;
		}
	.screen-reader-text:focus-visible {
		width: auto;
		height: auto;
		overflow:initial;
		clip: auto !important;
		clip-path: none;
		color: #444;
		background-color: #eee;
		padding:14px 24px 12px 24px;
		}
	.skip-link {
		position: absolute;
		top: 5px;
		left: 5px;
		z-index: 999999;
		}
/* 
	:focus-visible {
		outline-color:var(--focus-outline-color, #a4e) !important;
		}
 */
}



/* THEME LAYOUT SELECTORS */
@media screen {
	body._bd_auto-space-main main {
		padding-bottom:2rem;
		}
	
	section + br {
		display:none !important;
		}
	main > ._bd_area,
	._bd_area._bd_has-bkg {
		padding-top:2rem;
		padding-bottom:2rem;
		}
	main > ._bd_area:not(._bd_has-bkg) + style + ._bd_area:not(._bd_has-bkg),
	main > ._bd_area:not(._bd_has-bkg) + ._bd_area:not(._bd_has-bkg),
	main > ._bd_area:not(._bd_has-bkg) + br + ._bd_area:not(._bd_has-bkg) {
		padding-top:0;
		}
	
	
	body._bd_constrain-main main,
	._bd_box {		
		width:100%;
		max-width:var(--box-max-width, 1376px );
		padding-left:2rem;
		padding-right:2rem;
		margin-left:auto;
		margin-right:auto;
		}
	body._bd_constrain-main main ._bd_box,
	._bd_box ._bd_box {
		max-width:initial;
		padding-left:0;
		padding-right:0;
		}
	
	main ._bd_flush._bd_flush,
	main ._bd_flush ._bd_box {
		padding:0;
		margin-top:0;
		margin-bottom:0;
		}
	
	
	main :is(p,li,blockquote) {
		line-height:1.5;
		}
	main > ._bd_content-head + ._bd_area {
		padding-top:1rem;
		}
} @media screen and (max-width:768px) {
	body:not(._bd_constrain-main) main ._bd_box {
		padding-left:1.25rem;
		padding-right:1.25rem;
		}
} @media screen and (min-width:1441px) {
	body._bd_constrain-main main,
	body:not(._bd_constrain-main) main ._bd_box {
		padding-left:0 !important;
		padding-right:0 !important;
		}
}

@media screen {
	._bd_wrapper {
		display:grid;
		grid-template-rows:auto 1fr auto;
		min-height: 100vh;
		}
	._bd_fixed {
		/* position:fixed; */
		width:100% !important;
		height:100% !important;
		overflow:hidden;
		}
	._bd_head-area,
	._bd_foot-area {
		padding-top:1.5rem;
		padding-bottom:1.5rem;
		}
	._bd_head-box {
		display:flex;
		align-items: center;
		/* justify-content:space-between; */
		}
	
} @media screen and (min-width:1081px) {
	._bd_narrow {
		width:50%;
		max-width:1024px;
		}
} @media screen and (min-width:1441px) {
	body._bd_wrapper-constrained {
		background-color:#444;
		}
	body._bd_wrapper-constrained ._bd_wrapper {
		position:relative;
		max-width:1440px;
		background-color:var(--constrained-wrapper-background-color, #fff );
		border:1px solid #000;
		box-shadow:0px 5px 5px #00000088;
		margin-top:2rem;
		margin-bottom:2rem;
		margin-left:auto;
		margin-right:auto;
		}
}



/* WORDPRESS SELECTORS */
@media screen {
	.wp-caption {
		font-size:14px;
		}
	.wp-caption img {
		width:auto;
		height:auto; }
	.navigation {
		display:table;
		width:100%;
		}
	.gallery {
		display:grid;
		gap:1.5rem;
		}
	.gallery-item .gallery-icon {
		border:1px solid #ccc;
		}
}
/* WORDPRESS ALIGN SELECTORS */
@media screen {
	.aligncenter {
		display:block;
		text-align:center;
		}
	.aligncenter img {
		margin-left:auto;
		margin-right:auto;
		}
	/* when contained in figure by code... container will be aligned... so don't align the img */
	.alignleft img,
	.alignright img,
	.aligncenter img {
		float:none;
		}
	.alignleft img,
	.alignright img {
		margin:0;
		}
} @media screen and (min-width:641px) {
	.alignleft {
		float:left;
		margin-right:1.5rem;
		}
	.alignright {
		float:right;
		margin-left:1.5rem;
		}
}



/* CONTENT SELECTORS */
@media screen {
	body._bd_page-title-hidden #_bd_content-head-title {
		display:none;
		}
 	._bd_content-default > ._bd_content-area:nth-child(n+2) {
 		margin-top:1.5rem;
		}
	
	/* content subhead (author, date) */
	._bd_content-subhead {
		display:flex;
		justify-content:space-between;
		padding-top:12px;
		padding-bottom:12px;
		}
	._bd_content-subhead > * {
		text-transform:uppercase;
		letter-spacing:1px;
		}
}



/* AUTO FORMAT SELECTORS */
@media screen {
	._bd_auto-space > :is(h1, h2, h3, h4, h5, h6, blockquote, figure, form, table, hr, ul, ol) {
		margin-top:1.5rem;
		margin-bottom:0;
		}
	._bd_auto-space > :is(h1, h2, h3, h4, h5, h6, blockquote, figure, form, table, hr, ul, ol):first-child,
	._bd_auto-space > figure:is(.alignright,.alignleft):first-child + * {
		margin-top:0;
		}
	._bd_auto-space > :is(h1, h2, h3, h4, h5, h6) + :is(p, .p, table, ul, ol, figure) {
		margin-top:6px;
		}
	._bd_auto-space > p > figure:is(.alignright,.alignleft):first-child {
		margin-top:8px;
		}
	._bd_auto-space > figure._bd_featured img {
		width:100%;
		}
	
} @media screen and (min-width:641px) {
	._bd_auto-space > figure:is(.alignright,.alignleft) {
		max-width:50%;
		}
}


/* IMAGE VIEWPORT SELECTORS */
@media screen {
	._bd_img-viewport-wrap {
		width:100%;
		max-width:100%;
		margin-left:auto;
		margin-right:auto;
		}
	/* image viewport */
	._bd_img-viewport {
		display:flex;
		width:100%;
		}
	._bd_img-viewport-wrap ._bd_img-viewport {
		padding-top:100%;
		}
	._bd_img-viewport img {
		position:absolute;
		top:0;
		left:0;
		width:100%;
		height:100%;
		object-fit:cover;
		object-position:top center;
		}
}



/* MENU SELECTORS */
@media screen {
	._bd_widget-main-menu {
		align-self:center;
		
		display:flex;
		flex-direction:column;
		}
	._bd_menu-nav ul {
		margin:0;
		padding:0;
		}
	._bd_menu-nav li {
		list-style-type:none;
		}
	._bd_menu-drawer + nav ._bd_topmenu-item {
		display:inline-block;
		}
} @media screen and (min-width:1025px) {
	._bd_menu-drawer {
		display:none;
		}
	
} @media screen and (max-width:1024px) {
	/* menu */
	._bd_menu-drawer + nav {
		position:fixed;
		z-index:887;
		background-color:var(--nav-main-background-color, #fff );
		}
	._bd_menu-drawer + nav a {
		color:var(--nav-main-item-color, #444 );
		}
	._bd_menu-drawer + ._bd_menu-slide-down {
		top:0;
		right:0;
		left:0;
		transition:all 200ms ease-in-out;
		}
	._bd_menu-drawer + nav > ul {
		margin:2rem auto 2rem auto;
		width:60%;
		}
	._bd_menu-drawer + nav ._bd_topmenu-item:not(:empty):nth-child(n+2) {
		border-top:var(--nav-main-open-item-border-top, 1px dotted #555);
		padding-top:1rem;
		margin-top:1rem;
		margin-left:0;
		}
	._bd_menu-drawer + nav ._bd_topmenu-item > a {
		font-size:22px;
		}
	
	/* menu closed */
	._bd_menu-drawer + nav {
		height:0;
		overflow:hidden;
		}
	._bd_menu-drawer + nav ._bd_topmenu-item {
		display:none;
		}
	/* menu open */
	._bd_menu-drawer-open + ._bd_menu-slide-down {
		height:100%;
		overflow:scroll;
		}
	._bd_menu-drawer-open + nav ._bd_topmenu-item {
		display:block;
		}
	
	/* drawer */
	._bd_menu-drawer {
		display:inline-flex;
		position:relative;
		z-index:888;
		cursor:pointer;
		}
	/* switch */
	._bd_menu-switch {
		position:absolute;
		top:-9px;
		right:0;
		bottom:-9px;
		left:0;
		z-index:+3;
		}
	/* control */
	._bd_menu-control {
		position:relative;
		}
	._bd_menu-control::before,
	._bd_menu-control::after {
		content:'';
		position:absolute;
		}
	._bd_menu-control::before {
		top:-9px;
		}
	._bd_menu-control::after {
		bottom:-9px;
		}
	._bd_menu-control::before,
	._bd_menu-control::after,
	._bd_menu-control > div {
		display:block;
		transition:all 200ms ease-in-out;
		width:32px;
		background-color:#000;
		height:4px;
		}
	._bd_menu-drawer-open ._bd_menu-control::before,
	._bd_menu-drawer-open ._bd_menu-control::after {
		top:0;
		height:5px;
		}
	/* rotation */
	._bd_menu-drawer-open ._bd_menu-control::before {
		transform: rotate(315deg);
		}
	._bd_menu-drawer-open ._bd_menu-control::after {
		transform: rotate(-315deg);
		}
	._bd_menu-drawer-open ._bd_menu-control > div {
		background-color:transparent !important;
		}
	
}



/* GRID SELECTORS */
@media screen {
	._bd_grid{
		display:grid;
		grid-template-columns:1fr;
		}
	._bd_grid._bd_min-2 {
		grid-template-columns:1fr 1fr;
		}
	._bd_grid._bd_min-3 {
		grid-template-columns:1fr 1fr 1fr;
		}
	._bd_grid._bd_min-4 {
		/* grid-template-columns:1fr 1fr 1fr 1fr; */
		grid-template-columns:repeat(4, minmax(75px, 1fr));
		}
	
	/* gaps */
	._bd_gap-half {
		gap:8px;
		}
	._bd_gap-1 {
		gap:1rem;
		}
	._bd_gap-1half {
		gap:1.5rem;
		}
	._bd_gap-2,
	._bd_gap-2half,
	._bd_gap-3  {
		gap:2rem;
		}
	
	/* entries */
	._bd_grid > ._bd_entry {
		display:flex;
		flex-direction:column;
		position:relative;
		}
	._bd_grid ._bd_entry-title {
		font-weight:normal;
		}
	._bd_grid > ._bd_entry > :not(:empty):nth-child(n+2) {
		margin-top:12px;
		}	

} @media screen and (min-width:375px) {

} @media screen and (min-width:420px) {
	._bd_gap-2half {
		gap:2.5rem;
		}
		
} @media screen and (min-width:513px) {
	._bd_grid._bd_cols-2:not(._bd_fold) {
		grid-template-columns:1fr 1fr;
		}
	
} @media screen and (min-width:641px) {
	._bd_grid._bd_cols-2._bd_fold {
		grid-template-columns:1fr 1fr;
		}
	._bd_grid._bd_cols-3:not(._bd_fold) {
		grid-template-columns:1fr 1fr 1fr;
		}
	._bd_grid._bd_cols-4 {
		grid-template-columns:1fr 1fr;
		}
	._bd_gap-3  {
		gap:3rem;
		}

	
} @media screen and (min-width:841px) {
	._bd_grid._bd_cols-3._bd_fold {
		grid-template-columns:1fr 1fr 1fr;
		}
 	._bd_grid._bd_cols-4 {
		grid-template-columns:1fr 1fr 1fr 1fr;
		}
}



/* MISC */
@media screen {
	._bd_flex {
		display:flex;
		}
	._bd_inherit-color {
		color:inherit;
		}
	._bd_map-link {
		margin-top:8px;
		}
}



/* ENTRY ITEMS */
@media screen {
	._bd_entry-item-small {
		font-size:90%;
		}
	._bd_entry-item-small + ._bd_entry-item-small {
		margin-top: 0 !important;
		}
}



/* FLEX LIST SELECTORS */
@media screen {
	._bd_list > ._bd_entry {
		display:flex;
		overflow:hidden;
		}
	._bd_list ._bd_content {
		padding:2em;
		}
	._bd_list > ._bd_entry > ._bd_content > :not(:empty):nth-child(n+2) {
		margin-top:1.5rem;
		}
} @media screen and (min-width:769px) {
	._bd_list > ._bd_entry > div {
		width:50%;
		}
	._bd_list ._bd_img-viewport-wrap,
	._bd_list ._bd_img-viewport {
		height:100%;
		}
	._bd_list ._bd_img-viewport {
		padding-top:initial !important;
		}
} @media screen and (max-width:768px) {
	._bd_list ._bd_entry {
		flex-direction:column;
		width:100%;
		}
	._bd_list ._bd_entry ._bd_image {
		order:1;
		}
	._bd_list ._bd_entry ._bd_content {
		order:2;
		}
}



/* SEARCH FORM SELECTORS */
@media screen {
	._bd_search-form {
		position:relative;
		}
	._bd_search-form + * {
		margin-top:1.5rem;
		}
	._bd_search-form form {
		display: flex;
		}
	._bd_search-form input[type="text"] {
		width:100%;
		color:#333;
		background-color:#eee;
		border-width:1px;
		border-color:#888;
		padding:14px;
		margin:0;
		}
	._bd_search-form input[type="submit"] {
		margin-left:8px;
		}
	._bd_search-form input[type="text"]:focus,
	._bd_search-form input[type="submit"]:focus {
		color:#000;
		background-color:#fff;
		border-color:orange;
		}	
	/* search results */
	._bd_search-results-ul {
		padding:0 0 0 1rem;
		}
	._bd_search-results-ul li:nth-child(n+2) {
		margin:1.5rem 0 0 0;
		}
}



/* PAGINATION and NAV SELECTORS */
@media screen {
	._bd_navigation {
		overflow:hidden;
		}
	._bd_nav-previous {
		float:left; width:48%;
		}
	._bd_nav-next {
		float:right; width:48%;
		text-align:right;
		}
	._bd_posts-pagination.above {
		margin-bottom:1.5rem;
		}
	._bd_posts-pagination.below {
		margin-top:1.5rem;
		}
	.nav-links .page-numbers {
		display:inline-block;
		min-width:30px;
		min-height:20px;
		text-align:center;
		background-color:#eee;
		border:1px solid #ddd;
		border-radius:4px;
		padding:2px 6px;
		margin-top:1rem;
		}
	.nav-links .page-numbers.current {
		color:#fff;
		background-color:#333;
		border-color:#333;
		}
	.nav-links .page-numbers:nth-child(n+2) {
		margin-left:12px;
		}
}



/* WHITESPACE */
@media screen and (max-width:640px) {
	/* BREAK */
	._bd_break-wide { display:inline; }
	._bd_break-narrow { display:block; }
	._bd_break-narrow span { display:none; }
	/* BLOCK */
	._bd_block-narrow { display:block; }
	._bd_block-narrow span { display:none; }
	/* INLINE */
	._bd_inline-narrow { display:inline; }
	/* NONE */
	._bd_none-narrow { display:none; }
} @media screen and (min-width:641px) {
	/* BREAK */
	._bd_break-wide { display:block; }
	._bd_break-wide span { display:none; }
	._bd_break-narrow { display:inline; }
	/* BLOCK */
	._bd_block-wide { display:block; }
	._bd_block-wide span { display:none; }
	/* INLINE */
	._bd_inline-wide { display:inline; }
	/* NONE */
	._bd_none-wide { display:none; }
} @media screen and (min-width:1025px) {
	/* BREAK */
	._bd_break-verywide { display:block; }
	._bd_narrow ._bd_break-wide { display:inline; }
} @media screen and (max-width:1024px) {	
	/* BREAK */
	._bd_break-verywide { display:inline; }
}



/* @ PRINT */
@media screen {
	._bd_show-at-print-block,
	._bd_show-at-print-inline,
	._bd_show-at-print-inline-block {
		display:none !important;
		}
}	
@media print {
	body {
		margin:0;
		}
	*, * * {
		color:#000 !important;
		background-image:none !important;
		background-color:transparent !important;
		}
	._bd_show-at-print-block {
		display:block !important;
		}
	._bd_show-at-print-inline {
		display:inline !important;
		}
	._bd_show-at-print-inline-block {
		display:inline-block !important;
		}
	._bd_hide-at-print {
		display:none !important;
		}

}

