:root {
  --accent-color: grey;
  --accent-bg-color: whitesmoke;
  --grey-border-color: #a09f9f;
  --site-width: 1920px;
  --site-margin-left: 7.1%;
  --site-margin-right: 5.2%;
  --banner-column-width: 340px;
  --max-content-width: calc(var(--site-width) - var(--site-margin-left) - var(--site-margin-right) - var(--banner-column-width));
  --accent-font-sansserif: AkkoProBold, sans-serif;
  --font-serif: Noto Serif, serif;
  --paragraph-font-sansserif: Noto Sans, sans-serif;
  --height-header: calc(var(--height-headerTop) + var(--height-headerBottom) + 40px);
  --padding-header: 10px;
  --padding-menubar: 28px;
  --height-headerTop: calc(var(--height-logo) + 24px);
  --height-headerBottom: calc(45px + var(--padding-headerBottom));
  --padding-headerBottom: 30px;
  --height-logo: 70px;
}
@media(max-width: 1400px){
  :root {
    --height-headerTop: calc(var(--height-logo) + 19px);
    --height-headerBottom: calc(40px + var(--padding-headerBottom));
    --height-logo: 60px;
  }
}
@media(max-width: 1200px){
  :root {
    --height-header: calc(var(--height-headerTop) + var(--height-headerBottom) + 30px);
    --height-headerBottom: calc(28px + var(--padding-headerBottom));
    --padding-headerBottom: 25px;
  }
}
@media (max-width: 576px) {
  :root {
    --site-margin-left: 20px;
    --site-margin-right: 20px;
    --height-header: calc(var(--height-headerTop) + var(--height-headerBottom) + 18px);
    --height-headerTop: calc(var(--height-logo) + 19px);
    --height-headerBottom: calc(21px + var(--padding-headerBottom));
    --height-logo: 50px;
    --padding-headerBottom: 18px;
  }
}
@media(max-width: 368px) {
  :root {
    --height-headerBottom: calc(var(--padding-headerBottom));
  }
}

body,
body,
html {
  height: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}
body.celementsmenubarvisible {
  margin: 0 !important;
  padding-top: var(--padding-menubar);
}
#sitecontainer * {
  box-sizing: border-box;
}
#sitecontainer {
  box-sizing: border-box;
  position: relative;
  margin: auto;
  display: flex;
  flex-direction: column;
  padding-top: 10px;
  max-width: var(--site-width);
}
body.celementsmenubarvisible #sitecontainer {
  padding-top: 0px;
}
#sitecontainer #header {
  display: flex;
  flex-flow: column;
  width: 100%;
  position: sticky;
  top: -1px;
  background: white;
  z-index: 9;
  height: var(--height-header);
  padding-top: var(--padding-header);
}
#sitecontainer #header.headerShadow {
  box-shadow: 0 10px 10px -10px var(--grey-border-color);
}
#sitecontainer #header.headerShadow.open {
  box-shadow: none;
}
body.celementsmenubarvisible #sitecontainer #header {
  padding-top: calc(var(--padding-header) + var(--padding-menubar));
  height: calc(var(--height-header) + (var(--padding-menubar)));
}
#sitecontainer #header a {
  text-decoration: none;
  color: black;
}
#sitecontainer #header a:hover,
#sitecontainer #header .active a,
body[class*="celdocpath_VeranstaltungDetail"] #header #menu a.cel_nav_nodeName_Veranstaltungen,
body[class*="celdocpath_AusstellungDetail"] #header #menu a.cel_nav_nodeName_Ausstellungen,
body[class*="celdocpath_Artikel"] #header #menu a.cel_nav_nodeName_Magazin {
  color: var(--accent-color);
}
#sitecontainer #header #headerWrapperTop {
  display: flex;
  flex-flow: row;
  background: none;
  height: var(--height-headerTop);
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 6px solid var(--accent-color);
  margin-left: var(--site-margin-left);
  margin-right: var(--site-margin-right);
}
#sitecontainer #header #headerWrapperTop #headerLogo {
  padding-right: 10px;
}
#sitecontainer #header #headerWrapperTop #headerLogo img {
  height: var(--height-logo);
  width: auto;
}
#sitecontainer #header #headerWrapperTop #headerLogo p {
  margin: 0px;
}
#sitecontainer #header #headerWrapperTop #topRightWrapper {
  display: flex;
  flex-flow: row;
  align-items: baseline;
  flex: 0;
  margin-right: 380px;
  gap: 10px;
}
@media (max-width: 1200px){
  #sitecontainer #header #headerWrapperTop #topRightWrapper {
    margin-right: 0px;
  }
}
#sitecontainer #header #headerWrapperTop #topRightWrapper #quickLinkAbo {
  margin-right: 10px;
}
@media(max-width: 368px){
  #sitecontainer #header #headerWrapperTop #topRightWrapper #quickLinkAbo {
    display: none;
  }
}
#sitecontainer #header #headerWrapperTop #topRightWrapper #quickLinkAbo a {
  font-family: var(--accent-font-sansserif);
  text-transform: uppercase;
  font-size: 20px;
  line-height: 24px;
}
@media (max-width: 576px){
  #sitecontainer #header #headerWrapperTop #topRightWrapper #quickLinkAbo a {
    font-size: 16px;
    line-height: 20px;
  }
}
#sitecontainer .material-symbols-sharp {
  vertical-align: -25%;
  font-size: 32px;
  cursor: pointer;
}
#userProfil .material-symbols-sharp {
  font-variation-settings: 'FILL' 1;
}
#sitecontainer .material-symbols-sharp.small {
  font-size: 28px;
  vertical-align: -20%;
}
#sitecontainer .material-symbols-sharp.grid {
  font-size: 28px;
  line-height: 32px;
}
@media (max-width: 576px){
  #sitecontainer #header .material-symbols-sharp {
    font-size: 28px;
  }
  #sitecontainer #header #login .material-symbols-sharp {
    font-size: 24px;
    vertical-align: -20%;
  }
}
#sitecontainer .material-symbols-sharp:hover,
#sitecontainer .material-symbols-sharp.active {
  color: var(--accent-color);
}
#sitecontainer #header #headerWrapperBottom {
  display: flex;
  flex-flow: row;
  position: relative;
  padding-top: var(--padding-headerBottom);
  font-family: var(--accent-font-sansserif);
  align-items: baseline;
  justify-content: space-between;
  height: var(--height-headerBottom);
  margin-left: var(--site-margin-left);
  margin-right: var(--site-margin-right);
}
#sitecontainer #header #headerWrapperBottom #quickLinkAddEvent {
  margin-right: 380px;
  flex: 0 0 auto;
  display: none; /* TODO add button functionality */
}
@media (max-width: 1400px){
  #sitecontainer #header #headerWrapperBottom #quickLinkAddEvent.coloredLinks a{
    height: 38px;
    font-size: 16px;
    line-height: 20px;
    width: 250px;
  }
}
@media (max-width: 1200px){
  #sitecontainer #header #headerWrapperBottom #quickLinkAddEvent {
    display: none;
  }
}
#sitecontainer #header #headerWrapperBottom #quickLinkAddEvent a,
#sitecontainer #header #menu4 a {
  width: 302px;
}

