@keyframes zoomIn {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

/*
 * Headlines
 * Heebo, Bold -> 34px
 * Heebo, Bold -> 23px
 * Heebo, Bold -> 20px
*/

h1,
.h1 {
  font-size: 2.125rem;
  font-weight: 700;
  text-transform: none;
}
h2,
.h2 {
  font-size: 1.438rem;
  font-weight: 700;
  text-transform: none;
}
h3,
.h3 {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: none;
}
h4,
.h4 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: none;
}
h5,
.h5 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: none;
}
h6,
.h6 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: none;
}

.list-icon {
  padding-left: 0 !important;
  list-style: none !important;
}

.list-icon > li {
  display: flex;
  align-items: center;
  position: relative;
}

.list-icon > li > span {
  padding-left: 10px;
}

.blockquote {
  font-size: 1.25rem;
  font-style: italic;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

.row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
}

.row > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
  margin: 0;
}

.embed-poster {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  cursor: pointer;
  border: 0;
  outline: none;
  background-position: 50% 50%;
  background-size: cover;
  text-indent: -999em;
  overflow: hidden;
  opacity: 1;
  -webkit-transition: opacity 800ms, height 0s;
  -moz-transition: opacity 800ms, height 0s;
  transition: opacity 800ms, height 0s;
  -webkit-transition-delay: 0s, 0s;
  -moz-transition-delay: 0s, 0s;
  transition-delay: 0s, 0s;
}

.embed-poster::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  margin: -40px 0 0 -40px;
  border: 5px solid #fff;
  border-radius: 100%;
  -webkit-transition: border-color 300ms;
  -moz-transition: border-color 300ms;
  transition: border-color 300ms;
}

.embed-poster:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  margin: -25px 0 0 -13px;
  border-left: 40px solid #fff;
  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent;
  -webkit-transition: border-color 300ms;
  -moz-transition: border-color 300ms;
  transition: border-color 300ms;
}

.embed-poster:hover:before,
.embed-poster:focus:before {
  border-color: #b0a269;
}

.embed-poster:hover:after,
.embed-poster:focus:after {
  border-left-color: #b0a269;
}

.embed-play .embed-poster {
  opacity: 0;
  height: 0;
  -webkit-transition-delay: 0s, 800ms;
  -moz-transition-delay: 0s, 800ms;
  transition-delay: 0s, 800ms;
}

.embed-responsive:first-of-type {
  margin-bottom: 0;
}

.item-default,
.embed-default {
  height: 288px;
}

.item-small,
.embed-small {
  height: 180px;
}

@media screen and (min-width: 480px) {
  .item-default,
  .embed-default {
    height: 288px;
  }

  .item-small,
  .embed-small {
    height: 180px;
  }
}

@media screen and (min-width: 768px) {
  .item-default,
  .embed-default {
    height: 374px;
  }

  .item-small,
  .embed-small {
    height: 234px;
  }
}

@media screen and (min-width: 998px) {
  .item-default,
  .embed-default {
    height: 455px;
  }

  .item-small,
  .embed-small {
    height: 284px;
  }
}

@media screen and (min-width: 1212px) {
  .item-default,
  .embed-default {
    height: 533px;
  }

  .item-small,
  .embed-small {
    height: 333px;
  }
}

@media screen and (min-width: 1420px) {
  .item-default,
  .embed-default {
    height: 720px;
  }

  .item-small,
  .embed-small {
    height: 450px;
  }
}

