/* --------------------------------------- breadcrumbs --------------------------------------------------- */

.breadcrumbs-container {
  background-color: #369;
  min-height: 4.5rem;
}

.breadcrumbs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex; /* for ellipsis & spacing to work */
  flex-flow: row;
  white-space: nowrap;
  overflow: hidden;
  height: 4.5rem;
}

.breadcrumbs li {
  /* for centering to work, specifying height */
  height: 25px;
  margin: auto 0;
  color: #9bdaf1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-shrink: 50; /* shrinks after last child, but still does */
}

/* breadcrumbs with forced link color on last item */
.breadcrumbs li:last-child a.breadcrumb-link-color {
  color: #9bdaf1;
}

.breadcrumbs li:first-child {
  flex-shrink: 0; /* first item in breadcrumbs should not shrink */
}

.breadcrumbs li:last-child {
  color: #fff;
  flex-shrink: 100;  /* to shrink the most */
}

/* list separator is '>' symbol */
.breadcrumbs .separator {
  font-family: "Merriweather", "Georgia", "Times New Roman", serif;
  font-weight: 700;
  margin-right: 2rem;
  margin-left: 2rem;
  flex-shrink: 0;  /* separator should not shrink */
}

/* override some <a> styles */
.breadcrumbs a,
.breadcrumbs a:visited {
  text-decoration: none;
  color: inherit;
}

.breadcrumbs .current a,
.breadcrumbs .current a:hover {
  cursor: default;
}

.breadcrumbs a:focus {
  box-shadow: none;
}

.ribbon-right-side {
  height: 4.5rem;
  float: right;
}

.ribbon-right-side a {
  color: #9bdaf1;
  display: inline-block;
  height: 4.5rem;
  line-height: 4.5rem;
  vertical-align: middle;
}

@media screen and (max-width: 800px) {

    /* breadcrumbs */
    .breadcrumbs li {
        height: 21px; /* for centering to work, specifying height */
    }

    .breadcrumbs .separator {
        margin-right: 1rem;
        margin-left: 1rem;
    }

    .ribbon-right-side {
        float: left;
    }
}

@media screen and (max-width: 1024px) {
  .breadcrumbs-container .usa-grid-full {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}