
/* -------------------------- */
/* TOP NAVIGATION CONTAINER */
nav.en-nav {
    width: 100%;
    background: transparent;
}

/* TOP NAVIGATION - MENU LIST */
nav.en-nav > ul {
    height: 100%; 
    grid-row: 3;
grid-column: 3 / 5;              /* 100% makes the top navigation automatically fit into its container */
}

/* TOP NAVIGATION - LIST ITEMS (this selector should usually not be needed.) */
nav.en-nav > ul > li {
}

/* TOP NAVIGATION - LINKS */
nav.en-nav > ul > li > a {
    padding: 15px 8px;
    font-family: 'metabookroman' !important;
    font-size: 18px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 1.8rem;
    font-weight: normal;
    line-height: 20px;
    line-height: 2rem;
    background-color: rgba(0,0,0,0.01);
}

/* HOVER ON TOP NAVIGATION LINKS ONLY */
nav.en-nav > ul > li > a:hover {
    background: var(--en-topnav-color-2);
    color: var(--en-topnav-color-1);
}

/* SUBMENUS */
nav.en-nav > ul > li ul {
    border: none;
    background: transparent;
    padding: 0px;
    border-radius: 0px;                        /* border radius won't work without padding and background color */
}

/* SUBMENU LEVEL 1 ONLY */
nav.en-nav > ul > li > ul {
    padding-top: 6px;
    background: url(/pics/dropdown_bg.png) repeat;           /* adjust the distance of the level-1 submenu from the top-nav if necessary) */
}

/* SUBMENUS - LIST ITEMS  (this selector should usually not be needed.) */
nav.en-nav > ul > li ul li {
}

/* SUBMENUS - LINKS */
nav.en-nav > ul > li ul a {
    min-width: 240px;
    max-width: 240px;
    line-height: 22px;
    text-align: left;
    text-decoration: none;
    padding: 9px 18px;
    height: auto;
    font-size: 17px;
    letter-spacing: 0;
    white-space: normal;
    text-shadow: none;
    font-variant: normal;
    font-weight: 500;
    font-family: 'Inter', sans-serif !important;
    position: relative;
    font-size: 1.7rem;
    line-height: 2.2rem;
    color: #fff !important;
    text-transform: none;
  }

/* HOVER ON LINKS IN SUBMENUS */
nav.en-nav > ul > li ul a:hover {
    background: var(--en-topnav-color-2);
    color: var(--en-topnav-color-1);
}

/* LIST ITEMS THAT OPEN SUBMENUS */
nav.en-nav > ul > li ul li.en-has-submenu > a:after {
    content: '\2794';
    display: inline-block;
    margin-left: 12px;
}


/* STYLING OF THE TOPNAV AND DROPDOWN MENUS FOR THE MEDIUM VERSION */
@media only screen and (max-width: 1100px) {

    /* NAVIGATION - TOP LEVEL ITEMS */
    nav.en-nav > ul > li > a {
        font-size: clamp(16px, 1.6363vw, 18px);
    }

    /* NAVIGATION - LOWER LEVEL ITEMS */
    nav.en-nav > ul > li ul a {
        font-size: clamp(14px, 1.3636vw, 15px);
    }

    /* POSITIONING AND STYLING OF THE TOP-LEVEL DROP DOWN MENU */
    nav.en-nav > ul > li > ul {
        #padding-top: 0vw;                 /* adjust the distance of the level-1 submenu from the top-nav if necessary) */
    }

}


#nav_items_0 > li > a::after, #nav_items_0 > li.over > a::after {
    content: "";
    position: absolute;
    background: #e7cb11;
    width: 100%;
    height: 5px;
    bottom: -2px;
    left: 0;
    right: 0;
    margin: 0 auto;
    transition: .5s all ease-in-out;
    opacity: 0;
  }

  #nav_items_0 > li:hover > a::after, #nav_items_0 > li.over > a::after, #nav_items_0 > li:focus > a::after {
    opacity: 1;
    bottom: 0;
    width: 100%;
  }

  nav.en-nav > ul > li ul a:hover, nav.en-nav > ul > li ul a:focus {
    color: #fff;
    background: #007161;
  }

  nav.en-nav > ul > .nav_item_last a {
    text-transform: capitalize;
    color: #e7cb11;
  }

  nav.en-nav > ul > li > a:hover, nav.en-nav > ul > li > a:focus {
    background: transparent;
    color: #fff;
  }