/*  show nav list-items with class "disabled" as not-allowed  */
.nav > li.disabled {
    color: #777777;
    text-decoration: none;
    cursor: not-allowed;
    background-color: transparent;
}

.nav > li > form {
    margin-bottom: 0;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown:hover > .dropdown-menu {
    display: block;
}

/*
.dropdown-toggle:hover + .dropdown-menu {
    display: block;
}
*/

/* Overrides right:0 from vendor/bower-asset/bootstrap/less/dropdowns.less, which was undesirably affecting the right edge of dropdown submenus */
.navbar-right .dropdown-menu {
    right: auto;
}

/* open specific dropdown submenus to the left of the parent menu - used to prevent long submenu items from overflowing the screen  */
/* khicks 2021-06-04: dropleft-submenu currently only used in CRS */
li.dropleft-submenu > ul.dropdown-menu {
    left: 0;
    transform: translateX(-99%);
}

/* Overrides padding-top:0 from vendor/bower-asset/bootstrap/less/navbar.less, which was undesirably affecting the navbar-brand image */
.navbar-brand {
    padding: 0;
}
.navbar-brand-label {
    display: inline-block;
    padding: 15px;
}

/* Adds visual space at left and right ends of NavX nav bar */
.aidnavbar {
padding-left: 1%;
padding-right: 1%;
}

/* these classes allow styling of NavBar based on server environment */
.testnavbar {
    background-color: royalblue;
}
.devnavbar {
    background-color: darkred;
}
.prodnavbar {
    /* uses default of black */
}

/* lighten the NavBar link text when using one of the test environment background colors */
.testnavbar .navbar-nav > li > a, .devnavbar .navbar-nav > li > a {
    color: white;
}

.aidnavbar .dropdown-menu > li > a:hover, .aidnavbar .dropdown-submenu:hover > .dropdown-menu > li > a:hover {
background-color: #c5dcef;
}

/* Potentially Comment this out when change layout to CJRW's */
.aidnavbar .navbar-nav > li > a:hover, .aidnavbar .nav > li > a:focus, .aidnavbar .navbar-nav > li > form:hover {
    background-color: #337ab7;
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #cccccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
    border-left-color: #ffffff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}
