/**
* Theme Name: Inlingua Child
* Description: This is a child theme of Inlingua, generated by Merlin WP.
* Author: <a href="http://themelexus.com/">Themelexus</a>
* Template: inlingua
* Version: 1.0.4
*/

/* ==========================================================================
   Header Navigation Underline Fix:
   On Homepage, remove default active underline indicator.
   Underline appears only when hovering over menu items.
   ========================================================================== */
body.home .main-navigation ul.menu > li.menu-item > a .menu-title::before,
body.home .main-navigation ul.menu > li.menu-item.current-menu-item > a .menu-title::before,
body.home .main-navigation ul.menu > li.menu-item.current-menu-ancestor > a .menu-title::before,
body.home .main-navigation ul.menu > li.menu-item.current-menu-parent > a .menu-title::before,
body.home .main-navigation ul.menu > li.menu-item.custom-color > a .menu-title::before {
    width: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: width 0.3s ease, opacity 0.3s ease, visibility 0.3s ease !important;
}

body.home .main-navigation ul.menu > li.menu-item:hover > a .menu-title::before,
body.home .main-navigation ul.menu > li.menu-item > a:hover .menu-title::before {
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
}


/* ==========================================================================
   Header Navigation Single-Line Alignment Fix (All Pages)
   ========================================================================== */
@media (min-width: 1025px) {
  .elementor-52 .elementor-element.elementor-element-e21dc10 {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
  }
  
  .elementor-52 .elementor-element.elementor-element-742c320 {
    width: auto !important;
    min-width: 160px !important;
    max-width: 190px !important;
    flex: 0 0 auto !important;
  }

  .elementor-52 .elementor-element.elementor-element-5de8679 {
    width: auto !important;
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: center !important;
    overflow: visible !important;
  }

  .elementor-52 .elementor-element.elementor-element-9ef9736 {
    width: auto !important;
    min-width: 50px !important;
    flex: 0 0 auto !important;
    display: flex !important;
    justify-content: flex-end !important;
  }

  .elementor-52 .main-navigation,
  .elementor-52 .primary-navigation {
    width: 100% !important;
    text-align: center !important;
  }

  .elementor-52 .main-navigation ul.menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
  }

  .elementor-52 .main-navigation ul.menu > li.menu-item {
    display: inline-flex !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  .elementor-52 .main-navigation ul.menu > li.menu-item > a {
    white-space: nowrap !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    margin-left: 2px !important;
    margin-right: 2px !important;
    font-size: 14px !important;
  }
}
