/*
* Theme Name:      Divi MADI
* Theme URI:       https://www.elegantthemes.com/gallery/divi/
* Description:     Divi MADI
* Author:          MADI
* Author URI:      https://marinaginganddisabilityinstitute.org/
* Template:        Divi
* Version:         1.0.0
* Text Domain:     madi
* License:         GPL2
* License URI:     https://www.gnu.org/licenses/gpl-2.0.html
*/

/*
0067a2 blue
01558b blue 2
058000 green
069800 green bg table - not AA
058a00 green AA
048000 green text AA

e34c00 orange
*/

/************************ Logo sponsors */
.single-gallery-320 .et_pb_gallery_items {
	text-align: center;
}
.single-gallery-320 .et_pb_gallery_item {
	display: inline-block;
	float: none !important;
	margin: 0 auto !important;
}
.single-gallery-320 img {
	width: 100%;
	max-width: 340px;
	min-width: 280px;
	height: auto;
	display: block;
	margin: 0 auto;
}
@media (min-width: 981px) {

	/* Break Divi’s grid math completely */
	.single-gallery-320 .et_pb_gallery_items {
		display: flex !important;
		justify-content: center;
	}

	.single-gallery-320 .et_pb_gallery_item,
	.single-gallery-320.et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item {
		width: 340px !important;
		max-width: 340px !important;
		flex: 0 0 340px !important;
	}

	.single-gallery-320 img {
		width: 340px !important;
		max-width: 340px !important;
	}
}

.custom-gallery-240 .et_pb_gallery_items {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 20px;
}
.custom-gallery-240 .et_pb_gallery_item {
	width: auto !important;
	max-width: 240px;
	margin: 0 !important;
}
.custom-gallery-240 img {
	max-width: 240px;
	width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}
@media (max-width: 767px) {
	.custom-gallery-240 .et_pb_gallery_items {
		flex-direction: column;
		align-items: center;
	}
}

/************************ Donation */
.donation-level-section .et_pb_text h2 {
	color: #4900be;
}
.donation-level-section .et_pb_text h3 span.accent-color {
	display: flex;
	font-size: clamp(1.25rem, 1.4185rem + -0.2174vw, 1.375rem);
	color: #fff;
	font-weight: 600;
	line-height: 1.25;
	background-color: #43009a;
    padding: 5px 20px 6px;
    border-radius: 8px;
    margin-bottom: 6px;
}
.donation-level-section .et_pb_text p.accent-border {
	font-size: clamp(1.125rem, 1.2935rem + -0.2174vw, 1.25rem);
	color: #555;
	font-weight: 600;
    margin-bottom: 6px;
}
@media ( min-width: 768px ){
.donation-level-section .et_pb_text h3 span.accent-color {
	display: inline-flex;
    width: 100%;
    max-width: 748px;
}
}

/************************ tabs */
ul.et_pb_tabs_controls {
	background-color: #fcfcfc;
}
body .et_pb_tabs_controls a {
	color: #048000;
	text-transform: uppercase;
}
ul.et_pb_tabs_controls li a {
    background-color: #ffffff00;
	transition: 300ms;
	border-bottom: 1px solid #d9d9d9;
}
ul.et_pb_tabs_controls li a:hover {
    background-color: #058a00;
	color: #fff;
}
body .et_pb_tabs_controls .et_pb_tab_active {
  background-color: #058a00;
}
body .et_pb_tabs_controls .et_pb_tab_active:hover {
  background-color: #058a00;
}
body .et_pb_tabs_controls .et_pb_tab_active a {
  color: #fff !important;
}
@media ( max-width: 768px ) {
body .et_pb_tab p {
	font-size: 20px;
	line-height: 1.5em;
}
}

/************************ sponsor naming */
.dsc-main {
    position: relative;
	display: inline-block;
	z-index: 0;
/* 	transition: .3s ease-in-out; */
}
.dsc-main .et_pb_text_inner {
  position: static;
}
.dsc-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
/*     right: 0; */
/*     bottom: 0; */
	width: 100%;
	height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    /*transition: opacity 0.3s ease;*/
	pointer-events: none;
	z-index: -1;
}
.hover-button {
	display: none;
	background-color: #0c6b00;
	color: #fff;
	border: solid 1px #d5c270;
	padding: 12px 20px;
	cursor: pointer;
	border-radius: 6px;
	font-size: 16px;
	transition: all 0.3s ease;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
}
.hover-button:hover {
	background-color: #003f99;
}
.dsc-main:hover::before {
    opacity: 1;
}
.dsc-main:hover .hover-button {
  display: inline-block;
}

