:root {
	--main_blue: #3867d6;
	--swan_white: #f7f1e3;
	--elecromagentic: #2f3640;
	--section_odd_blue: #40739e;
	--section_even_blue: #dcdde1;
	--top_banner_height: 80px;
	--footer_height: 250px;
	--purple_golden: linear-gradient(to right, #3e2a57, #a9815d, #b78152, #3e2a57);
	--catholic_green: linear-gradient(135deg, #2F4F4F, #708090);
	--golden: linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
}

* {
	font-family: Nunito;
}

html,
body {
	width: 100%;
	height: 100%;
	padding: 0px;
	margin: 0px;
	background: var(--swan_white);
	overflow-x: hidden;
	overflow-y: auto;
}

button {
	outline: 0;
	border: none;
	background: transparent;
	color: black;
	padding: 5px !important;
	cursor: pointer;
	font-size: 19px;
	display: flex;
    align-items: center;
    justify-content: center;
}

/* Apply only to common fill-text inputs */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"] {
  width: 90%;
  height: 40px;
  border: none;
  border-radius: 3px;
  outline: 0;
  padding-left: 5px;
}


iframe {
	border-radius: 10px;
	border: 2px solid var(--elecromagentic) !important;
	margin-right: 80px;
	width: 500px;
}

#top_banner {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	width: 100vw;
	height: var(--top_banner_height);
	color: var(--swan_white);
	background: var(--catholic_green);
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	box-shadow: 2px 2px 10px black;
	z-index: 3;
}

[id^=banner_item_] {
	font-size: 18px;
}

[id^=banner_item_]:hover {
	transform: scale(1.1);
	transition: 0.4s;
	cursor: pointer;
}


#top_banner .nav-item {
	position: relative;
	cursor: pointer;
	user-select: none;
}

#top_banner .nav-label {
	margin: 0;
}

#top_banner .caret {
	margin-left: 6px;
	font-size: .8em;
	opacity: .7;
}

#top_banner .dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	display: none;
	min-width: 220px;
	padding: 6px 0;
	background: rgba(0, 0, 0, .85);
	backdrop-filter: saturate(120%) blur(6px);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 10px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
}

#top_banner .dropdown a {
	display: block;
	color: #fff;
	text-decoration: none;
	padding: 10px 14px;
	white-space: nowrap;
}

#top_banner .dropdown a:hover {
	background: rgba(255, 255, 255, .08);
}

#top_banner .nav-item.open .dropdown {
	display: block;
}

/* Hover open on desktop */
@media (hover:hover) {
	#top_banner .nav-item:hover .dropdown {
		display: block;
	}
}


#footer {
	width: 100vw;
	height: var(--footer_height);
	background: var(--catholic_green);
	color: white;
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	box-shadow: 2px 2px 10px black;
}

#footer_wrapper {
	display: grid;
	grid-template-rows: 1fr 1fr;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 0px;
	width: 100%;
	height: 100%;
}

[id^=footer_item_] {
	border: 0px solid black;
	display: flex;
	align-items: center;
	justify-content: center;
  font-size: 17px;
}


[id^=footer_item_]:hover {
  transform: scale(1.1);
  transition: 0.4s;
  color: #fffdc2;
  cursor: pointer;
}

.logo {
	width: 200px;
	cursor: pointer;
}

.side_panel {
	position: absolute;
	top: var(--top_banner_height);
	left: 0;
	bottom: 0;
	width: 200px;
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	flex-direction: column;
	color: white;
	border: none;
	z-index: 10;
}

.side_panel_items {
	width: 100%;
	height: 100%;
	background: #222;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid grey;
	font-size: 1em;
}

.side_panel_items:hover {
	background: #008E9C;
	cursor: pointer;
}

#edit_content_modal, #subscribe_now_modal, #bulk_email_modal, #show_all_forms_modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 400px;
	height: 200px;
	box-shadow: 2px 2px 10px black;
	background: var(--swan_white);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	color: white;
	border: 1px solid white;
	border-radius: 5px;
	z-index: 10;
}

#close_all_forms {
	position: absolute;
	top: 0;
	left: 0;
	margin: 10px;
	color: var(--swan_white);
	font-size: 20px;
	cursor: pointer;
}

