@font-face {
    font-family: 'petitaboldregular';
    src: url('petitabold-webfont.eot');
    src: url('petitabold-webfont.eot?#iefix') format('embedded-opentype'),
         url('petitabold-webfont.woff') format('woff'),
         url('petitabold-webfont.ttf') format('truetype'),
         url('petitabold-webfont.svg#petitaboldregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'petitalightregular';
    src: url('petitalight-webfont.eot');
    src: url('petitalight-webfont.eot?#iefix') format('embedded-opentype'),
         url('petitalight-webfont.woff') format('woff'),
         url('petitalight-webfont.ttf') format('truetype'),
         url('petitalight-webfont.svg#petitalightregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

* {
  padding: 0;
  margin: 0;
  outline: 0;
  border: none;
  text-decoration: none;
  font-family: 'petitalightregular', Arial, sans-serif;
}

b, strong { font-family: 'petitaboldregular', Arial, sans-serif; }

ul { list-style: none; }

h1, h2 { font-size: 25px; padding-bottom: 15px; }
h3, p, p a { font-size: 1em; }
p a, .bf-above a {
  background-color: transparent;
  color: #bbb;
  -webkit-transition: color 0.3s ease-out;
  -moz-transition: color 0.3s ease-out;
  -o-transition: color 0.3s ease-out;
  -ms-transition: color 0.3s ease-out;
  transition: color 0.3s ease-out;
  }
p a:hover, .bf-above a:hover { color: #000; }

/* @group PAGE Layout */

#page {
  position: relative;
  min-height: 100%;
  height: auto !important;
  height: 100%;
}

#footer {
  position: relative;
  width: 100%; height: 60px;
  background: #ddd;
}

/* @end   PAGE Layout */

/* @group PAGE Parts */

/* @group #head */

#head {
  position: relative;
  width: 800px;
  margin: 0 auto;
  border-bottom: solid 1px #bbb;
  height: 130px;
}

#logo {
  display: block;
  position: relative;
  margin: 0 auto;
  width: 287px;
  padding: 30px 0 25px;
}

/* @group #navi */

#navi {
  position: relative;
  margin: 0 auto 30px;
  width: 800px;
  text-align: center;
}

#navi li, #navi a {
  display: inline-block;
  color: #bbb;
}

#navi a {
  -webkit-transition: color 0.3s ease-out;
  -moz-transition: color 0.3s ease-out;
  -o-transition: color 0.3s ease-out;
  -ms-transition: color 0.3s ease-out;
  transition: color 0.3s ease-out;
  margin: 0 25px 0 0;
}

#navi a span {
  color: red;
}

#navi .active, #navi a:hover {
  color: #000;
}

/* @end   #navi */

/* @end   #head */

/* @group #content */

h1 { padding-top: 35px; }
#content { text-align: center; }
#content p { padding-bottom: 35px; }
#content h2 { border-top: solid 1px #bbb; padding-top: 35px; }
.center-800 { position: relative; width: 800px; margin: 0 auto; }

/* @group .bf-gallery */

.bf-above {
  position:relative; clear: both;
  width: 760px;
  margin: 0 auto; padding: 0 20px;
  height: 45px;
  line-height: 45px;
  color: #bbb;
  border-bottom: solid 1px #bbb;
}

.bf-gallery { position: relative; min-height: 550px; }

.bf-above-left { position: relative; float: left; margin-left: 15px; z-index: 2; }
.bf-above-center { position: absolute; width: 100%; text-align: center; z-index: 1; }
.bf-above-right { position: relative; float: right; margin-right: 15px; z-index: 2; }

.bf-slider {
  position: relative;
  z-index: 1;
  height: 100%;
  margin: 0 85px;
}

/* Scale to slider height */
.bf-slider-item, .bf-slider-item img {
  position: relative;
  z-index: 2;
  height: 100%;
}

.bf-slider-item:not(:first-of-type) {
  display: none;
  overflow: hidden;
}

.bf-slider-item img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  display: inline-block;
  }

.bf-slide-button {
  cursor: pointer;
  position: absolute;
  z-index: 1;
  top: 0;
  display: block;
  width: 85px;
  height: 100%;
  background: url(../Assets/arrows.jpg) no-repeat 0 center;
  }
  
a.bf-slider-item, .bf-slide-button {
  transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  -ms-transition: opacity 0.3s;
  }
  
.bf-slide-button:hover, a.bf-slider-item:hover { opacity: 0.7; filter: alpha(opacity=70); }
  
.bf-slide-left { left: -80px; }
.bf-slide-right { right: -80px; background-position: -87px center; }

/* @group imageloader */


/* @end   imageloader */

/* @group .bf-thumbs */

.bf-thumbs {
  width: 770px;
  margin: 35px auto;
  }

