.md-grid {
  max-width: 80%;
}/* Maximum space for text block */
.md-typeset__table {
  width: 100%;
}
.md-tabs__link {
  color: #ffffff;
}
.md-tabs__link:hover {
  color:  #ffffffe9;
}
.md-tabs__link--active {
  color: #ffffff;
}

.md-typeset__table {
  width: 100%;
}

.md-typeset__table table:not([class]) {
  display: table
}

.md-header__button.md-logo {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.md-header__button.md-logo img, .md-header__button.md-logo svg {
    height: 2.4rem;
}

.md-header {
    border-bottom: 4px solid #78BE21; /* Adjust color and thickness as needed */
}

:root > * {
  --md-primary-fg-color: #003567;
  --md-default-fg-color--light: #000000;
  --md-primary-fg-color--dark: #003F6B;
  --md-primary-bg-color--dark: #000000;
  --md-accent-fg-color: #5D295F;
  --md-typeset-a-color:  #003567;
  --md-footer-fg-color--lighter: #ffffff;
}

a {
  text-decoration: underline;
}

.md-nav__link {
  text-decoration: none;
}

/* Style for the Back to Map button in header */
.back-to-map-button {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    margin-left: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.2s, border-color 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.back-to-map-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
    text-decoration: none;
}

/* Hide text on very small mobile screens to prevent header overlap */
@media screen and (max-width: 400px) {
    .back-to-map-button {
        font-size: 0;
        padding: 0.4rem;
    }
    .back-to-map-button svg {
        margin-right: 0;
    }
}