/* FONTS */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: local('IBM Plex Sans Italic'), local('IBMPlexSans-Italic'), url(https://fonts.gstatic.com/s/ibmplexsans/v7/zYX-KVElMYYaJe8bpLHnCwDKhdTeEA.ttf) format('truetype');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: local('IBM Plex Sans SemiBold Italic'), local('IBMPlexSans-SemiBoldItalic'), url(https://fonts.gstatic.com/s/ibmplexsans/v7/zYX7KVElMYYaJe8bpLHnCwDKhdTmyIJscQ.ttf) format('truetype');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('IBM Plex Sans'), local('IBMPlexSans'), url(https://fonts.gstatic.com/s/ibmplexsans/v7/zYXgKVElMYYaJe8bpLHnCwDKtdY.ttf) format('truetype');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local('IBM Plex Sans SemiBold'), local('IBMPlexSans-SemiBold'), url(https://fonts.gstatic.com/s/ibmplexsans/v7/zYX9KVElMYYaJe8bpLHnCwDKjQ76MIY.ttf) format('truetype');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/ebgaramond/v13/SlGFmQSNjdsmc35JDF1K5GRwUjcdlttVFm-rI7e8QL9zU60.ttf) format('truetype');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/ebgaramond/v13/SlGFmQSNjdsmc35JDF1K5GRwUjcdlttVFm-rI7diR79zU60.ttf) format('truetype');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/ebgaramond/v13/SlGDmQSNjdsmc35JDF1K5E55YMjF_7DPuGi-6_RkCo96.ttf) format('truetype');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/ebgaramond/v13/SlGDmQSNjdsmc35JDF1K5E55YMjF_7DPuGi-NfNkCo96.ttf) format('truetype');
}
/* COLORS */
/* MGH corporate design grey */
/* MGH corporate design red */
/*@scdColor:lighten(#c94d2a, 20%); */
/* MGH corporate design red */
/* FONT SIZES */
/* scale: 1.125 cf. https://type-scale.com/ */
/* LAYOUT */
/* BASE VARIABLE FOR LAYOUT: FIXED HEADER HEIGHT */
/* DEPENDENCIES OF BASE VARIABLE*/
/* DO NOT CHANGE VALUES! 
 * ... unless you want to change layout */
/* headerMGH */
/* header navbar */
/* based on hdMGHHgt:8rem 
 * font size in nav equals 1.422rem */
/* title of database/edition */
/* based on hdMGHHgt:8rem 
 * font size equals 2.563rem */
/* mainWrapper */
/* END DEPENDENCIES OF BASE VARIABLE*/
.fontSerif {
  font-family: "EB Garamond", serif;
}
.fontSans {
  font-family: "IBM Plex Sans", "Arial", "Tahoma", "Verdana", "Helvetica", sans-serif;
}
.flexCol {
  display: flex;
  flex-direction: column;
}
.flexRow {
  display: flex;
  flex-direction: row;
}
.mghLogo {
  display: block;
  height: 4.8rem;
  width: 11.76rem;
  background: url("https://data.mgh.de/assets/images/logo/svg/mgh_logo_white_simple.svg");
  background-repeat: no-repeat;
  background-size: contain;
  margin: 1.6rem;
}
.mainMargin {
  margin: 0 16rem 16rem 16rem;
}
/* MEDIA QUERY FOR FONT-SIZE  */
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  :root {
    font-size: 45%;
  }
}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  :root {
    font-size: 50%;
  }
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  :root {
    font-size: 57.5%;
  }
}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  :root {
    font-size: 62.5%;
  }
}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1400px) {
  :root {
    font-size: 67.5%;
  }
}
/* FONT STYLING */
/* font size */
.large {
  font-size: 1.8rem;
}
.xlarge {
  font-size: 2.025rem;
}
.small,
.petit {
  font-size: 1.422rem;
}
.xsmall {
  font-size: 1.264rem;
}
/* subscript - superscript */
sub,
.sub,
sup,
.sup {
  font-size: 1.264rem;
}
.sup {
  vertical-align: top;
}
.sub {
  vertical-align: top;
}
/* italics bold etc. */
.recte {
  font-style: normal;
}
.italics {
  font-style: italic;
}
.smallcaps {
  font-variant: small-caps;
}
.bold {
  font-weight: bold;
}
.spaced {
  letter-spacing: 0.5rem;
}
.underline {
  text-decoration: underline;
}
/* text alignment */
.left {
  text-align: left;
}
.center {
  text-align: center;
}
.right {
  text-align: right;
}
/* DONT SHOW */
.hidden {
  display: none;
}
/* BASIC STYLING */
* {
  box-sizing: border-box;
}
html {
  height: 100%;
  width: 100%;
}
body {
  display: flex;
  flex-direction: column;
  font-family: "IBM Plex Sans", "Arial", "Tahoma", "Verdana", "Helvetica", sans-serif;
  font-size: 1.6rem;
  text-align: left;
  height: inherit;
  width: inherit;
  margin: 0;
  padding: 0;
  overflow: auto;
}
header {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 100%;
}
header div#headerMGH {
  display: flex;
  flex-direction: row;
  flex-shrink: 0;
  width: inherit;
  height: 8rem;
  background-color: #555951;
  /* Logo mit Spruch */
  /* viewBox="0 0 113.66 78.21"
        /* Verhältnis x : y ~ 1,45 : 1 */
  /* Logo ohne Spruch */
  /* viewBox="0 0 113.7 45.9" */
  /* Verhältnis x : y ~ 2,45 : 1 */
  /* ungeschnittener Kranz
         * viewBox="0 0 225.71 219.35" */
  /* geschnittener Kranz
         * viewBox="0 35 225.71 99.35" 
         * Verhältnis 225.71:99.35 = 2,271867:1*/
}
header div#headerMGH div#mghLogo {
  display: block;
  height: 4.8rem;
  width: 11.76rem;
  background: url("https://data.mgh.de/assets/images/logo/svg/mgh_logo_white_simple.svg");
  background-repeat: no-repeat;
  background-size: contain;
  margin: 1.6rem;
}
header div#headerMGH div#headerMiddle {
  flex-grow: 2;
}
header div#headerMGH div#mghKranz {
  display: block;
  height: 8rem;
  width: 18.176rem;
  background: url("https://data.mgh.de/assets/images/logo/svg/stamor_white_cut.svg");
  background-repeat: no-repeat;
  background-size: contain;
  margin-right: 1.6rem;
}
header div#headerMGH a {
  display: block;
  width: inherit;
  height: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}
