/* -------------------------------------- all-purpose styles ----------------------------------------- */
/* for something that is inactive or should not attract much attention */
.labs-muted,
.labs-muted a,
.labs-muted a:hover,
.labs-muted a:visited {
  color: #5b616b; /* uswds grey */
}

.labs-muted a:hover {
  text-decoration: underline;
}

/* shout-out color: uswds secondary darkest */
.labs-shout-out,
.labs-shout-out a,
.labs-shout-out a:hover,
.labs-shout-out a:visited{
  color: #981b1e;
  text-transform: uppercase;
}

/* reduced text size */
.labs-small {
  font-size: 1.5rem;
}

/* space between maincontent and header / footer */
.labs-pagecontent {
  margin-top: 2em;
  margin-bottom: 0;
}

/* -------------------------------------------- titles ---------------------------------------------------- */

.labs-background-title {
  font-weight: 300;
}

.labs-inline-heading {
  display: inline;
  margin-top: 0;
  margin-bottom: 0;
}

.labs-sidebar-heading {
  margin-top: 0;
  font-weight: 500;
}

/* -------------------------------------------- lists ----------------------------------------------------- */

.labs-inline-spaced-list > li::before,
.labs-inline-spaced-list > li::after {
  padding: 0;
}

/* unordered list with space between list items */
.labs-spaced-list > li { /* usa-unstyled-list mixin could be used here */
  margin-bottom: 2rem;
}

.labs-spaced-list > li:last-child {
  margin-bottom: 0;
}

/* inline list with space between elements */
.labs-inline-spaced-list > li {
  display: inline-block;
  padding-right: .5em;
}

/* comma-separated inline list */
.labs-comma-list > span::after {
  content: ',';
}

.labs-comma-list > span:last-child::after {
  content: '';
}

/* wrapper to make list contain one item */
.labs-list-collapsed > li {
  display: none;
}

.labs-list-collapsed > li:first-child {
  display: inherit;
  margin-bottom: 0;
}


/* --------------------------------------- styles for mobile ------------------------------------------------ */
@media screen and (max-width: 600px) {
  .labs-background-title {
    padding-left: 3rem;
  }

  /* no grey borders around main content */
  .ncbi-base-page-container.usa-grid {
    padding: 0;
  }

  .labs-pagecontent {
    margin-top: 0;
  }
}

/* --------------------------------------- styles for mobile & tablet --------------------------------------- */
@media screen and (max-width: 800px) {
  .labs-spaced-list > li {
    margin-bottom: 1rem;
  }
}