@import "custom_fonts.css";

/*
MitgliederListe  ROUTEN  KACHELN  TOPbar SPRACHwechsel  HEADER  Logo  HAUPTMENUE  HeroSlider
Content  ROUTENiFrame  PopUp/WFmediabox  BOARDmembers  FORMULAR  BOTTOM FOOTER  AccordeonPlugin 
MEDIAQUERIES
*/

html {
  scroll-padding-top: 400px;
}
body {
  font-family: "Noto Sans", sans-serif;
  font-size: 18px;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", serif;
  font-weight: 200;
  line-height: 1.75;
}

p, li {font-weight: 300;}

p {
  margin-top: 0;
  margin-bottom: 1.75rem;
}

strong {font-weight: 500;}

a:hover img {opacity: 0.8;}
a:focus, a:active {color: #c0000c;}

a[href="https://"], a[href="mailto:"], a[href="tel:"] {
  display: none!important;
}

#sp-seitenende {
  padding: 0 0 100px 0;
  margin-top: -70px;
}

.sp-module.back {
  padding-top: 1em;
  a::before {content: "<< ";}
}
.menu-anker {
    display: inline-block;
    transform: translateY(180px);
}

.featured-article-badge {display: none; visibility: hidden;}

.iframe-mode {
  #sp-header-top, #sp-header, #sp-hero,
  #sp-seitenende, #sp-bottom, #sp-footer {
    display: none;}
}

.spalte-2 {
  margin-top: 1em;
  column-count: 2; 
  column-gap:2em;
  column-width: 270px;
  column-rule-style:dotted; 
  column-rule-width:1px; 
  column-rule-color:silver;
  
  p {
   margin: 0 0 1.35rem 0;
   font-size: 1rem; 
   line-height: 1.35rem;
   text-align: justify; 
   hyphens:auto;
   orphans:2; 
   widows: 2;}

  h3 {
	font-size: 1.2rem; 
	line-height: 1.35rem;
	margin: 1.35rem 0 1.35rem 0;
	column-break-after: avoid;
	break-after: avoid-column;
	-webkit-column-break-inside:avoid;}
}


/* MitgliederListe */
.mitglied {
  margin: 2em 20px 2em 0;
  width: 47%;
  display: inline-block;
  padding: 0 0 0 10px;
  hyphens: auto;
  border-left: 2px solid rgba(0,0,0,0.3);
  
  p {margin: 0.35em;}

  .icon {
    display: inline-block;
    margin: 0.5em 0.5em 0.5em 0;
    max-width: 20px;}
  .icon:hover {opacity: 0.5;}
  
  .name {font-weight: 600;}
  .city {text-transform: uppercase;}
  .country {font-style: italic;}

  .address::before {content: "•"; padding: 0 5px 0 0;}

}

/* ROUTEN */
.routelist {
  position: absolute;
  right: 1px;
  padding: 10px 10px 0px 20px;
  background: rgba(256, 256, 256, 0.5);
  border: 1px solid rgba(0,0,0,0.2);
  
  ul {
    list-style: none;
    padding-left: 0px;}
  ul li {
    font-size: 0.8em;
    line-height: 1.7;
    font-weight: 400;}

}

/* KACHELN */
.sp-module.kacheln {
  margin-top: 0;
  margin-bottom: 8em;
}

.kacheln .wf-columns {
  flex-wrap: wrap;
}
.kacheln .wf-columns .wf-column {
  max-width: 100%;
  flex: auto;
  margin-bottom: -6.3em;
}
.kacheln.vier  .wf-columns .wf-column {width: 24%;}
.kacheln.sechs .wf-columns .wf-column {width: 33%;}

.kacheln h3 {
  transform: translateY(3em);
  background: rgba(256,256,256,0.85);
  padding: 0.5em 0;
  z-index: 2;
  position: relative;
}
.kacheln .wf-column:has(a:hover) h3 {
  background: rgba(173, 2, 15, 0.85);
  color: #fff;
}

.kacheln a {
  z-index: 1;
  position: relative;
}
.kacheln a:hover img {
  opacity: 1;
}

.kacheln .text {
  display: none;
  background: rgba(256,256,256,0.85);
  height: 35%;
}

