/*
Theme Name: COV 2024
Version: 1.0
Author: Tony Scialdone of Straight Street Design
Description: A custom theme for Church of the Valley in San Ramon, California
*/

:root {
	--dark:			#1d4d70; /* BLUE */
	--light:		#3e8749; /* GREEN */
	--trim:			#f4c435; /* GOLD */
	--red:			#c55236; /* RED */
	--transition:	all .15s linear;
	--hover:		all .15s ease-in-out;
	--scale:		scale(1.1);
}


:root { 
	line-sizing: normal; 
	text-spacing: trim-start allow-end trim-adjacent ideograph-alpha ideograph-numeric;  
}

@font-face {
		font-family: "museo300";
		src: url("https://covsanramon.com/wp-content/themes/cov2024/assets/museo_sans_cyrl_300-webfont.woff2") format("woff2"),
				 url("https://covsanramon.com/wp-content/themes/cov2024/assets/museo_sans_cyrl_300-webfont.woff") format("woff");
		font-weight: normal;
		font-style: normal;
}

@font-face {
		font-family: "museo700";
		src: url("https://covsanramon.com/wp-content/themes/cov2024/assets/museo_sans_cyrl_700-webfont.woff2") format("woff2"),
				 url("https://covsanramon.com/wp-content/themes/cov2024/assets/museo_sans_cyrl_700-webfont.woff") format("woff");
		font-weight: normal;
		font-style: normal;
}

@font-face {
		font-family: "heart";
		src: url("https://covsanramon.com/wp-content/themes/cov2024/assets/heart.woff2") format("woff2"),
				 url("https://covsanramon.com/wp-content/themes/cov2024/assets/heart.woff") format("woff");
		font-weight: normal;
		font-style: normal;
}

* {
	position: relative;
	box-sizing: border-box;
	background-clip: padding-box;
	max-width: 100%;
	line-height: calc(1em + 0.5rem);
	scroll-behavior: smooth;
}


*, 
*::before, 
*::after { 
	margin: 0; 
	padding: 0; box-sizing: border-box; 
}

img, video, canvas, audio, embed, object { display: block; vertical-align: middle; height: auto; }

p, h1, h2, h3, h4, h5, h6 {
	overflow-wrap: break-word;
}

/* SVG */
@namespace svg url("http://www.w3.org/2000/svg");

svg|a {
	fill: blueviolet;
	text-decoration: underline solid;
	text-transform: uppercase;
}

html, body { 
	-moz-text-size-adjust: none;
	-webkit-text-size-adjust: none;
	text-size-adjust: none;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-overflow-scrolling: touch;
}

body {
	font: normal 1rem/1.56 museo300, sans-serif;
	color: #222;
	text-rendering: optimizeSpeed;
	overflow-x: hidden;
}

::-webkit-scrollbar {
	width: 20px;
}

::-webkit-scrollbar-track {
	background: #000;
}

::-webkit-scrollbar-thumb {
	min-height: 100px; 
	background: #666;
	border: 1px solid #333;
	border-radius: 10px;
}

.flex { 				display: flex; }
.flex-row, .fr { 		flex-direction: row; }
.flex-column, .fc { 	flex-direction: column; }
.justify-center, .jc { 	justify-content: center; }
.justify-around, .ja { 	justify-content: space-around; }
.justify-between, .jb { justify-content: space-between; }
.justify-end, .je { 	justify-content: flex-end; }
.align-center, .ac { 	align-items: center; }
.align-start, .as { 	align-items: flex-start; }
.flex-wrap, .fw { 		flex-wrap: wrap; }
.gap1 { 				gap: 1rem; }
.gap2 { 				gap: 2rem; }


/* Elements */

h1, h2 { margin: 1rem 0; font-size: 4.5rem; font-weight: normal; font-family: heart; color: var(--light); text-align: center; }
h3 { font-size: 1.25rem; }
h4, h5, h6 { 	font-size: 1rem; }


h1, h3, h4, h5, h6 {
	margin: 0 0 2rem;
	line-height: 1.2; }
	
h1, h2, h3, h4, h5, h6, caption, figcaption {
		text-wrap: balance;
}

