/* navbar */

@media all {

  .navbar {
    border: 1px solid #CCCCCC;
    border-color: #dfe0e2 #cacacb #afafaf #cacacb;
    border-radius: 5px;
    background-color: #EEEEEE;
    background: -moz-linear-gradient(top, white 0%, #ededed 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, white), color-stop(100%, #ededed));
    background: -webkit-linear-gradient(top, white 0%, #ededed 100%);
    background: -o-linear-gradient(top, white 0%, #ededed 100%);
    background: -ms-linear-gradient(top, white 0%, #ededed 100%);
    background: linear-gradient(to bottom, white 0%, #ededed 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEDEDED',GradientType=0 );
    margin: 12px;
    height: 38px;
  }

  .navbar.fixed {
    padding-left: 12px;
    margin: 0;
    border-left-width: 0;
    border-right-width: 0;
    border-radius: 0;
  }

  .navbar.fixed .nav {
    border-left: 1px solid #CCCCCC;
  }

  .navbar > * {
    line-height: 38px;
  }

  .navbar > *:hover {
    text-decoration: none;
  }

  .navbar > *.pull-right {
    float: right;
  }

  .navbar .brand {
    font-size: 20px;
    font-weight: normal;
    color: #015aff;
    font-family: "LatoLight", verdana;
  }

  .nav {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .nav > li {
    float: left;
    margin: 0;
    border-right: 1px solid #CCCCCC;
    position: relative;
    line-height: 18px;
  }

  .nav > li > a {
    color: black;
    text-decoration: none;
    cursor: default;
    display: block;
    padding: 10px 15px;
    height: 18px;
  }

  .nav > li:hover {
    background-color: #DCDCDC;
    background: -moz-linear-gradient(top, #ebebeb 0%, #d0d0d0 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ebebeb), color-stop(100%, #d0d0d0));
    background: -webkit-linear-gradient(top, #ebebeb 0%, #d0d0d0 100%);
    background: -o-linear-gradient(top, #ebebeb 0%, #d0d0d0 100%);
    background: -ms-linear-gradient(top, #ebebeb 0%, #d0d0d0 100%);
    background: linear-gradient(to bottom, #ebebeb 0%, #d0d0d0 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEBEBEB', endColorstr='#FFD0D0D0',GradientType=0 );
  }

  .nav > li > .menu {
    display: none;
    position: absolute;
    left: -1px;
    top: 100%;
    margin: 0;
  }

  .nav > li:first-child > .menu {
    left: 3px;
  }

  .nav > li > .menu.active, .nav > li:hover > .menu {
    display: block;
    z-index: 1000;
  }
}

/* dropdown menus */

@media all {

  .menu {
    border: 1px solid #CCCCCC;
    border-color: #dfe0e2 #cacacb #afafaf #cacacb;
    background-color: #EEEEEE;
    display: inline-block;
    list-style: none;
    font-size: 10px;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.1);
    padding: 0;
  }

  .menu li {
    cursor: default;
    display: block;
    line-height: 16px;
    margin: 0;
    padding: 0 5px 0 10px;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    min-width: 75px;
  }

  .menu li a {
    color: #212121;
    font-weight: normal;
    width: 100%;
    display: inline-block;
    line-height: 26px;
  }

  .menu li.arrow > a {
    padding-right: 15px;
    width: auto;
  }

  .menu li:hover {
    background-color: #838383;
    background: -moz-linear-gradient(top, #8a8a8a 0%, #797979 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #8a8a8a), color-stop(100%, #797979));
    background: -webkit-linear-gradient(top, #8a8a8a 0%, #797979 100%);
    background: -o-linear-gradient(top, #8a8a8a 0%, #797979 100%);
    background: -ms-linear-gradient(top, #8a8a8a 0%, #797979 100%);
    background: linear-gradient(to bottom, #8a8a8a 0%, #797979 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF8A8A8A', endColorstr='#FF797979',GradientType=0 );
  }

  .menu li:hover > a {
    text-decoration: none;
    color:white;
  }

  .menu li:hover {
    color:white;
  }

  .menu li.arrow {
    background: url("../../images/menu/arrowblack.gif") no-repeat 90% 50%;
  }

  .menu li.arrow:hover {
    background: #999999 url("../../images/menu/arrowwhite.gif") no-repeat 90% 50%;
  }

  .menu li.separator {
    border-bottom: 1px solid #F0F0F0;
    border-top: 1px solid #CCCCCC;
    font-size: 1px;
    line-height: 1px;
    margin: 4px;
    padding: 0;
  }

  .menu li > .menu {
    display: none;
    position: absolute;
    left: 100%;
    top: -1px;
    margin: 0 0 0 -2px;
  }

  .menu li > .menu.active, .menu li:hover > .menu {
    display: block;
    z-index: 1000;
  }

  .menu li.disabled {
    color: #a0a0a0;
    background: none !important;
  }

  .menu li.disabled a {
    color: inherit;
    cursor: default;
  }

  .menu li.disabled .icon {
    opacity: 0.7;
    -webkit-filter: grayscale(100%);
    filter: alpha(opacity=70); grayscale(100%);
  }

  .menu > .submenu::after {
    position: absolute;
    right: 4px;
    top: 9px;
    content: '';
    font-size: 0;
    border: 3px solid black;
    border-color: transparent transparent transparent black;
    width: 0;
    height: 0;
  }

  .dropdown {
    position: relative;
  }

  .dropdown > .menu {
    display: none;
    position: absolute;
    left: -1px;
    top: 100%;
    margin: 0;
  }

  .dropdown:hover > .menu {
    display: block;
    z-index: 1000;
  }
  
}
