/************************************************************
/ FLUID_STYLED_CONTENT DEFAULTS (ce-textpic/ce-gallery/ce-row/ce-column etc.)
/ Not shipped as a stylesheet by typo3/cms-fluid-styled-content itself -
/ every sitepackage needs to provide this. Values match the TYPO3 core
/ defaults (styles.content.textmedia.*).
/***********************************************************/

.ce-align-left { text-align: left; }
.ce-align-center { text-align: center; }
.ce-align-right { text-align: right; }

.ce-table td, .ce-table th { vertical-align: top; }

.ce-textpic, .ce-image, .ce-nowrap .ce-bodytext, .ce-gallery, .ce-row, .ce-uploads li, .ce-uploads div { overflow: hidden; }

.ce-left .ce-gallery, .ce-column { float: left; }
.ce-center .ce-outer { position: relative; float: right; right: 50%; }
.ce-center .ce-inner { position: relative; float: right; right: -50%; }
.ce-right .ce-gallery { float: right; }

.ce-gallery figure { display: table; margin: 0; }
.ce-gallery figcaption { display: table-caption; caption-side: bottom; }
.ce-gallery img { display: block; max-width: 100%; height: auto; }
.ce-gallery iframe { border-width: 0; }

.ce-intext.ce-right .ce-gallery, .ce-intext.ce-left .ce-gallery, .ce-above .ce-gallery {
  margin-bottom: 20px;
}
.ce-image .ce-gallery { margin-bottom: 0; }
.ce-intext.ce-right .ce-gallery { margin-left: 20px; }
.ce-intext.ce-left .ce-gallery { margin-right: 20px; }
.ce-below .ce-gallery { margin-top: 20px; }

.ce-column { margin-right: 20px; }
.ce-column:last-child { margin-right: 0; }

.ce-row { margin-bottom: 20px; }
.ce-row:last-child { margin-bottom: 0; }

.ce-above .ce-bodytext { clear: both; }

.ce-intext.ce-left ol, .ce-intext.ce-left ul { padding-left: 40px; overflow: auto; }

.ce-headline-left { text-align: left; }
.ce-headline-center { text-align: center; }
.ce-headline-right { text-align: right; }

.ce-uploads { margin: 0; padding: 0; }
.ce-uploads li { list-style: none outside none; margin: 1em 0; }
.ce-uploads img { float: left; padding-right: 1em; vertical-align: top; }
.ce-uploads span { display: block; }

.ce-table { width: 100%; max-width: 100%; }
.ce-table th, .ce-table td { padding: 0.5em 0.75em; vertical-align: top; }
.ce-table thead th { border-bottom: 2px solid #dadada; }
.ce-table th, .ce-table td { border-top: 1px solid #dadada; }
.ce-table-striped tbody tr:nth-of-type(odd) { background-color: rgba(0, 0, 0, .05); }
.ce-table-bordered th, .ce-table-bordered td { border: 1px solid #dadada; }

.frame-space-before-extra-small { margin-top: 1em; }
.frame-space-before-small { margin-top: 2em; }
.frame-space-before-medium { margin-top: 3em; }
.frame-space-before-large { margin-top: 4em; }
.frame-space-before-extra-large { margin-top: 5em; }
.frame-space-after-extra-small { margin-bottom: 1em; }
.frame-space-after-small { margin-bottom: 2em; }
.frame-space-after-medium { margin-bottom: 3em; }
.frame-space-after-large { margin-bottom: 4em; }
.frame-space-after-extra-large { margin-bottom: 5em; }

.frame-ruler-before:before { content: ''; display: block; border-top: 1px solid rgba(0, 0, 0, 0.25); margin-bottom: 2em; }
.frame-ruler-after:after { content: ''; display: block; border-bottom: 1px solid rgba(0, 0, 0, 0.25); margin-top: 2em; }
.frame-indent { margin-left: 15%; margin-right: 15%; }
.frame-indent-left { margin-left: 33%; }
.frame-indent-right { margin-right: 33%; }

/************************************************************
/ BASE
/***********************************************************/

html {
  margin: 0;
  padding: 0;
}

body {
  color: #60626c;
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #b4bbc4;
  font-size: 15px;
}

.pageComponent .contentMain h1,
.pageComponent .sidebar h1 {
  font-size: 20px;
  color: #b50f30;
  line-height: 1.2;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 20px;
}

.pageComponent .contentMain h2,
.pageComponent .sidebar h2 {
  font-size: 20px;
  line-height: 1.2;
  font-style: italic;
  margin-top: 0;
  margin-bottom: 40px;
  color: #8b8fa0;
}

.pageComponent .contentMain h3,
.pageComponent .sidebar h3 {
  font-size: 1.2em;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #60626c;
}

a {
  color: #b50f30;
  text-decoration: underline;
}

/************************************************************
/ LAYOUT GRID (replaces Bootstrap 3 container/row/col-sm-*)
/***********************************************************/

.container {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.col-sm-8,
.col-sm-4 {
  box-sizing: border-box;
  padding: 0 15px;
  width: 100%;
}

@media (min-width: 768px) {
  .col-sm-8 {
    width: 66.66667%;
  }

  .col-sm-4 {
    width: 33.33333%;
  }
}

/************************************************************
/ HEADER
/***********************************************************/

header#top {
  text-align: center;
  background-image: url('../Images/welchar_banner_start.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #b8bbbf;
}

header#top.fixed {
  box-shadow: 0px 0px 30px -5px rgba(0, 0, 0, 0.3);
}

header#top .selectLanguage {
  text-align: right;
  padding-top: 10px;
  padding-right: 10px;
  font-weight: bold;
}

header#top .selectLanguage span a {
  color: #52555c;
  text-decoration: none;
  text-transform: lowercase;
}

header#top .selectLanguage span a:hover {
  text-decoration: underline;
}