:is(h2, h3, h4):target {
	scroll-margin-top: var(--header-height);
}

p, dl, ol, ul, address {
	margin: 0 0 24px;
	text-wrap: pretty;
}

ul.inside {
	list-style-position: inside;
}

dd, li { 
	margin: 0 0 8px 32px; 
}

/* Links without a class get default styling. */
a:not([class]) { 
	text-decoration: none; 
	cursor: pointer; 
}

article a:visited {
	color: purple;
}

img {
		max-width: 100%;
		height: auto;
		vertical-align: middle;
		font-style: italic;
		background-repeat: no-repeat;
		background-size: cover;
}

iframe[src*="youtube"],
iframe[src*="vimeo"] {
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}

pre { white-space: pre-wrap; }
hr { border: .5px solid; }
blockquote { quotes: none; }
blockquote:before, blockquote:after { content: none; }



/* Layout */

header {
	padding: 1rem;
	height: fit-content;
	width: 100%;
	background-color: var(--dark);
	border-bottom: 4px solid #444;
}

a.logo { 
	font: bold 2rem/1 museo700, sans-serif; 
	color: #fff; 
	text-align: left;
	text-decoration: none;
	text-transform: uppercase;  
}

.logo img {
	padding: 4px; 
	height: 100px;
	width: auto;
}

.logo span {
	line-height: .8;
	text-align: left; 
}

.logo em {
	display: block;
	margin-top: .25rem;
	font: normal .75rem/1 museo300, sans-serif;
}

.logo i {
	display: inline;
	font-size: .35rem; 
}

main {
 
}

/* USE THIS TO AVOID USING .wrapper > .inner ... use full-width to break out */
.content-grid {	
	--padding-inline: 100px;
	--content-max-width: 1170px;
	display: grid;
	grid-template-columns: 
		[full-width-start] minmax(var(--padding-inline), 1fr) 
		[content-start] min(100% - (var(--padding-inline) * 2), var(--content-max-width)) 
		[content-end] minmax(var(--padding-inline), 1fr) 
		[full-width-end];
	gap: 1rem;
}

.content-grid > * { grid-column: content; }
.content-grid > .full-width { grid-column: full-width; }

.header-nav { 
	margin-left: auto;
}

.header-nav ul {
	display: flex; 
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
	list-style: none;
	margin: 0 auto;
	padding: 0;
	width: 100%;
	text-align: center; }

.header-nav li {
	margin: 0; }

.header-nav a {
	display: inline-block;
	padding: 12px;
	color: white;
	font: normal 15px/1 museo700, sans-serif;
	text-decoration: none;
	text-transform: uppercase;
	border: 2px solid var(--dark);
	transition: var(--hover);
}

.header-nav a:hover,
.header-nav .current-menu-item a {
	border: 2px solid white;
}

header nav a:hover { 
	color: #fff; 
}



.page-31 .hero {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	height: 85vh;
	background-color: var(--dark);
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: cover;
}

.hero { 
	background-color: var(--dark); 
	background-position: center center;
}

.home .hero h1 {
	margin: 1rem 0;
	padding: 0; 
}
 
.hero h1,
.hero-title { 
	display: flex; 
	justify-content: center;
	align-items: center; 
	z-index: 2;
	margin: 0;
	padding: 8rem 0;
	font-size: 8rem;
	color: #fff; 
	text-shadow: 0 8px 2px rgba(0,0,0, .7);
	pointer-events: none;
}

.page-31 .hero > div {
	display: flex;
	z-index: 1;
	margin: -6.5rem 0 0;
	pointer-events: none;
}