/************************ sponsorship grid */
.et_pb_gutters1 .et_pb_column.donate-sponsorship-column,
 .et_pb_gutters1.et_pb_row .et_pb_column.donate-sponsorship-column {
	height: 500px;
	display: flex;
	flex-direction: column;
	margin-bottom: 5px !important;
}
.dsc-top {
/* 	height: 120px; */
	display: flex;
	flex-direction: column;
	background-color: #058a00;
	padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-left: 30px;
}
.dsc-top h2 {
	font-size: 26px;
	line-height: 26px;
	font-weight: 500;
	color: #fff;
	text-transform: uppercase;
}
.dsc-top h3 {
	font-size: 18px;
	line-height: 22px;
	font-weight: 500;
	color: #fff;
}
.dsc-main {
	height: 100%;
	display: flex;
	align-items: flex-end;
	background-position: 50% 50%;
	margin-bottom: 5px;
}
.dsc-main p {
	padding-right: 10px;
	padding-left: 10px;
}
@media ( min-width: 768px ) {
.dsc-top h2 {
	font-size: 22px;
	font-weight: 500;
	color: #fff;
	text-transform: uppercase;
}
.dsc-top h3 {
	font-size: 16px;
}
}

/************************ mobile menu */
/* full width */
.container.et_menu_container { 
	width: calc( 100% - 60px);
}
.et_mobile_menu {
	margin-left: -30px;
	padding: 5%;
	width: calc( 100% + 60px);
}
body .et_mobile_menu {
	padding: 12px 0 0;
	border: 1px solid #eee;
}
body .et_mobile_menu .menu-item-has-children > a {
    font-weight: 500;
	background-color: #fff;
}
body .et_mobile_menu .menu-item-has-children > a::after {
	content: "\25be";
	padding-left: 1rem;
	font-size: 20px;
}
body .et_mobile_menu li {
	padding: 15px 0px 15px 40px; 
	transition: 500ms;
}
body .et_mobile_menu > li:last-child {
	padding-bottom: 45px; 
}
body .et_mobile_menu li ul {
	padding-top: 15px; 
}
body .et_mobile_menu li a {
	font-size: 19px;
	font-weight: 500;
	transition: 400ms;
}
body .et_mobile_menu li li {
	padding: 8px 0 8px 10px; 
}
body .et_mobile_menu li li:last-child {
	padding-bottom: 0px; 
}
body .et_mobile_menu li a {
/* 	display: inline-block; */
/* 	font-size: 16px; */
/* 	font-weight: 500; */
/*     color: #000; */
	border-bottom-width: 1px;
	border-bottom-color: #eee;
    padding: 0; 
}
body .et_mobile_menu li a:hover {
    background-color: #fff;
    opacity: 1;
	border-bottom: 1px solid #000;
}
body .et_mobile_menu li li a {
	border-bottom-width: 1px;
/* 	box-sizing: border-box; */
}
body .et_mobile_menu .current-menu-parent > a {
/* 	color: #000; */
/* 	border-color: #000; */
}
body .et_mobile_menu .current-menu-item.current_page_parent > a {
	border-bottom-color: #eee;
}
body .et_mobile_menu .current-menu-item > a {
	color: #000;
	border-color: #000;
}
@media ( min-width: 376px ) {
body .et_mobile_menu li a {
	font-size: 17px;
}
}
@media ( min-width: 400px ) {
body .et_mobile_menu li a {
	font-size: 18px;
}
}
@media ( min-width: 600px ) {
body .et_mobile_menu li {
	padding-left: 10vw; 
}
}

