﻿

.nestedmenu {
    /*width: 100%;*/
    text-align: center;
    float: right;
    box-shadow: 1px 2px 9px 1px #f8f8f8;
}

    .nestedmenu li {
        transition: 0.3s;
        width: auto;
        line-height: 1.4285;
        font-size: 12px;
    }

        .nestedmenu li:hover {
            background:rgba(62, 88, 143, 0.8);
            text-decoration: none;
            display: inline-block;
        }

        .nestedmenu li a {
            padding: 0px 20px;
        }

    .nestedmenu ul {
        display: none;
    }

    .nestedmenu li a {
        display: none;
    }

    .nestedmenu li {
        display: none;
    }

    .nestedmenu ul.nav-menu {
        display: none;
    }

    .nestedmenu div.nav-menu > ul {
        display: none;
    }

.nestedmenu {
    font-family: "Ubuntu", Helvetica, Arial, sans-serif;
    font-size: 14px;
    text-rendering: optimizeLegibility;
    box-shadow: none;
}

    .nestedmenu ul.nav-menu {
        background: 0px 0px rgb(243, 243, 243);
        /*width: 100%;*/
        text-align: right;
        border-top-color: rgb(237, 237, 237);
        border-bottom-color: rgba(62, 88, 143, 0.8);
        border-top-width: 1px;
        border-bottom-width: 5px;
        border-top-style: solid;
        border-bottom-style: solid;
        display: inline-block !important;
    }

    .nestedmenu div.nav-menu > ul {
        background: 0px 0px rgb(243, 243, 243);
        /*width: 100%;*/
        text-align: right;
        border-top-color: rgb(237, 237, 237);
        border-bottom-color: rgba(62, 88, 143, 0.8);
        border-top-width: 1px;
        border-bottom-width: 5px;
        border-top-style: solid;
        border-bottom-style: solid;
        display: inline-block !important;
    }

    .nestedmenu ul {
        margin: 0px;
        text-indent: 0px;
    }

    .nestedmenu li a {
        text-decoration: none;
        display: inline-block;
    }

    .nestedmenu li {
        text-decoration: none;
        display: inline-block;
    }

        .nestedmenu li a {
            padding: 0px 20px;
            transition: 0.3s;
            color: rgb(106, 106, 106);
            text-transform: uppercase;
            line-height: 3.6923;
            border-bottom-color: currentColor;
            border-bottom-width: 0px;
            border-bottom-style: none;
            white-space: nowrap;
        }

            .nestedmenu li a:hover {
                color: rgb(255, 255, 255);
            }

    .nestedmenu li {
        position: relative;
    }

        .nestedmenu li ul {
            margin: 0px;
            padding: 0px;
            top: 100%;
            display: none;
            position: absolute;
            z-index: 1;
        }

            .nestedmenu li ul ul {
                /*right: 100%;*/
                top: 0px;
            }

    .nestedmenu ul li:hover > ul {
        /*border-left-color: currentColor;
        border-left-width: 0px;
        border-left-style: none;*/
        /*border-right-color: currentColor;
        border-right-width: 0px;
        border-right-style: none;*/
        display: block;
    }

    .nestedmenu li ul li a {
        background: rgb(239, 239, 239);
        /*padding: 8px 10px;*/
        /*width: 160px;*/
        line-height: 2.1818;
        font-size: 11px;
        border-bottom-color: rgb(249, 249, 249);
        border-bottom-width: 1px;
        border-bottom-style: solid;
        display: block;
        white-space: normal;
    }

        .nestedmenu li ul li a:hover {
            background: rgb(233, 233, 233);
            color: rgb(68, 68, 68);
        }

    .nestedmenu .current-menu-item > a {
        background: 0px 0px rgba(62, 88, 143, 0.8);
        color: rgb(255, 255, 255);
        font-weight: bold;
    }

    .nestedmenu .current-menu-ancestor > a {
        background: 0px 0px rgba(62, 88, 143, 0.8);
        color: rgb(255, 255, 255);
        font-weight: bold;
    }

    .nestedmenu .current_page_item > a {
        background: 0px 0px rgba(62, 88, 143, 0.8);
        color: rgb(255, 255, 255);
        font-weight: bold;
    }

    .nestedmenu .current_page_ancestor > a {
        background: 0px 0px rgba(62, 88, 143, 0.8);
        color: rgb(255, 255, 255);
        font-weight: bold;
    }
    li.current-menu-item {
    background: rgb(0, 161, 224);
}