header#top .selectLanguage span::after {
  content: '|';
  margin: 0 5px;
}

header#top .selectLanguage span:last-child:after {
  display: none;
}

header#top .logo.homepage {
  margin: 30px 0;
}

header#top .logo.homepage img {
  width: 254px;
  max-width: 100%;
  height: auto;
}

/************************************************************
/ NAVI
/***********************************************************/


nav.navigation {
  background-color: #52555c;
}

nav.navigation .sf-menu {
  margin-bottom: 0;
}


nav.navigation div > ul{
  height: 40px;
  background-image: inherit;
}

nav.navigation div > ul {
  flex-wrap: wrap;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-content: flex-start;
}

nav.navigation div ul li {
  flex: auto;
}

nav.navigation.maintemplate div > ul > li:first-child {
  display: none;
}

nav.navigation.maintemplate div > ul > li > a > span {
  padding-right: 15px;
}

nav.navigation div ul li{
  background-color: #52555c;
  height: 40px;
}

nav.navigation div ul li a{
  color:#fff;
  padding: 11px 0 9px 22px;
}

nav.navigation div ul li.active{
  background-color: #e0e0e0;
}

nav.navigation div ul li.active a{
  color: #b50f30;
}

nav.navigation div ul li.active li{
  background-color: #52555c;
}

nav.navigation div ul li.active li:hover{
  background-color: #e0e0e0;
}

nav.navigation div ul li.active li a{
  color: #fff;
}

nav.navigation div ul li.active li a:hover{
  color: #b50f30;
}


nav.navigation div ul > li.sfHover > a,
nav.navigation div ul li a:hover{
  color:#b50f30;
}

nav.navigation div ul > li.sfHover > a span,
nav.navigation div ul li a:hover span{
  border-color:#e0e0e0;
}

nav.navigation div > ul > li > a > span{
  display: block;
  padding-right: 22px;
  border-right: 1px solid #8b8fa0;
}

nav.navigation div > ul > li:last-child > a > span{
  border:0;
}

nav.navigation div ul li a.sf-with-ul{
  padding: 11px 0 9px 22px;
}

nav.navigation div ul li a.sf-with-ul::after{
  display: none;
}

nav.navigation div > ul > li.last {
  background-color: #e0e0e0;
  flex: 30 10;
}

nav.navigation div > ul > li.last a {
  text-align: left;
  font-weight: bold;
  color:#b50f30;
}

nav.navigation div > ul > li.last span {
  background-image:url('../Images/icon_star.svg');
  background-repeat: no-repeat;
  background-size: 18px 18px;
  padding-left: 25px;

}

nav.navigation.fixed {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999; 
}

/************************************************************
/ MOBILE MENU (off-canvas)
/***********************************************************/

.mobilemenu {
  display: none;
}

.mobilemenu-toggle {
  background: none;
  border: 0;
  padding: 5px;
  cursor: pointer;
}

