/**
 * Theme Name: YMCA Southcoast
 * Author: Slocum Studio
 * Author URI: https://slocumstudio.com
 * Description: YMCA Southcoast theme
 * Version: 1.0.9
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: ymca-southcoast
 * Template: astra
 */

/*
 * General
 */

sup {
	font-size: 0.6em;
	vertical-align: super;
}

/* Chevron Buttons */
.n2-ss-button-container a,
a.uabb-button,
a.uabb-btn,
a.fl-button {
	position: relative;
	overflow: visible !important;
	border-right: none !important;
	border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}

.n2-ss-button-container a:after,
a.uabb-button:after,
a.uabb-btn:after,
a.fl-button:after {
	content: '';
	width: 18px;
	background-color: inherit !important;
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc( 100% - 2px );
	display: block !important; /* !important needed for SmartSlider 3 */
	mask: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"75.937\" height=\"233.2\"><defs><path id=\"a\" d=\"M.98.941h207.47V220.94H.98Z\"/></defs><path fill=\"white\" fill-rule=\"evenodd\" d=\"M54.12 0s4.074.329 7.953 2.31c3.879 1.981 8.671 5.45 10.409 8.226 1.738 2.775 55.002 93.837 55.002 93.837s2.658 5.157 2.571 12.594c-.087 7.438-2.461 12.66-2.461 12.66s-53.356 89.848-55.112 93.037c-1.756 3.189-6.408 6.497-10.35 8.226-3.94 1.73-8.012 2.31-8.012 2.31z\" transform=\"translate(-54.12)\"/></svg>") no-repeat 50% 50%;
	mask-size: cover;
}

#ymca-southcoast-header-wave-desktop-wrapper {
	height: 38px;
	/*transition: height 0s 0.3s, opacity 0.3s 0.15s;*/
	visibility: visible;
}

.ast-main-header-nav-open #ymca-southcoast-header-wave-desktop-wrapper {
	height: 0;
	opacity: 0;
	transition: height 0s 0s, opacity 0.15s 0.15s;
	overflow: hidden;
	visibility: hidden;
}

/*#ymca-southcoast-header-wave-desktop-wrapper {
	height: 0;
	display: none;
}*/

#ymca-southcoast-header-wave-mobile-wrapper {
	display: none;
}

/*#ymca-southcoast-header-wave-desktop-off-canvas-wrapper {
	display: none;
}

.ast-main-header-nav-open #ymca-southcoast-header-wave-desktop-off-canvas-wrapper {
	display: block;
}*/

.ymca-southcoast-header-wave {
	transform: rotate(180deg);
	transition: 0.3s ease;
}

.ymca-southcoast-header-wave .ymca-southcoast-header-wave-gradient stop {
	transition: 0.3s ease;
}

/*#ymca-southcoast-header-wave-desktop-off-canvas-wrapper .ymca-southcoast-header-wave-gradient-0 stop:first-child {
	stop-color: rgba(0, 96, 175, 1);
}

#ymca-southcoast-header-wave-desktop-off-canvas-wrapper .ymca-southcoast-header-wave-gradient-0 stop:last-child {
	stop-color: rgba(0, 96, 175, 1);
}*/

/* Gradient 0 */
.ast-main-header-nav-open .ymca-southcoast-header-wave .ymca-southcoast-header-wave-gradient-0 stop:first-child {
	/*stop-color: rgba(0, 107, 107, 1);
	stop-color: rgba(0, 96, 175, 1);*/
}

.ast-main-header-nav-open .ymca-southcoast-header-wave .ymca-southcoast-header-wave-gradient-0 stop:last-child {
	/*stop-color: rgba(1, 164, 144, 1);
	stop-color: rgba(0, 96, 175, 1);*/
}

/* Note: Not in use as of 06/02/25 */

/* Gradient 1 */
.ast-main-header-nav-open .ymca-southcoast-header-wave .ymca-southcoast-header-wave-gradient-1 stop:first-child {
	stop-color: rgba(92, 46, 145, 1);
}

.ast-main-header-nav-open .ymca-southcoast-header-wave .ymca-southcoast-header-wave-gradient-1 stop:last-child {
	stop-color: rgba(146, 39, 143, 1);
}

/* Gradient 2 */
.ast-main-header-nav-open .ymca-southcoast-header-wave .ymca-southcoast-header-wave-gradient-2 stop:first-child {
	stop-color: rgba(0, 96, 175, 1);
}

