/*ASP.Net Menu skin*/
.pageTopMenu {
    /* ie has a problem with the floated LIs wrapping*/
    min-width: 660px;
    display: inline-block;
    float: none !important;
}

table.pageTopMenu {
    height: 21px;
}

.pageTopMenu + div {
    clear: none;
    display: none;
}

/* These are to make the menu appear correctly before javascript kicks in (page loads) */
.pageTopMenu .level1 {
    margin: 0px 10px 0px 10px;
    width: auto;
    position: relative;
}

    .pageTopMenu .level1 > li {
        display: inline-block;
    }

.pageTopMenu .static {
    display: inline-block;
}

.pageTopMenu ul li ul {
    display: none;
}

.pageTopMenu ul li {
    position: relative;
    list-style: none;
}
/* end */

/* including here rather than using Menu.InlineStyleBlock=true because that causes flicker with large menus*/
.pageTopMenu img.icon {
    border-style: none;
    vertical-align: middle;
}

.pageTopMenu img.separator {
    border-style: none;
    display: block;
}

.pageTopMenu img.horizontal-separator {
    border-style: none;
    vertical-align: middle;
}

.pageTopMenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: auto;
}

    .pageTopMenu ul.dynamic {
        padding: 0px 0px 0px 0px;
        z-index: 1;
        margin-top: 1px;
    }

.pageTopMenu a {
    text-decoration: none;
    white-space: nowrap;
    display: block;
}
    /*.pageTopMenu a.static { text-decoration:none;border-style:none;padding-left:12px !important;padding-right:12px !important; }*/
    .pageTopMenu a.popout-dynamic {
        background: url(img/groupImage.gif) no-repeat right 6px center !important;
        padding-right: 20px !important;
    }

        .pageTopMenu a.popout-dynamic:hover {
            background-color: #FFEAAC !important;
        }

    .pageTopMenu a.dynamic {
        text-decoration: none;
        border-style: none;
    }

.systemMenu {
    display: inline-block;
    float: right !important;
    margin-right: 10px;
}
    /* These are to make the menu appear correctly before javascript kicks in (page loads) */
    .systemMenu .static {
        display: inline-block;
    }

    .systemMenu .dynamicMenu {
        left: -37px !important;
        margin-top: 1px !important;
    }

    .systemMenu ul li ul {
        display: none;
    }

    .systemMenu ul li {
        position: relative;
        list-style: none;
        display: inline-block;
    }

    .systemMenu .level1 > li {
        display: inline-block;
    }

    .systemMenu a {
        padding-left: 15px;
        padding-right: 15px;
    }

    .systemMenu .static {
        display: inline-block;
    }
    /* end */

    /* including here rather than using Menu.InlineStyleBlock=true because that causes flicker with large menus */
    .systemMenu img.icon {
        border-style: none;
        vertical-align: middle;
    }

    .systemMenu img.separator {
        border-style: none;
        display: block;
    }

    .systemMenu img.horizontal-separator {
        border-style: none;
        vertical-align: middle;
    }

    .systemMenu ul {
        list-style: none;
        margin: 0;
        padding: 0;
        width: auto;
    }

        .systemMenu ul.dynamic {
            padding: 0px 0px 0px 0px;
            z-index: 1;
            margin-left: -2px;
            margin-top: -1px;
        }

    .systemMenu a {
        text-decoration: none;
        white-space: nowrap;
        display: block;
    }

        .systemMenu a.static {
            text-decoration: none;
            border-style: none;
            padding-left: 0.15em;
            padding-right: 0.15em;
        }

        .systemMenu a.popout-dynamic {
            background: url(img/menuRight.gif) no-repeat right 6px center !important;
            padding-right: 20px !important;
        }

            .systemMenu a.popout-dynamic:hover {
                background-color: #FFEAAC !important;
            }

        .systemMenu a.dynamic {
            text-decoration: none;
            border-style: none;
        }

/* individual item */
.dynamic {
    cursor: default !important;
}

