/*******************************************************************************
 * views.layout.scss
 *
 * Styling of the "views" layout for the NIH website.
 ******************************************************************************/
.view-onr-news .more-link {
  text-align: center;
}
.view-onr-news .more-link a {
  border-radius: 5px;
  background: #20558a linear-gradient(360deg, rgba(0, 0, 0, 0.65) 16.32%, rgba(0, 0, 0, 0) 102.08%);
  background-color: #20558a;
  border: none;
  color: #fff;
  display: inline;
  font-size: 1.5rem;
  height: 33px;
  line-height: 1.7em;
  margin-bottom: 0.4em;
  padding: 1rem 2rem;
  position: relative;
  text-decoration: none;
  vertical-align: text-top;
}
@media (max-width: 915px) {
  .view-onr-news .more-link a {
    font-size: 1rem;
  }
}
.view-onr-news .view-footer .more-link {
  display: block;
  text-align: left;
  margin: 30px 0;
}
.view-onr-news .news-item {
  margin: 0 1rem 1rem 1rem;
  width: 90%;
}
.view-onr-news .news-item h4 {
  margin: 0;
}
.view-onr-news .news-item h4 a {
  text-decoration: none;
  border-bottom: 1px solid #0047ab;
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
  text-underline-offset: 2px;
}

.homepage-slideshow .button.white:visited {
  color: #fff !important;
}

.news-item {
  background: #f4f4f4;
  padding: 1em 2em;
  margin-bottom: 1em;
  border-left: 6px solid #946C3B;
}

.news-item h3 {
  margin: 0.2em 0 0.4em 0;
  padding: 0;
  border: 0;
  font-size: 1.1em;
}

.news-item p {
  margin: 0 0 0.5em 0;
  padding: 0;
}

.news-item .type {
  font-style: italic;
}

.block__title {
  border-bottom: 0px !important;
}

div.news-item.onr-news {
  border-color: #20558A;
}
div.news-item.nutrition-research-news {
  border-color: #71963E;
}

.news-item:nth-of-type(6n+2) {
  border-color: #0c4c82;
}

.news-item:nth-of-type(6n+3) {
  border-color: #067765;
}

.news-item:nth-of-type(6n+4) {
  border-color: #fed53a;
}

.news-item:nth-of-type(6n+5) {
  border-color: #ca101c;
}

.news-item:nth-of-type(6n+6) {
  border-color: #54b9f3;
}