.chat-navbar {
  float: left;
  position: relative;

  .chat-navbar-brand {
    line-height: 27px;
    float: left;
    padding: 12px 5px 12px 12px;
    font-size: 15px;
    color: $chat-text-inverse;
    cursor: pointer;

    &:hover, &:focus, &:active, &.active {
      background-color: $chat-primary;
      color: darken($chat-text-inverse, 10%);
      text-decoration: none;
    }
  }

  .active, > li:hover, ul > li:hover {
    > a {
      background-color: $chat-primary;
      //border-bottom: 2px solid $chat-secondary;
      position: relative;
      //bottom: -1px;
      &:after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        height: 3px;
        width: 100%;
        background-color: $chat-secondary;
      }
    }
  }

  .ing, i {
    vertical-align: middle;
    position: relative;
  }

  ul {
    margin-bottom: 0;
  }

  > li, ul > li {
    float: left;
    display: block;
    position: relative;
    margin-right: -1px;

    > a {
      display: block;
      line-height: 28px;
      padding: 12px 10px;
      color: $chat-text-inverse;
      transition: background-color 0.3s ease;
      text-decoration: none;

      &:hover {
        background-color: $chat-primary;
        color: darken($chat-text-inverse, 10%);
        cursor: pointer;
      }

      &[disabled] {
        opacity: 0.5;
      }
    }
  }
}