.badge {
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  transition: color .15s ease-in-out,
              background-color .15s ease-in-out,
              border-color .15s ease-in-out,
              box-shadow .15s ease-in-out;
}

.badge {
  color: #fff !important;
  border-radius: 0.125rem;
  -webkit-box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%),
                      0 2px 10px 0 rgb(0 0 0 / 12%);
  box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%),
              0 2px 10px 0 rgb(0 0 0 / 12%);
}

:root {
  --global-bg-color: #ffffff;
  --global-code-bg-color: rgba(181, 9, 172, 0.05);
  --global-text-color: #000000;
  --global-text-color-light: #828282;
  --global-theme-color: #6D2077;
  --global-hover-color: #ffb81c;
  --global-footer-bg-color: #1c1c1c;
  --global-footer-text-color: #e8e8e8;
  --global-footer-link-color: #ffffff;
  --global-distill-app-color: #828282;
}

blockquote {
  background: var(--global-bg-color);
  border-left: 2px solid var(--global-theme-color);
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  font-size: 1.2rem;
}

@media print, screen and (min-width: 480px) {
  .col-sm-9 {
    width: 100%;
  }
}

.preprints-heading {
  margin: 30px 0 16px;
}

.publications {
  margin-top: 0;
}

.author-note {
  color: #777777;
  font-size: 13px;
  line-height: 1.4;
}

.publications h1 {
  color: var(--global-theme-color);
  font-size: 2rem;
  text-align: center;
  margin-top: 1em;
  margin-bottom: 1em;
}

.publications h2 {
  margin-bottom: 1rem;
}

.publications h2 span {
  font-size: 1.5rem;
}

.publications h2.year {
  color: #e8e8e8;
  border-top: 1px solid #e8e8e8;
  margin-top: 2rem;
  margin-bottom: 0rem;
  text-align: right;
}

.publications ol.bibliography {
  list-style: none;
  padding: 0;
  margin-top: 0;
}

.publications ol.bibliography li {
  min-height: 110px;
  margin-bottom: 0;
  padding: 1.4rem 0;
  border-top: 1px solid #e6e6e6;
}

.publications ol.bibliography li:first-child {
  padding-top: 0;
  border-top: none;
}

.publications ol.bibliography li:last-child {
  padding-bottom: 0;
}

.publications ol.bibliography li .abbr {
  height: auto;
  margin-bottom: 0.5rem;
}

.publications ol.bibliography li .abbr abbr {
  display: inline-block;
  background-color: var(--global-theme-color);
  padding-left: 1rem;
  padding-right: 1rem;
  position: absolute;
  top: 8px;
  left: 16px;
}

.publications ol.bibliography li .abbr abbr a {
  color: white;
}

.publications ol.bibliography li .abbr abbr a:hover {
  text-decoration: none;
}

.publications ol.bibliography li .abbr .award {
  color: var(--global-theme-color) !important;
  border: 1px solid var(--global-theme-color);
}

.publications ol.bibliography li .title {
  font-weight: bolder;
}

/* Author links */
.publications ol.bibliography li .author a,
.publications ol.bibliography li .author a:link,
.publications ol.bibliography li .author a:visited,
.publications ol.bibliography li .author a:hover,
.publications ol.bibliography li .author a:active {
  color: #595959 !important;
  text-decoration: underline !important;
  text-decoration-color: #595959 !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 2px;
  border-bottom: none !important;
}

.publications ol.bibliography li .author > em {
  border-bottom: 1px solid;
  font-style: normal;
}

.publications ol.bibliography li .links a.btn {
  color: #000000;
  border: 1px solid #000000;
  font-size: 0.78rem !important;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
}

.publications ol.bibliography li .links a.btn:hover {
  color: var(--global-theme-color);
  border-color: var(--global-theme-color);
}

.publications ol.bibliography li .hidden {
  font-size: 0.875rem;
  max-height: 0px;
  overflow: hidden;
  text-align: justify;
  -webkit-transition: 0.15s ease;
  -moz-transition: 0.15s ease;
  -ms-transition: 0.15s ease;
  -o-transition: 0.15s ease;
  transition: all 0.15s ease;
}

.publications ol.bibliography li .hidden p {
  line-height: 1.4em;
  margin: 10px;
}

.publications ol.bibliography li .hidden pre {
  font-size: 1em;
  line-height: 1.4em;
  padding: 10px;
}

.publications ol.bibliography li .hidden.open {
  max-height: 100em;
  -webkit-transition: 0.15s ease;
  -moz-transition: 0.15s ease;
  -ms-transition: 0.15s ease;
  -o-transition: 0.15s ease;
  transition: all 0.15s ease;
}

.publications ol.bibliography li div.abstract.hidden {
  border: dashed 1px var(--global-bg-color);
}

.publications ol.bibliography li div.abstract.hidden.open {
  border-color: var(--global-text-color);
}

.publications ol.bibliography li .teaser {
  display: block;
  border-radius: 8px;
  box-shadow: 3px 3px 6px #888;
  height: auto;
  width: 270px;
  margin-top: 5px;
  margin-left: 5px;
  margin-bottom: 5px;
  object-fit: contain;
}

@media print, screen and (max-width: 480px) {
  .publications ol.bibliography li .abbr {
    height: auto;
    margin-bottom: 1rem;
  }

  .publications ol.bibliography li .teaser {
    width: 100% !important;
    height: auto !important;
    margin: 0;
  }
}
