/* Banner and main body */
body {
  font-family: "Josefin Sans";
  font-size: 12pt;
  background-color: #f5f7fa;
  /* Updated to match new light theme gap color */
  background-attachment: fixed;
}

div#banner {
  position: relative;
  color: #fff;
  width: 100%;
  height: 14rem;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
}

@font-face {
  font-family: "Space Age";
  src: url("/exomolhr/static/theme/fonts/space-age.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

h1#banner-title {
  font-family: "Space Age", "Josefin Sans", sans-serif;
  font-size: 56pt;
  font-variant-caps: small-caps;
  -webkit-font-variant-ligatures: none;
  font-variant-ligatures: none;
  /* render lowercase as smaller caps */
  transform: translateX(-50%) scaleY(1.5);
  /* center and make letters taller */
  transform-origin: 50% 0%;
  letter-spacing: 0px;
  /* keep compact width */
  line-height: 1;
  position: absolute;
  top: 12%;
  left: 50%;
  color: #fff;
}

h2#banner-subtitle {
  font-size: 24px;
  transform: translateX(-50%);
  letter-spacing: 1px;
  word-spacing: 14px;
  position: absolute;
  top: 65%;
  left: 50%;
  color: #fff;
}

p#banner-credit {
  font-size: 10pt;
  text-align: right;
  position: absolute;
  top: 4%;
  right: 1%;
  mix-blend-mode: difference;
  color: #fff;
}


/* Remove Bootstrap underline under nav-tabs header */
.card-img-center {
  border-bottom-color: transparent !important;
}

.nav-tabs .nav-link.active {
  border-top-left-radius: 10px !important;
  border-top-right-radius: 10px !important;
}


/* Hide default caret */
.nav-link.dropdown-toggle::after {
  display: none !important;
}

.dropdown-caret-mid {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  margin-right: 6px;
  vertical-align: middle;
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-left: 0.3em solid transparent;
}


/* Remove blue focus box on nav tabs/dropdown toggle */
.nav-tabs .nav-link:focus,
.nav-tabs .dropdown-toggle:focus,
.nav-tabs .nav-link:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}