.page-31 .hero img { 
  filter: drop-shadow(5px 5px 5px #222222);
}

.page-31 .hero .down {
	display: block;
	position: absolute; bottom: 4vh; left: calc(50% - 40px);
	width: 80px;
	transform: rotate(180deg);
	filter: drop-shadow(0px -5px 5px rgba(0,0,0, .2));
	-webkit-animation: bounce 1.5s; 
			animation: bounce 1.5s; 
	-webkit-animation-direction: alternate; 
			animation-direction: alternate; 
	-webkit-animation-timing-function: cubic-bezier(.5, 0.05, 0.05, .5); 
			animation-timing-function: cubic-bezier(.5, 0.05, 0.05, .5); 
	-webkit-animation-iteration-count: infinite; 
			animation-iteration-count: infinite; 

}

@-webkit-keyframes bounce { 
	from { 
		-webkit-transform: translate3d(0, 0, 0); 
				transform: translate3d(0, 0, 0); 
	} 
	to { 
		-webkit-transform: translate3d(0, 20px, 0); 
				transform: translate3d(0, 20px, 0); 
	} 
} 
	
@keyframes bounce { 
	from { 
		-webkit-transform: translate3d(0, 0, 0); 
				transform: translate3d(0, 0, 0); 
	} 
	to { 
		-webkit-transform: translate3d(0, 20px, 0); 
				transform: translate3d(0, 20px, 0); 
	} 
} 
	

.dark { 
	padding: 2rem; 
	background-color: var(--dark); 
	color: white; 
	border-top: 4px solid #444; border-bottom: 4px solid #444;
}

.dark h2, .dark h3 {
	margin: 0; 
	color: #fff;
}

.leaders h2 {
	margin-bottom: 1rem;
	width: 100%;
}

.leaders > div > div > div {
	display: flex; 
	justify-content: center; 
	align-items: center; 
	flex-wrap: wrap; 
	gap: 4rem 2rem;
}

.bio {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	max-width: 300px;
}

.bio img {
	border-radius: 16px;
}

.bio h3 {
	margin: 1rem 0 0;
	line-height: 1;
	letter-spacing: 1px;
	text-align: center; 
}

.bio h4 {
	display: block;
	margin: .5rem 0;
	font-size: .75rem;
	color: #ccc;
	text-align: center;
	text-transform: uppercase;
}

.join-us h2 {
	text-align: right;
}

.home-group-1,
.form-map {
	padding: 2rem;
}

.sof-box {
	padding: 2rem 15%;
	text-align: justify;
}


summary {
	text-align: center; 
	cursor: pointer;
}

details:not(open) summary:hover {
	background-color: #eee;
}

details:not(open) .unopen {
	display: none;
}

details[open] .open {
	display: none;
}

details[open] .unopen {
	display: inline-block;
}	

.giving.content-grid {
	padding: 2rem 1rem;
}

.giving.content-grid .options {
	margin: 1rem auto;
	padding: 1rem 3rem; 
	width: 50%; max-width: 100%;
	background-color: aliceblue;
	color: var(--light);
	border-radius: .5rem;
}

.giving h3 {
	margin-bottom: 1rem;
}

.giving.content-grid ul {
	margin: 0;
}

.giving.content-grid p {
	margin: 0 auto;
	width: 50%; max-width: 100%;
}

.form-map {
	background-color: var(--dark);
}

.form-map > div {
	display: flex; 
	justify-content: center;
	gap: 1rem;
}

.form-map .box {
	width: 350px; 
	background-color: #fff;
	border-radius: 8px;
}

.mapbox .foot-contact a {
	color: var(--dark);
}

.mapbox .btn-wrap {
	margin-top: 1rem;
}

.home-group-1 .box {
	display: flex; 
	flex-direction: column; 
	justify-content: flex-start;
	width: 48%;
}

.box {
	padding: 0 2.5rem;
	min-height: 50px;
	width: 48%;
}

.dark .box:first-of-type {
	margin-left: -2px; 
	border-right: 2px solid rgba(255,255,255, .2) 
}

.box:first-of-type {
	margin-left: -2px; 
	border-right: 2px solid rgba(0,0,0, .2) 
}

.flexjcacfwg1 {
	display: flex; 
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.flexjcacfwg2 {
	display: flex; 
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 2rem;
}

.box h2 {
	text-align: left;
}

.box:nth-of-type(1), .box:nth-of-type(1) h2 {
	text-align: right;
}

.divider {
	margin: 0 2rem;
	height: 100%; 
	width: 2px;
	background-color: rgba(255,255,255, .2);
}

.testimonials {
	padding: 4rem 1rem;
	border-top: 4px solid #444;
}

.home-group-1 .divider {
	background-color: rgba(0,0,0, .2);
}

:has(.fright, .fleft) {
	overflow: auto;
}

.testbox {
	width: 40%; max-width: 100%; 
}

.testbox p {
	margin: 0;
}

.testbox span {
	font-size: .8rem;
	color: #ccc;
	text-transform: uppercase;
}

.testbox:has(.fright) {
	text-align: right;
}

img.round {
	padding: 1rem;
	height: 200px;
	border-radius: 50%; 
	shape-outside: circle();
}

.location {
	padding: 2rem 0 0;
	text-align: center;
}


footer { 
	padding: 2rem 2rem 5rem;
	background-size: 100% 100%;
	background-position: 0px 0px;
	background-image: radial-gradient(142% 91% at 111% 84%, #666 0%, #555 100%);
	border-top: 2px solid #444;
}

footer > .flex {
	padding: 2rem;
}

footer .box {
	width: 350px; 
	background-color: transparent;
}

footer h2 {
	text-shadow: 0 2px 5px rgba(0,0,0, .9);
}

footer blockquote { 
	margin: 0;
	font: normal 50px/.8 heart, sans-serif;
	color: var(--trim);
	text-align: center;
}

footer blockquote .tag1 {
	display: block; 
	margin: 0 0 -8px;
	padding: 4px;
	background-color: #444;
	font: normal 1rem/1 museo300, sans-serif;
	color: #fff;
	text-align: left;
	text-transform: uppercase;
}

.copy a {
	color: #aaa !important;
}

.copy a:hover {
	color: #fff !important;
}
	

.home-app {
	padding: 1rem;
	background-color: #555;
	border-radius: .25rem;
	transition: var(--hover);
}

.home-app h2 {
	padding: .25rem; 
	width: 100%; 
	background-color: #444;
	margin-bottom: .5rem; 
	font: normal 1rem/1 museo300, sans-serif;
	text-transform: uppercase;
    text-align: center !important;    
}

.home-app h3 {
	font: normal 1.5rem/1.2 museo300, sans-serif;
}
.home-app p {
	font: normal 1rem/1 museo300, sans-serif;
	color: white;
	text-align: center;
}


.home-app:hover {
	background-color: #444;
}

.home-app h3 {
	margin: 0 0 .5rem;
	width: 100%;
	font-size: 18px;
	color: #fff;
	text-align: center;
}

.home-app a {
	width: 48%;
}

.foot-contact {
	padding-left: 4px;
}

.foot-contact a {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin-bottom: 1rem;
	color: #fff;
	text-decoration: none;
}

.foot-contact a[href*="tinyurl"] {
	align-items: flex-start;
}

.foot-contact a span {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 32px;
	width: 32px; 
	background: #fff;
	border-radius: 100%;
}

.foot-contact a img {
	height: 16px;
	width: auto;
}

.foot-contact a:hover span {
	background-color: var(--trim);
}

.foot-contact a:hover {
	color: var(--trim);
}

footer h2 {
	color: #fff;
	text-align: center;
}

.foot-socials {
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

.foot-socials a {
	display: flex;
	gap: 1rem;
	padding: .5rem;
	background-color: #555;
	font-size: .9rem;
	color: #fff;
	border-radius: .25rem;
}

a[href*="facebook.com"]:hover	{ background-color: #0866FF; }
a[href*="pinterest.com"]:hover 	{ background-color: #E60023; }
a[href*="instagram.com"]:hover 	{ background-color: var(--light); }
a[href*="twitter.com"]:hover 	{ background-color: #000; }

.foot-socials img {
	height: 24px;
	width: auto;
}

.login a {
	display: inline-block;
	padding: 8px;
	color: white;
}

.subfoot {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin: 0;
		padding: 2rem;
		width: 100%;
		background: #666;
		font-size: .75rem;
		color: #aaa;
		text-align: left;
		text-transform: uppercase; 
}

.subfoot p {
	margin: 0; 
}

.ssd {
	display: flex;
	justify-content: center;
	align-items: center;
}

.ssd a {
	display: flex;
	justify-content: center;
	align-items: center; 
	min-height: 1.5rem;
	width: 170px;
	color: #aaa;
	text-align: center;
}

.ssd span {
	opacity: 1;
	position: absolute; bottom: 0;
	padding: 2px 8px;
	width: 10ch;
	background-color: #555;
	border-radius: .5rem;
	transition: all .2s linear;
}

.ssd em {
	font-size: .75em; 
	font-style: normal; 
}

.ssd span + span { opacity: 0; width: 170px; }
.ssd:hover span:nth-child(1) { display: none; }
.ssd:hover span + span { opacity: 1; bottom: -.75rem; transition: all .5s linear; }

#skip-link {
	position: absolute; left: -9999px;
}

#skip-link:focus {
	display: block;
	left: auto;
	margin: 100px auto;
	padding: 4px;
	width: fit-content;
	background-color: red;
	color: #fff;
	text-decoration: none;
	outline: 0; 
}

/* Sermons */

/* list of all sermons */

#sidebar,
#wpfc_sermon_topics, .sortTopics,
#wpfc_bible_book, .sortBooks { display: none !important; }

#main { 
	display: flex; 
	flex-direction: column;
	justify-content: center; 
	align-content: center; 
	flex-wrap: wrap;
	gap: 1.5rem;
	padding: 2rem; 
}

#wpfc_sermon_sorting {
	display: flex;
	justify-content: center; 
	gap: 1rem; 
	margin: 0 auto !important;
	width: 100%; 
}

#wpfc_sermon_sorting select {
	padding: .5rem;
	border-radius: 5px;
}

#main article {
	place-self: center; 
	width: 900px; max-width: 100%;
	
}

#main .wpfc-sermon>.wpfc-sermon-inner { 
	width: 100%; 
	border-radius: 7px;
}