header div#headerTitle {
  flex-shrink: 0;
  line-height: 5.838514rem;
  margin: 0 0 2.563rem 0;
  font-family: "EB Garamond", serif;
  font-size: 2.563rem;
  font-weight: bold;
  font-style: italic;
  color: #555951;
  text-align: center;
}
/* Extra small devices (phones, 600px and down) */
/*@media only screen and (max-width: 600px) {
    div#mghKranz {
        display:none;
    }
}*/
nav {
  display: flex;
  flex-direction: row;
  flex-shrink: 0;
  flex-wrap: wrap;
  width: inherit;
  line-height: 4.266rem;
  font-size: 1.422rem;
  font-weight: bold;
  color: #555951;
  border-bottom: solid 2px #c94d2a;
  padding-left: 16rem;
  text-align: center;
}
nav div {
  padding: 0;
  margin: 0;
}
nav div a {
  height: inherit;
  display: inline-block;
  padding-right: 2.36763rem;
  padding-left: 2.36763rem;
  color: #555951;
  text-decoration: none;
}
nav > div.navbar_entry > a {
  text-transform: uppercase;
}
nav > div.navbar_entry > a:hover {
  background-color: #c94d2a;
  color: white;
}
nav div.navbar_entry div.navbar_entry a:hover {
  color: #c94d2a;
}
nav.breadcrumbs {
  line-height: 3.3rem;
  font-size: 1.1rem;
  font-weight: normal;
  border-bottom: none;
  background-color: #ffffff;
}
nav.breadcrumbs a {
  height: inherit;
  display: inline-block;
  padding-right: 1.1715rem;
  padding-left: 1.1715rem;
  color: #555951;
  text-decoration: none;
}
nav.breadcrumbs a:hover {
  background-color: #c94d2a;
  color: white;
}
/* example for pure CSS dropdown menues:
 * https://codepen.io/andornagy/pen/xhiJH
 * second third etc. tier not working */
/* Hide Dropdowns by Default */
nav div.navbar_dropdown {
  display: none;
  position: absolute;
  top: 12.266rem;
  /* the height of the main nav */
  /* von mghm.kuse.de */
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
/* Display Dropdowns on Hover */
nav div.navbar_entry:hover > div.navbar_dropdown {
  display: inherit;
}
/* First Tier Dropdown */
nav div div.navbar_dropdown div.navbar_entry {
  width: auto;
  float: none;
  position: relative;
}
/* Second, Third and more Tiers	*/
/*nav div div.navbar_dropdown div.navbar_entry div.navbar_dropdown {
	position: relative;
	top: @hdMGHHgt + @hdNav ; 
	left:170px;
}*/
/* margin for div#mainWrapper
 * adapt if el nav or aside in #mainWrapper */
div#mainWrapper {
  margin: 0 16rem 16rem 16rem;
  flex-grow: 3;
}
div#mainWrapper a {
  color: #c94d2a;
}
div#mainWrapper a:visited {
  color: #c94d2a;
}
/* heads in main area */
main h1,
main h2,
main h3 {
  color: #555951;
}
main h1 {
  font-size: 2.025rem;
}
main h2,
main h3 {
  font-weight: bold;
}
main h2 {
  font-size: 1.8rem;
}
/* tables in main area 
 * only few styling at the moment*/
main th:not(:first-child),
main td:not(:first-child) {
  padding-left: 1em;
  padding-right: 1em;
}
/* tables in main area */
main input {
  color: #555951;
  border: #888e82 solid 1px;
}
footer {
  display: flex;
  flex-direction: row;
  flex-shrink: 0;
  justify-content: space-between;
  font-size: 1.264rem;
  background-color: #555951;
  color: white;
  padding: 4.8rem 16rem 4.8rem 16rem;
}
footer p {
  margin: 0;
  padding: 0;
}
footer a {
  color: white;
  text-decoration: none;
}
footer a:hover {
  color: #c94d2a;
}
footer h3 {
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: 1.6rem;
}
footer h3:first-child {
  padding-top: 0;
  margin-top: 0;
}
footer address {
  margin-bottom: 1em;
  margin-right: 1em;
}
footer > div {
  padding: 0 4.8rem 0 4.8rem;
}
footer > div:not(:last-child) {
  border-right: #888e82 solid 2px;
}
footer div#footerLeft {
  padding-left: 0;
}
footer div#footerRight {
  padding-right: 0;
}
footer div#footerLeft,
footer div#footerRight {
  display: flex;
  flex-direction: column;
}
footer div#footerMiddle div#footerMiddleContent {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
footer div#footerMGHLogo {
  display: block;
  height: 4.8rem;
  width: 11.76rem;
  background: url("https://data.mgh.de/assets/images/logo/svg/mgh_logo_white_simple.svg");
  background-repeat: no-repeat;
  background-size: contain;
  margin: 1.6rem;
  margin: 0 0 1.6rem 0;
}