#subscribe_now_modal, #bulk_email_modal {
	background: var(--elecromagentic);
	height: 270px;
	z-index: 99999;
}

#subscribe_now_input_title {
	font-size: 20px;
}

#subscribe_now_input_name, #subscribe_now_input_email, #bulk_email_modal_bulletin_title {
	height: 50px;
    border: none;
    outline: 0;
    border-radius: 5px;
    font-size: 18px;
    padding-left: 5px;
    width: 90%;
	min-height: 40px;
}

#bulk_email_modal_bulletin_textarea {
	width: 90%;
    height: 200px;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 18px;
    resize: none;
    padding: 10px;
}

#bulk_email_modal {
	width: 600px;
    height: 400px;
}

#subscribe_now_input_email {
	margin-top: 20px;
}

#subscribe_now_button, #bulk_email_send_email_button, #see_all_forms_button {
	background: var(--swan_white);
    margin-top: 20px;
    border-radius: 3px;
    margin-bottom: 20px;
}

#edit_content_modal_title {
	position: absolute;
	top: 0;
	text-align: center;
	color: black;
	font-size: 19px;
}

#hold_buttons {
	display: flex;
	flex-direction: row;
	border: 0px solid black;
	position: absolute;
	top: 0;
	width: 80%;
	margin-top: 8px;
	align-items: center;
	justify-content: space-evenly;
}

#replace_button,
#add_button {
	height: 40px;
	font-size: 17px;
	cursor: pointer;
	color: black;
	background: #d1ccc0;
}

#replace_button {
	outline: 4px solid #34ace0;
}

#close_edit_content_modal {
	position: absolute;
	top: 0;
	right: 0;
	margin: 10px;
	font-size: 20px;
	cursor: pointer;
	color: black;
}

#save_edit_content_button {
	position: absolute;
	bottom: 0;
	margin-bottom: 20px;
	cursor: pointer;
	background: #218c74;
	color: white;
	font-size: 19px;
}

.slide_in_section {
	display: block;
	opacity: 0;
	transform: translateY(40px);
	transition: all 0.6s ease-out;
	will-change: transform, opacity;
	padding: 30px 20px;
	background: transparent;
	border-radius: 8px;
	max-height: none;
}

#section_3 .slide_in_section {
	    margin-top: -80px;
}

.slide_in_blocks {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(auto-fit, minmax(220px, max-content));
	max-width: 1200px;
	margin: 0 auto;
	border-radius: 5px;
	padding: 10px;
	position: relative;
}

.slide_in_blocks .white_blocks {
	background: var(--swan_white);
	border-radius: 10px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px;
	min-height: 150px;
	overflow-wrap: anywhere;
	position: relative;
}

.white_blocks .block_icons {
	width: 40px;
	height: 40px;
	object-fit: contain;
}


.white_blocks h1 {
	font-size: 22px;
	margin: 6px 0 2px;
}

.white_blocks p {
	margin: 0;
	line-height: 1.3;
	font-size: 18px;
}

.white_blocks:hover {
	transform: scale(1.06);
	transition: transform 0.25s, box-shadow 0.25s;
	will-change: transform;
	box-shadow: 2px 2px 10px black;
}


.slide_in_blocks .green_blocks {
	background: var(--catholic_green);
	border-radius: 10px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px;
	min-height: 150px;
	overflow-wrap: anywhere;
	position: relative;
	color: var(--swan_white);
}

.green_blocks .block_icons {
	filter: invert(0);
}

.green_blocks .block_icons {
	width: 40px;
	height: 40px;
	object-fit: contain;
}


.green_blocks h1 {
	font-size: 22px;
	margin: 6px 0 2px;
}

.green_blocks p {
	margin: 0;
	line-height: 1.3;
	font-size: 18px;
}

.green_blocks:hover {
	transform: scale(1.06);
	transition: transform 0.25s, box-shadow 0.25s;
	will-change: transform;
	box-shadow: 2px 2px 10px black;
}

.green {
	background: linear-gradient(135deg, rgba(47, 79, 79, 0.9), rgba(112, 128, 144, 0.9)) !important;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--swan_white) !important;
	text-align: center;
	box-shadow: 2px 2px 10px black;
}