/* Übersicht aller Bilder
   Thumbs linksbündig */
.bf-thumbs.all { padding-left: 15px; text-align: left; }

.bf-thumbs.one-row {
  width: auto;
  padding: 0 75px;
}

.bf-thumb {
  display: inline-block;
  position: relative;
  overflow: hidden;
  margin: 0 10px 10px 0;
  text-align: left;
}

.one-row .bf-thumb { margin: 0 4px 4px 0; }

.bf-thumbs img { position: relative; z-index: 1; }
.bf-thumbs-title {
  position: absolute;
  z-index: 2;
  width: 80%; height: 80%;
  padding: 10%;
  top: 0;  left: -150%;
  background: #000; background: rgba(0,0,0,0.8);
  color: white;
  display: block;
  transition: left 0.3s ease-out;
  -webkit-transition: left 0.3s ease-out;
  -moz-transition: left 0.3s ease-out;
  -o-transition: left 0.3s ease-out;
  -ms-transition: left 0.3s ease-out;
  }
  
.bf-thumb:hover .bf-thumbs-title { left: 0; }

.bf-gallery .bf-thumbs img {
  cursor: pointer;
  opacity: 0.25;
  filter: alpha(opacity=25);
  transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  -ms-transition: opacity 0.3s;
}

.bf-gallery .bf-thumbs .active, .bf-gallery .bf-thumbs img:hover {
  opacity: 1;
  filter: alpha(opacity=100);
}

#thumb-datenbank {
  border-top: solid 1px #bbb;
  border-left: solid 1px #bbb;
  width: 177px; height: 114px;
  padding: 10px 0 0 10px;
  background: url(../Assets/external.jpg) no-repeat -115px 71px;
  color: #bbb;
  transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  -ms-transition: opacity 0.3s;
  }
  
#thumb-datenbank:hover {
  opacity: 0.5;
  filter: alpha(opacity=50);
  }
  
#thumb-datenbank .title { color: #000; font-weight: bold; display: block; }

/* @end   .bf-thumbs */

/* @end   .bf-gallery */

/* @group #external */

#external {
  position: relative;
  /*width: 530px; width: 270px;*/
	text-align: center;
  margin: 30px auto;
  height: 82px;
  }
  
#external li {
	display: inline-block;
	vertical-align: top;
}

#external a {
	text-align: left;
	display: block;
	border: solid 1px #bbb;
	width: 163px;
	height: 54px;
	padding: 25px 0 0 85px;
	color: #bbb;
	font-size: 13px;
	background: url(../Assets/external.jpg) no-repeat 20px center;
	transition: border-color 0.5s ease-out;
	-webkit-transition: border-color 0.5s ease-out;
	-moz-transition: border-color 0.5s ease-out;
	-o-transition: border-color 0.5s ease-out;
	-ms-transition: border-color 0.5s ease-out;
}
  
#external a:hover { border-color: #000; }
  
#external h4 { color: #000; font-size: 15px; font-weight: lighter; }
  
#external .datenbank {
	background-position: -238px center;
}

#external .video {
	margin-left: 15px;
}

/* @end   #external */

/* @group .csc-textpic */

.csc-textpic { padding: 35px 0 0; }
.csc-textpic h1 { padding-top: 0; }
.csc-textpic h2 { border: none; padding-top: none !important; }

/* @end   .csc-textpic */

/* @group .publikation */

.publikationen {
  margin: 35px auto;
  width: 1000px;
  padding: 0 0 0 25px;
  text-align: center;
}

.publikation {
  cursor: pointer;
  display: inline-block;
  width: 225px; height: 265px;
  padding: 25px 0 0 0;
  margin: 0 25px 25px 0;
}
.publikation .caption {
  display: block;
  margin-top: 15px;
}
#buecher .publikation:first-of-type {
  position: relative;
}
#buecher .publikation:first-of-type:before {
  position: absolute;
  z-index: -1;
  content: '';
  left: -15px;
  right: -15px;
  top: -15px;
  bottom: -35px;
  border: solid 1px red;
  display: block;
}
#buecher .publikation:first-of-type:after {
  content: 'Neu';
  display: block;
  position: absolute;
  text-transform: uppercase;
  font-size: 14px;
  left: 50%;
  transform: translateX(-50%);
  top: -40px;
  color: red;
}

.publikation.two-files {
  width: 475px;
}

.publikation a {
  transition: opacity 0.3s ease-out;
  -webkit-transition: opacity 0.3s ease-out;
  -moz-transition: opacity 0.3s ease-out;
  -o-transition: opacity 0.3s ease-out;
  -ms-transition: opacity 0.3s ease-out;
}

.publikation a:hover {
  opacity: 0.5;
  filter: alpha(opacity=50);
}

