//
// Custom OpenStack navbar
// -----------------------

.navbar-os {
  @extend .navbar-default;
  font-size: 14px;
  padding: 20px 0px;
  background: none;
  margin: 0px;
  .navbar-nav {
    float: right;
  }
  .navbar-nav > .active > a,
  .navbar-nav > .active > a:hover,
  .navbar-nav > li > a,
  .navbar-nav > li > a:hover,
  .navbar-nav > li > a:focus {
    color: #8A959E;
    font-size: 12px;
    text-transform: uppercase;
    padding: 15px;
    background: none;
    line-height: 20px;
  }
  .navbar-nav > .active > a:hover,
  .navbar-nav > li > a:hover {
    color: #333;
  }
  .navbar-nav > li > a.sign-in-btn {
    @include border-radius(2px);
    background: #2A4E68;
    padding: 7px 25px;
    margin-top: 7px;
    color: #FFF;
    margin-left: 15px;
  }
  .navbar-nav > li > a.sign-in-btn:hover {
    background: #286A95;
  }
  .navbar-header {
    min-width: 135px;
    padding-right: 20px;
    border-right: 1px solid #EEE;
  }
}

// Hide border line on front page
body.front .navbar-os {
  border: 0px;
}

.block-commons-utility-links {
  float: right;
  padding-right: 15px;
  .btn-sign-in:focus,
  .btn-sign-in {
      display: inline-block;
      @include border-radius(2px);
      font-size: 12px;
      line-height: 20px;
      text-transform: uppercase;
      background: #2A4E68;
      padding: 7px 25px;
      margin-top: 7px;
      color: #FFF;
      margin-left: 15px;
  }
  .btn-sign-in:hover {
      background: #286A95;
      text-decoration: none;
  }
  .btn {
    background: none;
    color: #333;
    border: 0px;
    display: inline-block;
    padding: 7px 15px;
    margin-top: 7px;
    font-size: 12px;
    line-height: 20px;
    text-transform: uppercase;
  }
  .btn:focus,
  .btn:active,
  .btn-group.open .dropdown-toggle {
    background: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    background: #2A4E68;
    color: #FFF;
  }
  .btn .glyphicon {
    margin-right: 4px;
    color: #8A959E;
  }
  .btn .caret {
    color: #8A959E;
    margin-left: 4px;
  }
}

#block-search-form {
  display: none;
}

/*.navbar-os {
  @extend .navbar-default;
  border: none;
  margin-top: 40px;
  margin-bottom: 10px;
  .container {
    max-width: none;
    padding: 0px;
    padding-left: ($grid-gutter-width / 2);
    padding-right: ($grid-gutter-width / 2);
  }
  .navbar-header {
    margin-left: 0px;
    margin-right: 0px;
  }
  @media (min-width: $screen-sm-min) {
    .container {
      padding-left: 0px;
      padding-right: 0px;
    }
  }
  .collapse {
    margin-left: 200px;
    padding-right: 0px;
  }
  .navbar-nav {
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
    background: url(../images/header-line.gif);
    background-position: 0px 100%;
    background-repeat: repeat-x;
    >.active {
      border-bottom: 3px solid $red2;
      >a, >a:focus, >a:hover {
        background: none;
      }
    }
  }
  .nav > li {
    margin-right: 20px;
  }

  .nav > li > a {
    color: $grey6;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 20px;
    padding-bottom: 5px;
    font-size: 14px;
    line-height: 21px;
    &.active {
      color: $red2;;
    }
  }
}*/