/**
  Navigation
**/
#sitecontainer #header #headerWrapperBottom #headerWrapperMenu {
  flex: 0 0 auto;
}
@media(max-width: 1200px){
  #sitecontainer #header #headerWrapperBottom #headerWrapperMenu {
    flex: 0 0 100%;
  }
}
/* überflüssig??? */
#sitecontainer #header #headerWrapperBottom #headerWrapperMenu #menu .navigation-clear {
  clear: both;
}
#sitecontainer #header #headerWrapperBottom #headerWrapperMenu #menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-flow: row;
  gap: 30px;
}
@media(max-width: 1400px){
  #sitecontainer #header #headerWrapperBottom #headerWrapperMenu #menu ul {
    gap: 20px;
  }
}
#sitecontainer #header #headerWrapperBottom #burgerMenuWrapper #menu2 ul,
#sitecontainer #header #headerWrapperBottom #burgerMenuWrapper #menu3 ul,
#sitecontainer #header #headerWrapperBottom #burgerMenuWrapper #menu4 ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-flow: column;
}
#sitecontainer #header #headerWrapperBottom #headerWrapperMenu #menu ul li {
  display: inline-flex;
  font-family: var(--accent-font-sansserif);
  text-align: left;
  background-color: white;
}
#sitecontainer #header #headerWrapperBottom #headerWrapperMenu #menu ul li a {
  font-size: 25px;
  line-height: 31px;
}
@media(max-width: 1400px){
  #sitecontainer #header #headerWrapperBottom #headerWrapperMenu #menu ul li a {
    font-size: 20px;
    line-height: 26px;
  }
}
@media(max-width: 576px){
  #sitecontainer #header #headerWrapperBottom #headerWrapperMenu #menu ul li a {
    font-size: 16px;
    line-height: 19px;
  }
}
@media(max-width: 368px){
  #sitecontainer #header #headerWrapperBottom #headerWrapperMenu {
    display: none;
  }
}
#sitecontainer #header #headerWrapperBottom #burgerMenuWrapper {
  display: flex;
  flex-flow: column;
  z-index: 20;
  position: absolute;
  top: 0px;
  left: 0px;
  height: 0px;
  transition: height 0.3s ease-out, background-color 0.3s ease-out;
  overflow: hidden;
  background-color: white;
  padding-top: 20px;
  width: 100%;
}
#sitecontainer #header.open #headerWrapperBottom #burgerMenuWrapper {
  border-bottom: 6px solid var(--accent-color);
  height: 562px;
  transition: height 0.3s ease-out, background-color 0.3s ease-out;
}
#sitecontainer #header #headerWrapperBottom #burgerMenuWrapper #burgerLinkAbo,
#sitecontainer #header #headerWrapperBottom #burgerMenuWrapper #menu2,
#sitecontainer #header #headerWrapperBottom #burgerMenuWrapper #menu3,
#sitecontainer #header #headerWrapperBottom #burgerMenuWrapper #menu4 {
  flex-flow: column;
  display: flex;
  width: 302px;
}
#sitecontainer #header #headerWrapperBottom #burgerMenuWrapper #burgerLinkAbo,
#sitecontainer #header #headerWrapperBottom #burgerMenuWrapper #menu3,
#sitecontainer #header #headerWrapperBottom #burgerMenuWrapper #menu4 {
  margin-bottom: 25px;
}
#sitecontainer #header #headerWrapperBottom #burgerMenuWrapper #menu2,
#sitecontainer #header #headerWrapperBottom #burgerMenuWrapper #burgerLinkAbo,
#sitecontainer #header #headerWrapperBottom #burgerMenuWrapper #menu3 {
  font-family: var(--accent-font-sansserif);
  font-size: 30px;
  line-height: 37px;
}
#sitecontainer #header #headerWrapperBottom #burgerMenuWrapper #burgerLinkAbo {
  margin-bottom: 15px;
}
#sitecontainer #header #headerWrapperBottom #burgerMenuWrapper #menu3 {
  border-top: 6px solid var(--accent-color);
  padding-top: 15px;
}
#sitecontainer #header #headerWrapperBottom #burgerMenuWrapper #menu4 ul {
  display: flex;
  flex-flow: column;
  gap: 10px;
}
#sitecontainer #header #headerWrapperBottom #burgerMenuWrapper #closeBurger .material-symbols-sharp {
  font-size: 50px;
}