/************************ main menu */
#top-header {
	display: none !important;
}
#main-header .et_menu_container {
	margin-top: 0;
	margin-bottom: 0;
}
body .nav li ul {
	width: 220px;
	padding: 15px 0 20px;
	border-width: 1px;
	border-color: #ddd;
}
#top-menu li {
	padding-right: 14px;
	font-weight: 500;
	transition: 500ms;
}
#top-menu li li a {
	width: unset;
}
#top-menu-nav > ul > li > a:hover {
	opacity: 1;
}
body #et-top-navigation {
	padding-left: 0 !important;
}
#top-menu > li.current-menu-item > a:before,
#top-menu > li.current-menu-ancestor > a:before,
#top-menu > li > a:hover:before {
	content: "";
	position: absolute;
	left:0;
	bottom:0;
	width: 100%; 
	height: 3px;
	background: #000;
	opacity: 1;
}
#top-menu > li li.current-menu-item > a:before,
#top-menu > li li.current-menu-ancestor > a:before, 
#top-menu > li li > a:hover:before {
	content:"";
	position: absolute;
	left:0;
	bottom:0;
	width: 100%; 
	height: 2px;
	background: #000;
}
@media ( min-width: 768px ) {
#main-header .et_menu_container {
	margin-top: 10px;
	margin-bottom: 10px;
}
}
@media ( min-width: 1040px ) {
#top-menu li {
    padding-right: 20px;
}
}
@media ( min-width: 1100px ) {
#top-menu li {
    padding-right: 30px;
}
}
@media ( min-width: 1200px ) {
#top-menu li {
/*     font-size: 14px; */
    padding-right: 40px;
}
}

/************************ main sub-menu */
#top-menu li li {
	display: block;
}
body #top-menu li li a {
	display: inline-block;
    padding: 10px 0 2px 0;
}

/************************ blue column section */
body .blue-row-c1 {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 50px 30px 40px;
}
body .blue-row-c2 {
	display: flex;
	flex-direction: column;
	background-color: #fff;
	padding: 50px 30px 50px;
	border-bottom: 1px solid #ddd;
}
.c1-header-text {
}
body h2.mbm-intro {
	font-family: 'Inter', Arial, Helvetica, sans-serif;
	color: #222;
	font-size: clamp(2.125rem, 2.0815rem + 0.2174vw, 2.25rem);
	line-height: 1.2;
	font-weight: 500;
}
body h3.mbm-intro {
	color: #000;
	font-size: clamp(1.25rem, 1.163rem + 0.4348vw, 1.5rem);
	line-height: 1.4;
	font-weight: 500;
}
.aaa-container {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.aaa-container > div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 12px 12px;
	width: 100%;
	max-width: 180px;
	text-align: center;
	border-radius: 24px;
	margin: 4px;
	font-size: 16px;
	line-height: 20px;
	color: #fff;
	font-weight: 600;
}
.aaa-1 {
	background-color: #db3700;
}
.aaa-2 {
	background-color: #058000;
}
.aaa-3 {
	background-color: #0067A2;
}
a.mbm-intro-cta {
/* 	color: #000; */
/* 	font-weight: 500; */
/* 	border-bottom: solid 1px #000; */
/* 	box-sizing: border-box; */
/* 	padding-bottom: 2px; */
/* 	transition: 500ms; */
}
a.mbm-intro-cta:hover {
/* 	cursor: pointer; */
/* 	color: #000; */
/* 	font-weight: 500; */
/* 	border-color: #ccc; */
}
@media ( min-width: 768px ) {
body .blue-row-c1 {
	padding: 50px 60px 60px 60px;
}
}
@media ( min-width: 981px ) {
.home-blue-row.et_pb_row.et_pb_equal_columns {
    display: flex;
	align-items: stretch;
}
body .blue-row-c1 {
	padding: 40px 60px 50px 0px;
	padding-left: 10%;
}
body .blue-row-c2 {
	padding: 40px 0px 50px 40px;
	padding-right: 3%;
	display: flex;
    justify-content: center;
	justify-content: space-evenly;
}
/*body h2.mbm-intro {
	font-size: 36px;
	line-height: 1.4;
}*/
/*body h3.mbm-intro {
	font-size: 28px;
	line-height: 1.4;
}*/
}
@media ( min-width: 981px ) and ( max-width: 1300px ) {
body .blue-row-c1 {
	gap: 20px;
}
.aaa-container {
	display: flex;
	justify-content: center;
}
.aaa-container > div {
/* 	display: flex; */
}
}
@media ( min-width: 660px ) {
.aaa-container.not-home {
	flex-direction: row;
	justify-content: center;
}
}
@media ( min-width: 1200px ) {
.aaa-container {
	flex-direction: row;
	justify-content: center;
}
}
@media ( min-width: 1600px ) {
body .blue-row-c1 {
	padding: 60px 40px 50px 40px;
	padding-left: 6%;
}
body .blue-row-c2 {
	padding: 40px 0px 50px 40px;
	padding-right: 2%;
}
}