.green button {
	color: var(--swan_white) !important;
	width: 100%;
	height: 100%;
}

.white {
	background: var(--swan_white) !important;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--elecromagentic) !important;
	text-align: center;
}

.white button {
	color: var(--elecromagentic) !important;
	width: 100%;
	height: 100%;
}

.margin_top_100 {
	margin-top: 100px;
}

.gradient_white {
/*	background: linear-gradient(135deg, #f7f1e3, #d4b291, #e4cf98) !important;*/
	background: linear-gradient(135deg,rgba(247, 241, 227, 0.9),rgba(212, 178, 145, 0.9),rgba(228, 207, 152, 0.9)) !important;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--swan_white) !important;
	text-align: center;
	box-shadow: 2px 2px 10px black;
}

.gradient_white button {
	color: var(--elecromagentic) !important;
	width: 100%;
	height: 100%;
}

.block_icons {
	position: absolute;
	top: 0;
	right: 0;
	margin: 10px;
	filter: invert(1);
	width: 30px;
}

.gradient_white .block_icons {
	filter: invert(0);
}


.white {
	background: var(--swan_white);
}


.slide_in_section.visible {
	opacity: 1;
	transform: translateX(0);
}

.slide_in_section>* {
	margin: 0;
	padding: 4px 0;
}

.hold_slide_in_title {
	display: none;
}

.content_wrapper {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
	/* Optional: prevents overflow on tighter widths */
}

.content_wrapper>div {
	flex: 1;
	min-width: 250px;
	/* Optional: prevents too narrow columns */
}


/********* mobile menu icon ******************/


.menu-icon {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	margin: 23px;
	position: absolute;
	right: 0;
	top: 0;
	width: 30px;
	height: 30px;
}

.bar {
	width: 30px;
	height: 3px;
	background-color: black;
	margin: 4px 0;
	transition: transform 0.4s ease, opacity 0.4s ease;
	border-radius: 2px;
	background: var(--swan_white);
}

/* Transform to "X" */
.menu-icon.open .bar:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.menu-icon.open .bar:nth-child(2) {
	opacity: 0;
}

.menu-icon.open .bar:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

#mobile_menu_icon {
	display: none;
}

/**********************************/

.section {
	width: 100%;
	height: auto;
	min-height: 450px;
	position: relative;
	margin: 0;
	padding: 0;
	border: none;
}

.section:nth-child(1) {
	margin-top: var(--top_banner_height);
}

.section:nth-child(:last-child) {
	margin-bottom: var(--footer_height);
}


.section_item {
	border: 0px solid deeppink;
	display: flex;
	align-items: center;
	justify-content: start;
}

#item_2_3 {
	margin-top: 80px;
}

[id^=item_2_] {
	justify-content: center;
}


#item_2_5 .slide_in_section {
	margin-top: 45px;
}

#section_2 {
	background: var(--catholic_green);
}

#section_2::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 300px; /* adjust fade height */
  background: linear-gradient(to bottom, rgb(216, 189, 164) 0%, rgba(205, 181, 159, 0.7) 30%, rgba(202, 179, 158, 0) 70%);
  pointer-events: none; /* let clicks pass through */
}


#section_3 {
	background: var(--catholic_green);
}

#section_4 {
	background: var(--catholic_green);
}

#section_5 {
	background: var(--catholic_green);
}

#section_6 {
	background: var(--catholic_green);
}

#section_7 {
	background: var(--swan_white);
}

#section_8 {
	background: var(--catholic_green);
}

#section_9 {
	background: var(--swan_white);
}

#section_10 {
	background: var(--catholic_green);
}

#section_11 {
	background: var(--swan_white);
}


#section_12 {
	background: var(--catholic_green);
}

#section_13 {
	background: var(--swan_white);
}

#section_14 {
	background: var(--catholic_green);
}


.hold_section_titles {
	padding: 10px;
	border-radius: 3px;
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: space-evenly;
  line-height: 40px;
	z-index: 1;
}

#section_1 .hold_section_titles {
    margin-top: 20px;
}

#section_1 .section_text_title {
   /* text-shadow: 2px 2px 10px black;*/
	text-shadow: 3px 3px 4px black;
}

