:root {
	--link-color: #286903;
	--link-hover-color: #1a0285;
}

html {
	scroll-behavior: smooth;
}

img {
	height:  auto;
}

.fade-in {
	opacity: 0.07;
}

.fade-in.visible {
	opacity: 1;
	transition: opacity 750ms ease;
}

.permanent_marker {
	font-family: 'Permanent Marker', "Permanent Marker-fallback";
	font-display: fallback;
}

a.nav-link, a.dropdown-item, h1, h2, h3, h4 {
	font-family: 'Quando', "Quando-fallback";
	font-display: fallback;
}

/*
 * Resposive container
 */

main.wrapper {
	display: grid;
	grid-template-columns: 1fr min(1296px, calc(100% - 40px)) 1fr;
	column-gap: 20px;
}

main.wrapper > * {
	grid-column: 2;
}

main.wrapper > .full-bleed {
	grid-column: 1 / -1;
	width: 100%;
}


/*
 * Navbar
 */

a.nav-link {
	margin-left: 10px;
}

.navbar, .navbar .dropdown-menu, .navbar .dropdown-item {
	/*color: white;*/
}

.dropdown-menu-dark .dropdown-item.active,
.dropdown-menu-dark .dropdown-item:active {
	background-color: transparent;
}


.accordion-button {
	color: black;
	font-size: calc(1rem + .6vw);
}

.accordion-body {
	padding: 1rem;
}

a.collapse {
	white-space: nowrap;
}

.accordion-button.collapsed {
	background-color: var(--bs-gray-200) !important;
}

.accordion-button:not(.collapsed) {
	color: black;
	background-color: var(--bs-gray-100) !important;
}

/* required in migration to bootstap 5.2.x */
nav a, nav a:link, nav a:visited, nav a:active, nav a:hover {
	color: rgba(255,255,255,.55);
}

nav a.navbar-brand {
	color: white;
}

a, a:link, a:visited, a:active, a:hover {
	color: var(--link-color);
}


a:hover {
	color: var(--link-hover-color);
}

@media (max-width: 790px) {
	#splash {
		padding-top: 100px;
	}
}


#services-integration-circle::before,
#services-facilitator-circle::before,
#services-facilitator-training::before,
#services-soundbath-circle::before
{
	content: "";
	display: block;
	height: 130px;
	margin: -130px 0 0;
}

/* Required for proper navbar scrolling */
#testimonials-facilitation::before,
#about_medicine::before,
#our_mission::before
{
	content: "";
	display: block;
	height: 60px;
}

#about_medicine::before,
#our_mission::before
{
		height: 30px;
}

div.retreat-box {
	display: flex;
	flex-flow: column nowrap;
	gap: 20px;
}



div.retreat-box > div.thumbnail {
	flex: 30%;
}

div.retreat-box > div.text {
	flex: 70%;
}

div.thumbnail img {
	width: 100%;
}

@media (min-width: 700px) {
	div.retreat-box
	{
		flex-flow: row nowrap;
	}
}

@media (min-width: 1000px) {
	div.retreat-box > div.thumbnail {
		flex: 30%;
	}

	div.retreat-box > div.text {
		flex: 70%;
	}
}

.contact_button {
	background-color: #286903;
	color: white;
	text-align: center;
	font-weight: bold;
	font-size:  1.15rem;
	border-radius:  1000px;
	padding: 5px 15px 5px 15px;
	transition: background-color 250ms;

}

.contact_button:hover {
	color: white;
	background-color: var(--link-hover-color);
	transition: background-color 250ms;
}

.asterisk {
	color: #e85c41;
	/*vertical-align: super;*/
	/*font-size: 150%;*/
	/*font-weight: normal;*/
/*	position: relative;
	top: 5px;
	margin-top: -10px;*/
}