/************************ main menu */
.nav ul li a:hover {
	color: #f00;
	opacity: 1;
	background-color: transparent;
}
.entry-content ul {
	list-style-position: outside;
	padding-top: 0;
	padding-bottom: 0;
	margin: 0;
}
.entry-content ul li {
	padding-top: 0;
	padding-bottom: 0.5rem;
}
.entry-content ul.list-text {
	list-style: none;
}
.entry-content ul.list-text li {
	border-left: 2px solid #000;
	padding: 0 0 0 18px;
	margin: 0 0 30px 0;
}

/************************ footer */
.madi-footer .et_pb_text h1 {
	font-size: 18px;
	font-weight: 500;
	color: #ddd;
    padding-top: 15px;
    padding-bottom: 8px;
}
.et_pb_menu .et-menu {
    margin-left: 0px;
    margin-right: 0px;
}
.et_pb_menu .et_pb_menu__wrap {
	justify-content: right;
}
.et_pb_menu .et_pb_menu__menu,
.et_pb_menu .et_pb_menu__menu>nav,
.et_pb_menu .et_pb_menu__menu>nav>ul {
	flex-direction: column;
}
ul#menu-footer-menu {
	margin-top: -2px;
	margin-bottom: 30px;
}
ul#menu-footer-menu li {
/* 	display: block; */
	padding: 10px 0;
}
ul#menu-footer-menu li a {
	display: inline;
/* 	font-family: 'Inter', sans-serif; */
	font-size: 16px;
	color: #eee;
	line-height: 1.2em;
	border-bottom: solid 1px transparent;
	box-sizing: border-box;
	padding-bottom: 3px;
	opacity: 1;
	transition: 300ms;
}
ul#menu-footer-menu li a:hover {
	color: #fff;
	border-color: #fff;
}
ul#menu-footer-menu>.current-menu-item a {
    border-color: #fff;
}
/* 	responsive */
@media (max-width: 980px) {
.et_pb_menu .et_pb_menu__menu {
    display: unset;
}
.et_pb_menu .et_pb_menu__wrap {
	justify-content: left;
}
}
@media ( min-width: 981px ) {
ul#menu-footer-menu {
	margin-bottom: 0px;
}
ul#menu-footer-menu li {
/* 	display: block; */
	padding: 0 0 8px;
}
ul#menu-footer-menu li a {
	font-size: 14px;
}
}

/************************ typography - home */
body h1.home-intro {
	color: #fff;
	font-size: 38px;
	line-height: 1.3em;
	font-weight: 500;
	letter-spacing: 0.02rem;
}
body h2.home-intro {
	color: #fff;
	font-size: 28px;
	line-height: 1.3em;
    font-weight: 500;
/* 	padding-bottom: 10px; */
}
body p.home-intro {
	color: #fff;
	font-size: 20px;
	line-height: 1.5em;
    font-weight: 500;
}
body h3.madi-about {
	color: #000;
	font-size: 24px;
/* 	line-height: 1.5em; */
	font-weight: 500;
}
@media ( min-width: 768px ) {
body h1.home-intro {
	color: #fff;
	font-size: 38px;
	font-weight: 500;
	letter-spacing: 0.012rem;
}
body h2.home-intro {
	font-size: 26px;
	font-weight: 500;
}
body p.home-intro {
	font-size: 20px;
	font-weight: 400;
	line-height: 1.5em;
}
}
@media ( min-width: 981px ) {
body h1.home-intro {
	color: #fff;
	font-size: 38px;
	font-weight: 500;
}
body h2.home-intro {
/* 	font-size: 26px; */
}
body p.home-intro {
	font-size: 20px;
	font-weight: 300;
	line-height: 1.5em;
}
}

/************************ typography- pages */
.et_pb_text h1 {
	color: #000;
	font-size: clamp(1.875rem, 1.6576rem + 1.087vw, 2.5rem);
	line-height: 1.25;
	font-weight: 500;
	text-wrap: balance;
}
.et_pb_text h2 {
	color: #000;
	font-size: clamp(1.75rem, 1.5761rem + 0.8696vw, 2.25rem);
	line-height: 1.25;
	font-weight: 500;
	text-wrap: balance;
}
.et_pb_text h3 {
	color: #000;
	font-size: clamp(1.25rem, 1.2065rem + 0.2174vw, 1.375rem);
	line-height: 1.5;
	font-weight: 500;
}
.et_pb_text h4 {
	color: #000;
	font-size: clamp(1.125rem, 1.0815rem + 0.2174vw, 1.25rem);
	line-height: 1.6;
	font-weight: 500;
}
.et_pb_text p {
	font-size: clamp(1.0625rem, 1.3152rem + -0.3261vw, 1.25rem);
	line-height: 1.6;
/* 	padding-bottom: 8px; */
}
.text-has-background .et_pb_text p {
	color: #fff;
}