#section_1 .section_text_subtitle {
   /* text-shadow: 2px 2px 10px black;*/
	text-shadow: 3px 3px 4px black;
}

#section_1 .section_text_sub_sub_title {
   /* text-shadow: 2px 2px 10px black;*/
	text-shadow: 3px 3px 4px black;
}

#item_1_2 .section_text_subtitle {
   text-shadow: 2px 2px 3px black;
}

.section_text_title {
	font-size: calc(2.5vw + 2.5vh);
	color: white;
	white-space: nowrap;
	position: relative;
	margin: 0;
	padding: 2px 0;
}

.section_text_subtitle,
.section_text_sub_sub_title {
	font-size: calc(1.5vw + 1.5vh);
	color: white;
	white-space: nowrap;
	position: relative;
	margin: 0;
	padding: 2px 0;
}

.section_text_sub_sub_title {
	font-size: calc(1.3vw + 1.3vh);
	color: #fffdc2;
}

h2 {
	font-size: 2rem;
	margin-bottom: 20px;
	color: #333;
}

.info_grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.team_grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
}

.team_card {
	width: auto;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.team_card img {
	width: 100px;
	border-radius: 100px;
	aspect-ratio: 1/1;
	object-fit: cover;
}

.see_bio {
	color: var(--swan_white);
	cursor: pointer;
	margin-top: -10px;
}

.see_bio:hover {
	transform: scale(1.1);
	transition: 0.4s;
	color: pink;
}

.container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 3rem;
	flex-flow: column;
	position: relative;
}

.carousel {
	max-width: 80%;
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	transform-style: preserve-3d;
	transform: perspective(1000px);
}

.carousel .gallery_photo {
	width: 300px;
	max-width: 380px;
	margin: 2px;
	transition: 0.5s;
	object-fit: cover;
	filter: brightness(1);
	border-radius: 5px;
}

.carousel .gallery_photo:hover {
	filter: brightness(1);
	transform: translateZ(170px);
}

.carousel .gallery_photo:hover+* {
	filter: brightness(0.6);
	transform: translateZ(120px) rotateY(25deg);
}

.carousel .gallery_photo:hover+*+* {
	filter: brightness(0.4);
	transform: translateZ(50px) rotateY(15deg);
}

.carousel .gallery_photo:has(+ *:hover) {
	filter: brightness(0.6);
	transform: translateZ(120px) rotateY(-25deg);
}

.carousel .gallery_photo:has(+ * + *:hover) {
	filter: brightness(0.4);
	transform: translateZ(50px) rotateY(-15deg);
}

#live_stream_frame {
	display: block !important;
	margin: 0 auto !important;
}

.bulletin_list {
	list-style-type: none;
	padding-left: 0;
}

.bulletin_list li {
	margin: 10px 0;
}

.bulletin_list a {
	color: #004080;
	text-decoration: none;
}

.bulletin_list a:hover {
	text-decoration: underline;
}


#scrollToTop {
	position: fixed;
	bottom: 20px;
	right: 20px;
	display: none;
	font-size: 22px;
	background-color: #333;
	color: #fff;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	padding: 12px 12px !important;
	font-size: 30px !important;
	z-index: 1000;
}

.gallery_list {
	display: block;
}

.gallery_icons {
	width: 30px;
	vertical-align: middle;
}

#modal_image {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 380px;
	box-shadow: 2px 2px 10px black;
	z-index: 0;
}

#modal_image>img {
	width: 100%;
}

/* protruding */


.protruding-container {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100vw;
	height: 100vh;
	padding: 0px;
}

.protruding-shape {
	width: 60%;
	height: 80%;
	background: var(--golden);


	border-top-right-radius: 50% 50%;
	border-bottom-right-radius: 50% 50%;
	box-shadow: 0 0 60px rgba(0, 0, 0, 0.2);
}

.content {
	padding-left: 4rem;
	max-width: 500px;
}

.content h1 {
	font-size: 3rem;
	font-weight: 900;
	line-height: 1.2;
}

.content .highlight {
	color: #2263ff;
}

.content p {
	margin-top: 1rem;
	font-size: 1rem;
	line-height: 1.6;
	color: #333;
}