.dynamicItem {
    color: #343434;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 12px;
    padding-right: 12px;
}

/* rectangular boarder around whole popup */
.dynamicMenu {
    border-top: solid 2px lightgrey;
    border-left: solid 2px lightgrey;
    border-bottom: solid 2px lightgrey;
    border-right: solid 2px lightgrey;
    background-color: rgba(246, 246, 246, 1);
    display: none;
}

.highlighted {
    background-color: #FFEAAC !important;
    color: #343434;
}
/* These are for legacy menu mode, AKA Table layout */

.hover {
    cursor: default !important;
    background-color: #FFEAAC !important;
    color: #0B0800 !important;
    /* IE needs this or the color stays changed after hover is done*/
    zoom: 1;
}

a.legacyDynamicItem {
    padding-top: 2px;
    padding-bottom: 2px;
    border: solid 2px red;
    zoom: 1;
    width: 100%;
}

.legacyDynamicItem a:hover {
    color: #0B0800 !important;
}

.legacyDynamicItem a {
    width: 100%;
    display: table;
    zoom: 1;
}

.legacyStaticItem {
    cursor: default !important;
    background-image: url(img/MenuItemBackground.gif);
    color: #584300;
    border-bottom: solid 1px #EBE15F;
    border-left: solid 1px #fff;
    border-right: solid 1px #FFE07F;
    padding-top: 1px;
    padding-bottom: 2px;
    font-size: small;
    font-weight: bold;
    font-family: Verdana;
    zoom: 1;
}

.systemMenu .legacyStaticItem {
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 0px;
    padding-right: 0px;
}

@-moz-document url-prefix() {
    .legacyStaticItem {
        padding-top: 0px;
    }
}

.legacyDynamicItem {
    cursor: default !important;
    border-top: solid 1px white;
    border-left: solid 1px white;
    border-bottom: solid 1px #EBE15F;
    border-right: solid 1px #FED659;
    background-color: #F7F7F7;
    color: #584300;
    font-size: small;
    font-weight: bold;
    font-family: Verdana;
    padding-top: 2px;
    padding-bottom: 2px;
}


/*Extra Tablet CSS*/

.tabletStaticItem {
    cursor: default !important;
    background: #FFEAAC;
    color: #584300;
    border-bottom: solid 1px #EBE15F;
    border-left: solid 1px #fff;
    border-right: solid 1px #FFE07F;
    padding: 7px;
    font-size: small;
    font-weight: bold;
    font-family: Verdana;
    text-align: center;
}

.tabletDynamicItem {
    cursor: default !important;
    border-top: solid 1px white;
    border-left: solid 1px white;
    border-bottom: solid 1px #EBE15F;
    border-right: solid 1px #FED659;
    background-color: #F7F7F7;
    color: #584300;
    font-size: small;
    font-weight: bold;
    font-family: Verdana;
    padding-top: 7px;
    padding-bottom: 7px;
}

.tabletDynamicMenu {
    border-top: solid 2px #FFE699;
    border-left: solid 2px #FFE699;
    border-bottom: solid 2px #FFE699;
    border-right: solid 2px #FFE699;
}

.DynamicItemFont {
    color: #584300;
    font-size: small;
    font-weight: bold;
    font-family: Verdana;
}

.tabletDynamicItem a:hover {
    color: #0B0800;
}

.tabletDynamicItem a {
    padding-top: 7px;
    padding-bottom: 7px;
}

.tabletHover {
    cursor: default !important;
    background: #FFEAAC;
    color: #0B0800;
}

.highlightedCurrent {
    background-color: #CCDDFF !important;
    color: #0B0800;
    border: solid 2px #236bfb;
}

.highlightedForExport {
    background-color: #b7ffac !important;
    color: #0B0800;
}

.highlightedForDelete {
    background-color: #ffacac !important;
    color: #0B0800;
}

.no-close .ui-dialog-titlebar-close {
    display: none;
}

.no-title .ui-dialog-titlebar {
    display: none;
}