/* Desktop */
.dropdown-link {
  padding-right: 25px;
  color: #fff !important;
  &:hover {
    @media only screen and (min-width : 768px) {
      background-color: #69a9d3 !important;
    }
  }
  &:after {
    position: relative;
    top: -1px;
    right: -1px;
    content: "\f107";
    font-family: 'FontAwesome';
    font-size: 14px;
    /* Small Devices, Tablets */
    @media only screen and (max-width : 768px) {
      display: none;
    }
  }
}

/* Desktop hover */
.dropdown-item {
  @media only screen and (max-width : 768px) {
    border-bottom:1px solid #3177a5;
  }
  /* Small Devices, Tablets */
  @media only screen and (min-width : 768px) {
    &:hover {
      .dropdown-menu {
        display: block;
      }
    }
  }
}

/* Mobile */
.dropdown-link-mobile {
  background-color: #3177a5;
  padding: 9px 22px;
  position: absolute;
  cursor: pointer;
  display: none;
  /* Small Devices, Tablets */
  @media only screen and (max-width : 768px) {
    display: block;
  }
  &:after {
    color: #fff;
    content: "\f107";
    font-family: 'FontAwesome';
    font-size: 14px;
    cursor: pointer;
  }
  z-index: 22;
  right: 0;
  top: 0;
}

/* Chevron swap */
.dropdown-item.open {
  .dropdown-link {
    background-color: transparent !important;
  }
  .dropdown-link-mobile {
    &:after {
      content: "\f106";
    }
  }
}

/* Navbar States */
.navbar-inverse {
  background-color: #4292c7 !important;
  .normal-link {
    color: #fff !important;
    @media only screen and (max-width : 768px) {
      border-bottom:1px solid #3177a5;
    }
    &:hover {
      @media only screen and (min-width : 768px) {
        background-color: #69a9d3 !important;
      }
    }
  }
}
.current,
.section {
  .dropdown-link, .normal-link {
    @media only screen and (min-width : 768px) {
      background-color: #3177a5 !important;
    }
    color: #fff !important;
  }
}
.current.dropdown-item.open {
  .dropdown-link {
    background-color: #569dcd !important;
  }
}

.dropdown-sub-link {
  @media only screen and (max-width : 768px) {
    color: #fff !important;
  }
}

.navbar {
  &.clidesc {
    background-color: #FFF;
    .navbar-nav {
      .normal-link {
        color: #000 !important;
        &:hover {
          color: #CCC !important;
        }
      }
    }
  }
}


/* Navbar utility */
.navbar-utility {
  margin-top: 22px;
  float: right;
  @media only screen and (max-width : 992px) {
    float: left;
  }
  @media only screen and (max-width : 490px) {
    width: 100%;
  }
  i {
    font-size: 17px;
  }
  ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  li {
    display: inline-block;
    float: left;
    margin-left: 15px;
    font-size: 17px;
    @media only screen and (max-width : 490px) {
      float: left;
      width: 50%;
      margin-left: 0;
    }
    @media only screen and (max-width : 410px) {
      width: 100%;
    }
  }
  li:first-child {
    margin-left: 0;
  }
  a {
    color: #333;
    padding: 0;
    @media only screen and (max-width : 490px) {
      display: block;
      padding: 10px 0 10px 0;
    }
    @media only screen and (max-width : 410px) {
    }
    &:hover {
      text-decoration: none;
      span {
        text-decoration: underline;
      }
    }
  }
  li:last-child {
    a {
      padding-right: 0;
    }
  }
  li:first-child {
    a {
      padding-left: 0;
    }
  }
}

#myNavbar {
  @media only screen and (max-width : 768px) {
    border-top:1px solid #3177a5;
  }
}
.navbar-collapse {
  box-shadow: none;
  border: 0;
  margin: 0;
}
.navbar-toggle {
  background-color: #3177a5 !important;
  border-radius: 0;
  border: 0;
  margin: 0;
  padding: 18px 16px 18px 16px;
}
.navbar-nav {
  margin-top: 0;
  margin-bottom: 0;
}
.dropdown-menu{
  @media only screen and (max-width : 768px) {
    background-color: #3177a5 !important;
  }
  @media only screen and (min-width : 768px) {
    border: 0;
    background-color: #3177a5 !important;
    box-shadow: none;
    a {
      color: #fff !important;
      &:hover {
        background-color: transparent !important;
      }
    }
  }
}