#main .wpfc-sermon-inner.entry-wrap > * {
	min-width: 295px;
}

#main .wpfc-sermon-image-img { 
	min-width: 300px; 
	border-radius: 7px 0 0 7px; 
}

#main .wpfc-sermon-header-main {
	display: flex; 
	flex-direction: column;
}

#main .wpfc-sermon-meta-date { margin: 0 0 1rem; font-size: 1rem; }
#main .wpfc-sermon-meta-series { order: 3; }
#main .wpfc-sermon-meta-series::before { content: "Series : "; }
#main .wpfc-sermon-title-text { text-decoration: none; }
#main .wpfc-sermon-footer { margin-top: 0; }

#main .pagination h2 { display: none; }

#main .sm-pagination {
	display: flex; 
	justify-content: center; 
	align-content: center; 
	flex-wrap: wrap;
	margin: 0 auto;
	color: transparent;
}

#main .sm-pagination a {
	margin: 0 auto;
    padding: .5rem 1rem;
	background: var(--dark);
    display: inline-block;
    width: fit-content;
	text-decoration: none; 
	color: white; 
    border-radius: 7px;
}

/* single sermon */

#main .pfc-sermon-single-image { display: none; }
#main .wpfc-sermon-single-title { font: normal 2rem/1.5 museo300; }
#main .plyr__control--overlaid { 
	display: flex !important;
	justify-content: center; 
	align-content: center; 
	background: var(--light) !important; 
}

