// Elementor
// Remove bottom space in elementor light homepage
.home.light-elementor {
  .master-container {
    margin-bottom: 0;
  }
}

// Responsive submenu button
.elementskit-menu-offcanvas-elements {
  .menu-item {
    .elementskit-submenu-indicator {
      @media (max-width: 1024px) {
        background-color: var(--e-global-color-primary);
        border: 0;
        border-radius: 0;
        color: var(--e-global-color-accent);
        line-height: 40px;
        margin: 0 0 0 auto;
        padding: 4px 18px;
      }
    }
  }

  .current-menu-item,
  .current-menu-parent {
    .elementskit-submenu-indicator {
      @media (max-width: 1024px) {
        background-color: var(--e-global-color-primary);
        color: var(--e-global-color-accent);
      }
    }
  }
}


.elementor-widget-ekit-nav-menu {
  .elementskit-menu-overlay {
    background-color: transparent;
  }
}

.light-elementor {
  .hfe-nav-menu {
    @media (max-width: 1024px) {
      margin: auto;
    }
  }
}

.landscape-elementor {
  header {
    @media (min-width: 1025px) {
      left: 0;
      position: absolute;
      width: 100%;
    }
  }

  .main-title {
    @media (min-width: 1024px) {
      padding: 190px 0 85px;
    }
  }

  .elementskit-menu-offcanvas-elements {
    .menu-item {
      .elementskit-submenu-indicator {
        @media(max-width: 1024px) {
          background-color: var(--e-global-color-primary);
          color: var(--e-global-color-secondary);
          margin: -12px -20px -12px 0;
        }
      }
    }

    .current-menu-item,
    .current-menu-parent {
      .elementskit-submenu-indicator {
        @media(max-width: 1024px) {
          background-color: var(--e-global-color-primary);
          color: var(--e-global-color-secondary);
        }
      }
    }
  }

  .elementskit-submenu-panel a {
    white-space: nowrap;
  }
}


.rtl-elementor {
  .elementskit-menu-offcanvas-elements {
    .menu-item {
      .elementskit-submenu-indicator {
        @media(max-width: 1024px) {
          background-color: var(--e-global-color-primary);
          color: var(--e-global-color-secondary);
          margin: -12px -20px -12px 0;
        }
      }
    }
  }

  html[dir="rtl"] & {
    @media screen and (max-width:1024px) {
      .elementskit-submenu-indicator {
        position: absolute !important;
        left: 0;
        background-color: var(--e-global-color-primary);
        color: var(--e-global-color-secondary);
        line-height: 38px;
      }
    }
  }
}