.bibbottombar {
  position: relative;
  vertical-align: middle;
  font-size: 0.7rem;
  line-height: 1rem;
}

.bibbottombar>.bibbottomitem {
  position: relative;
  display: inline-block;
  vertical-align: top;
  padding: 1px 5px;
}

.bibinfo {
  color: #fefefe;
  display: inline-block;
  vertical-align: top;
}

.bibinfoitem {
  position: relative;
  float: left;
  padding: 1px 5px;
  background-color: rgb(0, 104, 180);
  border: 1px solid transparent;
  border-radius: 3px;
}

.bibinfoitem:hover {
  background-color: rgb(0, 70, 121);
}

.bibinfo>.bibinfoitem:first-child {
  margin-left: 0;
}

.bibinfo>.bibinfoitem:not(:last-child) {
  border-right: 1px solid rgb(0, 70, 121);
}

.bibinfo>.bibinfoitem:first-child:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0
}

.bibinfo>.bibinfoitem:last-child:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0
}

.bibinfo>.bibinfoitem:not(:first-child):not(:last-child) {
  border-radius: 0;
}

.buttonabstract,
.buttonbibtex {
  cursor: pointer;
}

.bibtex>pre {
  max-width: 550px;
  word-break: break-all;
  word-wrap: break-word;
  overflow: auto;
}

.tgl {
  margin: 10px;
  padding: 5px;
  border-top: 1px solid rgb(92, 92, 92);
  border-bottom: 1px solid rgb(92, 92, 92);
}

.abstract {
  text-align: justify;
  text-justify: inter-word;
}

.award {
  color: #ac7b1d;
  font-weight: bold;
}

.publikationsblock {
  margin: 10px 0px 15px 0px;
}

.bibsearchbar {
  margin: 10px 0px 20px 0px;
  display: flex;
  align-items: center;
}

.bibsearchlabel {
  margin-right: 8px;
  font-size: 0.9rem;
}

/* Wrapper around input + clear button (anchor for absolute positioning) */
.bibsearchfield {
  position: relative;
  flex: 0 1 450px;
}

#bibsearch {
  width: 100%;
  padding: 6px 28px 6px 32px;
  /* room for lens (left) and clear (right) */
  font-size: 0.9rem;
  border: 1px solid rgb(92, 92, 92);
  border-radius: 3px;
  box-sizing: border-box;
  /* magnifying-glass icon */
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23595959' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cline x1='15.2' y1='15.2' x2='20.5' y2='20.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 9px center;
  background-size: 15px 15px;
}

#bibsearch:focus {
  outline: none;
  border-color: rgb(0, 104, 180);
  box-shadow: 0 0 2px rgb(0, 104, 180);
}

/* Hide the native WebKit clear button; we provide our own */
#bibsearch::-webkit-search-cancel-button,
#bibsearch::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

/* Custom clear button ("x"), shown by amsbib.js only while text is entered */
.bibsearchclear {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  border: none;
  background: transparent;
  padding: 0 6px;
  font-size: 1.2rem;
  line-height: 1;
  color: rgb(92, 92, 92);
  cursor: pointer;
}

.bibsearchclear:hover {
  color: rgb(194, 23, 20);
}

/* Result counter ("17 of 146 publications"); margin-left sets the gap
   to the text field */
.bibsearchcount {
  margin-left: 12px;
  font-size: 0.8rem;
  color: rgb(92, 92, 92);
  white-space: nowrap;
}

/* Per-year entry counts in the year sidebar (Marginalspalte) */
.bibyearcount {
  color: var(--grey-2, rgb(92, 92, 92));
  font-size: 0.8rem;
}


/* Back-to-top button */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: calc(24px + var(--footer-offset, 0px));
  z-index: 1000;

  display: grid;
  place-items: center;

  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;

  color: #fff;
  background-color: #0068b4;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(70px);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s;
}

.back-to-top-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: #004f89;
}

.back-to-top:focus-visible {
  outline: 3px solid #000;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .back-to-top {
    right: 14px;
    bottom: calc(14px + var(--footer-offset, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
  }
}