#main .plyr__control--overlaid:hover {
	background: var(--trim) !important;
}


/* Events */

.page-31 .upcoming-events.list-events,
.page-31 .todays-events.list-events {
    list-style-type: none;
    margin: 0 auto 2rem;
	width: 800px;
}

.page-31 .upcoming-events.list-events li,
.page-31 .todays-events.list-events li {
	margin: 0 0 .5rem;
	padding: .5rem;
	background-color: #f9f9f9;
}

 

.page-31 .upcoming-events.list-events li:nth-child(3) + li { display: none; }

/* Events Page */

.my-calendar h2 { font: normal 2rem/1.2 museo300, sans-serif; }

.my-calendar h2 .event-count { 
	font: normal .75rem/1.2 museo300, sans-serif; 
	color: #999; 
}

.my-calendar .mc-content,
.my-calendar-cards {
	margin: 0 auto;
	padding: 0 1rem 2rem;
	width: 800px; max-width: 100%;
	text-align: center;
}

.my-calendar-header {
	display: flex; 
	flex-direction: row;
	justify-content: center; 
	flex-wrap: wrap;
	gap: 2rem;
	margin: 0 0 2rem;
}

.my-calendar-header ul, .my-calendar-header li {
	list-style-type: none; 
	margin: 0; 
}

