@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');

/* -------------------- UNIVERSAL TAG STYLES ------------------------ */

:root {
	interpolate-size: allow-keywords
}

* {
    box-sizing:        border-box;
	-moz-box-sizing:    border-box;
   -webkit-box-sizing: border-box;
}

html {
	padding: 0px;
	margin: 0px;
	border: 0px;
	min-height: 100%;
	width: 100%;
	background-color: rgb(255,255,255);
	scroll-behavior: smooth;
}			
body {
	padding: 0px;
	margin: 0px;
	border: 0px;
	font-size: clamp(90%, 1vw, 100%);
	max-width: 100%;
	min-height: 100dvh;
	font-family: 'Merriweather', serif;
/*	color: rgb(43,39,40);*/
	color: rgb(0,76,127);
	background-color: rgba(232,225,213,1);
	
	display: flex;
	flex-direction: column;
}
body.preload * {
	-webkit-animation-duration: 0s!important;
	animation-duration: 0s!important;
}

h1 {
	font-size: clamp(1.6em, 3vw, 2em);
	font-weight: 900;
	margin: 0 0 0.15em 0;
	color: rgb(0,22,52);
}
h1:not(:has(+ h2)) {
	margin-bottom: 1em;
}

h2 {
	font-size: clamp(1.4em, 2vw, 1.7em);
	font-weight: 900;
	line-height: 1.2em;
	margin: 0;
	text-transform: uppercase;
}

h1 + h2 {
	margin-bottom: 1em;
}

h3 {
	font-size: clamp(1.2em, 1vw, 1.5em);
	font-weight: 500;
	line-height: 1.4em;
	padding: 0;
	margin: 0;
	text-decoration: underline;
}	
h4 {
	font-size: 1.4em;
	color: rgb(180,180,180);
	font-weight: 300;
	margin: 0;
}
img {
	vertical-align: top;
}
p {
	margin: 0 0 1em 0;
	font-size: 1.0em;
	line-height: 1.5em;
}
ul:not(.nav), ol {
	font-size: 1.0em;
	line-height: 1.5em;
}

/*-----------------------TITLE BAR ----------------------------------*/

header.title {
	position: relative;
	width: 100%;
/*	height: 0;*/
	overflow: visible;
	vertical-align: top;
	z-index: 1;
}
header.innerPageTitle{
	position: relative;
	width: 100%;
}
header.innerPageTitle .bkgrd-container {
	position: relative;
	height: auto;
}
header.innerPageTitle img{
	
}
header .bkgrd-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: auto;
	img {
		width: 100%;
		height: auto;
	}
}
header .logo-container {
	display: inline-block;
	text-decoration: none;
	position: absolute;
	top: 0.5em;
	left: 1em;
}
header .logo-container img {
	position: relative;
	width: 15vw;
	height: auto;
	filter: drop-shadow(0 0 1em rgba(255,255,255,0.5));
}
header .cta-container {
	position: absolute;
	top: 0.5em;
	left: 50%;
	transform: translate(-50%,0);
	color: white;
	font-style: italic;
	color: white;
	font-size: 1.2em;
}
header .social-container{
	position: absolute;
	bottom: 0.5em;
	right: 1em;
	white-space: nowrap;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
header .social-container a{
	display: block;
	width: auto;
	height: auto;
}
header .social-container a img {
	width: clamp(40px, 5vw, 60px);
	height: clamp(40px, 5vw, 60px);
}

header .hero-container{
	width: 100%;
	padding-top: 8vw;
}
header .hero-container img {
	vertical-align: top;
	width: 100%;
	height: auto;
}

/*---------------- NAV BAR ------------------------------*/
#nav_switch {
	position: fixed;
	left: -100px;
}
.nav-container{
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	padding: 0.5vw 2em;
	background-color: rgba(200,169,107,1);
/*	border: solid 5px rgba(46,46,46,1.00);*/
	z-index: 10;	
} 
.nav {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	flex: 0 1 0;
	flex-wrap: wrap;
}
.nav a{
	display: block;
	color: rgba(46,46,46,1);
	padding: 0.5em 0;
	text-decoration: none;
	font-size: 120%;
}
.nav a:hover {
	color: white;
}
.mobile-nav-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: rgba(31,59,95,1.00);
	color: white;
	display: none;
	align-content: center;
	justify-content: space-between;
	gap: 2em;
	padding: 10px;
}
.mobile-nav-header div {
	font-size: 120%;
}
 .mobile-nav-button{
	width: 25px;
	height: 18px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	cursor: pointer;
	background-image: linear-gradient(0deg, transparent calc(50% - 1px), white calc(50% - 1px), white calc(50% + 1px), transparent calc(50% + 1px));
	pointer-events: all;
	transition: all 0.5s;
}
.mobile-nav-button:before {
	content: '';
	display: block;
	border: none;
	width: 100%;
	height: 2px;
	background-color: white;
	transition: all 0.5s;
}
.mobile-nav-button:after {
	content: '';
	display: block;
	border: none;
	width: 100%;
	height: 2px;
	background-color: white;
	transition: all 0.5s;
}
#navcontrol {
	position: absolute;
	left: -100px;
}
#navcontrol:checked + div .mobile-nav-button {
	background-image: none;
}
#navcontrol:checked +div  .mobile-nav-button:before {
	transform: translateY(8px) rotate(45deg);
	background-color: red;
}
#navcontrol:checked + div .mobile-nav-button:after {
	transform: translateY(-8px) rotate(-45deg);
	background-color: red;
}