@media ( min-width: 768px ) {
body .et_pb_text.p-subheading p {
	color: #222;
	font-size: 20px;
	line-height: 1.5;
	font-weight: 400;
}
}

/************ list */
ul.partners-list {
	list-style-position: inside;
	margin-bottom: 20px;
}
ul.partners-list li {
	text-indent: -1em;
	padding-left: 1em;
	font-size: 18px;
	line-height: 1.4em;
	padding-bottom: 8px;
}
@media ( min-width: 768px ) {
ul.partners-list li {
	font-size: 20px;
	line-height: 1.4em;
}
}
@media ( min-width: 981px ) {
ul.partners-list li {
	font-size: 16px;
	line-height: 1.3em;
}
}

/************************ contact */
.contact-name {
	font-weight: 500;
}
.contact-title {
	font-size: 14px;
	padding: 0 0 10px;
}
a.contact-email {
	display: inline-block;
	border-bottom: solid 1px #000;
	padding-bottom: 5px;
	box-sizing: border-box;
	transition: 250ms;
}
a.contact-email:hover {
	border-color: transparent;
}


/************************ wpforms */
body.et-db #et-boc .et-l .et_pb_module div.wpforms-container-full:not(:empty) {
    margin: 5px auto 24px;
}
body.et-db #et-boc .et-l .et_pb_module div.wpforms-container-full .wpforms-form .wpforms-head-container {
    padding: 0 0 20px 0;
}
body.et-db #et-boc .et-l .et_pb_module div.wpforms-container-full .wpforms-form .wpforms-title {
    font-weight: 500;
}
body.et-db #et-boc .et-l .et_pb_module div.wpforms-container-full .wpforms-form .wpforms-description {
    font-weight: 400;
}
body.et-db #et-boc .et-l .et_pb_module .wpforms-container .wpforms-field-label {
	font-weight: 500;
}
body.et-db #et-boc .et-l .et_pb_module div.wpforms-container-full .wpforms-field-sublabel,
body.et-db #et-boc .et-l .et_pb_module div.wpforms-container-full .wpforms-field-description {
	font-size: 16px;
	color: #005b94;
}
body div.wpforms-container-full .wpforms-form input[type=submit],
body div.wpforms-container-full .wpforms-form button[type=submit] {
	padding: 16px 25px;
	height: 50px;
}
body.et-db #et-boc .et-l .et_pb_module div.wpforms-container-full .wpforms-confirmation-container-full {
	color: #000;
    background: #e6f4fa;
	border-top: none;
	border-right: none;
	border-bottom: none;
    border-left: 4px solid #43afdd;
    box-sizing: border-box;
    font-weight: 500;
    padding: 15px 30px 15px;
}

/************************ unerliner links */
.underline-link a {
background: 
    linear-gradient(to right, rgba(50, 50, 50, 1), rgba(255, 255, 255, 1)),
	linear-gradient(to right, rgba(26, 160, 74, 1), rgba(255, 0, 180, 1), rgba(0, 54, 255, 1));
background-size: 100% 0.1em, 0 0.1em;
background-position: 100% 100%, 0 100%;
background-repeat: no-repeat;
padding-bottom: 4px;
line-height: 30px;
transition: background-size 400ms;
}
.underline-link a:hover,
.underline-link a:focus {
background-size: 0 0.1em, 100% 0.1em;
}

/************************ header */
.et_header_style_left #logo {
	max-width: 75%;
}
@media ( min-width: 600px ) {
.et_header_style_left #logo {
	max-width: 60%;
}
}
@media ( min-width: 768px ) {
.et_header_style_left #logo {
	max-width: 30%;
}
}
@media ( min-width: 1000px ) {
.et_header_style_left #logo {
	max-width: 35%;
}
}
@media ( min-width: 1200px ) {
.et_header_style_left #logo {
	max-width: 25%;
}
}

