@charset "utf-8";

#menu {
    padding: 15px 0px;
    font-family: var(--font-poppins);
    font-size: 1rem;
}

#menu ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
}

#menu ul li {
    line-height: 1;
    text-transform: uppercase;
    margin: 0px;
    position: relative;
    padding: 0px;
    font-weight: var(--weight-medium);
    background: none;
    text-align: center;
    flex-grow: 0;
}

#menu ul li::before {
    content: '';
}

#menu>ul>li::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 0;
    right: 0;
    height: 25px;
    background: transparent;
    z-index: 10;
}

#menu>ul>li:first-child {
    margin-left: 0px;
}

#menu>ul>li:last-child {
    margin-right: 0px;
}

#menu ul ul li {
    display: block;
    height: auto;
    line-height: 1em;
    padding-left: 0px;
    float: left;
    width: 100%;
    text-transform: capitalize;
    font-weight: var(--weight-regular);
    letter-spacing: 0px;
    margin: 0px;
    text-align: left;
}

#menu ul ul li:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}


#menu ul ul li span {
    display: block;
    color: var(--color-orange);
    text-shadow: none;
    font-size: var(--font-size-xs);
    line-height: 1;
    padding: 10px 0px;
}

#menu>ul>li>a,
#menu>ul>li>a:visited {
    color: var(--color-white);
    text-decoration: none;
    padding: 8px 20px !important;
    display: inline-block;
    background: none;
    font-weight: var(--weight-medium);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    border-radius: 2rem;
}

#menu>ul>li>span {
    padding: 0px 30px;
    cursor: pointer;
}


/* hack IE5.x to get the correct the faulty box model and get the width right */

* html #menu a,
* html #menu a:visited {
    width: 11em;
    w\idth: 7em;
}

#menu ul ul a,
#menu ul ul a:visited {
    background-color: var(--color-dark-green);
    display: block;
    color: var(--color-white) !important;
    padding: 15px 20px;
    line-height: 1;
    min-width: 180px;
    border: none;
}

#menu ul ul li:last-child a {
    margin-bottom: 0;
}

#menu ul ul ul a,
#menu ul ul ul a:visited {
    color: var(--color-white);
    display: block;
    height: auto;
    padding: 10px 0px;
    text-transform: none;
    border-bottom: solid 1px var(--color-orange);
    text-shadow: none;
    font-size: var(--font-size-xs);
    line-height: 1;
}

#menu ul li ul li ul :hover>a {
    color: #a7a9ac;
}

* html #menu ul ul a,
* html #menu ul ul a:visited {
    width: 16em;
    w\idth: 14em;
}


/* style the table so that it takes no part in the layout - required for IE to work */

#menu table {
    border-collapse: collapse;
    padding: 0;
    margin: -1px;
    width: 0;
    height: 0;
    font-size: var(--font-size-xs);
    z-index: 1;
}


/* style the fourth level background */

#menu ul ul ul ul a,
#menu ul ul ul ul a:visited {
    color: #FFF;
    background-color: #000;
}


/* style the sub level 1 background */

#menu ul :hover a.sub1 {
    background-image: url(themes/nav/MenuBarRight.gif);
    background-repeat: no-repeat;
    background-position: 98% center;
}


/* style the sub level 2 background */

#menu ul ul :hover a.sub2 {
    background-image: url(themes/nav/MenuBarRight.gif);
    background-repeat: no-repeat;
    background-position: 95% center;
}


/* style the level hovers */


/* first */

* html #menu a:hover {
    color: var(--color-dark-red);
    position: relative;
    z-index: 100;
    /* background-image: url(themes/left-menu-bg.png); */
}

#menu>ul>li>a.active {
    color: var(--color-white) !important;
    border-color: var(--color-white);
    position: relative;
    z-index: 100;
}

#menu li:hover {
    position: relative;
}

#menu>ul>li:hover>a {
    color: var(--color-white) !important;
    border-color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 201;
}


/* second */

* html #menu ul ul a:hover {
    color: var(--color-dark-red);
    position: relative;
    z-index: 110;
}

#menu ul ul li:hover {
    position: relative;
}

#menu ul ul :hover>a,
#menu ul ul a.active {
    background-color: var(--color-dark-red);
    z-index: 200;
    color: var(--color-white) !important;
}


/* third */

* html #menu ul ul ul a:hover {
    position: relative;
    z-index: 120;
    color: #000;
}

#menu ul ul ul :hover>a {
    color: #000;
}


/* fourth */

#menu ul ul ul ul a:hover {
    position: relative;
    z-index: 130;
    color: #000;
}


/* hide the sub levels and give them a positon absolute so that they take up no room */

#menu ul ul {
    display: block;
    padding-top: 0px;
    width: auto;
    z-index: 120;
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0px;
    visibility: hidden;
    text-align: left;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.4);
}


/* position the third level flyout menu */

#menu ul ul ul {
    top: 0;
    left: 0px;
    width: 210px;
    margin-left: 0px;
    position: relative;
    visibility: hidden;
    padding-left: 0px;
    padding-right: 0px;
}


/* make the second level visible when hover on first level list OR link */

#menu ul :hover ul {
    visibility: visible;
    height: auto;
    z-index: 200;
}


/* keep the third level hidden when you hover on first level list OR link */


/* #menu ul :hover ul ul{visibility:hidden;} */

#menu ul :hover ul ul {
    visibility: visible;
}


/* keep the fourth level hidden when you hover on second level list OR link */

#menu ul :hover ul :hover ul ul {
    visibility: hidden;
}


/* make the third level visible when you hover over second level list OR link */


/* #menu ul :hover ul :hover ul{visibility:visible; }
*/


/* make the fourth level visible when you hover over third level list OR link */

#menu ul :hover ul :hover ul :hover ul {
    visibility: visible;
}

/* ───────────────────────────────────────────────
   SCROLLED HEADER & NAVIGATION OVERLAY
   ─────────────────────────────────────────────── */
#header-holder {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#header-holder.scroll {
    background-color: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

#header-holder.scroll #header-container {
    background-color: transparent !important;
    border-bottom: solid 1px rgba(255, 255, 255, 0.1) !important;
}

#header-holder.scroll #header-top {
    background-color: transparent !important;
}

#header-holder.scroll #header-top #title {
    color: var(--color-white) !important;
}

/* Make sure the text/words remain white on the black scrolled background */
#header-holder.scroll #menu>ul>li>a,
#header-holder.scroll #menu>ul>li>a:visited {
    color: var(--color-white) !important;
}

/* Prevent Layout/Position Shifting on Desktop Scroll (Restores default sizes but scales down) */
@media only screen and (min-width: 991px) {
    #header-holder.scroll #logo {
        padding: 4px 0px !important;
    }

    #header-holder.scroll #logo a,
    #header-holder.scroll #logo a img {
        height: 40px !important;
    }

    #header-holder.scroll #menu {
        padding: 4px 0px !important;
    }

    #header-holder.scroll #menu>ul>li>a,
    #header-holder.scroll #menu>ul>li>a:visited {
        height: auto !important;
        display: inline-block !important;
        padding: 5px 15px !important;
        font-size: 0.95rem !important;
        line-height: 1 !important;
    }

    #header-holder.scroll #menu ul ul {
        top: 100% !important;
        padding-top: 0px !important;
    }

    #header-holder.scroll #menu ul ul a,
    #header-holder.scroll #menu ul ul a:visited {
        padding: 10px 15px !important;
        font-size: 0.95rem !important;
    }
}

/* @media only screen and (min-width: 1400px) {
    #header-holder.scroll #menu ul ul {
        top: 100% !important;
    }
} */