:root {
  /* HAUPTFARBEN */
  --dunkelgrau: #404D51;
  --hellgraublau:#eaedef;
  --hellgraublau:#ecf0f2;
  --graublau:#b3cad1;
  --dunkelgraublau:#68919D;
  --sehrdunkelgraublau:#60848f;
  --hellblau: #e0f1f0;
  --f1: #c0c7b7;
  --f2: #94a89c;
  --f3: #6b8884;
  --f4: #48686f;
  --f5: #2f4858;
  /* extrahell */
  --f0a: #e5e6d8;
  --f0b: #DADBCF;
  /* WARNEN (gelb) */
  --fg0: #f7edbd;
  --fg1: #f5e7a5;
  --shareIcon: #68919D;
  --shareIconHover: #23acd7;
  /* TYPO */
  --serif: 'Playfair Display', serif;
  --sansserif: 'Open Sans', sans-serif;
  --serifSC: 'Playfair Display SC', serif;
}

body {
  background: #fff;
}

#logo {
  margin: 16px 0 16px 0;
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 5.4/1;
}

#kopf1, #kopf2, #kopf3, #kopf4 {
  position: absolute;
  top: 0;
  left:0;
  width: 100%;
  height: 100%;
  margin:1px;
  padding:0;
}
#kopf1 {
  background-image: url(../img/bg-a.svg);
  background-size: cover;
  background-position-x: center;
}
@keyframes bgmove-a {
  0% {
    background-position-y: 100%;
  }
  100% {
    background-position-y: 0;
  }
} 
#kopf1 {
  animation: bgmove-a 240s linear infinite;
}

#kopf2 {
  background-image: url(../img/bg-b.svg);
  background-size: cover;
  background-position-x: center;
}
@keyframes bgmove-b {
  0% {
    background-position-y: 0%;
  }
  100% {
    background-position-y: 100%;
  }
} 
#kopf2 {
  animation: bgmove-b 240s linear infinite;
}

#kopf3 {
  /* border: solid 1px #fff; */
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  top: -1px;
}
#kopf3 img {
  max-width: 100%;
  height: auto;
}

#kopf4 {
  display: flex;
  align-items: center;
  padding-left: 12px;
}
#projektname {
  font-size: 1.8em;
  text-transform: uppercase;
  color: var(--dunkelgrau);
  color: #68919D;
  /* var(--dunkelgraublau); */
  font-weight: 900;
  letter-spacing: 2vW;
  background-image: radial-gradient(circle, #7e315d, #75487a, #665d8f, #5a6f9a, #577f9e, #59849d, #5f899b, #668e99, #648b97, #638994, #618692, #60848f);
   background-image: radial-gradient(circle, #7e315d, #793b60, #754362, #704b63, #6c5264, #6a586a, #695e6f, #696372, #686b7c, #657385, #627c8c, #60848f);
  background-position-x: left;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (min-width: 1100px) {
  #projektname {
    letter-spacing: 40px;
  }
}
@media (max-width: 600px) {
  #projektname {
    letter-spacing: 8px;
    line-height: 100%;
    position: relative;
    top: 16vW;
    text-align: right;
    max-width: 470px;
  }
}

#projektname a {
  text-decoration: none;
}

#topnavi {
	padding-top: 10px;
	text-transform: uppercase;
	font-size: 0.8em;
}

#kopf {
	margin-bottom: 30px;
}
#links {

}
#mitte, #inhalt {
  padding-bottom: 100px;
}
#rechts, #rechts a {
  color: var(--dunkelgraublau);
}
#rechts .NextPageLink a:hover {
  color: #fff;
  text-decoration: none;
}
#rechts a:hover {
  text-decoration: underline;
}
#topnavi, #logo {
  justify-content: center;
}



#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;
}


.zweispaltig-2-3 {
  padding-bottom: 80px;
}