/************************ main menu */
body div#page-container {
 overflow:hidden;
}
#et-top-navigation .mobile_menu_bar.et_pb_header_toggle {
	width: 60px;
	left: 0;
}
#et-top-navigation .et_pb_header_toggle.et_toggle_slide_menu::before {
    font-size: 60px;
}
#et-top-navigation .et_pb_header_toggle.et_toggle_slide_menu::after {
	font-size: 60px;
	left: -60px;
}
.et_slide_in_menu_container span.et_mobile_menu_arrow {
	top: 12px;
}

/************************ slide in menu */
.et_slide_in_menu_container #mobile_menu_slide > li {
	padding: 10px 0 10px;
	line-height: 10px;
}
.et_slide_in_menu_container #mobile_menu_slide li a {
	display: inline-block;
	font-weight: 400;
	opacity: 1;
	transition: 500ms;
/* 	line-height: 1em; */
	border-bottom: 2px solid transparent;
	box-sizing: border-box;
}
.et_slide_in_menu_container #mobile_menu_slide li a:hover,
.et_slide_in_menu_container #mobile_menu_slide li li a:hover {
	opacity: 1;
	border-color: #0086ff;
}
.et_slide_in_menu_container #mobile_menu_slide li.current-menu-parent>a {
	opacity: 0.6;
}
.et_slide_in_menu_container #mobile_menu_slide li.current-menu-parent>a:hover {
	opacity: 0.6;
	border-color: transparent;
}

.et_slide_in_menu_container #mobile_menu_slide li.current-menu-item a {
	color: #fff;
	border-bottom: 2px solid #0086ff;
}
.et_slide_in_menu_container #mobile_menu_slide li li a {
	opacity: 1;
	box-sizing: border-box;
	border-color: transparent;
}

/************************ vertical center */
.et_pb_equal_columns > .et_pb_column {
/* 	margin-top: auto; */
/* 	margin-bottom: auto; */
}

/************************ image handling */
.inline-images .et_pb_module {
	display: inline-block;
}

/************ image full height */
/* Apply to the row to ensure columns align */
.full-height-row {
    display: flex;
    align-items: stretch;
}
/* Left column */
.full-height-image-column {
    display: flex;
}
/* Make image wrapper stretch */
.full-height-image-column .et_pb_image_wrap {
    flex: 1;
    display: flex;
}
/* Force image to cover */
.full-height-image-column img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.full-height-image-column.coalition img {
	object-position: 84% 50%;
}
.full-height-image-column.donate img {
	object-position: -25px 50%;
	max-width: 110%;
}
@media (max-width: 980px) {
  .full-height-row {
    flex-direction: column;
}
}

/************************ home */
#home-image-row > .et_pb_column {
	padding-right: 2px;
	padding-bottom: 2px;
}

/************************ team */
div.et_pb_blurb_description::before {
	border-top: 1px solid #333;
}
.et_pb_blurb_content .et_pb_module_header {
    font-size: 22px;
    font-weight: 400;
    padding-bottom: 8px;
}
p.member-title {
    font-size: 15px;
    font-weight: 400;
	line-height: 22px;
/*  padding-bottom: 15px */
}

/* team toggle */
.et_pb_toggle_close {
	padding: 15px;
}
.et_pb_toggle .et_pb_toggle_title,
.et_pb_toggle h5.et_pb_toggle_title {
	padding-left: 20px;
}
body .et_pb_toggle_open .et_pb_toggle_title,
body .et_pb_toggle_open .et_pb_toggle h5.et_pb_toggle_title {
	padding-left: 0px;
}
body .et_pb_toggle_close .et_pb_toggle_title:before,
body .et_pb_toggle_open .et_pb_toggle_title:before {
    right: 15px !important;
}


/************************ donate header */
.header-image-overlay-row {
	display: flex;
}
.header-image-overlay-container {
	padding: 50px 40px 55px;
	display: flex;
    flex-direction: column;
	transition: 300ms;
}
.header-image-overlay-container.blur-bg {
	background-color: rgba(255,255,255,0.5);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(15px); /* safari support */
}
.header-image-overlay-container.blur-bg:hover {
	background-color: rgba(255,255,255,0.7);
	backdrop-filter: blur(15px);
	/*transition-delay: 500ms;*/
}
.header-image-overlay-container.donate {
	background-color: rgba(255,255,255,0.9);
	backdrop-filter: blur(5px);
	align-items: center;
}