#mc_embed_signup div#mce-responses {float:left; top:-1.4em; padding:0em .5em 0em .5em; overflow:hidden; width:90%; margin: 0 5%; clear: both;}
#mc_embed_signup div.response {margin:1em 0; padding:1em .5em .5em 0; font-weight:bold; float:left; top:-1.5em; z-index:1; width:80%;}
#mc_embed_signup #mce-error-response {display:none;}
#mc_embed_signup #mce-success-response {color:#529214; display:none;}
#mc_embed_signup label.error {display:block; float:none; width:auto; margin-left:1.05em; text-align:left; padding:.5em 0;}

nav.bottom-right {
	position: fixed;
	bottom: 0px;
	right: 0px;
	z-index: 1000;
}

nav.bottom-left {
	position: fixed;
	bottom: 0px;
	left: 5px;
	z-index: 1000;
}


#splash {
	overflow-x: clip;
	overflow-y: visible;
	position: relative;
	margin-bottom: 48px;
}

#splash.fade-in {
	opacity: 0;
}

#splash.fade-in.visible {
	opacity: 1;
	transition: opacity 2000ms ease-out;
}

#splash h1 {
	display: inline;
}

a.card-link {
	white-space: nowrap;
	margin-left:  0 !important;
	margin-right: 1rem;
}

.nowrap {
	white-space: nowrap;
}

#blog-content h2 {
	margin-top: 2rem;
}

section#blog-listing img {
	aspect-ratio: 1 / 1;
}

/*
 * Testimonial styles
 */

.scroll-container {
	overflow-x: scroll;
	overscroll-behavior-x: contain;
}

#testimonial-container {
	padding-left: 5vw;
	display: grid;
	grid-auto-columns: 90vw;
/*	grid-template-columns: repeat(auto-fit, 90vw);*/
	grid-template-rows: 1fr 1fr;
	grid-auto-flow: column dense;
	column-gap: 40px;
	align-items: center;
}

#testimonial-container .hidden {
	display: none;
}

#testimonialModal a[data-bs-target="#testimonialModal"] {
	display: none;
}

.testimonial-item.individual figcaption div.badge,
#testimonialModal .modal-title .badge.individual { background-color: #1a0285; }
.testimonial-item.retreat figcaption div.badge,
#testimonialModal .modal-title .badge.retreat { background-color: #286903; }
.testimonial-item.sound-bath figcaption div.badge,
#testimonialModal .modal-title .badge.sound-bath { background-color: #0c7d9c; }

.testimonial-item.individual figcaption div.badge::after,
#testimonialModal div.badge.individual::after { content: "Individual & Couple"; }
.testimonial-item.retreat figcaption div.badge::after,
#testimonialModal div.badge.retreat::after { content: "Self Contact Retreat"; }
.testimonial-item.sound-bath figcaption div.badge::after,
#testimonialModal div.badge.sound-bath::after { content: "Sound Bath"; }



.testimonial-item.tall-2 {
	grid-row: auto / span 2;
}

.testimonial-item.tall-3 {
	grid-row: auto / span 2;
}

#testimonial-container:last-child::after {
	content: "";
	width: 5vw;
	height: 1px;
	transform: translateX(-40px);
	grid-row: 1 / -1;
}

@keyframes testimonials-bounce {
	0% { transform: translateX(0); }
	50% { transform: translateX(-20vw); }
	100% { transform: translateX(0); }
}

#testimonial-container.bounce {
	animation: testimonials-bounce 2s;
	animation-fill-mode: both;
}

@media (min-width: 700px) {
	#testimonial-container {
		grid-auto-columns: 45vw;
		padding-left: 2.5vw;
	}

	#testimonial-container:last-child::after {
		width: 2.5vw;
	}

}

@media (min-width: 800px) {
		#testimonial-container {
		grid-template-rows: 1fr 1fr 1fr;
	}
	.testimonial-item.tall-3 {
		grid-row: auto / span 3;
	}

}

@media (min-width: 1200px) {
	#testimonial-container {
		grid-auto-columns: 30vw;
/*		grid-template-columns: repeat(auto-fit, 30vw);*/
		padding-left: 2.5vw;
	}

	#testimonial-container:last-child::after {
		width: 2.5vw;
	}
}



