/**
 * Theme Name:       Northwest Minnesota Foundation 2023
 * Theme URI:        https://www.nwmf.org/
 * Description:		 Northwest Minnesota Foundation is a custom child theme built on the Genesis Framework utilizing Mai Engine 2.0.
 * Author:			 Jennifer Strumbel, Flying Orange
 * Author URI:		 https://www.flyingorangewebdesign.com
 * Version:			 1.0
 * Text Domain:		 NMF
 * Template:		 genesis
 * Template Version: 3.4
 * License:          GPL-2.0-or-later
 * License URI:      http://www.gnu.org/licenses/gpl-2.0.html
 */

/* Table of Contents

	- Defaults
	- Theme Customizations
	- Max Mega Menu Customizations
	- Team Members Customizations
	- Mai Testimonials Customizations
	- Media Queries

*/

/* # Defaults
---------------------------------------------------------------------------------------------------- */

div.editor-styles-wrapper, :root {
	--h1-font-size: var(--font-size-xxl);
	--h2-font-size: var(--font-size-xl);
	--h3-font-size: var(--font-size-xl);
	--h4-font-size: var(--font-size-lg);
	--entry-title-link-color: var(--color-link);
	--entry-title-font-size: var(--font-size-md);
	--button-font-weight: 700;
}

body {
	line-height: 1.45;
}

a {
	font-weight: 700;
}

.site-header {
	border-bottom: none;
}

.nav-before-header-menu {
	--menu-font-size: var(--font-size-sm);
	--menu-font-weight: var(--heading-font-weight);
	--menu-text-transform: uppercase;
	--menu-item-link-padding: var(--spacing-md) var(--spacing-lg);
	--menu-item-link-color-hover: var(--color-secondary-light);
}

.nav-header-right {
	--menu-font-size: var(--font-size-md);
	--menu-font-weight: 800;
	--menu-item-link-color: var(--color-body);
	--menu-item-link-color-hover: var(--color-custom-4);
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
}

.home h1 {
	font-size: var(--font-size-xl);
	font-weight: 800;
}

h3, .entry-wrap-archive a, .entry-title-link {
	color: var(--color-link);
}

h4 {
	margin-bottom: 0;
}

h2.entry-title {
	font-size: var(--font-size-lg);
}

div.editor-styles-wrapper .is-style-heading,.is-style-heading {
	font-weight: 700;
	letter-spacing: 0;
}

div.editor-styles-wrapper .is-style-subheading, .is-style-subheading {
	font-weight: 400;
	font-size: var(--font-size-lg);
	text-transform: none;
	color: var(--color-body);
	--heading-letter-spacing: 0px;
	line-height: 1.3;
}

.hometop .is-style-subheading {
	font-size: var(--font-size-xl);
}

div.editor-styles-wrapper .is-style-caveatbold, .is-style-caveatbold {
	font-family: var(--caveatbold-font-family);
	font-weight: var(--caveatbold-font-weight);
	font-size: var(--font-size-xxxl);
}

div.editor-styles-wrapper .is-style-montserratbold, .is-style-montserratbold {
	font-family: var(--montserratbold-font-family);
	font-weight: var(--montserratbold-font-weight);
}

.button, .gform-theme.gform-theme--framework.gform_wrapper .button:where(:not(.gform-theme-no-framework)), .gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework)), .gform-theme.gform-theme--framework.gform_wrapper :where(:not(.mce-splitbtn)) > button:not([id*="mceu_"]):not(.mce-open):where(:not(.gform-theme-no-framework)), .gform-theme.gform-theme--framework.gform_wrapper button.button:where(:not(.gform-theme-no-framework)), .gform-theme.gform-theme--framework.gform_wrapper input:is([type="submit"], [type="button"], [type="reset"]).button:where(:not(.gform-theme-no-framework)), .gform-theme.gform-theme--framework.gform_wrapper input:is([type="submit"], [type="button"], [type="reset"]):where(:not(.gform-theme-no-framework)), .gform-theme.gform-theme--framework.gform_wrapper input[type="submit"].button.gform_button:where(:not(.gform-theme-no-framework)) {
	font-weight: 700 !important;
	border-radius: 0 !important;
	font-family: var(--heading-font-family);
	padding: var(--spacing-sm) var(--spacing-lg);
}

.site-footer {
	font-size: var(--font-size-sm);
}

.site-footer a {
	color: var(--color-white);
	font-weight: 700;
	text-decoration: none;
	font-family: var(--heading-font-family);
}

/* # Theme Customziations
---------------------------------------------------------------------------------------------------- */

.single-post .content-sidebar-wrap, .single-post .after-entry {
	margin-bottom: 0;
}

.taxonomy-category {
	font-family: var(--heading-font-family);
	text-transform: uppercase;
	font-weight: 700;
}

.seamless {
	background-image: url("https://0b7573846d0ec9792968-1c49d92d20b4e05c38ee393d5a99a1eb.ssl.cf1.rackcdn.com/NMF_SeamlessPattern_png-1708461436");
	background-repeat: repeat;
}