/************************ donate - slider */
@keyframes backgroundFade {
    0% {
        /*background-image: url('https://www.marinaginganddisabilityinstitute.org/north-bay-west-coast-aging-disability/magical-bridge-marin-accessible-inclusive-playground-project-info.jpg');*/
    }
    25% {
        /*background-image: url('https://marinaginganddisabilityinstitute.org/staging/2025-0104/north-bay-west-coast-aging-disability/magical-bridge-marin-accessible-playground-information.jpg');*/
    }
    50% {
        /*background-image: url('https://marinaginganddisabilityinstitute.org/staging/2025-0104/north-bay-west-coast-aging-disability/magical-bridge-accessible-inclusive-playground-marin-project-crossbridge.jpg');*/
    }
    75% {
        /*background-image: url('https://marinaginganddisabilityinstitute.org/staging/2025-0104/north-bay-west-coast-aging-disability/magical-bridge-accessible-inclusive-playground-marin-project-spinzone.jpg');*/
    }
    100% {
        /*background-image: url('https://marinaginganddisabilityinstitute.org/staging/2025-0104/north-bay-west-coast-aging-disability/magical-bridge-marin-accessible-playground-information.jpg');*/
    }
}
.custom-bg-slider {
    width: 100%;
    min-height: 400px;
    z-index: -1;
	animation: backgroundFade 12s infinite;
}

/************************ gallery square */
.gallery-square .et_pb_gallery_image {
	padding-top: 100%;
	display: block;
}
.gallery-square .et_pb_gallery_image img {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	object-fit: cover;
	border-radius: 10px;
}
/* gallery square - wide */
.gallery-square.wide .et_pb_gallery_item_1_1 .et_pb_gallery_image {
	padding-top: 100%;
	display: block;
}
.gallery-square.wide .et_pb_grid_item.et_pb_gallery_item_1_1 {
	width: 100%;
}
.gallery-square.wide .et_pb_gallery_item_1_1 .et_pb_gallery_image img {
	height: 100%;
}

/* gallery square - circle */
.gallery-square.circle .et_pb_gallery_image img {
	border-radius: 4%;
}

/* position the gallery items */
.gallery-square .et_pb_gallery_item {
	position: relative;
}
/* remove the default top margin from the title */
.pa-gallery-text-over-image .et_pb_gallery_title {
	margin: 0 !important;
}
/* set the overlay z-index */
.gallery-square .et_overlay {
	z-index: 1;
}

@media ( min-width: 480px ) {
/* gallery square - wide */
.gallery-square.wide .et_pb_gallery_item_1_1 .et_pb_gallery_image {
	padding-top: 100%;
	display: block;
}
.gallery-square.wide .et_pb_grid_item.et_pb_gallery_item_1_1 {
	width: 50%;
}
}
@media ( min-width: 768px ) {
/* gallery square - wide */
.gallery-square.wide .et_pb_gallery_item_1_1 .et_pb_gallery_image {
	padding-top: 50%;
	display: block;
}
.gallery-square.wide .et_pb_gallery_item_1_1 .et_pb_gallery_image {
	padding-top: 100%;
}
.gallery-square.wide .et_pb_grid_item.et_pb_gallery_item_1_1 {
	width: 33.33%;
}
}
@media ( min-width: 991px ) {
.gallery-square.wide .et_pb_gallery_item_1_1 .et_pb_gallery_image {
	padding-top: 50%;
}
.gallery-square.wide .et_pb_grid_item.et_pb_gallery_item_1_1 {
	width: 49.2%;
}
}

/* position and style the title and caption text container */
.gallery-square .gallery-square-text {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background: rgba(17, 17, 17, 0.3);
	opacity: 1;
	transition: all .5s ease-in-out;
}
/* show the title and caption on hover */
.gallery-square .et_pb_gallery_item:hover .gallery-square-text {
	opacity: 1;
	border-radius: 10px;
}
/* added this to make the gallery images open in lightbox */
.gallery-square .et_overlay {
	pointer-events: all !important;
	border-radius: 10px
}


/************************ san anselmo */
#videos .et_pb_module .et_pb_text_inner {
/* 	padding: 15px 0 0; */
}
body .onblue .et_pb_text p {
	font-size: 16px;
    line-height: 1.7em;
	padding-top: 15px;
	padding-bottom: 40px;
}
.text-container-column > .et_pb_text.et_pb_text_0 {
	background-color: #00000090;
    backdrop-filter: blur(4px);
    padding: 30px 30px 30px 30px;
    border-radius: 14px;
	width: 100%;
	margin-top: 40px;
}
.sa-cta h3 {
	font-size: 24px;
	line-height: 1.2em;
}
.sa-cta h4 {
	font-size: 16px;
	line-height: 1.35em;
	padding-top: 5px;
}
@media ( min-width: 600px ) {
.text-container-column > .et_pb_text.et_pb_text_0 {
    padding: 30px 30px 30px 50px;
}
}
@media ( min-width: 981px ) {
.text-container-column > .et_pb_text.et_pb_text_0 {
	max-width: 560px;
	margin-top: 0px;
/*     padding: 30px 30px 30px 50px; */
}
}