#upload_trigger_button {
	background: #cd6133;
	color: white;
	font-size: 19px;
}

.coming_soon_pic {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 9999;
}

/* Container */
form {
	width: 100%;
	box-sizing: border-box;
	margin: 0px !important;
	padding: 20px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Labels */
form label {
	display: block;
	font-size: 0.9rem;
	margin-bottom: 6px;
	color: #444;
}

/* Inputs + Textarea */
form input,
form textarea {
	width: 100%;
	padding: 12px;
	margin-bottom: 16px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 1rem;
	background: #fafafa;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	resize: none;
}

form input:focus,
form textarea:focus {
	border-color: #4a90e2;
	box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
	outline: none;
	background: #fff;
}

/* Button */
form button {
	display: inline-block;
	width: 100%;
	height: 40px;
	margin-top: 10px;
	padding: 14px;
	background: #4a90e2;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.1s ease;
}

form button:hover {
	background: #357ABD;
}

form button:active {
	transform: scale(0.98);
}

/**** contact form ****/

#item_2_14 form {
	background: var(--swan_white);
}

#item_2_14 input {
	border: 1px solid black;
}

#item_2_14 textarea {
	border: 1px solid black;
}

/**********************/


#search_modal {
	width: auto;
	height: auto;
	background: var(--catholic_green);
	border: 2px solid var(--swan_white);
	box-shadow: 2px 2px 10px black;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 10px;
	border-radius: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	z-index: 9999;
}

#search_modal>input {
	width: 300px;
	height: 45px;
	border-radius: 3px;
	padding-left: 5px;
	font-size: 19px;
}

#search_modal>button {
	background: var(--swan_white);
	color: var(--elecromagentic);
	border-radius: 3px;
	border: none;
	height: 40px;
	margin-top: 10px;
}

#hold_all_videos {
	overflow: auto;
	align-items: stretch;
	text-align: left;
}

.video_divs {
	background: var(--elecromagentic);
	color: var(--swan_white);
	font-size: 18px;
	cursor: pointer;
	margin-top: 5px;
	padding: 5px;
	border-radius: 5px;
	width: 98%;
}

.video_divs:hover {
	outline: 3px solid var(--swan_white);
}

.truncate {
  white-space: nowrap;        /* keep text on one line */
  overflow: hidden;           /* hide overflow */
  text-overflow: ellipsis;    /* add "..." */
  width: 380px;               /* must set a width */
}


#hold_map_buttons_and_frame {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-evenly;
	width: 500px;
	margin-bottom: 10px;
}

#hold_map_buttons_and_frame button {
	width: 100%;
	height: 40px;
	border-radius: 3px;
	border: none;
	outline: 0;
	font-size: 18px;
	cursor: pointer;
	margin-left: 10px;
	white-space: nowrap;
}

#hold_map_buttons_and_frame button:nth-child(1) {
	background: var(--swan_white);
	outline: 5px solid deeppink;
}

#hold_map_buttons_and_frame button:nth-child(2) {
	background: var(--swan_white);
}

#hold_map_buttons_and_frame button:nth-child(3) {
	background: var(--swan_white);
}

#item_1_13 .section_text_sub_sub_title {
		color: var(--elecromagentic) !important;
	}


/* Reuse your existing keyframes: bounce-in-right / bounce-in-left */
/* OUT classes: play the same keyframes in reverse and keep final state */
.swoosh-out-right_speed_1 { animation: bounce-in-right 0.4s ease-in 1 reverse both; }
.swoosh-out-right_speed_2 { animation: bounce-in-right 0.6s ease-in 1 reverse both; }
.swoosh-out-right_speed_3 { animation: bounce-in-right 0.8s ease-in 1 reverse both; }

.swoosh-out-left_speed_1  { animation: bounce-in-left  0.4s ease-in 1 reverse both; }
.swoosh-out-left_speed_2  { animation: bounce-in-left  0.6s ease-in 1 reverse both; }
.swoosh-out-left_speed_3  { animation: bounce-in-left  0.8s ease-in 1 reverse both; }

/* Optional: hide after out-animation ends (we'll also set display:none in JS) */
.white_blocks.is-hidden { opacity: 0; pointer-events: none; }

