/*General*/
body:after {
    content: "";
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
    opacity: 0;
    z-index: 0;
    width: 100%;
    pointer-events: none;
    transition: .2s ease-in-out;
}

body.pf-menu-active:after {
  opacity: 0.2;
}

.dropdown-centered {
  left: 0 !important;
}

@media only screen and (min-width: 1026px) {
  .scroll-element {
      transition: 0.3s ease-in-out;
  }

  header.scrolled-down .scroll-element {
      transform: translateY(-20px);
      opacity: 0;
      pointer-events: none;
  }
}

/* Fix for specific width */
@media only screen and (max-width: 1138px) and (min-width: 1026px) {
  header {
      padding: 0 20px !important;
  }
}

/*CTA button*/
div#menu-cta a,
div#menu-cta-white a {
  background: var(--e-global-color-text);
  padding: 14px 20px;
  border-radius: 8px;
}

div#menu-cta span,
div#menu-cta-white span{
  color: white;
  font-weight: bold;
  line-height: 1em;
}

div#menu-cta a:hover {
  background: black;
}

div#menu-cta-white a {
    background: white;
}

div#menu-cta-white span {
    color: var(--e-global-color-text);
    font-weight: 400;
}

/* Border button */
div#menu-border a {
  border: 2px solid #1f2124;
  border-radius: 8px;
  padding: 8px 20px;
  transition: .3s !important;
  background: white;
}

div#menu-border a:hover {
  background: #EBEBEB;
}

/* Gradient */
header {
  transition: 0.3s ease-in-out;
  background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
}

header.scrolled-down {
  background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 100%);
}

@media only screen and (min-width: 1026px) {
  .e-n-menu-dropdown-icon {
      display: none !important;
  }
}

.menuh4 {
  margin-bottom: 20px !important;
}

/*Main items*/
.menu-box.productbox-grey {
  display: flex;
  gap: 12px;
  width: max-content;
  padding: 16px 16px 16px 0;
  border-radius: 16px;
  transition: .3s;
  align-items: center;
}

.menu-box.productbox-grey:hover {
  padding-left: 16px;
  background: var(--e-global-color-accent);
}

.menu-box h6 {
  margin: 0;
  font-weight: 600;
  font-family: Poppins !important;
  font-size: 16px !important;
  line-height: 1em !important;
}

.menu-box .icon-box {
  position: relative;
  left: 0;
  top: -3px
}

/*Related*/
.megamenu-item.related {
  padding: 10px 40px 10px 0;
  width: unset;
  display: flex !important;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: nowrap;
  transition: .3s;
  width: 100%;
  border-radius: 16px;
  background-image: url(/wp-content/uploads/chevron-right.svg);
  background-repeat: no-repeat;
  background-position: center right 14px;
}

.megamenu-item.related:hover {
  padding: 10px 40px 10px 10px;
  background-color: var(--e-global-color-accent);
}

.megamenu-item.related span {
  font-weight: bold;
  display: block;
}

.megamenu-item p {
  color: var(--e-global-color-text);
  line-height: 1.2em;
}

@media only screen and (max-width: 1025px) {
  .menuh4 {
      margin-bottom: 10px !important;
  }
  
  .menuh4 h4 {
      font-size: 17px;
      font-weight: unset;
      line-height: 16px;
  }
  
  .e-n-menu-content.e-active {
      background-color: white !important;
  }
}

@media only screen and (max-width: 767px) {
  .menu-box .icon-box.html.small {
      height: 33px !important; 
      width: 33px !important;
  }
  
  .megamenu-item p {
      font-size: 14px;
      line-height: 1.2em;
  }
  
  .menu-box.productbox-grey {
      gap: 8px;
      padding: 10px 10px 10px 0;
  }
  
  .menu-box h6 {
      font-size: 15px !important;
  }
  
  .menu-box p {
      font-size: 14px;
      line-height: 1.2em;
  }
}