.seamless100, .page-header {
	background-image: url("https://0b7573846d0ec9792968-1c49d92d20b4e05c38ee393d5a99a1eb.ssl.cf1.rackcdn.com/NMF_SeamlessPattern_100_png-1708461437");
	background-repeat: repeat;
}

.wp-block-social-link {
	padding: 20px 15px;
}

.wp-block-social-link:last-child {
	padding-right: 0;
}

.bordright {
	border-right: 1px solid var(--color-custom-3);
}

.bordbottom {
	border-bottom: 1px solid var(--color-custom-3);
}

.mai-accordion-item, .mai-accordion-summary, .mai-accordion-content {
	background: var(--color-alt);	
}

.mai-accordion-title {
	text-transform: uppercase;
}

.before-header-custom {
	position: relative;
	z-index: 5;
}

.before-header-custom .wp-block-buttons {
	padding-top: 0;
}

li.givenow a.menu-item-link, .givenow .button {
	background-color: var(--color-secondary);
	color: var(--color-heading);
	text-transform: capitalize;
	font-weight: 700;
	font-family: var(--heading-font-family);
	background-image: url("https://0b7573846d0ec9792968-1c49d92d20b4e05c38ee393d5a99a1eb.ssl.cf1.rackcdn.com/header-donation-icon_png-1708461438");
	background-repeat: no-repeat;
	background-position: center top 10px;
	margin-bottom: calc(--var(--spacing-md) * -1) !important;
	padding: 60px var(--spacing-lg) 10px;
}

.map-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}

.map-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}
 
.has-white-color .gform_wrapper.gravity-theme .gfield_required {
	color: var(--color-white);
}


/* # Max Mega Menu Customizations
---------------------------------------------------------------------------------------------------- */

 #mega-menu-wrap-header-right #mega-menu-header-right > li.mega-menu-item > a.mega-menu-link {
	line-height: 1.25;
}

 #mega-menu-wrap-header-right #mega-menu-header-right > li.mega-menu-item-77 > a.mega-menu-link {
	max-width: 160px;
}

#mega-menu-wrap-header-right #mega-menu-header-right > li.mega-menu-item-78 > a.mega-menu-link {
	max-width: 210px;
}

#mega-menu-wrap-header-right #mega-menu-header-right > li.mega-menu-item-79 > a.mega-menu-link {
	max-width: 240px;
}

.mega-menu-column {
	padding: 30px 30px 20px !important;
}

.quick-links {
	background-color: var(--color-alt) !important;
}

.quick-links h4.mega-block-title {
	font-family: var(--heading-font-family) !important;
	font-size: var(--font-size-sm) !important;
	text-transform: uppercase !important;
	padding-bottom: 0 !important;
	margin-bottom: 22px !important;
}

.quick-links #mega-menu-wrap-header-right #mega-menu-header-right > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
	font-weight: 400 !importanti;
}

#mega-menu-wrap-header-right #mega-menu-header-right > li.mega-menu-item.mega-toggle-on > a.mega-menu-link, #mega-menu-wrap-header-right #mega-menu-header-right > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link, #mega-menu-wrap-header-right #mega-menu-header-right > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link, #mega-menu-wrap-header-right #mega-menu-header-right > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link, #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item.mega-toggle-on > a.mega-menu-link, #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link, #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link, #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link, a.mega-menu-link:hover {
	clip-path: polygon(50% 100%, 100% 75%, 100% 0, 0 0, 0 75%);
}

.mega-sub-menu a.mega-menu-link:hover {
	clip-path: polygon(100% 100%, 100% 100%, 100% 0, 0 0, 0 100%);
}


/* # Team Members Customizations
---------------------------------------------------------------------------------------------------- */

.tmm .tmm_names span, .tmm .tmm_names span.tmm_fname, .tmm .tmm_names span.tmm_lname, .tmm .tmm_names {
	color: var(--color-link) !important;
}

.tmm .tmm_theme_f .tmm_names {
  	font-size: var(--font-size-xl) !important;
  	font-weight: 700 !important;
}

.tmm .tmm_job, .tmm .tmm_job p {
  color: var(--color-body) !important;
}

.tmm .tmm_theme_f .tmm_job {
  font-size: var(--font-size-md) !important;
}

.tmm .tmm_theme_f .tmm_desc {
  font-size: var(--font-size-sm) !important;
  line-height: 165%;
  padding: 0px;
  font-weight: 400;
  margin-top: 0px !important;
  margin-bottom: 10px;
}

.tmm .tmm_member .tmm_photo {
	background-position: top center !important;
}

/* # Mai Testimonials
---------------------------------------------------------------------------------------------------- */

.mait-arrows {
  	--button-background: var(--color-white) !important;
  	--button-background-hover: var(--color-secondary) !important;
}

.mait-slider {
	position: relative;
}

.mait-slider .mait-testimonials {
	max-width: calc(100% - (var(--spacing-xxl) * 2));
}

.mait-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.mait-arrow-previous {
	left: 0;
}

.mait-arrow-next {
	right: 0;
}



/* # Media Queries
---------------------------------------------------------------------------------------------------- */

@media (max-width: 767px) {

	.before-header-custom {
		display: none;
	
}
	
}