﻿.menu-sub {
    background: url(../images/header-background.jpg) top center no-repeat;
    background-color: #f8c603;
    width: 100%;
    min-height: 30px;
    background-size: cover;
}

.icon-menu {
    background: url(../images/icon-responsive-menu.png) center center no-repeat;
    min-height: 60px;
    width: 54px;
}

.header-sub {
    max-height: 60px;
}

    .header-sub .top-nav {
        z-index: 8000;
    }

.top-nav ul > li.icon-menu > ul {
    top: 60px;
}

.top-nav ul > li.icon-menu {
    z-index: 18000;
    position: relative;
}

.top-nav {
    min-height: 30px;
    z-index: 5550;
    position: relative;
    float: right;
}

@media only screen and (max-width: 1000px) {
    .top-nav {
        min-height: 10px;
    }
}

    .top-nav .ul-container {
        float: left;
    }

    .top-nav ul {
        margin: 0 0 0 -20px;
        padding: 0px;
        height: 60px;
    }


    .top-nav > .ul-container > ul > li {
        list-style-type: none;
        display: inline-block;
        margin: 0 -13px 0 -3px;
        zoom: 1;
        *display: inline;
        position: relative;
    }

    .top-nav ul li a {
        font-size: 14px;
        font-weight: 700;
        color: #004588;
        display: block;
        text-decoration: none;
        padding: 20px 20px;
        text-transform: uppercase;
    }

    .top-nav ul li.highlightedItem {
        background-color: #f5bf03;
    }

    .top-nav ul li:hover > a {
        text-decoration: underline;
    }

    .top-nav ul li:last-child a {
        border-radius: 0 5px 5px 0;
    }

    .top-nav ul > li > ul {
        position: absolute;
        display: none;
        min-width: 170px;
        max-width: 300px;
        margin: 0;
        padding: 0;
        background-color: #f6f5f5;
        /*white-space: nowrap;*/
        z-index: 9999;
    }

    .top-nav > .ul-container > ul > li > ul:before {
        display: block;
        content: "";
        position: absolute;
        left: 50%;
        top: -6px;
        width: 14px;
        height: 6px;
        margin-left: -7px;
        background: url(../images/menu-submenu-arrow-up.png) left top no-repeat;
    }

    .top-nav ul li:hover ul {
        display: block;
    }

    .top-nav ul li ul li {
        display: block;
        position: relative;
        border: none;
        line-height: 40px;
        background-color: #034187;
        border-bottom: 1px solid #022d5e;
    }
    
    .top-nav ul li ul li.highlightedSubItem {
        background-color: #013b74;
    }

    .top-nav > .ul-container > ul > li > ul > li {
        background-repeat: no-repeat;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
    }


    .top-nav ul li ul li a {
        margin: 0px;
        padding: 20px 40px 20px 40px;
        font-size: 15px;
        font-weight: 600;
        color: white;
        line-height: 20px;
    }

    .top-nav ul li:hover ul ul {
        display: none;
    }

    .top-nav ul li ul li:hover {
        background-color: #022d5e;
    }

        .top-nav ul li ul li:hover > ul {
            display: block;
        }

    .top-nav ul li ul li ul {
        display: none;
        background: #fff;
        position: absolute;
        top: 0;
        left: 140px;
        width: 140px;
    }

    .top-nav ul li.arrow {
        padding-right: 15px;
    }

        .top-nav ul li.arrow > a {
            padding-right: 20px !important;
            background: url(../images/menu-arrow-down.png) no-repeat;
            background-position: right 26px;
            padding-right: 5px;
        }

    .top-nav ul li ul li ul li {
        background-color: #022d5e;
        border-bottom: 1px solid #011f42;
    }

        .top-nav ul li ul li ul li:hover {
            background-color: #002045;
        }

        .top-nav ul li ul li ul li ul li {
            background-color: #002045;
            border-bottom: 1px solid #00142b;
        }

            .top-nav ul li ul li ul li ul li:hover {
                background-color: #001227;
            }

    .top-nav ul li.arrow-down {
        background-image: url(../images/arrow-right-white.png);
        background-position: 85% center;
        background-repeat: no-repeat;
    }


.icon-menu a.desktop-visible {
    text-indent: -9999px;
    color: transparent;
}

@media only screen and (max-width: 1000px) {
    .icon-menu a.desktop-visible {
        text-indent: 0;
        color: initial;
    }
}