.kacheln .wf-column:has(a:hover) .text {
  display:block;
  position: relative;
  z-index: 3;
  top: -41%;
  padding: 5px;
  margin-bottom: -3em;
}


/* TOPbar SPRACHwechsel */
section#sp-header-top {
    background: rgba(256, 256, 256, 0.85);
    z-index: 9999;
    position: relative;
}
#sp-top2 {
  text-align: right;
  padding-right: 0;
}
#sp-top2 .sp-module {
    display: inline-block;
    padding: 5px 0 5px 5px;
}

.sp-module-content .mod-languages ul.lang-inline {
  margin: 0;
  padding: 0;
}
.sp-module-content .mod-languages ul.lang-inline li {
  border: none;
  display: inline-block;
  margin: 0;
  padding: 0 10px 0 5px;
  border-radius: 0px !important;
}
.sp-module-content .mod-languages ul.lang-inline li:first-child {
  border-right: 1px solid black;
}

div.mod-languages ul li.lang-active,
div.mod-languages ul li.lang-active a {
  color: #c0000c!important;
  background-color: rgba(0,0,0,0)!important;
  font-weight: 600 !important;
}
.sp-module-content .mod-languages ul.lang-inline li a {
  padding: 0 !important;
}

#sp-bottom .sp-module.sprache {text-align: right;}
#sp-bottom .sp-module.sprache ul>li {display: inline-block;}



/* HEADER */
#sp-header {
  width: 100%;
  position: relative;
  z-index: 99;
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.1);
  animation: spFadeIn 0s;
  background-color: rgba(256, 256, 256, 0);
}

#sp-header.header-sticky {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    animation: spFadeInDown 0s;
    background-color: rgba(256, 256, 256, 0.95);
    height: 80px;
  
    .menu.main {padding-top: 20px;}
    .logo {height: 80px; max-width: 190px;}
}


/* Logo */
#sp-header .logo {
  display: inline-flex;
  align-items: center;
  max-width: 240px;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.99));
}

/* HAUPTMENUE */
.sp-megamenu-wrapper {
    display: none;
}
#sp-menu > .sp-column {
  height: auto;
}
.menu.main {
    list-style-type: none;
  	text-align: right;
  	padding-top: 50px;
  	position: absolute;
  	right: 25px;
}
.main li {
    display: inline;
    padding: 0 12px;
/*    border-right: 1px solid #000; */
    font-size: 1.5rem;
  	font-weight: 300;
}
.main li:last-child {
    padding: 0 0 0 17px;
/*    border-right: 0px solid #000; */
    word-spacing: -0.1em;
}

.main .current.active a {
    font-weight: 500;
  	color: #c0000c;
}


/* MegaMenu */
.sp-megamenu-parent>li>a, .sp-megamenu-parent>li>span {
  font-size: 1.2em; 
}

#sp-header.header-sticky {
  
  .sp-megamenu-parent>li>a,
  .sp-megamenu-parent>li>span {
    line-height: 80px;}

}


#offcanvas-toggler {
  display: block;
  height: 40px;
  line-height: 90px;
  font-size: 35px;
  margin-right: 20px;
}
#offcanvas-toggler > .fa {color: #21575c;}

.burger-icon {width: 30px;}
.burger-icon > span {height: 4px;}
.offcanvas-active .burger-icon > span:nth-child(1), #modal-menu-toggler.active .burger-icon > span:nth-child(1) {
  transform: translate(0, 10px) rotate(-45deg);}
.offcanvas-active .burger-icon > span:nth-child(3), #modal-menu-toggler.active .burger-icon > span:nth-child(3) {
  transform: translate(0, -7px) rotate(45deg);}



