﻿
    #LinxOnlineNavBar.live a {
        background: #333;
    }

    #LinxOnlineNavBar.testing a {
        background: #681c1c;
    }

    .HorizontalNavBarMain {
        list-style-type: none;
        margin: 0;
        padding: 0;
        overflow: hidden;
        float: right;
    }

    .HorizontalNavBarSubMenu {
        list-style: none;
        list-style-type: none;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .HorizontalNavBarSubMenu li ul {
            display: none;
            margin-top: 10px;
            padding: 0;
        }

    .HorizontalNavBarSubMenu li:hover ul {
            display: block;
        height: 0;
    }

        .HorizontalNavBarSubMenu li:hover .sub-dropdown-content {
            position: relative;
            margin-top: -43px;
        }

    .sub-dropdown-content li {
        position: relative;
        display: block;
        top: 0;
        left: 100%;
        width: fit-content;
        min-width: 180px;
        white-space: nowrap;
        z-index: 1;
        border-left: 1px solid silver;
    }

    .sub-dropdown-content li a {
        display: inline-block;
        padding: 12px 16px;
        width: 100%;
    }

    .HorizontalNavBarMainItem {
        float: left;
    }

#DirectoryLinkContainer {
    vertical-align: baseline;
    align-self: flex-end;
    margin: 0 0 10px 0;
}

    li a, #DirectoryLinkContainer a {
    display: inline-block;
    color: #999999;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

        li a:hover, #DirectoryLinkContainer a:hover {
            background-color: #769724 !important;
            color: #FFF;
        }

    li.dropdown {
        display: inline-block;
    }

    li.sub-dropdown {
        /* Without this width, the child menu will expand the parent menu.
            Would really prefer for this to be set to 100%, but will need to find a way
            to have it ignore the width of the child sub-dropdown-content item if I do.*/
        width: 160px;
        height: 43px;
    }

    li.sub-dropdown.sub-dropdown-auto {
        width: auto;
    }

    .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .dropdown-content a {
            color: #999999;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
            text-align: left;
        }

    .dropdown-content a:hover {
            background-color: #769724 !important;
        }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    /* For the right arrow beside the sub-menu. */
    .arrow {
        border: solid #999999;
        border-width: 0 3px 3px 0;
        display: inline-block;
        padding: 3px;
    }

    i.arrow.right {
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
    }

    li.sub-dropdown:hover > a > i {
        border-color: #FFF;
    }
    /* End of Right Arrow styles */