/* (c) 2020-2025 Jakob Zierk, jakob.zierk@uk-erlangen.de */
html, button, input { font-family: arial, sans-serif; }
html { background: #fff; }
@media (min-device-width: 1020px) {
  body { margin: 1em; }
}
@media (max-device-width: 1019px) {
  body { margin: 0; }
}
/* p, h1, h2, h3, a, li, Floating: */
h1, h2, h3, p {
  margin: .5em 0 0.25em 0;
  font-weight: normal;
}
h1 small, h2 small, h3 small, p small {
  font-size: 1rem;
  font-weight: normal;
}
h1 { font-size: 1.6em; }
h2 { font-size: 1.4em; }
h3 { font-size: 1.2em; }
a { color: #2761ac; }
ul { margin: 0; }
.Floating {
  float: left;
  margin: 0 .5em .5em .5em;
}
/* Header */
#Header {
  margin: 0 auto;
  max-width: 980px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: .25em 0;
}
#Header #Logo img {
  display: block;
  margin-right: .25em;
}
#Header #Links {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0 .5em;
  padding: .25em .5em;
}
@media (min-device-width: 1020px) {
  #Header #Logo img { width: 350px; }
}
@media (max-device-width: 1019px) {
  #Header img { width: 100%; }
}
#Header a {
  font-size: 1.25em;
  color: #000;
  text-decoration: none;
}
#Header #Links a:hover {
  color: #2761ac;
  text-decoration: underline;
}
/* Content: */
#Content {
  clear: both;
}
@media (min-device-width: 1020px) {
  #Content {
    margin: 0 auto;
    max-width: 980px;
  }
}
#Content > h1,
#Content > h2,
#Content > h3,
#Content > p,
#Content .Toggler > h1,
#Content .Toggler > h2,
#Content .Toggler > h3,
#Content .Toggler > p {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}
/* Footer: */
#Footer {
  max-width: 980px;
  margin: 1em auto 0 auto;
  border-top: solid 1px #ccc;
  font-size: .75em;
  color: #666;
  clear: both;
}
#Footer img {
  display: block;
  width: 100%;
}
#Footer #Info { margin: .5em; }
#Footer #Info a { color: #666; }
#Footer #Info a:hover { color: #2761ac; }
/* index.html: */
#HematologyApp {
  background-color: #F3F3F3;
  padding: 4px;
  border: solid 1px #000;
}
@media (min-device-width: 1020px) {
  .Figure1 {
    padding: 0 10%;
  }
  .Figure1 p {
    padding-top: 2.5em;
  }
  .Figure1 img {
    float: left;
    margin: 1.5em;
    width: 60%;
  }
}
@media (max-device-width: 1019px) {
  .Figure1 { padding: 0.5rem; }
  .Figure1 img { width: 100%; }
}
/* tables */
.TableContainer {
  overflow-x: auto;
}
table {
  width: 100%;
  margin: .5em 0;
  border-collapse: collapse;
}
table td {
  text-align: left;
  padding: .25em .5em;
  border-bottom: solid 1px #ccc;
  vertical-align: top;
}
table thead td {
  font-weight: bold;
}
table tr td:first-child {
  padding-left: 0.5rem;
}
table tr td:last-child {
  padding-right: 0.5rem;
}
table tfoot td {
  font-size: .75em;
  color: #666;
  border: none;
}
/* big controls: */
.Centered {
  margin: .5rem auto;
}
@media (min-device-width: 1020px) {
  .Centered {
    width: 35%;
  }
}
@media (max-device-width: 1019px) {
  .Centered {
    width: 75%;
  }
}
.Centered input,
.Centered button {
  width: 100%;
  font-size: 1.4rem;
  line-height: 1.6rem;
  text-align: center;
  padding: 2px;
  margin: 0;
}
.Centered button {
  cursor: pointer;
}
@media (min-device-width: 1020px) {
  .Centered.Small {
    width: 10%;
  }
}
@media (max-device-width: 1019px) {
  .Centered.Small {
    width: 35%;
  }
}
/* Collaborators map and table: */
#MapContainer {
  width: 100%;
  padding: 0 0 66% 0;
  position: relative;
}
#MapContainer #Map {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
#MapInfo {
  display: none;
}
#Collaborators .Name { width: 30%; }
#Collaborators .Versions, #Map .Versions {
  font-size: .7em;
  vertical-align: text-top;
  background: #2261ae;
  color: #ffffff;
  padding: 1pt 3pt .5pt 3pt;
  border-radius: 2pt;
}
#Collaborators .Center { width: 30%; }
#Collaborators .Department { width: 40%; }
/* RI table: */
#ReferenceIntervals .Analyte { width: 36%; }
#ReferenceIntervals .Patients, #ReferenceIntervals .Samples {
  width: 7%;
  text-align: right;
}
#ReferenceIntervals .Year {
  width: 5%;
  text-align: right;
}
#ReferenceIntervals .Publication { width: 35%; }
/* Publications table: */
#Publications .Publication { width: 95%; }
#Publications .Year {
  width: 5%;
  text-align: right;
}
#Publications .Title {
  font-size: 18px;
  font-weight: bold;
  padding: 2px 0;
}
#Publications .Links, #Publications .Abstract { padding-top: 2px; }
/* Contact: */
.cf-turnstile  {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}