/* Remove max-width constraint from content container */
.md-main__inner {
  max-width: 100%;
}

/* Table container with horizontal scrolling when needed */
.md-typeset .md-typeset__table {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1em 0;
}

/* Table styling */
.md-typeset table {
  width: 100% !important;
  margin: 0;
  border-collapse: collapse;
  display: table;
  min-width: max-content;
}

/* Table cell styling */
.md-typeset table td,
.md-typeset table th {
  padding: 12px;
  word-break: break-word;
  border: 1px solid var(--md-typeset-table-border-color, #ddd);
}

.md-typeset table th {
  background-color: var(--md-primary-fg-color, #2196F3);
  color: white;
  font-weight: bold;
}

.md-typeset table tr:nth-child(even) {
  background-color: var(--md-typeset-table-striped-background-color, #f5f5f5);
}

/* Logo sizing */
.md-header__button.md-logo {
    margin: 0;
    padding: 0;
}

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

/* Header background color */
.md-header {
  background-color: #1E0039 !important;
}

/* Footer EU co-funded image */
.md-footer-cofunded {
  display: flex;
  justify-content: center;
  padding: 0.75rem 1rem 1.25rem;
}

.md-footer-cofunded img {
  max-width: 320px;
  height: auto;
}