:root {
  /* HAUPTFARBEN */
  --f0: #ede9de;
  --f1: #c0c7b7;
  --f2: #94a89c;
  --f3: #6b8884;
  --f4: #48686f;
  --f5: #2f4858;
  /* extrahell */
  --f0a: #e5e6d8;
  --f0b: #DADBCF;
  /* WARNEN (gelb) */
  --fg0: #f7edbd;
  --fg1: #f5e7a5;

  --hell: #ebe8d7;
  --main: #9e1107;
  /* TYPO */
  --serif: 'IBM Plex Sans', serif;
  --sansserif: 'Barlow', sans-serif;
  --shareIcon: #883557;
  --shareIconHover: #23acd7;
}




#topnavi, #logo {
  justify-content: center;
}

body {
  background: #ebe8d7;
  
  background-size: contain;
  background-attachment: fixed; 
  background-position: center top;
  background-repeat: no-repeat;
}
@media (min-width: 768px) {
  body {
   background-image: url("../img/bg_02.jpg");
  }
  .container.website {
    margin: 100px auto 20px auto;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 15px rgba(0,0,0,0.36);
  }
}


.container.website {
  border-left: solid 20px var(--main);
  
  
  padding: 0 20px;
  min-height: 100vh;
}

#breitesbild {

}

#fixed-head {
  position: sticky;
	top: 0;
  z-index: 999;
  background: #fff;
  background: #ebe8d7;
  margin: 0 -20px 0 -20px;
  padding: 0 20px;
}
#kopf {
  margin-left: 20px;
}

#titel .haupt {
  color: var(--main);
  font-size: 2.2em;
  font-weight: 600; 
  margin-top: 0;
  text-decoration: none;
  display: block;
}
#titel .sub {
  color: var(--main);
  font-size: 1.4em;
  font-weight: 400; 
  margin-top: -3px;
  margin-bottom: 24px;
  text-decoration: none;
  display: block;
}
@media (max-width: 768px) {
  #titel .haupt {
    font-size: 6.2vw;
  }
  #titel .sub { 
    font-size: 1em;
  }
}
#hauptnavi {
  margin: 0 -10px 20px -10px;
  padding-left: 10px;
  /* background: #fff; */
}


#ganzebreiteoben .frame {
  margin-bottom: 0;
}
#ganzebreiteoben {
  margin-bottom: 40px;
  margin-top: 30px;
}
#ganzebreiteoben figure.image {
  margin:0;
  padding:0;
}
#ganzebreiteoben .ce-above .ce-gallery {
  margin-bottom:0;
}
/*######################  MITTE  ##*/
#mitte {
  padding-bottom: 80px;
}
.backendlayout-startseite #mitte {
  padding-bottom: 0;
}

.backendlayout-startseite h2:first-of-type {
  margin-bottom: 20px;
}

#inhalt {
  min-height: 80vH;
}



/*######################  FUSS ####*/
#fuss {
  margin: 0 -20px 0 -20px;
  padding: 8px 28px 0 28px;
  min-height: 80px;
  background: #ebe8d7;
  background: var(--main);
  color: #fff;
}
#fuss-rechts {
  text-align: right;
  padding-top: 16px;
}
#fuss a {
  color: var(--main);
  color: #fff;
  text-decoration: none;
  font-size: 0.9em;
}
a.fwf-logo {
  display: inline-block;
  width: 250px;
  height: 80px;
  background: url("../img/FWF_Logo_Zusatz_Weiss_RGB_EN.svg") no-repeat;
  background-size: contain;
  text-indent: -9999px;
}

/* Startseite rechte Spalte ############# */

#rechts header h3 {
  font-weight: 400;
  font-size: 0.9em;
  margin-top: 14px;
}
#rechts header h2 {
  font-size: 1.2em;
  margin-bottom: 6px;
}
#rechts h3 {
  margin-top: 0;
  font-size: 1em;
  line-height: 120%;
}
#rechts p {
  font-size: 0.9em;
}

#rechts .frame {
  border-top: solid var(--main) 2px;
  padding: 8px 0 4px 0;
  margin-top: 12px;
  margin-bottom: 10px;
}

#rechts .frame:first-of-type, #rechts .frame:nth-of-type(2) {
  margin-top: 0;
  border-top: none;
  padding: 0;
  margin-bottom: 20px;
}



/*Fancy box weiß ############*/

.pagelayout-1 .fancybox-bg {
    background: #fff;
  }