/* -------------------------- FOOTER ----------------------------------- */

footer {
	position: relative;
	z-index: 10;
	margin-top: auto;
	background-color: rgba(31,59,95,1.00);
	background-image: url('../images/footer-bkgrd-image.webp');
	background-position: top left;
	background-size: auto 100%;
	background-repeat: no-repeat;
	background-blend-mode: multiply;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0 3em;
	padding: 2em;
}
footer div {
	flex: 0 1 auto;
}
footer img {
	vertical-align: top;
	width: 300px;
	height: auto;
	padding: 0.5em;
	filter: drop-shadow(0 0 4.5em rgba(255,255,255,0.9));
}

footer .location{
	color: white;
	font-size: 1.1em;
}


.sub-footer {
	position: relative;
	padding: 0.5em 2em;
	background-color: rgb(46,46,46);
	color: rgba(232,225,213,1);
	text-align: center;
	font-size: 70%;
	font-weight: 300;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0 2em;
}
.sub-footer  a {
	color: white;
	font-weight: 500;
}
.sub-footer .contact-info {
	flex: 0 1 auto;
}
.sub-footer .social-container{
	flex: 0 1 auto;
	position: relative;
	white-space: nowrap;
	text-align: center;
}
.sub-footer .social-container a{
	display: inline-block;
	width: auto;
	height: auto;
}
.sub-footer .social-container a img {
	width: clamp(40px, 5vw, 60px);
	height: clamp(40px, 5vw, 60px);
}

/* -------------------- UNIVERSAL STYLES ---------------------------- */

a.btn,
button.btn{
	display: block;
	padding: 0.5em 1em;
	color: white;
	background-color: rgba(31,59,95,1.00);
	margin: 2em auto;
	text-decoration: none;
	border-radius: 5px;
	border: none;
	width: fit-content;
	font-family: inherit;
	font-size: inherit;
}
.bkgrd-taupe{
	background-color: rgba(232,225,213,1);
}
.bkgrd-blue {
	background-color: rgba(31,59,95,1.00);
	color: white;
}
.bkgrd-tan {
	background-color: rgba(169,134,63,1.00);
}
.bkgrd-blue * {
	color: white;
}
.centered-block {
	width: 100%;
	max-width: 800px;
	margin: 4em auto 0 auto;
}
.centered-block ul{
	margin: 1em auto;
	width: fit-content;
}
.centered-block h3 {
	text-align: center;
}
.divider-stainedGlass {
	position: relative;
	width: 100%;
	aspect-ratio: 10;
	min-height: 4em;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 0 0 0;
	color: white;
	font-size: clamp(2em, 3vw, 3em);
	background-image: url("../images/divider-stained-glass.webp");
	background-position: center;
	background-size: auto 100%;
	text-shadow: 0 0 0.5em black, 0 0 1em black, 0 0 1em black, 0 0 1em black, 0 0 1em black, 0 0 1em black;
	border-style: solid;
	border-color: rgb(46,46,46,1);
	border-width: 5px 0;
}

