/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/


body {
	padding-top: 40px;
}

/* Let the menu overflow the header if needed */
.ast-main-header-bar-alignment,
.site-header-section { overflow: visible !important; }

/* Your menu width in one place */
#mega-menu-wrap-primary { --menu-width: 160px; }

/* IMPORTANT: keep the UL in normal flow so MMM can animate height.
   Do NOT set position/display/height/overflow/transform/transition here. */
#mega-menu-primary {
  width: var(--menu-width) !important; /* control width */
  max-width: min(92vw, var(--menu-width)) !important;
  margin-left: auto !important;        /* right-align under the toggle */
  right: 0 !important;
  box-sizing: border-box !important;
  /* no position/height/overflow/display/transform rules */
}

/* Keep the toggle wrapper from stretching */
#mega-menu-wrap-primary {
  display: inline-block !important;  /* shrink-wrap to the toggle/button */
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;         /* avoid flex grow in Astra header */
  z-index: 9999;
}

/* Ensure the toggle itself doesn’t force full width */
#mega-menu-wrap-primary .mega-menu-toggle {
  display: inline-block !important;
  width: auto !important;
  float: none !important;
}

/* Prevent plugin defaults from pushing the UL to a new line */
#mega-menu-wrap-primary .mega-menu-toggle + .mega-menu {
  clear: none !important;
}

/* Optional: tidy link padding inside the narrower panel */
#mega-menu-primary > li > a.mega-menu-link { padding: 12px 16px; }

/* ==== MMM primary toggle vertical nudge ==== */
#mega-menu-wrap-primary { --toggle-nudge: 10px; }

/* Keep the right block flexed so the button moves cleanly */
#mega-menu-wrap-primary .mega-toggle-blocks-right {
  display: flex;
  align-items: flex-start; /* start, then nudge down */
}

/* Move the entire toggle block down */
#mega-menu-wrap-primary #mega-toggle-block-0 {
  position: relative;
  top: var(--toggle-nudge);
}

/* Safety: avoid other margins fighting the nudge */
.ast-builder-menu-1 .mega-menu-toggle {
  margin-top: 0 !important;
}


.wpforms-container {
  margin-top: 0px !important;
  padding-top: 0px !important;
}