.my-calendar-header > div { padding: 1rem; }

.my-calendar-nav,
.my-calendar-navigation,
.mc-time,
.my-calendar .mc_edit_links,
.my-calendar .category-icon { display: none; }

.mc-date-switcher > div {
	display: flex; 
	justify-content: center;
	align-items: center; 
	gap: 1rem;
	flex-wrap: wrap;
}

.mc-date-switcher > div label {
	display: inline-block;
	width: min-content;
	font-weight: bold; 
	text-transform: uppercase;
}

.mc-date-switcher > div select {
	padding: 3px 2px 0;
}

.mc-date-switcher .button {
	cursor: pointer;
	transition: var(--transition);
}

.mc-date-switcher .button:hover {
	transform: var(--scale);
}


.mc-content ul, .mc-content li { list-style-type: none; }

.my-calendar article { 
	margin-bottom: 2rem; 
	box-shadow: 0 1px 5px 5px rgba(0,0,0, .015);
}

.my-calendar-cards .details {
	display: flex;
	flex-wrap: wrap;
}

.mc-content h2 { font: normal 2rem/1.2 museo300, sans-serif; }

.mc-list ul, .mc-list li {
	list-style-type: none; 
	margin: 0 0 1rem;
}

.mc-events {
	padding: 0;
	background-color: #eee; 
	border-radius: 7px;
}

.tony-event-cards {
	display: flex;
	align-items: center; 
	flex-wrap: wrap;
	gap: 1rem;
}

.tony-event-cards .feat-img {
	display: block; 
	width: 50%;
	height: 100%;
}



.tony-event-cards img {
	border-radius: 7px 0 0 7px;
}

.tony-event-details {
	width: 47%;
	text-align: left; 
}

.tony-event-details .title {
	font: bold 1.5rem/1.2 museo300, sans-serif;
	color: var(--light);
}

.tony-event-details .event-location {
	font-size: .85rem; 
	text-transform: uppercase;
}

.mc-events h2.event-date {
	margin: 0;
	padding: 8px 0 4px;
	background-color: var(--dark);
	color: #fff; 
	border-radius: 7px 7px 0 0;
}

.mc-list header { 
	background-color: transparent;
	border: 0;
}

.my-calendar-cards header { display: none; }

.mc-list header h4 {
	margin: 0;
}

.mc_bottomnav {
	display: flex;
	justify-content: center; 
	align-items: center; 
	flex-wrap: wrap;
}

h3.maybe-hide { margin-bottom: 1rem; }

.mc-print {
	order: 3;
	margin-bottom: 2rem;
	width: 100%; 
	text-align: center; 
}


/* Single Event */