.two-columns-60-40 {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	flex-wrap: wrap;
}
.two-columns-60-40 .text-container {
		flex: 3 1 400px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		padding: 6em 2em
}
.two-columns-60-40 .text {
		width: 100%;
		max-width: 800px;
		margin: 0 auto;
	}
.two-columns-60-40 .text p {
		line-height: 1.8em;
	}
.two-columns-60-40 .text h1 {
		text-align: center;
	}
.two-columns-60-40 .image-container,
.two-columns-60-40 .events-container{
		flex: 2 1 500px;
		padding: 0;
		position: relative;
		padding: 3em;
		min-height: 400px;
	}
.two-columns-60-40 .image{
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}
.two-columns-60-40 .caption{
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	padding: 0.5em 2em;
	text-align: center;
	color: white;
	font-weight: 700;
	filter: drop-shadow(0 0 0.5em black) drop-shadow(0 0 1em black);
}



.single-column-center {
	padding: 6em 2em;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
}
.single-column-center img{
	width: 100%;
	max-width: 600px;
	height: auto;
	margin: 1em auto;
	display: block;
}

.board-members {
	width: 100%;
	max-width: fit-content;
	margin: 2em auto;
}
.board-image-caption {
	font-size: 80%;
	text-align: left;
	margin: 0 auto;
	text-align: center;
	max-width: 600px;
}

/* ---------------------------- FORM STYLES ----------------------------------- */

.application-form {
	
	.list-member {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 5px;
		flex-wrap: wrap;
		position: relative;
	}
	.list-member .left,
	.list-member .right {
		flex: 1 1 500px;
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 5px;
	}
	.list-member .delete {
		font-size: 200%;
		border:none;
		background-color: transparent;
		color: rgba(150,0,0,1);
		height: 1.2em;
		line-height: 1em;
		cursor: pointer;
		padding: 0;
		position: absolute;
		right: calc(100% + 5px);
		top: 0;
	}
	.list-member:first-of-type .delete {
		display: none;
	}
	.section-header {
		font-size: 140%;
		font-weight: 800;
		padding: 1em 0;
		text-decoration: underline;
		text-underline-offset: 0.3em;
	}
	.section-header:first-of-type {
		padding-top: 0;
	}
	.line-header {
		padding: 0 0 7px 0;
	}
	.section-container {
		padding: 0.5em 0 0 2em;
	}
	.section-container .note{
		font-size: 80%;
	}
	.section-container.two-column {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 2em;
		flex-wrap: wrap;
	}
	.column-A {
		flex: 1 1 300px;
		width: auto;
	}
	.column-B {
		width: auto;
		flex: 1 1 300px;
		display: none;
		border: none;
		padding: 0;
		margin: 0;
		min-width: 0;
	}
	&:has(input[type="radio"][value="Couple/Family"]:checked) .column-B {
		display: block;
	}
	.section-container .preferred {
		width: fit-content!important;
		position: absolute!important;
		left: -1.5em;
		top: 0.4em;
	}
	.radio-container {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.25em 2em;
		flex-wrap: wrap;
		padding-bottom: 1em;
	}
	.radio-title {
		width: auto;
		min-width: 8em;
		flex: 0 1 auto;
	}
	.radios-container {
		width: auto;
		min-width: 380px;
		flex: 1 1 auto;
		display: flex;
		justify-content: flex-end;
	}
	.radios-container label {
		display: block;
		white-space: nowrap;
		text-align: left;
		font-weight: bold;
		flex: 0 1 9em;
	}
	.radios-container input{
		border-radius: 100%;
	}
	
	.privacy-choice {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 1em;
		margin-top: 1em;
	}
	.privacy-radio,
	.privacy-label {
		flex: 1 1 auto;
		width: fit-content;
		font-weight: bold;
	}
	.captcha-container {
		width: 100%;
		max-width: 400px;
		margin: 2em auto 0 auto;
	}	
	.interest-columns {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
		gap: 0.5em 2em;		
	}
	.interest-columns > div {
		display: flex;
		align-items: flex-start;
		gap: 0.5em;
	}
	.fee-table {
		display: grid;
		grid-template-columns: auto auto;
		gap: 1em 2em;
		max-width: 800px;
		margin: 0 auto 2em auto;
		background-color: white;
		padding: 1em;	
	}
	.fee-table div:nth-of-type(even){
		font-weight: 900;
		text-align: right;
	}
}