/*
* Event page styles
*/

.event #main-grid-area {
	display: flex;
	flex-direction: row;
	gap: 50px;
}

#buy-tickets {
	left: 0;
	text-align: center;
	width: 100%;
	display: none;
}


/* desktop view */
@media (min-width: 880px) {
	.event #right-content .sticky {
		height: calc(100vh - 100px);
		overflow-y: scroll;
	}

	.event #right-content .announcement-channel {
		display :none;
	}
}

/* mobile view */
@media (max-width: 880px) {
	.event #main-grid-area {
		flex-direction: column;
	}

	#buy-tickets {
		display: block;
	}

	.event #left-content .announcement-channel {
		display: none;
	}
}

@media (min-width: 1200px) {
	.event .tt-widget {
		width: 395px;
	}
}

.event #right-content {
	min-height: 500px;
}

.event #right-content .sticky {
	position: sticky;
	top: 100px;
	min-width: 280px; /* improves but does not fix CLS */
}


.event h1 {
	font-size: 1.8em;
}

.event h2 {
	font-size: 1.3em;
	margin-top: 2em;
	margin-bottom: 1.5em;
}

.event p {
	margin-bottom: 1.5;
}

.event {
	color: #4A4A4A;
}

.event .hidden {
	display: none !important;
}

figure.block-testimonial {
/*	background-color: #f8faf7; */
	background-color: rgb(var(--bs-light-rgb));
	padding: 1rem;

}

figure.block-testimonial p {
	font-size: var(--bs-body-font-size);
}

figure.block-testimonial > p:first-child {
	font-style: italic;
}

figure.block-testimonial blockquote {
	position: relative;
}

figure.block-testimonial blockquote::before {
	content: "\201C";
	position: absolute;
	text-align: left !important;
	left: -6rem;
	top: -2.2rem;
	font-family: "Quando", "Quando-fallback";
	opacity: 0.3;
	font-size: 10rem;
}

figure.block-testimonial blockquote,
figure.block-testimonial figcaption {
	margin-left: 5rem;
}


@media (max-width: 450px) {
	figure.block-testimonial blockquote::before {
		left: 0;
		top: -2rem;
		height: 4rem;
		margin-right: 0.3rem;
		margin-bottom: 1rem;
		float: left;
		position: relative;
	}
	figure.block-testimonial blockquote,
	figure.block-testimonial figcaption {
/*		top: 15VW;*/
/*		margin-top: 15VW;*/
		margin-left: auto;
	}
}


/*
 * Upcoming events
 */

.upcoming-events .event .date {
	font-size: clamp(22px, 3vw, 32px);
/*	font-size: 3vw;*/
}

.upcoming-events .event img {
	width: 100%;
}


/*
 * Sliding Scale
 */

#sliding-scale:before {

}

.sliding-scale-header,
.sliding-scale-level .conjection {
	font-weight: bold;
}

.sliding-scale-level div:nth-child(3),
.sliding-scale-header div:nth-child(3) {
	text-align: right;
}

.sliding-scale-level div:nth-child(4) {
	text-align: center;
}


.sliding-scale-level div:nth-child(3)::first-letter,
.sliding-scale-level div:nth-child(5)::first-letter {
	font-weight: bold;
}

.sliding-scale-pricing {
	max-width: min(100%, 45em);
	overflow-x: scroll;
	margin: auto;
}

.sliding-scale-pricing span.cad-value {
	display: block;
/*	margin-bottom: 5px;*/
}

.sliding-scale-pricing .row {
	margin-bottom: 5px;
}

/*.sliding-scale-pricing .even-row {
	background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}*/

.sliding-scale-pricing .scrollbox {
	min-width: 33em;
}

.sliding-scale-pricing .scrollbox .row {
	margin-left: 0;
	margin-right: 0;
}

.sliding-scale-pricing .scrollbox .col:first-child {
	margin-left: 0;
}

select.currency-selector {
	display: inline;
	width: 6em;
}