/**
  Content presentation
**/
#sitecontainer #contentWrapper {
  display: flex;
  flex-flow: row;
  column-gap: 40px;
  max-width: var(--site-width);
  margin-left: var(--site-margin-left);
  margin-right: var(--site-margin-right);
}
#sitecontainer #contentWrapper #leftColumn {
  max-width: var(--max-content-width);
  flex: auto;
}
#sitecontainer #contentWrapper #rightColumn {
  flex: 0 0 var(--banner-column-width);
  padding-left: 39px;
  border-left: 1px solid var(--grey-border-color);
}
@media(max-width: 1200px) {
  #sitecontainer #contentWrapper #rightColumn {
    display: none;
  }
}
@media(min-width: 1400px) {
  #sitecontainer #contentWrapper #leftColumn #content {
    min-height: calc(100vh - var(--height-header) - 420px); /* 420: footer height + magins/gaps */
  }
}
#sitecontainer #contentWrapper #leftColumn #content .presentationList > ul,
#sitecontainer #contentWrapper #leftColumn #content ul.proz-viewer-hook {
  list-style: none;
  padding: 0;
  margin: 0;
}
#sitecontainer #contentWrapper #leftColumn #content div.presentationList > ul > li,
#sitecontainer #contentWrapper #rightColumn div.presentationList > ul > li {
  float: none;
}
#sitecontainer #contentWrapper #leftColumn #content > div.cel_pagetype_OnePage > div > div.presentationList > ul,
#sitecontainer #contentWrapper #leftColumn #content > div.cel_cm_presentation > div.presentationList > ul {
  display: flex;
  flex-flow: column;
  gap: 40px;
}
@media(max-width: 768px){
  #sitecontainer #contentWrapper #leftColumn #content > div.cel_pagetype_OnePage > div > div.presentationList > ul,
  #sitecontainer #contentWrapper #leftColumn #content > div.cel_cm_presentation > div.presentationList > ul {
    gap: 20px;
  }
}
#sitecontainer #contentWrapper #leftColumn #content ul > li > div > p:first-child {
  margin: 0;
}

/**
  Footer
**/
#footer {
  display: flex;
  flex-flow: row wrap;
  gap: 40px;
  justify-content: space-between;
  font-family: var(--font-serif);
  font-weight: bold;
  border-top: 6px solid #000;
  margin: 140px 0 70px 0;
  padding-top: 40px;
}
@media(max-width: 576px) {
  #footer {
    flex-flow: column;
    gap: 30px;
  }
}
#footer .footerLeft {
  display: flex;
  flex-flow: row;
  gap: 40px;
  flex: 0 1 620px;
}
@media(max-width: 576px) {
  #footer .footerLeft {
    flex-flow: column;
    gap: 25px;
    flex: auto;
  }
}
#footer .footerLeft > .footerColumn {
  flex: 0 1 180px;
}
@media(max-width: 576px) {
  #footer .footerLeft > .footerColumn {
    flex: auto;
  }
}
#footer p {
  color: #000;
  margin: 0px;
}
#footer a {
  color: #000;
  text-decoration: none;
}
#footer #footerColumn4 {
  padding-right: 20px;
}
#footer #footerColumn4 .rteContent p:first-child {
  font-size: 30px;
  line-height: 30px;
  padding-bottom: 10px;
}
#footer a:hover {
  color: var(--accent-color);
}
#footer #footerSocial .socialmedialink img {
  box-sizing: unset;
  background: black;
  padding: 6px;
  margin-right: 8px;
}
#footer #footerSocial .socialmedialink img:hover {
  background: var(--accent-color);
}
#footer #footerCopyright {
  flex-basis: 100%;
  font-size: 12px;
  font-weight: normal;
}