/*######################  FUSS ####*/
#fuss {
  /* display: none; */
  position: fixed;
  left:0;
  bottom:0;
  height: 100px;
  background: var(--hellgraublau);

}
#suchbox {
  margin-right: 50px;
}
.fusslinks {
  display: inline-flex;
  padding-top: 40px;
}
.fusslinks a{
  font-weight: 700;
  color: var(--dunkelgraublau);
  padding: 0 20px;
  text-decoration: none;
  font-size: 14px;
  padding-top: 3px;
}
.fusslinks a:hover {
  color: #000;
}
.fussrechts {
  text-align: right;
  padding-top: 8px;
}
@media (max-width: 800px) {
  #fuss {
    position: relative;
    height: auto;
  }
  .col-md-8.fusslinks {
    width: 100%;
    display: inline;
  }
  .col-md-4.fussrechts {
    max-width: 350px;
    padding: 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 {
  opacity: 1;
}




/* SUCHE ########################### */
 /* KE_SEARCH Overwrite ############################# */

 div.kesearchbox {
  margin:0;
  height: 20px;
 }

 .tx-kesearch-pi1 {
   font-family: 'IBM Plex Sans', sans-serif;
 }
 .tx-kesearch-pi1 fieldset {
   border: none;
   margin: 0;
   padding: 0;
 }

.submitbutt {
  display: inline;
}
.resetbutt {
  display: none;
}
#ke_search_sword {
  background-color: #fff;
  position: relative;
  font-size: 0.9em;
  padding: 4px;
  width: 220px;
  border: solid 1px #666;
  border-radius: 4px;
}
input[type="submit"].suchknopf {
  width: 22px;
  height: 22px;
  padding: 0;
  margin-top: 1px;
  margin-left: 4px;
  vertical-align: top;
  border: none;
  /* background-color: #fff; */
  background-color: transparent;
  background-image: url(../img/Lupe.svg);
  background-size: contain;
  background-repeat: no-repeat; 
  font-size: 0em;
}
input[type="submit"].suchknopf:hover {
  /* background-color: var(--graublau); */
  background-image: url(../img/Lupe_hover.svg);
}
#topsuchbox {
  text-align: right;
  font-size: 1.1em;
}
#topsuchbox  .tx-kesearch-pi1 {
  margin-top: 1.2em;
}
#c109 {
  margin-bottom:0;
}

.suchergebnis-titelzeile {
  font-weight: 500;
  padding-bottom: 8px;
}
.result-list-item .PageDachzeile {
  margin:0;
  padding:0 0 4px 0;
}
.result-list-item .suchergebnis-abtract {
  padding-left: 20px;
}
.result-list-item .suchergebnis-abtract p {
  margin:0;
  padding:0;
}
.result-list-item .suchergebnis-abtract span.gefunden {
  font-style: italic;
}
.result-list-item .suchergebnis-mehr {
  margin: 8px 0 0 0;
  padding:0 0 0 20px;
}

span.hit {
  padding: 0 4px;
  background: #ffef82;
}
 .suche_ergebnis {
  padding-top: 6px;
  border-top: 1px solid #999;
 }
 .result-list-item {
  padding: 16px 0;
  border-bottom: solid 1px #ddd;
}
 .suche_ergebnis h2 a {
  text-decoration: none;
  color: #da3f3a;
 }
 .suche_teaser {
  margin: 6px 0 0 30px;
  max-width: 800px;
  font-size: 0.9em;
 }
 .teaser_icon {
  float: left;
  margin-top: 3px;
  margin-right: 10px;
}
 .PageTeaser.knopf.links {
  margin: 8px 0 20px 30px;
  float: left;
 }
.clearer {
  clear: both;
}

 ul.pagination {
  line-height: .9em;
  font-size: .9em;
  float: left;
  clear: both;
  width: 100%;
  list-style: none;
  margin: 2em 0;
}

ul.pagination>li {
  margin: .4em .4em 0 0;
}

ul.pagination>li:last-child {
  margin-right: 0;
}

ul.pagination>li>a {
  text-decoration: none;
}

ul.pagination>li, ul.pagination>li>a {
  display: inline-block;
}

ul.pagination>li>a, ul.pagination>li.current {
  border: 1px solid #ccc;
  background: #eee;
  padding: .5em .7em;
}

ul.pagination>li.current, ul.pagination>li>a:hover {
  background: transparent;
}

ul.pagination li.page-item a, #kesearch_pagebrowser_bottom a, .page-link{
  padding: 6px 9px;
}


/* BREIT ########################### */
@media (min-width: 768px) {
  #rechts {
    padding-top: 21vH;
  }
}