/* Site chrome (header/content wrap/footer), styled to match the Secure
   Dimensions GmbH site family, e.g. https://sta-websub-hub.citiobs.secd.eu/ */

body {
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #f0f0f0;
  font-family: Georgia, "Book Antiqua", serif;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

.site-header,
.site-footer {
  background: #fff;
}

.site-header .container,
.site-footer .container {
  background: #fff;
}

.brand-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 14px 0;
}

.brand-logo {
  display: block;
  height: 56px;
  width: auto;
}

.brand-title {
  display: block;
  font-family: Georgia, "Book Antiqua", serif;
  font-weight: bold;
  color: #008000;
  font-size: 28px;
  line-height: 1.2;
}

.brand-subtitle {
  display: block;
  font-family: Georgia, "Book Antiqua", serif;
  font-weight: bold;
  color: #008000;
  font-size: 15px;
}

.brand-app-cell {
  padding-left: 18px;
  padding-right: 18px;
  border-left: 1px solid #dfe3e8;
  border-right: 1px solid #dfe3e8;
  white-space: nowrap;
}

/* Below ~600px the logo + "STA-DGGS WebApp" + full company name/tagline no
   longer fit on one line even after wrapping - shrink the title and drop the
   app-name dividers so the header stays legible instead of overflowing. */
@media (max-width: 600px) {
  .brand-logo {
    height: 40px;
  }

  .brand-title {
    font-size: 20px;
  }

  .brand-subtitle {
    font-size: 13px;
  }

  .brand-app-cell {
    padding-left: 0;
    border-left: none;
    border-right: none;
  }
}

.brand-app {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  color: #616e7c;
  font-size: 13px;
  letter-spacing: 0.03em;
}

#content {
  margin-top: 16px;
  margin-bottom: 16px;
  font-family: Georgia, "Book Antiqua", serif;
}

#content h1,
#content h2 {
  font-family: Georgia, "Book Antiqua", serif;
}

#content a {
  color: #008000;
}

#content a:visited {
  color: green;
}

.body-content {
  padding-top: 4px;
  padding-bottom: 4px;
}

.site-footer {
  padding: 16px 0;
}

.site-footer a {
  color: #008000;
  text-decoration: none;
}

.site-footer a:visited {
  color: green;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 8px 32px;
  text-align: center;
  font-size: 13px;
  color: #333;
}

.footer-funding {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #ddd;
  font-size: 12px;
  color: #333;
}

.footer-funding img {
  flex: none;
}