/* Back button (absolute within the slide_in_blocks container) */
.slide_in_blocks { position: relative; } /* ensure a containing block */
.slide-in-back-btn {
  position: absolute;
  top: -12px;           /* tweak for your layout */
  right: 8px;
  padding: 6px 10px;
  font-size: 14px;
  border-radius: 999px;
  border: none;
  background: #222;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 2;
}
.slide-in-back-btn.show {
  opacity: 1;
  pointer-events: auto;
}


#thermometer_iframe {
	border: none !important; 
	pointer-events: none;
}

#we_did_it_button {
	background: green;
    color: white;
    border-radius: 5px;
    margin-top: 20px;
}

  .confetti {
    position: absolute;
    width: 8px;
    height: 12px;
    opacity: 0.9;
    will-change: transform, top, left;
  }

 #uploadBtn, #subscribe_to_bulletin_button, #see_all_forms_button {
	position: absolute;
	top: 100px;
	right: 50px;
  background: #2F4F4F;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 2px 2px 10px black;
}
#uploadBtn:hover {
  background: #3b5f5f;
}

#send_bulk_email_button {
	position: absolute;
	top: 100px;
	left: 50px;
  background: #2F4F4F;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  z-index: 9999;
  border: 2px solid var(--swan_white);
  box-shadow: 2px 2px 10px black;
}

  @keyframes swooshOff {
  0%   { transform: translateX(0);    opacity: 1; }
  60%  { transform: translateX(-50%); opacity: 0.7; }
  100% { transform: translateX(-120%); opacity: 0; }
}
@keyframes swooshIn {
  0%   { transform: translateX(-20%); opacity: 0; }
  100% { transform: translateX(0);    opacity: 1; }
}
.swoosh-off { animation: swooshOff 0.8s ease-in forwards; }
.swoosh-in  { animation: swooshIn  0.5s ease-out; }

.back-arrow {
	position: absolute;
	top: 0;
	left: 0;
	margin: 10px;
	background: var(--swan_white);
  cursor: pointer;
  margin-bottom: 10px;
  display: inline-block;
  color: #2c3e50;      /* dark grey */
  font-weight: bold;
  transition: transform 0.2s;
  padding: 10px;
    border-radius: 3px;
    box-shadow: 2px 2px 10px black;
    font-size: 19px;
  z-index: 99999;
}
.back-arrow:hover {
  transform: translateX(-4px);
}

#admin_badge {
	position: fixed;
	top: 250px;
	right: 0;
	margin: 20px;
	background: var(--elecromagentic);
	color: var(--swan_white);
	box-shadow: 2px 2px 10px black;
	border: 2px solid var(--swan_white);
	padding: 10px;
	z-index: 999999999;
}

.admin_icon {
	position: absolute;
	top: 0;
	right: 0;
	margin: 10px;
	width: 40px;
	cursor: pointer;
	-webkit-filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .7));
    filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .7));
}

#admin_icon_modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	box-shadow: 2px 2px 10px black;
	width: 70%;
	height: 300px;
	border-radius: 5px;
	border: 1px solid white;
	background: var(--catholic_green);
	color: var(--swan_white);
	z-index: 9999999999;
}