/************************ footer */
footer ul.footer-menu {
	padding: 0px 0px 20px;
}
footer ul.footer-menu li {
	display: block;
	padding: 10px 0;
}
footer ul.footer-menu li a {
	display: inline;
	font-size: 16px;
	color: #eee;
	line-height: 1.2em;
	border-bottom: solid 1px transparent;
	box-sizing: border-box;
	padding-bottom: 3px;
	transition: 300ms;
}
footer ul.footer-menu li a:hover {
	color: #fff;
	border-color: #fff;
}
footer .et_pb_text.footer-intro p {
	color: #eee;
	font-size: 16px;
	line-height: 26px;
}
body footer .et_pb_text.footer-bottom {
	color: #eee;
	font-size: 12px;
    line-height: 1.4em;
}
@media ( min-width: 981px ) {
footer ul.footer-menu {
	padding: 0;
}
footer ul.footer-menu li {
	display: block;
	padding: 5px 0 5px;
}
footer ul.footer-menu li:first-child {
	padding-top: 0;
}
footer ul.footer-menu li a {
	font-size: 14px;
}
footer .et_pb_text.footer-intro p {
	color: #eee;
	font-size: 16px;
	line-height: 28px;
}
}

/************************ lightbox */
body.page-id-954 .mfp-image-holder .mfp-content {
    max-width: 100%;
}
body.page-id-954 .mfp-content img.mfp-img {
	padding: 60px;
    background-color: #fff;
}

/************************ icons */
.onblue .et_overlay.et_pb_inline_icon::before {
	font-size: 60px;
}
.img-gallery .et_overlay.et_pb_inline_icon::before {
	font-size: 20px;
}
.et_overlay.et_pb_inline_icon::before {
	font-size: 30px;
}

@media ( min-width: 981px ) {
/************************ ken burns */
.ken-burns {
-webkit-animation: summersaleburns 45s ease-out both;
animation: summersaleburns 45s ease-out both;
animation-iteration-count: infinite;
}
}
/************************ ken burns key frames */
@-webkit-keyframes summersaleburns {
0% {
 -webkit-transform: scale(1) translate(0, 0);
 transform: scale(1) translate(0, 0);
 -webkit-transform-origin: 0% 900%;
 transform-origin: 0% 900%;
}
50% {
 -webkit-transform: scale(1.25) translate(20px, 15px);
 transform: scale(1.25) translate(0px, 0px);
 -webkit-transform-origin: right bottom;
 transform-origin: center bottom;
}
100% {
 -webkit-transform: scale(1) translate(0, 0);
 transform: scale(1) translate(0, 0);
 -webkit-transform-origin: 0% 284%;
 transform-origin: 0% 900%;
}
}
@keyframes summersaleburns {
0% {
 -webkit-transform: scale(1) translate(0, 0);
 transform: scale(1) translate(0, 0);
 -webkit-transform-origin: 0% 900%;
 transform-origin: 0% 900%;
}
50% {
 -webkit-transform: scale(1.25) translate(20px, 15px);
 transform: scale(1.25) translate(0px, 0px);
 -webkit-transform-origin: center bottom;
 transform-origin: center bottom;
}
100% {
 -webkit-transform: scale(1) translate(0, 0);
 transform: scale(1) translate(0, 0);
 -webkit-transform-origin: 0% 900%;
 transform-origin: 0% 900%;
}
}

/*********** google recaptcha */
small {
	display: block;
	font-size: small !important;
	line-height: 1.7em;
	padding-top: 20px;
}


/* Make the row full height of viewport */
.map-row {
    display: flex;
    min-height: 100vh; /* full screen height */
}

/* Make both columns stretch */
.map-row .et_pb_column {
    display: flex;
    flex-direction: column;
}

/* Make iframe inside right column fill space */
.map-row .et_pb_column:last-child iframe {
    flex: 1;
    width: 100%;
    height: 100%;
    border: 0;
}