.offcanvas-menu {width: 320px;}
body.ltr.offcanvs-position-right .offcanvas-menu {right: -320px;}
.offcanvas-menu .menu.main {text-align: left;position: relative;right: 0px;}
.offcanvas-menu .offcanvas-inner {padding: 10px 10px 20px 15px!important;}
.offcanvas-menu .offcanvas-inner .sp-module:not(:last-child) {margin-bottom: 10px;}
.offcanvas-menu .offcanvas-inner .sp-module.home {margin-bottom: 5px;}
.offcanvas-menu .offcanvas-inner .sp-module ul > li a,
.offcanvas-menu .offcanvas-inner .sp-module ul > li span {
    font-size: 1.1rem;
	padding: 0.2rem 0;
}
.offcanvas-menu .sp-module.social {margin-top: 30px;}
.offcanvas-menu .sp-module.social,
.offcanvas-menu .sp-module.top.language {
    float: none;
}
.offcanvas-menu .offcanvas-inner .sp-module ul.social,
.offcanvas-menu .offcanvas-inner .sp-module ul.social > li,
.offcanvas-menu .offcanvas-inner .sp-module ul.social > li a,
.offcanvas-menu .offcanvas-inner .sp-module ul.social > li span,
.offcanvas-menu .offcanvas-inner .sp-module ul.lang-inline,
.offcanvas-menu .offcanvas-inner .sp-module ul.lang-inline > li,
.offcanvas-menu .offcanvas-inner .sp-module ul.lang-inline > li a,
.offcanvas-menu .offcanvas-inner .sp-module ul.lang-inline > li span {
  	display: inline;
}
.offcanvas-menu .offcanvas-inner .sp-module ul.social > li a,
.offcanvas-menu .offcanvas-inner .sp-module ul.social > li span {
  	display: inline;
  	font-size: 2.5rem;
  	padding: 0 5px 0 0;
}
.offcanvas-menu .offcanvas-inner .sp-module ul.social > li:first-child {
    padding-right: 10px;
}
.offcanvas-menu .offcanvas-inner .sp-module ul > li.current a,
.offcanvas-menu .offcanvas-inner .sp-module ul > li.current span {
/*    color: #BBD225;*/
  	font-weight: 500;
}
/*
.offcanvas-menu .offcanvas-inner .sp-module ul > li.current a::before {
    content: "> ";
}  
*/
/*
.offcanvas-menu .offcanvas-inner .sp-module ul > li.current a::before {
  	content: "â€¢";
    font-size: 2rem;
    line-height: 1rem;
	margin: -8px 0 0 0;
    position: relative;
    top: 5px;
    left: -2px;
}
*/

.offcanvas-menu .home a {letter-spacing: 0.05rem;}
.offcanvas-menu .menu.basis li {line-height: 1.5; text-transform: none;}
.offcanvas-menu .sp-module.top.language a, .offcanvas-menu .sp-module.top.language a:visited {font-weight: 500;}
.offcanvas-menu .lang-inline li {margin-right: 5px !important;}


.offcanvas-inner .cookie a {
    color: #000;
    text-transform: none;
    font-size: 0.9em;
}

.offcanvas-menu .offcanvas-inner ul.menu > li {
  padding: 0.2em 0;
  font-weight: 400;
}
.offcanvas-menu .offcanvas-inner ul.menu > li > a,
.offcanvas-menu .offcanvas-inner ul.menu > li > span {
  opacity: 1;
}
.offcanvas-menu .offcanvas-inner ul.menu > li a,
.offcanvas-menu .offcanvas-inner ul.menu > li span {
  color: #000;
}


/* HeroSlider */
section#sp-hero {
  margin-top: -210px;
}
#sp-hero .container {
  max-width: 1400px;
}
.slide-desc-text-default {
  padding: 15px 0 5px 40px !important;
  font-family: Playfair Display;
}
.slide-desc-text-default .slide-title {
  /*font-family: 'PLAYFAIR DISPLAY';
  font-style: italic;*/
  font-size: min(4vw, 60px) !important;
  color: #fff;
  font-weight: 700 !important;
  margin-bottom: -15px !important;
  filter: drop-shadow(2px 4px 6px black);
}
.slide-desc-text-default .slide-text {
  font-size: min(3vw, 40px)!important;
  filter: drop-shadow(2px 4px 6px black);
}


/* Content */
.article-list .article {
    position: relative;
    margin-bottom: 30px;
    padding: 20px;
    border: 0px solid #fff;
    border-radius: 0px;
}
.botborder .article-list .article {
    border-bottom: 1px dotted rgba(0, 0, 0, 0.8);
}


/* ROUTENiFrame */
.view-wrapper {
  #sp-main-body {padding: 0 0 100px 0;}

}


/* PopUp/WFmediabox */
.wf-mediabox-body {
  .article-details .article-header h1 {font-size: 1.75em;}
  p, li {line-height: 1.75;}
  
}