body:has(.single-event) .hero {
	background-image: url(https://covsanramon.com/wp-content/uploads/hero-events.avif) !important; 
	background-size: cover;
}

body:has(.single-event) .hero h1 {
	padding: 4rem 0;
	font-size: 5rem;
	text-shadow: 0 3px 2px rgba(0,0,0, .5);
}

.single-event {
	margin: 0 auto;
	padding: 2rem 1rem;
	width: 800px; max-width: 100%;
	text-align: center;
}

.single-event h2 { font: normal 2rem/1.2 museo300, sans-serif; }

.single-event .mc-event-image {
	display: flex;
	flex: 1;
	margin: 0 auto 1rem;
}

.single-event .event-date .separator {
	display: block;
	color: transparent;
	line-height: 4px;
}

.single-event .location {
	display: block;
}

.single-event .location span {
	font-size: .8rem; 
	color: #666;
	text-transform: uppercase;
}

.mc_edit_links ul {
	list-style-type: none;
	margin: 0 0 2rem; 
	padding: 1rem;
	width: fit-content;
	background-color: var(--light);
	border-radius: 7px;
}

.mc_edit_links li { margin: 0; }

.mc_edit_links ul a {
	color: #fff;
	text-decoration: none;
	border-bottom: 1px dashed;
}

.mc_edit_links ul a:hover {
	border-bottom: 1px dashed transparent;
}

.mc-runtime,
.mc-categories,
.single-event .map,
.mc-map,
.mc-events-link { display: none; }



/* Tables */

table {
	border-collapse: collapse;
	border-spacing: 0; }

		
/* Focus Styles */

:focus-visible, :focus {
	outline: 2px solid red;
		outline-offset: 2px; 
}

/* Remove the focus outline */
:focus:not(:focus-visible) {
	outline: none;
}


/* Forms */

fieldset {
	border: 0;
}

label, input, textarea { display: block; width: 100%; }
input, textarea { margin-bottom: 1.5rem; padding: 8px; border-radius: 2px; }
textarea { margin-bottom: 0; min-height: 195px; }
input[type="checkbox"] { display: inline-block; margin-right: 4px; width: auto; }
.vertical_radio { margin: 8px 0 -8px; }

input,
textarea,
select,
button {
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
}
input,
textarea,
button {
	border: 1px solid gray;
}

button {
	padding: 0;
	min-width: 100px;	
	background: none;
	border: none;
	border-radius: 0;
	text-align: inherit;
	box-shadow: none;
	cursor: pointer;
}


/* Content Layout Shift */
html {
	content-visibility: auto; /* doesn"t render stuff you can"t see */
	contain-intrinsic-size: 1000px; 
}

.btn-wrap {
	margin: 1rem 0;
	margin-top: auto;
}

.btn-wrap a, .frm_button_submit, a.btn {
	display: inline-flex; 
	align-items: center; 
	gap: 1rem;
	margin: 0;
	padding: 1rem 2rem;
	background-color: var(--light);
	font-weight: bold;
	color: #fff;
	text-decoration: none;
	text-shadow: 0 2px 2px rgba(0,0,0, .8);
	border-radius: .5rem;
	will-change: transform;
	transition: var(--transition);
}

.frm_button_submit {
	margin: 1rem 0; 
}

.btn-wrap a:hover {
	color: var(--trim);
}

.btn-wrap a img { 
	display: inline-block; 
	left: 0;
	height: 30px; 
	transition: left .2s ease-in-out;
}

.btn-wrap:hover a img { left: 1rem; }

.btn-wrap.sm a { 
	padding: .5rem 2rem;
}

.sm a[href*="youtube.com"]:hover { background-color: var(--light); color: var(--trim); }
footer a[href*="youtube.com"]:hover { background-color: red; }

/* Utility Classes */

.red { color: #f00; }
.alignleft { float: left; margin: 0 24px 24px 0; }
.aligncenter { margin: 0 auto; }
.alignright { float: right; margin: 0 0 24px 24px; }
.fright { float: right; }
.fleft { float: left; }
b, strong, .bold { font-weight: bold; }
i, em { font-style: italic; }
.nomar { margin: 0; }
.center { text-align: center; }
.right { text-align: right; }
.sm-note { font-style: italic; font-size: 12px; }
.height46 a { height: 46px; }


[hidden], 
[type="hidden"], 
.visually-hidden,
[aria-hidden="true"] {
	border: 0;
	clip: rect(0 0 0 0); 
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap; 
	width: 1px;
}


/* Mobile Nav */

body.menu-open {
	overflow-y: hidden;
}

.m-menu, nav.mobile {
	display: none;
}

nav.mobile img {
	height: 40px;
}

nav.mobile {
	margin-top: 1rem; 
	width: 40px; 
	transition: all .2s ease-in-out;
}

nav.mobile > div { 
	width: 100%;
}

nav.mobile li {
	margin: 0 0 4px;
	padding-left: 10px;
}

nav.mobile a {
	padding: 8px 8px 8px 0;
	font-size: 14px;
}

nav.mobile .sub-menu {
	margin: 0 0 0 8px;
}

nav.mobile .sub-menu li {
	padding-left: 0;
}

nav.mobile .sub-menu a::before {
	content: "\00bb";
	margin-right: 8px;
}

nav.mobile .menu-container::-webkit-scrollbar {
		width: 12px;
}

nav.mobile .menu-container::-webkit-scrollbar-track {
		-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
		background-color: #555;
}

nav.mobile .menu-container::-webkit-scrollbar-thumb {
		min-height: 50px;
		background-color: #fc3;
		border-radius: 24px;
		outline: 0 solid slategrey;
}

nav.mobile .menu-container {
 /* for proper scrolling */
		position: absolute; top: 0; left: 0;
	padding: 64px 0;
		height: 100%;
		width: 100%;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
}

.close {
		display: grid; 
	align-items: center;
	position: fixed; top: 52px; right: 6px; z-index: 2;
	margin: 0;
		height: 36px;
		width: 36px;
		background-color: var(--grey);
		font: bold 18px/1px arial, sans-serif;
		color: #fff;
		border: 2px solid var(--grey);
		border-radius: 100%;
	transition: transform .2s ease-in-out;
		cursor: pointer;
}

.close img {
	display: block;
	margin: 0 auto;
	height: 20px;
	width: auto;
}

@media (prefers-reduced-transparency: reduce) {
		* { opacity: 1; }
	}

@media (max-width: 1300px) {
	header.content-grid { display: flex; justify-content: space-between; }
	header.content-grid > div { width: 100%; }
}

@media (max-width: 1100px) {
.header-nav, .menu {
	display: flex; 
	justify-content: center; 
	align-content: center; 
	inset: 0; z-index: 9;
	width: 100%;
	background-color: var(--blue);
}
	.logo { margin: 0 auto; }
}

@media (max-width: 1100px) {
	.eader-nav { display: none; }
	nav.mobile { display: flex; }
	.m-menu { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 8px; font-size: 20px; color: #fff; text-align: center; }
	nav.mobile.show { display: flex; transform: translatex(300px); }
	nav.mobile .menu li,
	nav.mobile .menu li a { display: block; width: 100%; }
	.content-grid { display: flex; grid-template-columns: none; width: 100%; }
}

@media (max-width: 850px) {
	.hero h1 { font-size: 5rem; }
	footer .box { border: 0 !important; }
	footer .box h2,
	.home-group-1 .box h2 { text-align: center !important; }
}

@media (max-width: 750px) {
	.page-31 .hero img { flex: auto; max-width: 90%; height: auto; }
	.box { padding: 0 1rem; }
	:has(.box) { flex-wrap: wrap !important; }
	.home-group-1 .box { min-width: 300px; width: 94%; text-align: center; border: 0 !important; }
	.box:first-of-type { border-right: 0; border-bottom: 2px solid rgba(0,0,0, 0.2); }
	.box.testbox { margin-bottom: 1rem; width: 100%; text-align: left; border: 0 !important; }
	.content-grid > * { grid-template-columns: none; }
	footer { padding: 1rem 1rem 3rem; }
	footer .flex { padding: 0; }
	.vbs2025 { flex-direction: column; text-align: center; }
	.btn-group { justify-content: center; }
}

@media (max-width: 700px) {
	.tony-event-cards { flex-direction: column; padding-bottom: 1rem; background-color: transparent; }	
	.tony-event-cards .feat-img { height: auto; width: 100%; }
	.tony-event-cards img { border-radius: 7px 7px 0 0; }
	.tony-event-details { padding: 0 .5rem; width: 100% !important; text-align: center; }
	.mc_edit_links { margin: 0 auto; width: max-content; }
}

@media (max-width: 500px) {
	eader .flex { flex-direction: column; }
	a.logo span { text-align: center; }

}

.vbs2025 {
	background-color: #FDCE02;
	border-bottom: 2px solid #403781; 
}

.vbs2025 > div:nth-child(even) {
	padding-left: 1rem; 
}

.vbs-sm {
	font-size: 2.5rem;
	letter-spacing: -2px;
}

.vbs-sm .sm {
	display: block; 
	font-size: 1.5rem;
}

.btn-group {
	display: flex; 
	align-items: center; 
	gap: 1rem; 
}

.btn-group a {
	padding: .5rem 1rem;
	background-color: #403781; 
	color: #fff;
	border-radius: 7px; 
}