﻿#hmenu {
   
       position: sticky;
    top: 0; /* stick to top */
    z-index: 9999; /* stay above content */
        border: none;
    border: 0;
    margin: 0;
    padding: 0;   
    width: auto;
   }

    #hmenu > ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
    }
    #hmenu ul ul {
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #fff;
        display: none;
        flex-direction: column;
        min-width: 290px;
        border-radius: 0;
        padding: 0;
        z-index: 1000;
    }

    #hmenu ul {
        z-index: 90;
        margin: 0;
        padding: 0;
        list-style-type: none
    }

        #hmenu ul ul a {
            line-height: 20px
        }

        #hmenu ul ul ul {
            margin-top: 0
        }

    #hmenu li {
        float: left;
        position: relative;
    }

        #hmenu li a {
            text-decoration: none;
            color: #002147;
            font-weight:500;
            padding: 8px 15px 10px 20px;
            display: block;
            transition: all 0.3s ease;
          font-size:17px;
            border-radius: 6px;
        }

            #hmenu li a:hover {
                color: #fff;
                background-color: #3c6fb4;
            }
    #hmenu ul ul {
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #fff;
        display: none;
        flex-direction: column;
        min-width: 290px;
        border-radius: 0;
        padding: 0;
        z-index: 1000;
    }

        #hmenu li ul {
            display: none;
            height: auto;
            opacity: .95;
            position: absolute;
            width: auto
        }

        #hmenu li:hover > ul {
            position: absolute;
            color: #fff;
            width: auto
        }

        #hmenu li li {
            display: block;
            float: none;
            position: relative;
            color: #fff;
            width: auto;
            height: 32px
        }

    #hmenu li ul a {
        width: auto;
        background-color: #000;
        background: 0 0;
        color: #333;
        font-size: 14px;
    }

            #hmenu li ul a:hover {
                background-color: #022f6b;
                color: #fff;
                width: auto;
                outline: 0 none;
            }

    #hmenu p {
        clear: left
    }



#hornav {
    z-index: 21
}

.is-sticky #hornav {
    z-index: 21
}

#hornav {
  
    color: #333
}

    #hornav .container {
        background-color: #000;
        box-shadow: 0 -4px 0 #33747a inset,0 0 20px rgba(0,0,0,.1);
        min-height: 30px;
        display: block;
        color: #333
    }

    #hornav .navbar-nav {
        float: none
    }

    #hornav .no-padding {
        padding-bottom: 0 !important
    }

    #hornav ul#hornavmenu {
        display: inline-block;
        padding: 0
    }

        #hornav ul#hornavmenu > li {
            margin: 0;
            color: #333
        }

            #hornav ul#hornavmenu > li > a, #hornav ul#hornavmenu > li > span {
                color: #333;
                text-transform: uppercase;
                font-weight: 400;
                letter-spacing: 1px;
                line-height: normal;
                text-align: center;
                display: block
            }

    #hornav ul ul {
        text-align: left;
        position: relative;
        color: #333;
        display: block;
        list-style: none;
        margin: 5px;
        padding: 10px;
        min-width: 250px;
        font-size: 14px;
        z-index: 10
    }

        #hornav ul ul li, #hornav ul ul li span {
            box-shadow: none;
            display: block;
            padding: 0;
            color: #333;
            text-transform: none;
            border-top: 1px solid rgba(0,0,0,.05)
        }

            #hornav ul ul li:first-child a {
                border: none
            }

            #hornav ul ul li a:active, #hornav ul ul li a:focus, #hornav ul ul li a:hover {
                text-decoration: none
            }

            #hornav ul ul li:hover a {
                text-decoration: none
            }

        #hornav ul ul ul:before {
            display: none
        }

    #hornav li ul, #hornav li ul li ul {
        position: absolute;
        width: 250px;
        color: #009;
        background-color: #fff;
        visibility: hidden;
        transition: all 240ms linear
    }

        #hornav li ul li:hover > ul, #hornav li:hover > ul {
            display: block;
            opacity: 1;
            visibility: visible
        }

        #hornav li ul li ul {
            left: 250px;
            top: 0
        }

        #hornav li ul li:hover > ul {
            top: 0;
            color: #000
        }

    #hornav ul ul .parent:after {
        right: 15px;
        color: #000;
        position: absolute;
        font-weight: 400;
        display: inline-block
    }

@media(min-width:480px) {
    hornav {
        display: none
    }
}
@media (max-width: 768px) {

    /* Hide the desktop horizontal menu completely */
    #hmenu, 
    #hmenu > ul,
    #hornav,
    #hornavmenu,
    #hornav ul,
    #hornav ul#hornavmenu {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    /* Ensure slicknav menu displays properly */
    .slicknav_menu {
        display: block !important;
        background-color: #002147;
        z-index: 9999;
    }

    /* Adjust SlickNav text and background for clarity */
    .slicknav_nav a {
        color: #fff !important;
        background: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        font-weight: 600;
    }

    .slicknav_nav a:hover {
        background-color: #3c6fb4 !important;
        color: #fff !important;
    }
}

/* Hide SlickNav on desktop */
@media (min-width: 769px) {
    .slicknav_menu {
        display: none !important;
    }
}