.wf-mediabox-body {
  max-width: 1200px !important;
}
[class^="wf-mediabox"], .wf-mediabox-numbers * {font-family: inherit !important;}
.wf-mediabox-content {overflow-x: hidden !important;}



/* BOARDmembers */
ul.mod-articles-items {
  list-style: none;
  padding-left: 0;  

  .mod-articles-title, .readmore {font-size: min(1.35rem, 2.8vw);}
  p {font-size: min(1em, 2.8vw);}
  
  .article-intro-image {margin: 0 0 5px !important;}
  .readmore {margin-top: -1.5em;}
}                    

.article-full-image.board {
  max-width: 250px;
  float: right;
  margin: 0 0 1em 2em;
}
@container (width >= 768px) {.mod-articles-grid {grid-template-columns: 1fr 1fr 1fr 1fr;}}
@container (width < 768px)  {.mod-articles-grid {grid-template-columns: 1fr 1fr 1fr;}}
@container (width < 480px)  {.mod-articles-grid {grid-template-columns: 1fr 1fr;}}



/* FORMULAR */
.spacer label {margin-left: 0.5em !important;}

.display {
  input {
    border: none !important;
    background-color: #eee !important;
    text-align: right !important;
    width: 80px !important;
  }
  .cf-control-label, .cf-control-input,
  .cf-control-input input, .cf-control-input-desc {
    width: max-content;
    display: inline-block;
    margin-right: 1em;
  }
  .cf-control-input input {transform: translateY(-0.6em);}
}



/* BOTTOM FOOTER */
#sp-footer, #sp-bottom {
  background: #efefef;
  color: #333;
}
#sp-bottom {font-size: 1em}
#sp-bottom .sp-module {margin-bottom: 0px;}

#sp-bottom .sp-module .sp-module-title,
#sp-footer .sp-module .sp-module-title {
  color: #252525;
  font-size: 1.2em;
  font-weight: 600;
  margin: 0 0 0.5em!important;
}

/* SUCHE */
#sp-bottom .sp-module.suche {text-align: right;}


/*  AccordeonPlugin */
#dummy {
  display: none;
}

.ssl-outer {
  border: 0px;
  border-radius: 0px;
  margin-bottom: -1px;
  border-bottom: 1px dotted #333;
}

.ssl-title {
  border-top: 1px dotted #333;
  font-size: 1em;
  font-weight: 300;
  padding: 8px 0px 8px 6px;
  margin-bottom: 0px;
  color: #333;
}

.ssl-title:hover {
  background-color: #eee;
  color: #333;
}

.ssl-title-open {
  background-color: rgba(1, 1, 1, 0);
  font-weight: 500;
}

.ssl-title::after {
  content: "";
  width: 1em;
  height: auto;
  display: block;
  position: relative;
  float: right;
  opacity: 0.7;
  margin: 0 10px 0 0;
}

.ssl-title::after {
  content: url('/images/template/angle-down.svg');
}

.ssl-title.ssl-title-open::after {
  content: url('/images/template/angle-up.svg');
}

.ssl-content {
  padding: 0.5em 0 1.5em 2em;
  border-top: 0px;
  max-width: 95%;
}



/* ############################################# */
/* ################ MEDIAQUERIES ############### */

@media screen and (max-width: 992px) {
  
  #sp-header-top,
  .menu.main.desktop {
    display: none;
  }
  #sp-header {height: 90px;}
  #sp-header .logo {
    height: 90px;
    padding: 5px;
    max-width: 250px;
  }

  
}


@media screen and (max-width: 880px) {
  .mitglied {width: 100%; margin: 0.75em 20px 0.75em 0;}
}


@media screen and (max-width: 600px) {
  
  .kacheln .wf-columns .wf-column {
    width: 49%;
    margin-bottom: -6.3em;
  }
  .ssl-content {
    padding: 0;
    max-width: 100%;
  }

  
}


@media screen and (max-width: 500px) {
  
  section#sp-hero {margin-top: 0;}

  .article-full-image.board {
    max-width: 100%;
    float: none;
    margin: 0 0 1em 0;
  }
  .mod-articles-title {
    line-height: 1.2;
    min-height: 2.4em;
    font-size: 1.3em;
  }

}