.publikation img {
  display: inline-block;
  border: solid 1px #bbb;
}

.publikation h3 {
  color: #000;
  padding: 0 0 5px;
  height: 40px;
}

.publikation p {
  color: #bbb;
  font-size: 13px;
  padding: 0 0 10px !important;
  margin-top: 5px;
}

/* @end   .publikation */

/* @group .termin */

.termin p { padding: 0 !important; }
.termin { padding: 0 0 35px; }
.termin .datetime { color: #bbb; }

/* @end   .termin */

/* @end   #content */

/* @group #footer */

#footer ul {
  position: absolute;
}

#footer li, #footer a {
  display: inline-block;
  color: #aaa;
  line-height: 60px;
}

#footer a {
  cursor: pointer;
  -webkit-transition: color 0.3s ease-out;
  -moz-transition: color 0.3s ease-out;
  -o-transition: color 0.3s ease-out;
  -ms-transition: color 0.3s ease-out;
  transition: color 0.3s ease-out;
}

#footer .video h4 {
	display: inline-block;
	width: auto;
	padding-right: 6px;
}

#footer a:hover, #footer .active {
  color: #000;
}

#add-navi {
  right: 50%;
  margin: 0 -385px 0 0;
}

#add-navi a {
  margin: 0 0 0 25px;
}

#external-footer {
  left: 50%;
  margin: 0 0 0 -385px;
}

#external-footer a {
  margin: 0 25px 0 0;
}

/* @end   #footer */

/* @end   PAGE Parts */

/**
 * CSS STYLED CONTENT
 * Fixes after update to 8.7.2
 */
.csc-textpic-intext-left-nowrap .csc-textpic-imagewrap {
	float: left;
}
.csc-textpic-intext-right-nowrap .csc-textpic-imagewrap {
	float: right;
}

/**
 * 2018-07-19
 * Neues Impressum und Datenschutz
 */
.tx-fklegal {
	padding-top: 35px;
	padding-bottom: 35px;
}
.tx-fklegal h5 {
	font-size: 30px;
	letter-spacing: .05em;
	padding-bottom: 35px;
}
.tx-fklegal h6 {
	font-family: 'petitaboldregular', Arial, sans-serif;
	font-size: 1em;
	padding-bottom: 35px;
}
.tx-fklegal p {
	padding-bottom: 0 !important;
}

/**
 * 2020-11-12
 * Videoteaser BR Beitrag
 */
#br-video {
  width: 800px;
  margin: 46px auto;
}

#br-video a {
  display: block;
  overflow: hidden;
  height: 0;
  width: 100%;
  padding-top: 55%;
  position: relative;
  background: black;
}

#br-video span {
  color: white;
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  text-align: center;
  transform: translateY(-50%);
  opacity: 1;
  transition: opacity .35s ease-out;
  font-size: 2rem;
  line-height: 1.35;
  padding-top: 70px;
  background: transparent url(../Assets/play.svg) no-repeat center top;
  background-size: 55px;
  text-shadow: 0 0 50px rgba(0,0,0,.75);
  z-index: 2;
}

#br-video span b {
  display: block;
}

#br-video:hover span {
  opacity: 0;
}

#br-video img {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  transition: transform .35s ease-in-out, opacity .35s ease-in-out;
  opacity: 0.5;
}

#br-video:hover img {
  transform: scale(1.05);
  opacity: 1;
}

.tx-fklegal + .tx-fklegal {
  margin-top: 4rem;
}
.tx-fklegal .partial + .partial,
.tx-fklegal p + p,
.tx-fklegal ol + p,
.tx-fklegal ul + p,
.tx-fklegal ul + ol,
.tx-fklegal ol + ul,
.tx-fklegal p + ol,
.tx-fklegal p + ul,
.tx-fklegal p + header,
.tx-fklegal ol + header,
.tx-fklegal li + li {
  margin-top: 2rem;
}
.tx-fklegal ul li + li {
  margin-top: .5rem;
}
.tx-fklegal .partial span {
  display: inline-block;
  font-weight: bold;
  min-width: 60px;
}
.tx-fklegal ul,
.tx-fklegal ol {
  padding-left: 3rem;
}

/**
 * Fluid Styled Content
 */

.frame-type-header + .frame-type-textpic {
  padding-top: 35px;
}

.ce-textpic {

  &.ce-intext {

    @media (width >= 768px) {
      display: flex;
      gap: 30px;

      &.ce-right {
        flex-direction: row-reverse;
      }

      .ce-gallery {
        width: 35%;
        flex-grow: 0;
        flex-shrink: 0;

        img {
          width: 100%;
          height: auto;
        }
      }

      .ce-bodytext {
        width: calc(65% - 30px);
        flex-grow: 0;
        flex-shrink: 0;
      }
    }
  }
}