/* -------------------------- SPECIAL SECTION STYLES -------------------------- */

.about {
	
}

.board {

}

.contact {
	.BGM-contact-form {
		padding: 0;
	}
}

.donate {
	
}

.calendar {
	padding: 2em;
	#BGM-calendar-container {
		background-color: rgba(31,59,95,1.00);
		padding: 0;
		box-shadow: none;
		font-family: inherit;
		display: table;
		width: 100%;
		font-size: 1em;
	}
}

.news {
	max-width: 1500px;
	.BGM-allNewsRelease-container{
		display: block!important;
	}
	.BGM-newsRelease-container{
		background: none;
		clear: both;
		padding: 0 0 2em 0;
	}
	img {
		width: auto;
	}
}

.gallery {
	.BGM-gallery-alt6-group-container {
		padding: 2px;
	}
	.BGM-gallery-alt6-group-container figure{
		padding: 2px;
	}	
}

.pictures {
	padding: 0;
	.image-container {
		width:  100%;
		margin: 0 auto;
		display: flex;
		align-items: stretch;
		justify-content: center;
		gap: 0;
	}
	img {
		flex: 1 1 350px;
		min-width: 0;
		display: block;
		object-fit: contain;
		z-index: 1;
	}
	img:first-of-type {
		margin-right: -5%;
		mask-image: linear-gradient(90deg, black, black 95%, transparent 100%);
		z-index: 2;
	}
	img:last-of-type {
		margin-left: -5%;
		z-index: 2;
		mask-image: linear-gradient(90deg, transparent, black 5%, black);
	}
}
.recipient {
	padding: 6em 2em;
	text-align: center;
	font-size: clamp(57%, 1vw, 100%);
	.account {
		font-size: 2em;
	}
	.email {
		font-size: 3em;
		font-weight: bold;
	}
	.non-profit-statement {
		font-size: 80%;
		text-align: left;
	}
}

.resources {
	max-width: 1500px;
}

.voices {
	max-width: 1500px;
	.BGM-testimonial{
		line-height: 1.8em;
		font-style: italic;
	}
	.BGM-testimonial:before,
	.BGM-testimonial:after {
		line-height: 0;
		vertical-align: -0.5;
		font-family: 'Georgia', serif;
		font-style: normal;
		padding: 0 0.1em;
	}
}

/* -------------------------- HOME PAGE ------------------------------ */

.events-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 1em;
}
.events-container hr{
	border: none;
	height: 1px;
	background-color: rgba(255,255,255,0.5);
	margin:  1em 0;
}
.event-block {
	width: 100%;
	max-width: 500px;
	margin: 0 auto;
	flex: 1 1 0;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 1em
}
.event-block .date {
	width: 4em;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: stretch;
	gap: 1px;
	border: 1px solid rgba(255,255,255,0.5);
	background-color: rgba(255,255,255,0.5);
	text-align: center
}
.event-block .date .month {
	background-color: white;
	color: rgba(31,59,95,1.00);
	font-size: 80%;
}
.event-block .date .dom {
	background-color: rgba(31,59,95,1.00);
	color: rgba(255,255,255,1.00);
	font-size: 240%;
}
.event-block .date .year {
	background-color: rgba(31,59,95,1.00);
	color: white;
	font-size: 100%;
}

.image-block {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 2em;
}
.image-block div {
	flex: 1 1 400px;
}

