@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: 100%;
	max-width: 100%;
	min-height: 100%;
	font-family: 'Merriweather', serif;
	color: rgb(43,39,40);
}

body.preload * {
	-webkit-animation-duration: 0s!important;
	animation-duration: 0s!important;
}

h1 {
	font-size: clamp(1.7em, 3vw, 2em);
	line-height: 1.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;
}

p {
	margin: 0 0 1em 0;
	color: rgb(0,76,127);
	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;
}
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;
	top: 0.5em;
	right: 2em;
	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: 60px;
	height: 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 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;
}
.nav a{
	display: block;
	color: rgba(46,46,46,1);
	padding: 0.5em 1em;
	text-decoration: none;
	font-size: 120%;
}
.nav a:hover {
	color: white;
}

/* -------------------------- FOOTER ----------------------------------- */

footer {
	position: relative;
	z-index: 10;
}
footer img {
	vertical-align: top;
	width: 100%;
	height: auto;
}
footer .location{
	position: absolute;
	left: 2em;
	bottom: 1em;
	color: white;
	font-size: clamp(0.8em, 1vw, 1.1em);
	color: white;
}


.sub-footer {
	position: relative;
	padding: 2em;
	background-color: rgb(46,46,46);
	color: rgba(232,225,213,1);
	text-align: center;
	font-size: 70%;
	font-weight: 300;
}
.sub-footer  a {
	color: white;
	font-weight: 500;
}
.sub-footer .social-container{
	position: absolute;
	top: 0.5em;
	left: 2em;
	white-space: nowrap;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.sub-footer .social-container a{
	display: block;
	width: auto;
	height: auto;
}
.sub-footer .social-container a img {
	width: 60px;
	height: 60px;
}

/* -------------------- UNIVERSAL STYLES ---------------------------- */

.bkgrd-taupe{
	background-color: rgba(232,225,213,1);
}
.bkgrd-blue {
	background-color: rgba(31,59,95,1.00);
	color: white;
}
.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;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 0 0 0.5em;
	color: white;
	font-size: 3em;
	background-image: url("../images/stained-glass.webp");
	background-position: center;
	background-size: cover;
	text-shadow: 0 0 0.5em 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;
	font-size: 1.1em;
}
.two-columns-60-40 .text-container {
		flex: 3 1 0;
		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 0;
		padding: 0;
		position: relative;
		padding: 3em;
	}
.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: 1200px;
	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;
}

/* -------------------------- 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: 400px;
	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;
}
.image-block div {
	flex: 1 1 0;
}

.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){
	body{font-size: 0.8em;}
}

@media screen and (max-width: 1200px){
}

@media screen and (max-width: 1100px){
}

@media screen and (max-width: 1050px){
	.general {
		padding: 2em;
	}
}

@media screen and (max-width: 900px){
}

@media screen and (max-width: 850px){
}

@media screen and (max-width: 800px),
		 screen and (orientation: portrait), 
		 screen and (max-aspect-ratio: 1){
			 
	.title{display: none;}
			 
	.team-list.sales > div > div{
		display: block;
	}
	.team-list.sales > div > div:nth-of-type(n + 2) {
		padding-left: 0;
	}
	.team-list.sales > div > div:nth-of-type(n + 2)::before {
		content: '';
		position: relative;
		left: 0;
	}
}

@media screen and (max-width: 700px){
}

@media screen and (max-width: 600px){
}

@media screen and (max-width: 500px){
	.footer,
	.locations{font-size: 0.75em;}
}

@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;}
}

/*-----------*/
