@media only screen and (max-width: 1023px) {
  .dropdown-submenu {
    position: relative !important;
  }

  .dropdown-submenu:hover>.dropdown-menu,
  .dropdown-submenu:focus>.dropdown-menu,
  .dropdown-submenu:active>.dropdown-menu {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    display: block !important;
    height: auto !important;
    position: relative !important;
    width: auto !important;
    background: rgba(0, 0, 0, 0.1) !important;
  }

  .dropdown-submenu {
    float: none !important;
  }

  .dropdown-submenu>.dropdown-menu {
    margin: 0 2rem !important;
  }
}

.grandChild a:before {
  content: '' !important;
}

.grandChild a i {
  display: inline-block !important;
}


.mega-menu-item.has-children>a .submenu-caret {
  display: none;
}

.mega-menu-item.has-children>a .toggle-icon {
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
}

.mega-menu-item.has-children>a .toggle-icon::before,
.mega-menu-item.has-children>a .toggle-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #e6332a;
  transform-origin: center;
  transition: transform .3s ease;
}

.mega-menu-item.has-children>a .toggle-icon::before {
  width: 100%;
  height: 2px;
  transform: translate(-50%, -50%) scaleX(1);
}

.mega-menu-item.has-children>a .toggle-icon::after {
  width: 2px;
  height: 100%;
  transform: translate(-50%, -50%) scaleY(1);
}

.mega-menu-item.open>a .toggle-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}