/**** Cursor ****/
	summary
	{ cursor: pointer; }

/**** Structure ****/
:root {
	--appbar-height: 60px;
}

@font-face {
	font-display: swap;
    font-family: "Rasputin";
    src: url("Rasputin.woff2");
}

@font-face {
	font-display: swap;
    font-family: "OpenSans";
    src: url("OpenSans-Regular.woff2");
}

html {

	font-size: 16px;
	height: 100%;
    letter-spacing: 1px;
}

html * {
	box-sizing: border-box;
}

body {
	font-family: "OpenSans";
    margin: 0;
}

a {
	font-weight: bold;
	text-decoration: none;
}

a:hover,
a:active {
	text-decoration: underline;
}

article {
	columns: auto 600px;
	column-gap: 1em;
	margin: 0 auto;
	orphans: 3;
	widows: 3;
	width: clamp(190px, 95%, 1500px);
}

article#donate,
article#team,
section#blog article,
section#events article
{ columns: 1; }

article#team .content {
	align-items: stretch;
	justify-content: space-between;
	display: flex;
	flex-flow: row wrap;

}

blockquote {
	break-inside: avoid;
	font-style: italic;
	margin: .5rem auto;
	padding: 10px;
	width: auto;
	max-width: max-content;
}

button,
a.button {
	break-inside: avoid;
	display: inline-block;
	margin: 10px;
	padding: 10px;
	white-space: nowrap;
}

button,
a.button,
input[type=submit],
input[type=reset],
input[type=button] {
	font-weight: bold;
}

details[open] {
	padding-bottom: 1rem;
	margin-bottom: 1rem;
}

footer {
	display: block;
	margin-top: 1rem;
	padding: .5rem;
	text-align: center;
}

figure {
	break-inside: avoid;
	display: inline-block;
	margin: 0 0 1em 0;
	overflow: hidden;
	position: relative;
}

figure p {
	padding: 10px;
}

figure > *
{ margin: 0; }

figure img {
	width: 100%;
	object-fit: cover;
}

figcaption {
	padding: 5px 10px;
	font-size: small;
	width: 100%;
}

form {
	break-inside:avoid;
}

h1, h2, h3, h4, h5, h6, a {
	font-family: "Rasputin";
	margin-bottom: .5rem;
}

h1, h3, h4, h5, h6 {
	margin-top: 0;
}

h1 {
	font-size: 2.25rem;
	line-height: 2.5rem;
	margin-left: 60px;
	margin-right: 1rem;
	text-align: left;
}

h2 {
	font-size: 1.75rem;
/*	margin-bottom: 2rem;*/
}

h3 { font-size: 1.5rem }
h4 { font-size: 1.25rem }


header {
	overflow: hidden;
	box-sizing: border-box;
	column-span: all;
	margin: 2rem auto;
	text-align: center;
}

header nav > a {
	margin: 0 10px;
}

header.demihero {
	position: relative;
	margin: 0;
	z-index: 0;
	max-height: 300px;
}

header.demihero h2 {
	margin-bottom: 0;
}

header.demihero > img {
    object-fit: cover;
    object-position: 0 -5vh;
    width: 100%;
}

header.demihero > img + * {
    position: absolute;
    left: 0;
    text-align: center;
    top: 70%;
    width: 100%;
}

header.hero {
    height: clamp(400px, 40vw, 50rem);
    margin-top: 0;
}

header.hero img {
    height: clamp(400px, 40vw, 50rem);
	min-width: 100vw;
    object-fit: cover;
}

header #masthead-logo {
	height: clamp(100px, 10vw, 150px);
}

img {
	max-height: 100%;
	max-width: 100%;
}

img.medium {
	max-height:100px;
	max-width:150px;
}

img.small {
	max-height:50px;
	max-width: 100px;
}

iframe {
	min-height: inherit;
	width: 100%;
	column-span: all;
	overflow:auto;
}

li
{ margin-bottom: 1rem; }

li > h2,
li > h3,
li > h4 {
	display: inline;
}

p {
	margin: 1rem 0;
	padding: 0 1rem;
}

summary > * {
	display: inline;
	margin: 0;
}

details[open] > summary {
	margin-bottom: 1rem;
	padding: .5rem;
}

details[open]:has(header) > summary
{ margin-bottom: 0; }

ul
{ list-style-position: inside; }

ul ul
{
	margin: 0;
	padding: 0 1rem;
}

.articles {
	display: inline-block;
	margin: 0 auto;
	vertical-align: top;
	width: calc(100% - 11vw);
}

.blurb {
	margin: 3rem 10px;
	padding: 10px;
}

/*.card-group {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}*/

.center {
	text-align: center;
}

.columns1 {
	columns: 1;
}

.content,
.post {
	padding: 1rem 1vw;
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
}

.event-meta {
	display: flex;
	flex-wrap: wrap;
	padding: 0 1rem;
}

.gallery {
	padding-top: var(--appbar-height);
	min-height: calc(100% - var(--appbar-height));
}

.fullpage {
	height: calc(100vh - var(--appbar-height));
}

.flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1em;
}

.flex.column
{ flex-direction: column; }

.flex.start
{ justify-content: start; }

.flex1 {
    flex: 1;
}

.flex2 {
	flex: 2;
}

.flex3 {
	flex: 3;
}

.h500 {
	max-height: 500px;
}

.h500 figcaption {
	position:absolute;
	bottom:0;
}

.shortmenu {
	white-space: normal;
}

.shortmenu a {
	margin: 0 1rem;
	white-space: nowrap;
}

.space {
	margin-top: 3vh;
	margin-bottom: 3vh;
}

.spacer {
	height: 1rem;
}

.spinner {
	background-image: url("yinyang.svg");
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}

.sticky {
	align-items: center;
	align-content: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
    max-width: 80vw;
	padding: 10px;
	position: sticky;
	top: 1em;
    width: max-content;
	z-index: 3;
}

header.sticky {
	margin-top: -4rem;
}

#givebutter-donate-form {
	max-width: 601px;
	min-height: 510px;
	overflow: hidden;
	width: 100%;
}

#map {
	height: clamp(400px, 80vh, 1024px);
	width: 100%;
}

#team .content {
	display: flex;
	gap: 1rem;
	padding: 0;
}

@media all and (max-width: 500px) {
	.sticky,
	.shortmenu { display: none; }

	.articles { width: 100%; }
	.flex1, .flex2, .flex3 { flex: 1 0 500px; }
} /* @media */

@media all and (max-width: 640px) {
	.flex { display: block; }
} /* @media */

@media all and (max-width: 800px) {
	ul, ul {
		list-style-type: none;
		padding-left: 0;
		padding-right: 0;
	}
} /* @media */