.background-color {
	background-color: rgba(200,169,107,1.00);
}
/*
.map {
	background-color: rgba(200,169,107,1.00);
	height: 800px;
	margin-bottom: -8vw;
	position: relative;
	z-index: 1;
   opacity: 1;
}
.map:after{
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(31,59,95,1.00);
	z-index: 500;
	mix-blend-mode: overlay;
}
.map-top-container {
	position: relative;
	height: 0;
	overflow: visible
	position: relative;
	z-index: 502;
}
.map-top {
	width: 100%;
	height: auto;
	margin-bottom: 0;
}
.map .leaflet-touch .leaflet-control-layers {
	display: none;
}
.map .leaflet-top {
	top: 2.5em;
}
*/

/* ------------------------------ ABOUT PAGE --------------------*/



/* -------------------------- DEFAULT OVERRIDES --------------------------*/

.BGM-file-ex-display{width: auto;}



/* --------------------- MEDIA QUERIES ------------------------------------ */


@media screen and (max-width: 1600px){
}

@media screen and (max-width: 1500px){
}

@media screen and (max-width: 1400px){
}

@media screen and (max-width: 1200px){
}

@media screen and (max-width: 1100px){
	.gallery {
		.BGM-gallery-alt6-group-container figure{
			height: 20cqw;
		}	
}


@media screen and (max-width: 900px){
	.two-columns-60-40 .events-container {
		order: 2;
	}
}

@media screen and (max-width: 850px){
}

@media screen and (max-width: 800px),
		 screen and (orientation: portrait), 
		 screen and (max-aspect-ratio: 1){
			 
			 .innerPageTitle {
				 display: none;
			 }
			 header  {
				 display: none;
			 }
			 header .hero-container img {
				 min-height: 300px;
				 object-fit: cover;
			 }
			 header .hero-container img{
			 	display: none;
			 }
			 .about,
			 .welcome {
				 flex-direction: column;
			 }
			 .about .text-container,
			 .welcome .text-container {
				order: 2;
			 }
			 .about:nth-child(2 of .about) .text-container {
				 order: 1;
			 }
			 .about:nth-child(2 of .about) .image-container {
				 order: 2;
			 }
			 .mobile-nav-header {
				 display: flex;
				 z-index: 12;
				 position: sticky;
				 order: -1;
				 filter: drop-shadow(0 0 15px rgba(255,255,255,0.3));
			 }
			 .nav-container {
				 position: fixed;
				 inset: 0;
				 padding: 5em 1em;
				 z-index: 11;
				 transform: translateX(-105%);
				 transition: all 0.5s;
				 a {
					 border-bottom: 1px solid rgba(0,0,0,0.2);
				 }
				 .nav {
					 flex-direction: column;
					 justify-content: flex-start;
					 border-top: 1px solid rgba(0,0,0,0.2);
				 }
			 }
			 #navcontrol:checked + div + .nav-container{
				 transform: translateX(0%);
			 }
			 .two-columns-60-40 .text-container {
				 padding: 2em;
			 }
			 .footer {
				 flex-direction: column;
			 }
			 .footer .location {
				 order: 2;
				 text-align: center;
			 }
			 .sub-footer {
				 flex-direction: column;
				 padding-bottom: 2em;
			 }
			.gallery {
				.BGM-gallery-alt6-group-container figure{
					height: 30cqw;
				}	
			}
			 .single-column-center {
				 padding: 2em;
			 }
			 .application-form .section-container {
				 padding: 0.5em 0 0 1em;
			 }
}

@media screen and (max-width: 700px){
}

@media screen and (max-width: 600px){
	.radio-container {
		display: block!important;
	}
	.radios-container {
		display: block!important;
		padding-left: 1em;
	}
	.radio-title {
		margin-bottom: 1em;
	}
}

@media screen and (max-width: 500px){
	.gallery {
		.BGM-gallery-alt6-group-container figure{
			height: 40cqw;
		}	
	}
}
	
@media screen and (max-width: 450px){
}

@media screen and (max-width: 400px){
}



@media print{
	.main{width: 1400px!important}
	.noprint{display:none;}
	.BGM-CMS-admin-control, .BGM-CMS-form-container, #bgm-cms-screen, .aux-link-container, .homeRule, .slide-show{display:none;}
	*{background-color: white!important; background-image: none!important; background: initial!important;}
}

/*-----------*/