.pagelayout-1 .fancybox-caption {
    background: none;
    color: #aaa;
  }
.pagelayout-1 .fancybox-button {
    background: none;
    color: #aaa;
}
.pagelayout-1 .fancybox-button:hover {
  color: #666;
}
.pagelayout-1 .fancybox-is-open .fancybox-bg {
  opacitiy: 1;
}


#infobox {
  display: none;
  position: absolute;
  background: #fff;
  box-shadow: 3px 3px 7px rgba(0,0,0,0.2);
  padding: 10px;
  width: 400px;
  max-width: 400px;
  border: 1px solid #000;
}

/* Social Share ######################### */

 p#socialshareheader {
  margin-top: 40px;
  clear: both;
 }

 #socialshare {
  display: flex;
  justify-content: space-between;
  gap: 20px;
 }

 a.socialshare svg {
  fill: #dddddd;
  width: 30px;
  height: 30px;
}
a.socialshare:hover svg {
  fill: var(--shareIconHover);
}

a.socialshare.bluesky:hover svg {
  fill: #0085ff;
}
a.socialshare.facebook:hover svg {
  fill: #0866ff;
}
a.socialshare.whatsapp:hover svg {
  fill: rgb(29, 170, 97);
}
a.socialshare.instagramm:hover svg {
  fill: #f5253d;
}
a.socialshare.twitter:hover svg {
  fill: #000000;
}

/* #PAGE TEASER #################### */

 a.PageTeaser {
  display: inline-block;
  background: #fff;
  padding: 20px 20px 10px 20px;
  max-width: 240px;
  margin: 0 20px 20px 0;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  text-decoration: none;
  vertical-align: top;
 }
a.PageTeaser:hover {
  background: #f1efe9;
  background: var(--hell);
  /* box-shadow: none; */
}

a .PageTeaserText {
  display: block;
}
a .PageTeaserTitle {
  display: block;
  text-align: center;
  font-weight: 600;
  font-size: 1.1em;
  padding-top: 6px;
  text-decoration: none;
  color: #000;
}
a .PageTeaserSubtitle {
  display: block;
  margin: 0; 
  text-align: center;
  font-weight: 600;
  font-size: 0.9em;
  text-decoration: none;
  color: #000;
}

a .PageTeaserAbstract {
  display: block;
  font-size: 0.8em;
  line-height: 1.1em;
  margin-top: 10px;
  color: #444;
  min-height: 82px;
  text-decoration: none;
  color: #000;
}


/* Pageteaser quer STARTSEITE ################# */

.backendlayout-startseite a.PageTeaser {
  display: flex;
  max-width: 100%;;
}
.backendlayout-startseite a.PageTeaser span.PageImage {
  padding-bottom: 10px;
  margin-right: 20px;
  max-width: 130px;
}
.backendlayout-startseite a.PageTeaser span.PageTeaserTitle {
  text-align: left;
  font-size: 1.2em;
  padding-top: 0;
}
.backendlayout-startseite a.PageTeaser span.PageTeaserSubtitle {
  text-align: left;
  font-size: 1em;
}
.backendlayout-startseite h3.startseitenrubrik {
  margin-bottom: 1em;
}

/* DETAIL #################### */
#kopfzeile {
  font-family: var(--sansserif);
  text-transform: uppercase;
  letter-spacing: 1px;;
  font-size: 0.8em;
  margin: 30px 0 10px 0;
  display: none;
}

#PageUntertitel h2 {
  margin: 0 0 30px 0;
}

.backendlayout-detail #rechts {
  margin-top: 260px;
}


/* PUBLICATIONS, NEWS Layout 1  */

.frame-layout-1 figure {
  max-width: 200px;
  width: 200px;
  max-height: 150px;
  height: 150px;
  padding: 20px;
  background: var(--hell);
  display: flex;
  align-items: center;
  justify-content: center;
}
.frame-layout-1 figure img {
  max-height: 100%;
  object-fit: contain;
  height: unset;
}
.frame-layout-1 figure a {
  max-height: 100%;
  display: inline-flex;
}
.frame-layout-1 .copyrightimage {
  display: none;
}




@media (max-width: 768px) {
  #hauptnavi {
    position: absolute;
    top: 10px;
  }
  #inhalt, #links {
    padding:0;
  }
  a.PageTeaser, .ce-intext.ce-left .ce-gallery {
    margin-right: 0;
  }
  #kopf {
    margin-left: 0;
  }
  #c24, #c25 {
    display: none;
  }
}
