@charset "utf-8";
body {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    padding-top: 5.0rem;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 700;
}

.card {
    border-radius: 0.8rem!important;
}

.card-img-overlay {
    border-radius: 0.8rem!important;
}

.rounded-xl {
    border-radius: 0.8rem!important;
}

.rounded-xl-bottom {
    border-bottom-right-radius: 0.8rem !important;
    border-bottom-left-radius: 0.8rem !important;
}

.rounded-xl-top {
    border-top-left-radius: 0.8rem !important;
    border-top-right-radius: 0.8rem !important;
}


.text-profile-position {
    font-weight: 400;
}

.text-profile-bio {
    /* font-family: "Raleway"; */
    font-weight: 400;
}

.navbar {
    opacity: 0.95;
}

.inline-badge {
    height: 16px;
    vertical-align: -10%;
    margin-right: 2px;
    line-break: unset;
}

.no-break {
    white-space: nowrap;
}

.cover-image {
    width: 180px;
    max-height: 120px;
}

.abstract-body {
    min-height: 100px;
}

img.lazy {
    background-image: url('images/loading.gif');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 50px 50px;
    min-height: 80px;
}

div.lazy {
    background-image: url('images/loading.gif');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 50px 50px;
    min-height: 80px;
}

.badge-publication {
    font-size: 100%;
}

.email-text {
    font-family: Courier, monospace;
}

.news-item-text {
  font-size: 0.9rem;    
  line-height: 1.25;    
}

.news-item-text a {
  font-weight: normal;  
}

.news-scroll {
  position: relative;  /* item offsetTop is measured from this box */
  max-height: 14rem;  /* fallback without JS; the news_card script fits it to 7 items */
  overflow-y: auto;
  transition: box-shadow 0.2s;
}

.news-scroll.has-more {
  box-shadow: inset 0 -12px 10px -10px rgba(0, 0, 0, 0.18);
}

/* Custom WebKit scrollbars stay visible, unlike macOS overlay scrollbars.
   Chrome ignores these if scrollbar-width/color are set, so those are Firefox-only. */
.news-scroll::-webkit-scrollbar {
  width: 8px;
}

.news-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.news-scroll::-webkit-scrollbar-thumb {
  background: #b5b5b5;
  border-radius: 4px;
}

.news-scroll::-webkit-scrollbar-thumb:hover {
  background: #999;
}

@supports (-moz-appearance: none) {
  .news-scroll {
    scrollbar-width: thin;
    scrollbar-color: #b5b5b5 #f1f1f1;
  }
}

.news-indent p {
  margin: 0;
  font-size: 0.875rem !important;
  line-height: 1.2;
  margin-left: 1rem;
}

.paper-link {
  color: #1a4d8f;
}

.paper-link:hover {
  color: #123763;
}

.profile-links-dark a {
  color: #1a4d8f;
}

.profile-links-dark a:hover {
  color: #123763;
}