.mobilemenu-toggle .icon-bars {
  width: 36px;
  height: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  max-width: 85vw;
  background: #52555c;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  z-index: 1000;
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu li a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-menu li.active > a {
  color: #b50f30;
}

.mobile-menu-close {
  background: none;
  border: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  margin-bottom: 20px;
}

body.mmenu-open {
  overflow: hidden;
}

/************************************************************
/ BANNER SLIDER
/***********************************************************/

.banner {
  background: #ccc;
  position: relative;
}

.banner-slider {
  position: relative;
  overflow: hidden;
}

.banner-slide {
  display: none;
}

.banner-slide.is-active {
  display: block;
}

.banner-slide img {
  display: block;
  width: 100%;
  height: auto;
}

/************************************************************
/ MAIN CONTENT
/***********************************************************/

.pageComponent {
  box-shadow: 0 0 5px #444;
  padding-top:30px;
  padding-left:30px;
  padding-right: 30px;
  padding-bottom: 0px;
  background:#fff;
  min-height: 700px;
}

.pageComponent .contentMain {
  display: block;
}

.pageComponent .contentMain ul,
.pageComponent .sidebar ul, 
.pageComponent .contentMain ol {
  margin-left:15px;
  padding:0;
}

.pageComponent .contentMain ul li, 
.pageComponent .contentMain ol li {
  margin-bottom: 10px;
}

.pageComponent .contentMain p {
  margin-bottom:20px;
}


.pageComponent .contentMain table th, 
.pageComponent .contentMain table td {
  padding: 0 20px 0 0;
}


.pageComponent .contentMain iframe {
  max-width: 100%;
  width: 560px;
  height: 315px;
  max-height: auto;
}

.pageComponent .contentMain header > h1 {
  background: #fff;
  position: relative;
  z-index: 10;
  display: inline-block;
  padding-right: 15px;
}

.pageComponent .contentMain header::before {
  position: relative;
  z-index: 10;
  padding: 0;
  height: 1px;
  width: 100%;
  background:#d0d2d8;
  top:13px;
  content: '';
  display: block;
}

.pageComponent .sidebar header > h1 {
  background: #fff;
  position: relative;
  z-index: 10;
  display: inline-block;
  font-size: 16px;
  padding-right: 15px;
}

.pageComponent .sidebar header::before {
  position: relative;
  z-index: 10;
  padding: 0;
  height: 1px;
  width: 100%;
  background:#b50f30;
  top:13px;
  content: '';
  display: block;
}

.pageComponent .sidebar .frame {
  margin-bottom: 25px;
}

.pageComponent h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

/************************************************************
/ GALLERY / LIGHTBOX
/***********************************************************/

.gallerybox {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.gallerybox .imgbox img {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 2px;
}

.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox-overlay.is-open {
  display: flex;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 80vh;
}

.lightbox-caption {
  color: #fff;
  margin-top: 10px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

/************************************************************
/ REFERENCE MAP
/***********************************************************/

.reference-map {
  width: 100%;
  height: 450px;
}

/************************************************************
/ FOOTER
/***********************************************************/

footer#footer {
  min-height: 100px;
  background-color: #67676f;
  margin-left: -30px;
  margin-right: -30px;
  box-sizing: border-box;
  padding: 30px 30px 10px;
  margin-top: 30px;
}

footer#footer .footer-cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 50px;
}

footer#footer .footer-cols > div,
footer#footer .footer-cols > .col {
  flex: auto;
  color: #fff;
  font-size: 12px;
  margin-bottom: 20px;
}

footer#footer h2 {
  margin: 0 20px 20px 0;
  font-size: 12px;
  color: #fff;
  font-weight: bold;
}

footer#footer h2 a {
  color: #fff;
  text-decoration: none;
}

footer#footer .footer-cols ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

footer#footer .footer-cols ul li {
  margin: 0 0 5px 0;
}

footer#footer .footer-cols ul li a {
  color: #fff;
  text-decoration: none;
}

footer#footer .copyright {
  border-top: 1px solid #fff;
  padding: 10px 0;
  color: #fff;
  font-size: 12px;
  position: relative;
}

footer#footer .copyright .linkToTop {
  position: absolute;
  right: 0;
  top: 0;
  width: 30px;
  height: 30px;
  overflow: hidden;
  text-indent: -999999px;
  text-decoration: none;
  outline: none;
  background: transparent url('../Images/arrow-top.png') no-repeat center center;
}

/************************************************************
/ RESPONSIVE
/***********************************************************/

@media (max-width: 991px) {
  nav.navigation {
    width: 100%;
    display: block;
    background-color: #52555c;
    text-align: right;
  }

  header#top .logo.homepage img {
    width: 163px;
  }

  header#top .logo.homepage {
    margin: 20px 0;
  }

  .mobilemenu {
    display: block;
  }

  nav.navigation .main-menu {
    display: none;
  }
}

@media (min-width: 992px) {
  .mobilemenu {
    display: none;
  }
}

@media (max-width: 767px) {
  header#top .logo.homepage {
    margin: 20px 0;
  }

  footer#footer .footer-cols {
    display: block;
  }
}