.container .container,
.frame-type-header.frame-layout-1 .container {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.frame-indent > .container {
  margin-left: 10%;
  margin-right: 10%;
}

.frame-no-indent .container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.be-layout-badelster .Icon:after {
  color: #b1b3b4;
}

.be-layout-badelster h1,
.be-layout-badelster .maincontent h2 {
  color: #b1b3b4;
}

.be-layout-badelster .maincontent .frame-type-header.frame-layout-1,
.be-layout-badbrambach .maincontent .frame-type-header.frame-layout-1 {
  position: relative;
  width: 100%;
  max-width: 868px;
  margin: 0 auto 30px;
  background-color: #ffffff;
  box-shadow: 0px 3px 6px #00000029;
}
.be-layout-badelster .maincontent .frame-type-header.frame-layout-1 header,
.be-layout-badbrambach .maincontent .frame-type-header.frame-layout-1 header {
  padding: 20px;
  text-align: center;
}
.be-layout-badelster .maincontent .frame-type-header.frame-layout-1 header h1,
.be-layout-badbrambach
  .maincontent
  .frame-type-header.frame-layout-1
  header
  h1 {
  color: #343434;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 0;
}

.be-layout-badelster .tableofcontents-header {
  color: #b1b3b4;
}

.be-layout-badbrambach .tableofcontents-header {
  color: #b0a269;
}

.be-layout-homepage .frame-type-carousel .caption-title,
.be-layout-badelster .frame-type-carousel .caption-title {
  background-color: #b1b3b4;
}
.be-layout-badbrambach .frame-type-carousel .caption-title {
  background-color: #b0a269;
}

.be-layout-badelster .accordion .accordion-button,
.be-layout-badelster .accordion .accordion-button:after {
  color: #b1b3b4;
}

.be-layout-badelster .btn,
.be-layout-badelster .powermail_submit {
  border-color: #b1b3b4;
}

.be-layout-badelster .btn:hover,
.be-layout-badelster .powermail_submit:hover,
.be-layout-badelster .btn:focus,
.be-layout-badelster .powermail_submit:focus {
  color: #b1b3b4;
}

/* Tables */

.ce-table-striped {
}
.ce-table td,
.ce-table th {
  padding: 0.5em 0.75em;
  text-align: center;
  vertical-align: middle !important;
  border-left: 1px solid #e2e2e2;
  border-right: 1px solid #e2e2e2;
}

.ce-table td {
  width: 50%;
}

.ce-table-striped thead tr:nth-of-type(odd),
.ce-table-striped tbody tr:nth-of-type(even) {
  background-color: #f5f5f5;
}

.frame-space-before-null {
  padding-top: 0 !important;
}
.frame-space-before-extra-small {
  padding-top: 1em;
}
.frame-space-before-small {
  padding-top: 2em;
}
.frame-space-before-medium {
  padding-top: 3em;
}
.frame-space-before-large {
  padding-top: 4em;
}
.frame-space-before-extra-large {
  padding-top: 5em;
}

.frame-space-after-null {
  padding-bottom: 0 !important;
}
.frame-space-after-extra-small {
  padding-bottom: 1em;
}
.frame-space-after-small {
  padding-bottom: 2em;
}
.frame-space-after-medium {
  padding-bottom: 3em;
}
.frame-space-after-large {
  padding-bottom: 4em;
}
.frame-space-after-extra-large {
  padding-bottom: 5em;
}

.frame-type-grid.frame-background-dark,
.frame-type-grid.frame-background-black,
.frame-type-grid.frame-background-light,
.frame-type-grid.frame-background-white,
.frame-type-grid.frame-background-transparent,
.frame-type-grid.frame-background-bad-elster {
  padding: 2rem 0;
}

.frame {
  position: relative;
}

.frame-type-grid .frame-type-grid {
  padding: 0;
}

.frame-background-light {
  background-color: #fafafa !important;
}

.frame-background-bad-elster {
  padding: 1rem 2rem 0;
  color: #ffffff;
  background-color: #b1b3b4 !important;
}

.frame-shadow {
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

.frame-teaserbox {
  padding: 1.5rem;
}
.be-layout-badelster .frame-teaserbox {
  color: #ffffff;
  background-color: #b1b3b4 !important;
}

/**
 * Background Image
 */

.frame-backgroundimage {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-repeat: no-repeat;
}

.frame-backgroundimage.size-auto {
  background-size: auto;
}
.frame-backgroundimage.size-cover {
  background-size: cover;
}
.frame-backgroundimage.size-contain {
  background-size: contain;
}

.frame-backgroundimage.position-center-left {
  background-position: center left;
}
.frame-backgroundimage.position-center {
  background-position: center center;
}
.frame-backgroundimage.position-center-right {
  background-position: center right;
}

.frame-backgroundimage.position-top-left {
  background-position: top left;
}
.frame-backgroundimage.position-top-center {
  background-position: top center;
}
.frame-backgroundimage.position-top-right {
  background-position: top right;
}

.frame-backgroundimage.position-bottom-left {
  background-position: bottom left;
}
.frame-backgroundimage.position-bottom-center {
  background-position: bottom center;
}
.frame-backgroundimage.position-bottom-right {
  background-position: bottom right;
}

/* Carousel */

.carousel-indicators li {
  margin: 1px 4px !important;
}
.carousel-indicators .active {
  margin: 0 4px !important;
}

.frame-type-carousel .item {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.frame-type-carousel .item img {
  display: block;
}

.frame-type-carousel .item.active img {
  -webkit-animation: zoomIn 15s forwards;
  animation: zoomIn 15s forwards;
}

.frame-type-carousel .carousel-control {
  position: absolute;
  top: 50%;
  background: none !important;
  border: 0;
  border-radius: 0;
  font-size: 84px;
  line-height: 84px;
  text-shadow: none;
  color: rgba(255, 255, 255, 0.8);
  width: auto;
  height: 84px;
  transform: translateY(-50%);
}
.frame-type-carousel .carousel-control:hover {
  color: #ffffff;
  background: none !important;
}
.frame-type-carousel .carousel-control.left {
  left: 35px;
}
.frame-type-carousel .carousel-control.right {
  right: 35px;
}

.frame-type-carousel .carousel-jump {
  display: flex;
  justify-content: center;
  align-items: center;
  content: "";
  position: absolute;
  left: 50%;
  bottom: 57px;
  width: 65px;
  height: 65px;
  font-size: 32px;
  color: #b0a269;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.8);
  transform: translateX(-50%);
  z-index: 1;
}
.frame-type-carousel .carousel-jump:hover {
  color: #b0a269;
  text-decoration: none;
  background-color: #ffffff;
}

.frame-type-carousel .caption {
  position: absolute;
  top: 50%;
  right: 390px;
  width: 100%;
  max-width: 480px;
  transform: translateY(-50%);
}
.frame-type-carousel .caption-title {
  display: flex;
  align-items: center;
  padding: 11px 20px;
  color: #ffffff;
  line-height: 1;
}
.frame-type-carousel .caption-title i {
  margin-right: 13px;
  font-size: 1rem;
}

.frame-type-carousel .caption-body {
  overflow: hidden;
  padding: 20px 20px 0;
  color: #343434;
  background-color: rgba(255, 255, 255, 0.9);
}
.frame-type-carousel .caption-body a {
  color: #343434;
  font-weight: 700;
}

/* Table of Contents */
.tableofcontents-header {
  font-family: "Heebo", sans-serif;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 1rem;
}

.frame-type-tableofcontents,
.tableofcontents {
  height: 100%;
}

.frame-type-tableofcontents {
  padding: 2rem;
}

.frame-type-tableofcontents.frame-layout-0 .tableofcontents-count {
  display: none;
}

.tableofcontents-item {
  font-weight: 700;
}
.tableofcontents-item:last-child {
  margin-bottom: 0;
}
.tableofcontents-item a {
  color: #343434;
  text-decoration: none;
}

.frame-type-tableofcontents.frame-layout-1 {
  padding: 0;
}

.frame-type-tableofcontents.frame-layout-1 ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  list-style-type: none;
}

.frame-type-tableofcontents.frame-layout-1 ol > li {
  flex: 0 0 calc(100% / 6);
  margin: 2rem;
  text-align: center;
}

.frame-type-tableofcontents.frame-layout-1 .tableofcontents-item > a {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.frame-type-tableofcontents.frame-layout-1 .tableofcontents-item img {
  width: auto;
  margin-bottom: 9px;
}
.frame-type-tableofcontents.frame-layout-1 .tableofcontents-count {
  font-size: 2rem;
  font-weight: 700;
  color: #b0a269;
}
.frame-type-tableofcontents.frame-layout-1 .tableofcontents-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.frame-type-tableofcontents.frame-layout-2 {
  visibility: hidden;
  position: fixed;
  top: 50%;
  right: -100%;
  height: auto;
  padding: 0;
  transform: translateY(-50%);
  z-index: 1;
}

.frame-type-tableofcontents.frame-layout-2 ol {
  padding: 0;
  list-style-type: none;
}

.frame-type-tableofcontents.frame-layout-2 .tableofcontents-item {
  position: relative;
  right: 90px;
  transition: right 0.2s ease;
}

.frame-type-tableofcontents.frame-layout-2 .tableofcontents-item img {
  width: auto;
  margin-right: 40px;
  vertical-align: middle;
}
.frame-type-tableofcontents.frame-layout-2 .tableofcontents-count {
  display: none;
}

.frame-type-tableofcontents.frame-layout-2 .tableofcontents-item > a {
  display: inline-block;
  padding: 0 1.25rem;
  line-height: 78px;
  color: #ffffff;
  background-color: #b0a269;
}

/* Timeline */

.frame-timeline {
  position: relative;
}

.frame-timeline:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 4px;
  height: 100%;
  width: 1px;
  background-color: #bcbcbc;
}

.timeline {
  margin: 0 !important;
  padding: 0 !important;
}

.timeline-item {
  display: flex;
  position: relative;
  margin: 0 0 1rem 0 !important;
}
.timeline-item:before {
  flex: 0 0 10px;
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin-top: 5px;
  background-color: #b0a269;
  border-radius: 50%;
}

.timeline-year {
  flex: 0 0 150px;
  margin-left: 1rem;
  color: #b0a269;
  font-weight: 700;
}

/* Gallery */

.gallery {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}
.frame-no-indent .gallery {
  margin-left: 0;
  margin-right: 0;
}

.gallery .image {
  overflow: hidden;
}

.gallery-item {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.frame-no-indent .gallery-item {
  padding-left: 0;
  padding-right: 0;
}

.gallery-item-1 {
  flex: 0 0 100%;
  width: 100%;
}

.gallery-item-2 {
  flex: 0 0 50%;
  width: 50%;
}

.gallery-item-3 {
  flex: 0 0 33.3333%;
  width: 33.3333%;
}

.gallery-item-4 {
  flex: 0 0 25%;
  width: 25%;
}

/* Textpic */

.textpic {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}
.frame-no-indent .textpic {
  margin-left: 0;
  margin-right: 0;
}

.textpic-item {
  order: 1;
  padding-left: 15px;
  padding-right: 15px;
}
.frame-no-indent .textpic-item {
  padding-left: 0;
  padding-right: 0;
}

.textpic-left .textpic-item,
.textpic-right .textpic-item {
  flex: 0 0 50%;
  width: 50%;
}

.textpic-col-auto .textpic-item {
  flex: 0 0 auto;
  width: auto;
}

.textpic-left .textpic-text,
.textpic-right .textpic-text {
  padding-left: 30px;
  padding-right: 30px;
}

.textpic-right .textpic-gallery {
  order: 2;
}

/*
.textpic-center {
  justify-content: center;
}
*/

.textpic-centered {
  align-items: center;
}

.gallery-item {
  overflow: hidden;
}

.textpic .gallery-item img {
  transition: all 4s;
}

.textpic:hover .gallery-item img {
  transform: scale(1.05);
}

.frame-type-textpic.frame-layout-1:before {
  content: "";
  display: block;
  position: absolute;
  top: 75px;
  left: 0;
  right: 0;
  bottom: 75px;
  background-color: #fbfbfb;
  box-shadow: 0px 1px 7px #00000029;
  z-index: -1;
}

.frame-no-indent .textpic-left .textpic-text {
  padding-right: 110px;
}
.frame-no-indent .textpic-right .textpic-text {
  padding-left: 110px;
}

/* Teaser */

.be-layout-badbrambach .teaser-icon {
  background-color: #b0a269;
}
.be-layout-badbrambach .teaser-button a {
  color: #b0a269;
  border-color: #b0a269;
}
.be-layout-badbrambach .teaser-button a:hover {
  color: white;
  background-color: #b0a269;
}

.frame-teaser {
  height: 100%;
  padding: 30px;
}

.teaser img {
  transition: all 4s;
}

.teaser:hover img {
  transform: scale(1.05);
}

.teaser-icon {
  display: flex;
  justify-content: center;
  align-items: center;

  position: absolute;
  top: -35px;
  left: 50%;
  width: 75px;
  height: 75px;
  color: #fff;
  font-size: 1.75rem;
  border-radius: 50%;
  transform: translateX(-50%);
}

.teaser-title,
.teaser-text {
  margin: 1.5rem 0;
}

.teaser-title {
  font-family: "Heebo", sans-serif;
  font-size: 34px;
  font-weight: 700;
  text-align: center;
}

.teaser-text {
  text-align: center;
}

.teaser-button {
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
}
.teaser-button a {
  display: block;
  padding: 9px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  background-color: white;
  border: 1px solid transparent;
}

/* Banner */

.banner {
  display: flex;
  justify-content: flex-start;
  position: relative;
  padding: 45px;
}
.banner-align-center {
  justify-content: center;
}
.banner-align-right {
  justify-content: flex-end;
}

.banner-backgroundimage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.banner-text {
  position: relative;
  width: 100%;
  max-width: 428px;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.9);
}

.banner-text > *:last-child {
  margin: 0;
}

.banner-text a {
  color: #343434;
  font-weight: 700;
  text-decoration: underline;
}
.banner-text a:hover {
  text-decoration: none;
}

.frame-layout-1 .banner {
  align-items: center;
  padding: 0;
  height: 380px;
}

.frame-layout-1 .banner-text .h1,
.frame-layout-1 .banner-text .h2,
.frame-layout-1 .banner-text .h2,
.frame-layout-1 .banner-text .h3,
.frame-layout-1 .banner-text .h4,
.frame-layout-1 .banner-text .h5,
.frame-layout-1 .banner-text .h6 {
  margin: 0 0 20px 0;
  color: #b0a269;
  font-style: italic;
}

.frame-layout-1 .banner-text .Icon.brambach {
  color: white;
  text-decoration: none;
  background-color: #b0a269;
}

.frame-layout-1 .banner-text .Icon:after {
  content: "";
}

/* Accordion */

.accordion .accordion-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-family: "Heebo", sans-serif;
  font-weight: 400;
  color: #b0a269;
  text-align: left;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  background-color: transparent;
  padding: 0.375rem 0;
  font-size: 1.5rem;
  line-height: 1.5;
  border-radius: 0;
  outline: none;
}

.accordion .accordion-button:after {
  content: "+";
  display: inline-block;
  font-size: 1.75rem;
  font-weight: 700;
  color: #b0a269;
}

.accordion .accordion-button.collapsed:after {
  transform: rotate(0deg);
}

.accordion .accordion-button:after {
  transform: rotate(45deg);
}

.accordion .accordion-item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-clip: border-box;
  border-top: 1px solid rgba(112, 112, 112, 0.3);
  border-bottom: 1px solid rgba(112, 112, 112, 0.3);
}

