body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#header-app,
#footer-app {
  flex-shrink: 0;
}

#header-app {
  display: flow-root;
}

#header-app:empty {
  min-height: calc(
    var(--cc-header-logo-height) +
    var(--cc-space-sm) +
    var(--cc-space-sm) +
    var(--cc-space-lg)
  );
  background: linear-gradient(
    to bottom,
    var(--cc-header-background) 0,
    var(--cc-header-background) calc(
      var(--cc-header-logo-height) + var(--cc-space-sm) + var(--cc-space-sm)
    ),
    transparent calc(
      var(--cc-header-logo-height) + var(--cc-space-sm) + var(--cc-space-sm)
    )
  );
}

#app {
  flex: 1 0 auto;
}

.separated-list {
  padding-left: 0;
  list-style: none;
}

.separated-list > li {
  display: inline-block;
}

.separated-list > li:not(:last-child)::after {
  content: "\A0|\A0";
  color: var(--cc-border-color);
}

.registry-metadata-list {
  padding-left: 0;
  list-style: none;
}
td > ul {
  margin-bottom: 0;
}
label {
  font-weight: var(--cc-font-weight-bold);
}
[v-cloak] {
  display: none;
}
a[href*="twitter.com"]:before {
  font-family: "Font Awesome 5 Brands";
  content: "\f099";
  text-decoration: none;
  display: inline-block;
}
a[href*="orcid.org"]:before {
  font-family: "Font Awesome 5 Brands";
  content: "\f8d2";
  text-decoration: none;
  color: #A6CE39;
  display: inline-block;
}

.language-tag:after {
  content: attr(lang);
  color: var(--cc-color-muted);
  font-size: 80%;
  top: -0.5em;
  position: relative;
}
.timeago {
  white-space: nowrap;
}

.homepage {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.homepage > * {
  margin: var(--cc-space-xl);
}

.section-offset {
  padding-top: var(--cc-space-lg);
}

.section-offset-large {
  padding-top: var(--cc-space-xxl);
}

.page-action {
  float: right;
}

.item-dates {
  text-align: right;
}

.action-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--cc-space-sm);
}

.cc-button-group {
  display: inline-flex;
  vertical-align: middle;
}

.cc-button-group > .cc-button {
  border-radius: 0;
}

.cc-button-group > .cc-button:first-child {
  border-top-left-radius: var(--cc-radius-md);
  border-bottom-left-radius: var(--cc-radius-md);
}

.cc-button-group > .cc-button:last-child {
  border-top-right-radius: var(--cc-radius-md);
  border-bottom-right-radius: var(--cc-radius-md);
}

.cc-button-group > .cc-button + .cc-button {
  margin-left: -1px;
}

/* Vocabulary Search Bar */
.vocabulary-search {
  padding: var(--cc-space-xl);
  background: var(--cc-color-surface-muted);
  border-radius: var(--cc-radius-lg);
  width: 70%;
  max-width: 100%;
  --bartoc-search-bar-input-width: 20rem;
  --bartoc-search-bar-input-min-width: min(15rem, 100%);
  --bartoc-search-bar-field-width: 11rem;
  --bartoc-search-bar-field-min-width: min(10rem, 100%);
}
.vocabulary-search .bartoc-search-bar {
  width: 100%;
}
.vocabulary-search .bartoc-search-bar__controls {
  width: 100%;
}
.vocabulary-search .bartoc-search-bar__summary {
  padding-bottom: var(--cc-space-sm);
}
.vocabulary-search__summary-text {
  font-weight: var(--cc-font-weight-bold);
}

/* Temporary compatibility shim for gbv-login-client-vue. */
.bartoc-header__user-status > .user-status > a {
  color: inherit;
  font-size: var(--cc-font-size-base);
  font-weight: var(--cc-font-weight-light);
}

.bartoc-header__user-status .user-status-dropdown {
  color: var(--cc-color-text);
  z-index: 1000;
}

/* About page */
.about__wrapper {
  display: flex;
  flex-direction: column;
  padding: var(--cc-space-xl) 0;
  font-size: 18px;
}
.about__content {
  line-height: 1.6;
  color: var(--cc-color-text);
}
.about__logos {
  display: flex;
  gap: var(--cc-space-lg);
  margin-top: var(--cc-space-xl);
}
.about__logos img {
  height: 72px;
  max-height: none;
  width: auto;
}


/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--cc-space-xxl);
  margin-top: var(--cc-space-lg);
  margin-bottom: var(--cc-space-lg);
}

.contact-title {
  font-weight: var(--cc-font-weight-bold);
}

.contact-card h2 {
  margin-top: 0;
  margin-bottom: var(--cc-row-padding-x);
  font-size: 30px;
  font-weight: var(--cc-font-weight-bold);
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-footer {
  margin-top: var(--cc-space-xl);
}

.contact-entry {
  display: flex;
  flex-direction: column;
  gap: var(--cc-space-xs);
}

.contact-header {
  display: flex;
  align-items: center;
  gap: var(--cc-space-xs);
  flex-wrap: wrap;
  flex-direction: row;
}

.contact-name {
  font-weight: var(--cc-font-weight-bold);
  text-decoration: none;
}

.contact-name:hover {
  text-decoration: underline;
}

.contact-orcid-icon {
  text-decoration: none;
}

.contact-orcid-icon::before {
  font-family: "Font Awesome 5 Brands";
  content: "\f8d2";
  color: #A6CE39;
  display: inline-block;
}

.contact-role {
  font-size: 0.95rem;
}

.contact-mail a {
  text-decoration: none;
}

.contact-mail a:hover {
  text-decoration: underline;
}
