/* Publica corporate identity — ported from stylesheets/publica.css in the
   publica.minerva.info repo (master, 1f7fe99, 2025-07-25).

   SOURCE NOTE: this was first ported from the manifest.info `wr_publica` branch,
   which is ~4 years stale on this file and still carried the original cyan
   #00a2d0. The standalone repo is authoritative for this site. The brand has
   moved twice: #00a2d0 -> #376442 (dark green, "new branding", 2025-05-13) ->
   #264c64 (dark slate blue, "Change styles to a darker blue", 2025-07-25).
   #264c64 is current; the green is one revision stale.

   Brand colour #264c64, body/heading text #2c2c2c, DataTables grey #4f5050, and
   Publica's own Frutiger 47 Light Condensed (FTLC.ttf, byte-identical to the
   branch copy).

   Two families of selector needed updating, because the originals target
   libraries this port has moved past:

   * `.panel-default > .panel-heading` was Bootstrap 3. Bootstrap 5 has cards,
     so the equivalent is `.card-header`. Nothing on the grid page uses it — the
     filter panel is a bare `panel-body` — but the company detail view's
     "Voting detail" header does, so the rule is carried over for that.
   * `.dataTables_length` / `.dataTables_filter` were DataTables 1.x. DataTables
     2 renames its wrappers to `.dt-length` / `.dt-search`, and the sort classes
     move from `th.sorting_asc|_desc` to `th.dt-ordering-asc|-desc`. Both the old
     and new names are kept where it costs nothing, so nothing silently loses its
     styling if a library version moves again. */

@font-face {
  font-family: publicaFont;
  src: url(fonts/FTLC.ttf);
}

*, body {
  font-family: 'publicaFont', sans-serif;
  font-size: 16px;
}

/* CF: "Überschrift Seite, nicht für iframes benutzen" — page heading, not to be
   used in iframes. It is white, so it only works over a dark background; the
   grid page has no h1 at all and must not grow one. */
h1 {
  font-size: 4.5rem;
  font-family: "Frutiger Light Condensed";
  font-weight: 300;
  line-height: 1.125;
  word-break: break-word;
  color: #fff;
}

/* CF: "Überschriften innerhalb Seite" — headings within the page. */
h2 {
  font-size: 2.25rem;
  font-weight: 700;
  font-family: "Frutiger Condensed";
  line-height: 1.125;
  word-break: break-word;
  color: #2c2c2c;
}

/* CF: "Fliesstext" — body copy. */
p {
  font-size: 19px;
  color: #2c2c2c;
  font-weight: 400;
  line-height: 1.6666666667;
}

/* CF: "Hervorhebungen in p" — emphasis within body copy. */
strong {
  color: #2c2c2c;
  font-weight: 700;
}

a, a:visited, .ma-mainlink {
  color: #264c64;
  font-weight: normal;
}

/* Bootstrap 3 `.panel-default > .panel-heading` -> Bootstrap 5 `.card-header`.
   CF sets background and border only; the white heading text comes from an
   inline `style="color: white"` on the h3 there, so it is set here instead. */
.card > .card-header {
  background-color: #264c64 !important;
  border-color: #264c64 !important;
  color: #fff;
}

label, span label {
  text-transform: none;
  color: #264c64;
  font-family: 'publicaFont', sans-serif;
}

/* DataTables 1.x wrappers (.dataTables_*) became .dt-* in DataTables 2. */
.dataTables_length label, .dataTables_filter label,
.dt-length label, .dt-search label {
  text-transform: none;
  color: #4f5050;
  font-family: 'publicaFont', sans-serif;
}

table.dataTable thead th.sorting, th {
  background-color: #e6e6e6;
  color: #4f5050;
  font-family: 'publicaFont', sans-serif;
  font-weight: bold;
  font-size: 16px;
}

/* DataTables 2 renamed the active-sort classes. */
table.dataTable thead th.sorting_asc,
table.dataTable thead th.sorting_desc,
table.dataTable thead th.dt-ordering-asc,
table.dataTable thead th.dt-ordering-desc {
  background-color: #264c64;
  color: #fff;
  font-family: 'publicaFont', sans-serif;
  font-weight: bold;
  font-size: 16px;
}

td {
  font-size: 16px;
}