.ast-main-header-nav-open .ymca-southcoast-header-wave .ymca-southcoast-header-wave-gradient-2 stop:last-child {
	stop-color: rgba(0, 96, 175, 1);
}

/* Gradient 3 */
.ast-main-header-nav-open .ymca-southcoast-header-wave .ymca-southcoast-header-wave-gradient-3 stop:first-child {
	stop-color: rgba(0, 96, 175, 1);
}

.ast-main-header-nav-open .ymca-southcoast-header-wave .ymca-southcoast-header-wave-gradient-3 stop:last-child {
	stop-color: rgba(0, 96, 175, 1);
}




/* Sticky Header */
/*#ymca-southcoast-header-wave-desktop-wrapper {
    margin: -1px;
}

.ast-above-sticky-header-active #ymca-southcoast-header-wave-desktop-wrapper {
	position: fixed !important;
    right: 0;
    left: 0;
    margin: -1px auto 0;
}*/



/* Mega Menu */
.ast-desktop-header-content .ast-builder-menu-mobile .mega-menu {
	display: flex !important;
    justify-content: space-evenly;
    align-items: center;
	text-shadow: 2px 2px #000;
}

.ast-desktop-header-content .ast-builder-menu-mobile .mega-menu > li.mega-menu-item {
	flex-grow: 1;
    text-align: center;
}

.ast-desktop-header-content .ast-builder-menu-mobile .mega-menu > li.mega-menu-item > a.mega-menu-link {
	text-align: center !important;
}
.ast-desktop-header-content .ast-builder-menu-mobile .mega-menu > li.mega-menu-item.mega-toggle-on > a.mega-menu-link,
.ast-desktop-header-content .ast-builder-menu-mobile .mega-menu > li.mega-menu-item > a.mega-menu-link:hover,
.ast-desktop-header-content .ast-builder-menu-mobile .mega-menu > li.mega-menu-item > a.mega-menu-link:focus {
	text-shadow: none !important;
}

.mega-menu-link > i.fas {
	margin-bottom: 20px;
	color: #fff;
	font-size: 60px;
	display: block;
}

.mega-menu-link .mega-indicator {
	/* Prevent Astra from closing the menu when the indicator is clicked */
	pointer-events: none;
}

.ast-desktop-header-content .ast-builder-menu-mobile .mega-menu .mega-menu-column > .mega-sub-menu > .mega-menu-item > .mega-sub-menu {
	margin-top: 30px !important;
}

.ast-desktop-header-content .ast-builder-menu-mobile .mega-menu .mega-menu-column > .mega-sub-menu > .mega-menu-item > .mega-sub-menu .mega-menu-item > .mega-sub-menu {
	margin-bottom: 20px !important;
}

.ast-desktop-header-content .ast-builder-menu-mobile .mega-menu .mega-menu-link[role="button"] {
	font-weight: bold !important;
}



/**
 * SDS Taxonomy Colors
 */
.sds-term-color {
	margin: 5px;
	padding: 5px;
	color: var(--sds-term-color);
	background-color: var(--sds-term-background-color);
	border-radius: 5px;
	display: inline-block;
	box-shadow: rgba(0, 0, 0, 0.25) 2px 2px 4px 2px;
}

span:first-child .sds-term-color {
	margin-left: 0;
}

span:last-child .sds-term-color {
	margin-right: 0;
}

/* List */
.sds-term-color-list .fl-location_tax {
	/*display: list-item;*/
}

.sds-term-color-list .fl-module-content div > span {
	margin-left: 2em;
	display: list-item;
}

.sds-term-color-list .sds-term-color {
	margin: 0;
	padding: 0;
	color: var(--sds-term-background-color);
    background-color: transparent;
	font-weight: bold;
    border-radius: none;
	box-shadow: none;
}


/**
 * Single Programs & Locations
 */
.single-program .fl-builder-content,
.single-location .fl-builder-content {
	margin-bottom: 0;
}


/**
 * Announcer Plugin
 */
/*.ancr-top-spacer {
	transition: none !important;
}*/


/**
 * Print-O-Matic Plugin
 */
.printomatic, .printomatictext {
	margin-bottom: 10px;
	display: inline-block;
	vertical-align: middle;
}

.printomatic {
	margin-right: 5px;
}