/**
 * Theme Name:       MyPath MN
 * Theme URI:        https://mypathmn.org
 * Description:      MyPath is a custom child theme built on the Genesis Framework utilizing Mai Engine 2.0.
 * Author:           Flying Orange
 * Author URI:       https://www.flyingorangewebdesign.com/
 * Version:          1.0
 * Text Domain:      mypath
 * 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
	- Directory Customizations
	- Media Queries

*/

/* # Defaults
---------------------------------------------------------------------------------------------------- */

div.editor-styles-wrapper, :root {
	--h1-font-size: var(--font-size-xxl);
	--h2-font-size: var(--font-size-xxl);
	--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-xxxl);
}

h3, .entry-wrap-archive a, .entry-title-link {
	color: var(--color-link) !important;
}

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-lg);
}

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-heading);
	font-weight: 700;
	text-decoration: none;
	font-family: var(--heading-font-family);
}

.site-footer a:hover {
	color: var(--color-link);
}


/* # Theme Customizations
---------------------------------------------------------------------------------------------------- */

.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("images/NMF_SeamlessPattern.png");
	background-repeat: repeat;
}

.seamless100, .page-header {
	background-image: url("images/NMF_SeamlessPattern_100.png");
	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;
}


.has-white-color .gform_wrapper.gravity-theme .gfield_required {
	color: var(--color-white);
}

.search-toggle-close, .search-toggle-icon {
	width: 28px;
	height: 28px;
}



/* # 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%);
}


/* # Directory Customizations
---------------------------------------------------------------------------------------------------- */

.directory-listing-description {
	font-size: var(--font-size-lg);
	font-family: var(--heading-font-family);
	font-weight: 400;
	padding: var(--spacing-lg) 0;
}

.resource-details-left, .drts-display-default-summary {
	background-color: var(--color-alt);
	background-image: url("images/NMF_SeamlessPattern_100.png");
	background-repeat: repeat;
}

.drts-display-default-summary {
	padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-sm);
}

.drts-entity-permalink {
	font-size: var(--font-size-xl);
	color: var(--color-custom-1);
	font-weight: 700;
	font-family: var(--heading-font-family);
	line-height: 1.25;
}

.drts-entity-fieldlist:not(.drts-entity-fieldlist-no-inline) .drts-entity-field-value, .drts-display-default-summary  {
	text-align: left !important;
}

.drts-display-element-entity_field_directory_category-1 a {
	background-color: var(--color-primary);
	color: var(--color-white);
	padding: var(--spacing-xs) var(--spacing-md);
	font-family: var(--heading-font-family);
	font-size: var(--font-size-base);
	margin-right: var(--spacing-sm);
	display: inline-block;
	margin-bottom: var(--spacing-sm);
}

.resources_dir_ltg-template-default .drts-display-element-entity_field_directory_category-1 a:hover {
	background-color: var(--color-primary-dark);
	color: var(--color-white);
	text-decoration: none;
}

.drts .drts-bs-btn-group-lg > .drts-bs-btn, .drts .drts-bs-btn-lg {
	border-radius: 0;
	font-weight: 700;
	font-family: var(--heading-font-family);
	font-size: var(--font-size-base);
}

.taxonomy-archive-description h2.entry-title {
  display: none;
}


/* # Media Queries
---------------------------------------------------------------------------------------------------- */

@media (max-width: 767px) {

	.before-header-custom {
		display: none;
	
}
	
}