.navbar-default .navbar-nav > li > ul > li > a nav {
    text-transform: uppercase;
}
.navbar {
    margin-bottom: 0px;
}
.navbar-brand {
    padding-top: 5px;
    padding-bottom: 5px;
}
.navbar a, .subnav a {
    text-decoration: inherit;
}
.nav, .nav ul, .nav li {
    list-style: none;
}
@media (min-width: 768px) {
    .nav, .nav ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .nav {
        float: left;
        margin: 0;
    }
    .nav ul {
        background: #f8f8f8; 
        position: absolute;
        top: 3.10em;
        left: -9999px;
        opacity: 0;
        z-index:1000;
    }
    .nav li {
        float: left;
        position: relative;
    }
    .nav li > a {
        float: left;
        padding: 16px;
        float: left;
        white-space:nowrap;
        
        padding: 10px 15px;
        border-left: 1px solid rgba(255,255,255,0.4);
        border-right: 1px solid rgba(0,0,0,0.2);
        color: #333;
        font-weight: bold;
        font-size: 10px;
        text-shadow: 0 1px 0 rgba(255,255,255,0.4), 0 -1px 0 rgba(0,0,0,0.2);
        text-decoration: none;
    }
    
    .navbar-nav {
        border:px solid #FFFFFF; -webkit-border-radius: px; -moz-border-radius: px;border-radius: px;width:px;font-size:px;font-family:arial, helvetica, sans-serif; padding: 0px 0px 0px,0px; text-decoration:none; display:inline-block; color: #FFFFFF;
        background-color: #E6E6E6; background-image: -webkit-gradient(linear, left top, left bottom, from(#E6E6E6), to(#b3b3b3));
        background-image: -webkit-linear-gradient(top, #E6E6E6, #b3b3b3);
        background-image: -moz-linear-gradient(top, #E6E6E6, #b3b3b3);
        background-image: -ms-linear-gradient(top, #E6E6E6, #b3b3b3);
        background-image: -o-linear-gradient(top, #E6E6E6, #b3b3b3);
        background-image: linear-gradient(to bottom, #E6E6E6, #b3b3b3);
        filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#E6E6E6, endColorstr=#b3b3b3);
    }    
    .navbar-nav li a
    {
        font-size: 12px;
        /*color:white*/

    }
    .navbar-nav li a:hover
    {
        font-size: 12px;
        /*color:white*/    
    }
    .nav li > a:hover, .nav li > a:focus, {
        background: #F0C425;
    }
    .nav li:focus > a, .nav li:hover > a {
        background: #f8f8f8;
    }
    .nav > li:first-child > a {
        border-left: 0;
    }
    .nav > li:last-child > a {
        border-right: 0;        
    }
    .nav li:hover ul, .nav li:focus ul, ul.show-menu {
        left: 0;
        opacity: 0.99;
    }
    .nav ul li {
        float: none;
        position: static;
        
        border-left:1px solid darkgrey;
        border-right:1px solid darkgrey;
    }

    .nav ul li:last-child
    {
        
        border-bottom:1px solid black;
    }
    .nav ul a {
        float: none;
        display: block;
        color: #FFF;
        font-size: 12px;
        text-shadow: none;
        border: 1px solid #e7e7e7;
        border-width: 0 0 1px;
        -webkit-transition: 0.1s linear all;
    }
    .nav ul, .nav ul li:last-child a {
        border: 0;
    }
    .nav ul a:hover, .nav ul a:focus {
        background: #1F2E54;
        color: #777;
        text-shadow: none;
    }
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    color: #777;
    background-color: #16213C;
}
.navbar-toggle {
    background-color: #fff;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: #F0C425;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #1F2E54;
}
.navbar-default .navbar-nav > li > ul > li > a {
    color: #777;
}
.navbar-default .navbar-nav > li > ul > li > a:hover, .navbar-default .navbar-nav > li > ul > li > a:focus {
    color: #000;
    background: #b3b3b3; /* menu line item background color*/
}
.navbar-collapse {
    max-height: 500px;
}
