// ------------------------------
// Breadcrumb styles
//
// Mirrors styles from the Pattern Library

.breadcrumbs {
  font-size: font-size(small);
  line-height: line-height(small);

  .nav-item {
    @include margin-left($baseline/4);

    display: inline-block;

    @include media-breakpoint-down(md) {
      max-width: 60px;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
    }

    &.nav-item-course {
      max-width: none;
    }

    a,
    a:visited {
      color: theme-color("primary");
    }

    a:hover {
      color: $uxpl-blue-hover-active;
    }
  }

  .fa-angle-right {
    @include margin-left($baseline/4);

    @include media-breakpoint-down(md) {
      position: relative;
      top: -5px;
    }

    display: inline-block;
    color: $body-color;

    @include rtl {
      @include transform(rotateY(180deg));
    }
  }
}
