/* data.wu.ac.at/schema - archived Schema.org export, styled like the data.wu.ac.at landing page (2026-11-30) */

/* header: same rules as the landing page */
#logo { width: auto; height: auto; max-width: 120px; max-height: 70px; }
header a { color: #008198; }
header a:hover { color: #008198; text-decoration: underline; }
header img { padding-right: 20px; }
@media only screen and (min-width: 2000px) { .ui.container { width: 70%; } }

/* navigation bar with breadcrumb */
.schema-nav.ui.secondary.menu { margin: 0 0 1em; padding: 0 1em; flex-wrap: wrap; }
.schema-nav .ui.breadcrumb { font-size: 1em; line-height: 1.6; }
.schema-nav .ui.breadcrumb a.section { color: #008198; }
.schema-nav .ui.breadcrumb a.section:hover { text-decoration: underline; }
.schema-nav .ui.breadcrumb .active.section { word-break: break-all; }

/* archive note */
.archive-note.ui.message { margin: 0 0 1.5em; }
.archive-note a { color: #008198; text-decoration: underline; }

section.ui.text { padding-bottom: 60px; }
section.ui.text a { color: #008198; }
section.ui.text a:hover { text-decoration: underline; }

/* dataset pages: info cards */
.ui.card > .content > .header { margin-bottom: .6em; }
.ui.card .ui.table td { overflow-wrap: anywhere; vertical-align: top; }
.ui.card .ui.table td.right.aligned { width: 110px; color: rgba(0,0,0,.55); white-space: nowrap; }
.ui.card table .lang-alt { display: block; color: rgba(0,0,0,.5); font-size: .9em; margin-top: 2px; }
pre#json, pre.prettyprint {
  height: auto !important; max-height: 520px; overflow: auto;
  background: #f7f8f9; border: 1px solid rgba(34,36,38,.15); border-radius: 4px;
  padding: 12px 14px; margin: 0; font-size: 12.5px; line-height: 1.45;
  white-space: pre; color: #1b1c1d;
}
pre#json .k { color: #00687a; }
pre#json .s { color: #4b6e00; }
pre#json .n { color: #a0522d; }
@media only screen and (max-width: 767px) {
  .ui.two.column.grid > .row > .column { width: 100% !important; margin-bottom: 1em; }
}

/* portal pages: dataset list */
.schema-filter { margin: 0 0 1em; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.schema-filter .ui.input { flex: 1 1 280px; max-width: 480px; }
.schema-filter .count { color: rgba(0,0,0,.55); }
ul.ui.list { padding: 0; margin: 0; border: 1px solid rgba(34,36,38,.15); border-radius: 4px; background: #fff; }
ul.ui.list > li { list-style: none; padding: .55em 1em !important; border-top: 1px solid rgba(34,36,38,.1); margin: 0 !important; }
ul.ui.list > li:first-child { border-top: none; }
ul.ui.list > li:hover { background: #f7f8f9; }
ul.ui.list > li::before { content: none !important; }
/* the portal is already in the page header, so show only the dataset in each row */
ul.ui.list .ui.breadcrumb > .section:first-child,
ul.ui.list .ui.breadcrumb > .divider { display: none; }
ul.ui.list .ui.breadcrumb { font-size: 1em; }

/* index page */
.ui.table.portal-table td { overflow-wrap: anywhere; }
.ui.table.portal-table td.num { text-align: right; white-space: nowrap; }
.lead { font-size: 1.1em; margin: 0 0 18px; }
.table-scroll { overflow-x: auto; }

/* header grows with its text instead of a fixed 120px (long sub header on small screens) */
header#header { height: auto; min-height: 120px; padding-bottom: 14px; overflow: hidden; }
@media only screen and (max-width: 767px) {
  header#header { padding-left: 16px; padding-right: 16px; }
  header#header h1.ui.header { font-size: 1.6em; }
  header#header .sub.header { font-size: .62em !important; line-height: 1.35; }
  #logo { max-width: 72px; max-height: 44px; }
  .schema-nav.ui.secondary.menu { padding: 0 .3em; }
  .schema-nav .right.menu { margin-left: 0 !important; }
  .schema-nav > .item { flex: 1 1 100%; white-space: normal; }
  .schema-nav .ui.breadcrumb { white-space: normal; }
  .ui.card .ui.table td.right.aligned { text-align: left !important; width: auto; padding-bottom: 0 !important; }
  ul.ui.list > li { padding: .5em .8em !important; }
}