.accordion > .accordion-item {
  overflow: hidden;
}

.accordion > .accordion-item:not(:last-of-type) {
  border-bottom: 0;
}

.accordion > .accordion-item:last-of-type {
  border-bottom: 0;
}
.accordion > .accordion-item:first-of-type {
  border-top: 0;
}

.accordion .accordion-header {
  display: flex;
  align-items: center;
  padding: 0.75rem 0.5rem 0.75rem 0;
  margin-bottom: 0;
  background-color: transparent;
}

.accordion > .accordion-item > .accordion-header {
  margin-bottom: -1px;
}

.accordion .accordion-body {
  flex: 1 1 auto;
  min-height: 1px;
  padding: 0 0 1.25rem;
}
.accordion .accordion-body > *:last-child {
  margin-bottom: 0;
}

@media (min-width: 1920px) {
  .frame-type-carousel .item img {
    width: auto;
    margin: 0 auto;
  }
}

@media (max-width: 1211px) {
  .Icon {
    max-width: 100%;
  }

  .frame-no-indent {
    padding-left: 15px;
    padding-right: 15px;
  }

  .frame-indent > .container {
    margin-left: auto;
    margin-right: auto;
  }

  .textpic-text,
  .textpic-text .text-right,
  .textpic-text .text-left {
    text-align: center;
  }

  .textpic-left .textpic-item,
  .textpic-right .textpic-item {
    flex: 0 0 100%;
    width: 100%;
  }

  .textpic-left .textpic-text,
  .textpic-right .textpic-text {
    padding-left: 15px;
    padding-right: 15px;
  }

  .textpic-right .textpic-gallery {
    order: 1;
  }

  .frame-type-textpic.frame-layout-1:before {
    display: none;
  }

  .frame-no-indent .textpic-left .textpic-text {
    padding-right: 15px;
  }
  .frame-no-indent .textpic-right .textpic-text {
    padding-left: 15px;
  }

  .frame-type-tableofcontents.frame-layout-1 ol > li {
    flex: 0 0 calc(100% / 4);
  }

  /*.frame-type-carousel .caption,
    .frame-type-carousel .carousel-control,
    .frame-type-carousel .carousel-jump { display: none; }*/

  .be-layout-homepage .maincontent .frame-type-header,
  .be-layout-badelster .maincontent .frame-type-header.frame-layout-1,
  .be-layout-badbrambach .maincontent .frame-type-header.frame-layout-1 {
    margin: 0 auto 30px;
    background-color: transparent;
    box-shadow: none;
  }
}

@media (max-width: 991px) {
  .row > [class*="col-"] {
    width: 100%;
  }

  .frame-type-tableofcontents.frame-layout-1 ol > li {
    flex: 0 0 calc(100% / 3);
  }
}

@media (max-width: 768px) {
  .frame-type-tableofcontents.frame-layout-1 ol > li {
    flex: 0 0 100%;
  }
  .frame-type-tableofcontents.frame-layout-2 {
    display: none;
  }
}