.rte-block { margin-bottom:16px; }
.rte-toolbar { border:1px solid #ddd; border-bottom:0; padding:6px; display:flex; gap:6px; flex-wrap:wrap; background:#f7f7f7; }
.rte-toolbar button { padding:4px 8px; border:1px solid #ccc; background:#fff; cursor:pointer; }
.rte-toolbar button.active { outline:2px solid #4a90e2; }
.rte-editor { border:1px solid #ddd; min-height:180px; padding:10px; background:#fff; overflow:auto; color:black; font-size: 18px;}


.rubberband {
  animation: rubberband 1s alternate ease-out;
}

.event-details { margin-top: 8px; line-height: 1.45; }


@keyframes rubberband {
  0% {
    transform: scaleX(1);
  }
  40% {
    transform: scaleX(1.12) scaleY(0.75);
  }
  55% {
    transform: scaleX(0.85) scaleY(1);
  }
  65% {
    transform: scaleX(1.09) scaleY(0.85);
  }
  75% {
    transform: scaleX(0.9) scaleY(1);
  }
  90% {
    transform: scaleX(1.05) scaleY(0.95);
  }
  100% {
    transform: scaleX(1) scaleY(1);
  }
}

/***** spinner ***********/

.lds-circle {
	position: fixed;
	transform: translateZ(1px);
	top: 50%;
	left: 50%;
	margin-top: -25px;
	margin-left: -25px;
	z-index: 999999;
}

.lds-circle>div {
	width: 50px;
	height: 50px;
	margin: 0px;
	padding: 0px;
	border-radius: 20%;
	background: #fff;
	animation: lds-circle 4.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;
	background-size: cover !important;
	background-repeat: no-repeat !important;
	background-position: center;
}

@keyframes lds-circle {

	0%,
	100% {
		animation-timing-function: cubic-bezier(0.5, 0, 1, 0.5);
	}

	0% {
		transform: rotateY(0deg);
	}

	50% {
		transform: rotateY(1800deg);
		animation-timing-function: cubic-bezier(0, 0.5, 0.5, 1);
	}

	100% {
		transform: rotateY(3600deg);
	}
}

/****************/


@media only screen and (max-width: 1000px) {
	[id^=banner_item_] {
		display: none;
	}

	.hold_section_titles {
		line-height: 24px;
	}

	.section_text_title {
		font-size: 30px;
	}

	.section_text_subtitle {
		font-size: 22px;
    	margin-top: 8px;
	}

	#item_1_1 .section_text_subtitle {
		font-size: 20px;
        margin-top: 5px;
	}

	.section_text_sub_sub_title {
		font-size: 18px;
        line-height: 30px;
	}

	#section_1 .hold_section_titles {
		background: rgba(0, 0, 0, 0.5) !important;
	}

	.team_grid {
		margin-top: 40px;
	}

	#mobile_menu_icon {
		display: block;
	}

	.section {
		flex-direction: column;
	}

	.section:not(#section_1) {
		background-position: center center !important;
	}

	.section_item {
		justify-content: center;
	}

	.hold_section_titles {
		align-items: center;
	}

	.slide_in_section {
		width: 100%;
	}

	.slide_in_blocks {
		grid-template-columns: 1fr;
	}

	#item_1_6 .section_text_subtitle {
		width: 280px;
    text-align: center;
    white-space: pre-wrap;
    font-size: 24px;
    line-height: 28px;
	}

	#footer {
		height: auto !important;
	}

	#footer_wrapper {
		grid-template-rows: auto;
		grid-template-columns: auto;
	}

	iframe {
		width: 100%;
	}

	form {
		width: auto !important;
	}

	#hold_map_buttons_and_frame {
		width: 100%;
	}

	#live_stream_frame {
		max-width: 350px !important;
		height: auto !important;
	}

	#hold_all_videos {
		max-width: 100% !important;
	}

	.video_divs {
		width: 340px !important;
	}

	#item_1_8 .section_text_subtitle {
		width: 280px;
    text-align: center;
    white-space: pre-wrap;
    font-size: 22px;
    line-height: 30px;
	}

	#item_1_9 .section_text_title {
		width: 368px;
    white-space: pre-wrap;
    text-align: center;
    font-size: 27px;
    line-height: 31px;
	}

	#item_1_9 .section_text_subtitle {
		width: 280px;
    white-space: pre-wrap;
    text-align: center;
    font-size: 23px;
    line-height: 30px;
	}

		#item_1_11 .section_text_subtitle {
		width: 280px;
    text-align: center;
    white-space: pre-wrap;
    font-size: 24px;
    line-height: 28px;
	}

	#item_1_13 .section_text_subtitle {
		width: 280px;
    text-align: center;
    white-space: pre-wrap;
    font-size: 24px;
    line-height: 28px;
	}

	

	#item_1_14 .section_text_subtitle {
		width: 280px;
    text-align: center;
    white-space: pre-wrap;
    font-size: 24px;
    line-height: 28px;
	}

	#item_2_5 .slide_in_section {
		margin-top: 0px;
	}

	#section_2 {
		background-image: url("../img/three_churches_mobile.webp") !important;
	}


	

}