/**
 * Theme Name:     The Nanny Joynt
 * Author:         The Nanny Joynt
 * Template:       genesis
 * Text Domain:	   the-nanny-joynt
 * Description:    Custom Child Theme
 * Theme URI:      https://www.nannyjoynt.com/
 * Version:        1
 */

/* -------------------------------------------------
   RESET
------------------------------------------------- */

/* Header navigation: keep Elementor submenus above page content on every
   template. Elementor's legacy Pro stylesheet is not reliably loaded on
   inner pages, so these structural rules live in the child theme as well. */
.elementor-nav-menu--main,
.elementor-nav-menu--main .elementor-nav-menu,
.elementor-nav-menu--main .elementor-nav-menu li {
	position: relative;
}
.elementor-nav-menu--main .elementor-nav-menu li.menu-item-has-children > .sub-menu {
	z-index: 99999;
}
.elementor-nav-menu--main .elementor-nav-menu li.menu-item-has-children:hover > .sub-menu,
.elementor-nav-menu--main .elementor-nav-menu li.menu-item-has-children:focus-within > .sub-menu,
.elementor-nav-menu--main .elementor-nav-menu li.menu-item-has-children > .sub-menu.elementor-nav-menu--dropdown-open {
	display: block;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}
.elementor-nav-menu--main .sub-menu {
	margin-top: 0;
}

/* Prevent editor-injected inline CSS from collapsing into an unreadable field. */
.elementor-custom-code-codemirror textarea#code {
	display: block !important;
	width: 100% !important;
	min-height: 400px !important;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
	white-space: pre !important;
	tab-size: 4;
}
