/* ================================================================== */
/* ============ Legacy, delete after finishing isoeditor ============ */
/* ================================================================== */
.texteditor-toolbar {
  background-color: var(--main-html-background-color, #F8F8F8);
  border-radius: var(--main-border-radius, 0);
  color: var(--main-color, black);
  margin-bottom: 0.56em;
  padding: 0.7em;
  position: relative;
  width: 100%;
}

.texteditor-toolbar-tools {
  gap: 0.2em;
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0.2em;
  padding: 0;
  position: relative;
  width: 100%;
}

.texteditor-toolbar .texteditor-toolbar-tools:last-of-type {
  margin-bottom: 0;
}

.texteditor-toolbar .tooltip-wrapper {
  line-height: 0;
}

.texteditor-toolbar .tooltip-wrapper .tooltip {
  line-height: 125%;
}

.texteditor-toolbar-tools button {
  font-size: 0.7rem;
  height: 30px;
  margin: 0;
  min-width: auto;
  padding: 0 2rem;
}

.texteditor-toolbar .texteditor-toolbar-tools button.symbols {
  padding: 0.5rem 0.2rem;
}

.texteditor-toolbar .texteditor-toolbar-tools button::before {
  display: block;
  font-family: "Icons", Arial, sans-serif;
  position: relative;
  font-size: 1.6em;
}

.texteditor-toolbar .texteditor-toolbar-tools button.symbol-aligncenter::before {
  content: "\F106";
}

.texteditor-toolbar .texteditor-toolbar-tools button.symbol-alignjustify::before {
  content: "\F107";
}

.texteditor-toolbar .texteditor-toolbar-tools button.symbol-alignleft::before {
  content: "\F108";
}

.texteditor-toolbar .texteditor-toolbar-tools button.symbol-alignright::before {
  content: "\F109";
}

.texteditor-toolbar .texteditor-toolbar-tools button.symbol-bold::before {
  content: "\F122";
}

.texteditor-toolbar .texteditor-toolbar-tools button.symbol-h1::before {
  content: "h1";
}

.texteditor-toolbar .texteditor-toolbar-tools button.symbol-h2::before {
  content: "h2";
}

.texteditor-toolbar .texteditor-toolbar-tools button.symbol-h3::before {
  content: "h3";
}

.texteditor-toolbar .texteditor-toolbar-tools button.symbol-h4::before {
  content: "h4";
}

.texteditor-toolbar .texteditor-toolbar-tools button.symbol-info::before {
  content: "\F184";
}

.texteditor-toolbar .texteditor-toolbar-tools button.symbol-italic::before {
  content: "\F186";
}

.texteditor-toolbar .texteditor-toolbar-tools button.symbol-line::before {
  content: "\F1A1";
}

.texteditor-toolbar .texteditor-toolbar-tools button.symbol-normal::before {
  content: "\F1F9";
}

.texteditor-toolbar .texteditor-toolbar-tools button.symbol-quote::before {
  content: "\F19b";
}

.texteditor-toolbar .texteditor-toolbar-tools button.symbol-strikethrough::before {
  content: "\F1DC";
}

.texteditor-toolbar .texteditor-toolbar-tools button.symbol-underline::before {
  content: "\F1FB";
}

.texteditor-toolbar .texteditor-toolbar-tools button.symbol-lock::before {
  content: "\F190";
}

.texteditor-toolbar .texteditor-toolbar-tools button.symbol-unlock::before {
  content: "\F1FC";
}

.texteditor-toolbar .texteditor-toolbar-tools button.symbol-remove::before {
  content: "\F1F1";
}

.texteditor-toolbar .dropdown-button {
  display: block;
  float: left;
  position: relative;
}

.texteditor-toolbar .dropdown-button .m-dropdown-content {
  gap: 0.2em;
  background-color: var(--main-background-color, white);
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.7);
  display: none;
  flex-direction: column;
  flex-wrap: wrap;
  font-size: 90%;
  padding: 0.625em;
  position: absolute;
  width: max-content;
  z-index: 7;
}

.texteditor-toolbar .dropdown-button .m-dropdown-content.ratings {
  text-align: center;
  width: 10.3em;
}

.texteditor-toolbar .dropdown-button .m-dropdown-content button {
  display: block;
  height: auto;
  padding: 0.6em;
  position: relative;
  text-align: left;
  white-space: nowrap;
  width: 100%;
}

.texteditor-toolbar .dropdown-button:hover .m-dropdown-content {
  display: flex;
  flex-wrap: wrap;
}

.texteditor-toolbar .dropdown-button .m-dropdown-content button img {
  display: block;
  filter: invert(0%);
  height: auto;
  left: inherit;
  margin: 0 auto;
  object-fit: fill;
  position: relative;
  top: inherit;
  transition: all 0.5s;
  width: 120px
}

.texteditor-toolbar .dropdown-button .m-dropdown-content button:hover img {
  filter: invert(100%);
}

.texteditor-toolbar .dropdown-button .m-dropdown-content .float {
  width: 230px;
}

.texteditor-toolbar .dropdown-button .m-dropdown-content .float img {
  width: 35%;
}














/* ============================================== */
/* ============ Textarea and Sidebar ============ */
/* ============================================== */
.iso-editor {
  background: var(--main-html-background-color, #F8F8F8);
  border: 1px solid rgb(150, 150, 150, 0.6);
  border-radius: var(--main-border-radius, 0);
  color: var(--main-color, black);
  display: inline-block;
  font-family: var(--font-family-main), "Arial", sans-serif;
  height: 75vh;
  margin-bottom: var(--main-gap, 0);
  max-width: 100%;
  overflow-x: scroll;
  padding: 0.8em;
  position: relative;
  transition: background-color 1s, color 1s;
  width: 100%;
  white-space: pre-wrap;
}

.iso-editor *[data-editable] {
  cursor: pointer;
}

.iso-editor:focus {
  -webkit-box-shadow: 0 0 4px 3px rgba(53, 174, 255, 0.3);
  -moz-box-shadow: 0 0 4px 3px rgba(53, 174, 255, 0.3);
  box-shadow: 0 0 4px 3px rgba(53, 174, 255, 0.3);
  color: var(--main-color, black);
  outline: 0;
}

.iso-editor-active {
  background-color: #99d6ff;
  color: #003d66;
}

.iso-editor-success {
  background-color: #aee3b5;
  color: #092e0e;
}

.iso-editor-warning {
  background-color: #f8ff91;
  color: #3e420d;
}

.iso-editor-empty {
  background-color: var(--iso-blue);
  color: lightgrey;
  content: "Leeres Element";
  display: block;
  position: relative;
  width: fit-content;
}

.iso-editor-empty::before {
  content: "Leeres Element";
  position: relative;
}

.sidebar-iso-editor-navigation-list {
  font-size: 85%;
  list-style: none;
  margin-top: var(--main-gap, 0);
}

.sidebar-iso-editor-navigation-list li {
  cursor: pointer;
}

.sidebar-iso-editor-navigation-list li:hover {
  color: var(--effect-color, goldenrod);
}

.sidebar-iso-editor-navigation-list li.selected {
  color: var(--iso-blue, skyblue);
}

.iso-editor-highlight-hover {
  outline: 1px solid var(--effect-color, goldenrod);
  outline-offset: 3px;
}

.iso-editor-highlight-selected {
  outline: 1px solid var(--iso-blue, skyblue);
  outline-offset: 3px;
}

.sidebar-iso-editor-buttons {
  display: none;
  justify-content: center;
  margin: 1em 0;
  padding: 0.2em 0;
  position: relative;
}

.sidebar-iso-editor-buttons::after,
.sidebar-iso-editor-buttons::before {
  background-color: var(--main-color, black);
  content: "";
  display: block;
  height: 1px;
  left: 15%;
  position: absolute;
  top: 0;
  width: 70%;
}

.sidebar-iso-editor-buttons::after {
  top: auto;
  bottom: 0;
}

@media screen and (max-width: 1500px) {
  .sidebar-iso-editor-form .sidebar-iso-editor-label-and-input-responsive {
    align-items: center;
    grid-auto-flow: row;
    grid-template-columns: none !important;
    justify-items: start;
  }
}

/* ==================================== */
/* ============ Iso-editor ============ */
/* ==================================== */
.iso-editor-toolbar {
  background-color: var(--main-html-background-color, #F8F8F8);
  border-radius: var(--main-border-radius, 0);
  color: var(--main-color, black);
  display: block;
  margin-bottom: 0.56em;
  padding: 0.7em;
  position: relative;
  width: fit-content;
}

.iso-editor-toolbar.centered {
  margin: 0 auto 0.56em auto;
}

.iso-editor-toolbar-tools {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2em;
  margin-bottom: 0.2em;
  padding: 0;
  position: relative;
  width: 100%;
}

.iso-editor-toolbar .iso-editor-toolbar-tools:last-of-type {
  margin-bottom: 0;
}

.iso-editor-toolbar .tooltip-wrapper {
  line-height: 0;
}

.iso-editor-toolbar .tooltip-wrapper .tooltip {
  line-height: 125%;
}

.iso-editor-toolbar-tools button {
  font-size: 0.7rem;
  height: 30px;
  margin: 0;
  min-width: auto;
  padding: 0 1.25rem;
}

.iso-editor-toolbar .iso-editor-toolbar-tools button.symbols {
  padding: 0.5rem 0.2rem;
}

.iso-editor-toolbar .iso-editor-toolbar-tools button::before {
  display: block;
  font-family: "Icons", Arial, sans-serif;
  font-size: 1.6em;
  position: relative;
}

.iso-editor-toolbar .iso-editor-toolbar-tools button.symbol-aligncenter::before {
  content: "\F106";
}

.iso-editor-toolbar .iso-editor-toolbar-tools button.symbol-alignjustify::before {
  content: "\F107";
}

.iso-editor-toolbar .iso-editor-toolbar-tools button.symbol-alignleft::before {
  content: "\F108";
}

.iso-editor-toolbar .iso-editor-toolbar-tools button.symbol-alignright::before {
  content: "\F109";
}

.iso-editor-toolbar .iso-editor-toolbar-tools button.symbol-bold::before {
  content: "\F122";
}

.iso-editor-toolbar .iso-editor-toolbar-tools button.symbol-color::before {
  content: "\F1B1";
}

.iso-editor-toolbar .iso-editor-toolbar-tools button.symbol-font-size::before {
  content: "\F196";
}

.iso-editor-toolbar .iso-editor-toolbar-tools button.symbol-h1::before {
  content: "h1";
  font-family: var(--font-family-main), Arial, sans-serif;
}

.iso-editor-toolbar .iso-editor-toolbar-tools button.symbol-h2::before {
  content: "h2";
  font-family: var(--font-family-main), Arial, sans-serif;
}

.iso-editor-toolbar .iso-editor-toolbar-tools button.symbol-h3::before {
  content: "h3";
  font-family: var(--font-family-main), Arial, sans-serif;
}

.iso-editor-toolbar .iso-editor-toolbar-tools button.symbol-h4::before {
  content: "h4";
  font-family: var(--font-family-main), Arial, sans-serif;
}

.iso-editor-toolbar .iso-editor-toolbar-tools button.symbol-indent::before {
  content: "\f192";
}

.iso-editor-toolbar .iso-editor-toolbar-tools button.symbol-info::before {
  content: "\F184";
}

.iso-editor-toolbar .iso-editor-toolbar-tools button.symbol-italic::before {
  content: "\F186";
}

.iso-editor-toolbar .iso-editor-toolbar-tools button.symbol-line::before {
  content: "\F1A1";
}

.iso-editor-toolbar .iso-editor-toolbar-tools button.symbol-lock::before {
  content: "\F190";
}

.iso-editor-toolbar .iso-editor-toolbar-tools button.symbol-normal::before {
  content: "\F1F9";
}

.iso-editor-toolbar .iso-editor-toolbar-tools button.symbol-remove::before {
  content: "\F1F1";
}

.iso-editor-toolbar .iso-editor-toolbar-tools button.symbol-quote::before {
  content: "\F19b";
}

.iso-editor-toolbar .iso-editor-toolbar-tools button.symbol-line-through::before {
  content: "\F1DC";
}

.iso-editor-toolbar .iso-editor-toolbar-tools button.symbol-underline::before {
  content: "\F1FB";
}

.iso-editor-toolbar .iso-editor-toolbar-tools button.symbol-unlock::before {
  content: "\F1FC";
}

.iso-editor-toolbar .iso-editor-toolbar-tools button.symbol-url::before {
  content: "\f18c";
}

.iso-editor-toolbar .dropdown-button {
  display: block;
  float: left;
  position: relative;
}

.iso-editor-toolbar .dropdown-button .m-dropdown-content {
  background-color: var(--main-background-color, white);
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.7);
  display: none;
  flex-direction: column;
  flex-wrap: wrap;
  font-size: 90%;
  gap: 0.2em;
  padding: 0.625em;
  position: absolute;
  width: max-content;
  z-index: 7;
}

.iso-editor-toolbar .dropdown-button .m-dropdown-content button {
  display: block;
  height: auto;
  padding: 0.6em;
  position: relative;
  text-align: left;
  white-space: nowrap;
  width: 100%;
}

.iso-editor-toolbar .dropdown-button:hover .m-dropdown-content {
  display: flex;
  flex-wrap: wrap;
}

.iso-editor-toolbar .dropdown-button .m-dropdown-content button img {
  display: block;
  filter: invert(0%);
  height: auto;
  left: inherit;
  margin: 0 auto;
  object-fit: fill;
  position: relative;
  top: inherit;
  transition: all 0.5s;
  width: 120px
}

.iso-editor-toolbar .dropdown-button .m-dropdown-content button:hover img {
  filter: invert(100%);
}

.iso-editor-toolbar .dropdown-button .m-dropdown-content .float {
  width: 230px;
}

.iso-editor-toolbar .dropdown-button .m-dropdown-content .float img {
  width: 35%;
}

/* ================================ */
/* ============ Styles ============ */
/* ================================ */

/* ============ ROW 1 ============ */
.iso-editor-style-inline {
  display: inline;
  position: relative;
}

.iso-editor-style-inline-block {
  display: inline-block;
  position: relative;
}

.iso-editor-style-headline {
  margin-bottom: 1rem !important;
  position: relative;
}

.iso-editor-style-text-align {
  position: relative;
  display: block;
  white-space: pre-line;
}

.iso-editor-style-line {
  clear: both;
}

.iso-editor-style-line::after {
  height: 1px;
  left: 34%;
  top: 0;
  width: 32%;
}

a.iso-editorstyle--url {
  -webkit-text-underline-position: under;
  -ms-text-underline-position: below;
  text-decoration: underline;
  text-underline-position: under;
}

a.iso-editor-style-url-download,
a.iso-editor-style-url-insta,
a.iso-editor-style-url-fb,
a.iso-editor-style-url-web,
a.iso-editor-style-url-iso,
a.iso-editor-style-url-mail {
  align-items: center;
  display: inline-flex;
  margin: 0.1em 0;
  text-decoration: none;
}

a.iso-editor-style-url-download::before,
a.iso-editor-style-url-insta::before,
a.iso-editor-style-url-fb::before,
a.iso-editor-style-url-web::before,
a.iso-editor-style-url-iso::before,
a.iso-editor-style-url-mail::before {
  content: "";
  flex-shrink: 0;
  font-family: "Icons";
  margin-right: 0.5em;
  position: relative;
  text-align: center;
}

a.iso-editor-style-url-download::before {
  content: "\f15a";
}

a.iso-editor-style-url-insta::before {
  content: "\f185";
}

a.iso-editor-style-url-fb::before {
  content: "\f162";
}

a.iso-editor-style-url-web::before {
  content: "\f179";
}

a.iso-editor-style-url-mail::before {
  content: "\f193";
}

a.iso-editor-style-url-iso::before {
  content: var(--iso-logo-full);
}


/*
 .box-simple a::before,
.box-custom a::before {
  font-size: 1.25em;
}

.box-simple a,
.box-custom a {
  margin: 0.3em 0;
}
*/



























.bb-icon {
  font-size: 1.5em;
}



.bb-img-wrapper {
  background-color: transparent;
  display: inline-block;
  line-height: 0;
  overflow: hidden;
  position: relative;
}

.bb-img-wrapper.landscape img {
  height: auto;
  max-width: 1000px;
  width: 100%;
}

.bb-img-wrapper.portrait img {
  height: 100%;
  max-height: 70vh;
  max-height: calc(var(--vh) * 70);
  width: auto;
}

/*
.max-height-70vh{
  max-height: 70vh;
  max-height: calc(var(--vh) * 70);
}
*/

/* Story */
.bb-story {
  align-items: center;
  background-color: var(--story-background-color, #E8E8E8);
  border-radius: var(--main-border-radius, 0);
  color: var(--story-color, black);
  padding: var(--main-gap, 0);
}

.bb-story-text {
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.bb-story:nth-of-type(2n) .bb-story-text {
  order: 1;
}

.bb-story:nth-of-type(2n) .bb-img-wrapper {
  order: 2;
}

.easy-columns.bb-story {
  grid-template-columns: 3fr 7fr;
}

.easy-columns.bb-story:nth-of-type(2n) {
  grid-template-columns: 7fr 3fr;
}

.easy-columns.weighted-80,
.easy-columns.weighted-20:nth-of-type(2n) {
  grid-template-columns: 4fr 1fr;
}

.easy-columns.weighted-75,
.easy-columns.weighted-25:nth-of-type(2n) {
  grid-template-columns: 3fr 1fr;
}

.easy-columns.weighted-70,
.easy-columns.weighted-30:nth-of-type(2n):not(.not-mirroring) {
  grid-template-columns: 7fr 3fr;
}

.easy-columns.weighted-65,
.easy-columns.weighted-35:nth-of-type(2n):not(.not-mirroring) {
  grid-template-columns: 65fr 35fr;
}

.easy-columns.weighted-60,
.easy-columns.weighted-40:nth-of-type(2n):not(.not-mirroring) {
  grid-template-columns: 3fr 2fr;
}

.easy-columns.weighted-55,
.easy-columns.weighted-45:nth-of-type(2n):not(.not-mirroring) {
  grid-template-columns: 55fr 45fr;
}

.easy-columns.weighted-50,
.easy-columns.weighted-50:nth-of-type(2n):not(.not-mirroring) {
  grid-template-columns: 1fr 1fr;
}

.easy-columns.weighted-45,
.easy-columns.weighted-55:nth-of-type(2n):not(.not-mirroring) {
  grid-template-columns: 45fr 55fr;
}

.easy-columns.weighted-40,
.easy-columns.weighted-60:nth-of-type(2n):not(.not-mirroring) {
  grid-template-columns: 2fr 3fr;
}

.easy-columns.weighted-35,
.easy-columns.weighted-65:nth-of-type(2n):not(.not-mirroring) {
  grid-template-columns: 35fr 65fr;
}

.easy-columns.weighted-30,
.easy-columns.weighted-70:nth-of-type(2n):not(.not-mirroring) {
  grid-template-columns: 3fr 7fr;
}

.easy-columns.weighted-25,
.easy-columns.weighted-75:nth-of-type(2n):not(.not-mirroring) {
  grid-template-columns: 1fr 3fr;
}

.easy-columns.weighted-20,
.easy-columns.weighted-80:nth-of-type(2n):not(.not-mirroring) {
  grid-template-columns: 1fr 4fr;
}

.easy-columns.max-height-20 .bb-img-wrapper {
  max-height: 20%;
}

.easy-columns.max-height-25 .bb-img-wrapper {
  max-height: 25%;
}

.easy-columns.max-height-30 .bb-img-wrapper {
  max-height: 30%;
}

.easy-columns.max-height-35 .bb-img-wrapper {
  max-height: 35%;
}

.easy-columns.max-height-40 .bb-img-wrapper {
  max-height: 40%;
}

.easy-columns.max-height-45 .bb-img-wrapper {
  max-height: 45%;
}

.easy-columns.max-height-50 .bb-img-wrapper {
  max-height: 50%;
}

.easy-columns.max-height-55 .bb-img-wrapper {
  max-height: 55%;
}

.easy-columns.max-height-60 .bb-img-wrapper {
  max-height: 60%;
}

.easy-columns.max-height-65 .bb-img-wrapper {
  max-height: 65%;
}

.easy-columns.max-height-70 .bb-img-wrapper {
  max-height: 70%;
}

.easy-columns.max-height-75 .bb-img-wrapper {
  max-height: 75%;
}

.easy-columns.max-height-80 .bb-img-wrapper {
  max-height: 80%;
}

.bb-story.image-left-top .bb-img-wrapper,
.bb-story.image-left-center .bb-img-wrapper,
.bb-story.image-left-bottom .bb-img-wrapper,
.bb-story.image-center-top .bb-img-wrapper,
.bb-story.image-center-center .bb-img-wrapper,
.bb-story.image-center-bottom .bb-img-wrapper,
.bb-story.image-right-top .bb-img-wrapper,
.bb-story.image-right-center .bb-img-wrapper,
.bb-story.image-right-bottom .bb-img-wrapper {
  height: 100%;
  width: 100%;
}

.bb-story.image-left-top .bb-img-wrapper img,
.bb-story.image-left-center .bb-img-wrapper img,
.bb-story.image-left-bottom .bb-img-wrapper img,
.bb-story.image-center-top .bb-img-wrapper img,
.bb-story.image-center-center .bb-img-wrapper img,
.bb-story.image-center-bottom .bb-img-wrapper img,
.bb-story.image-right-top .bb-img-wrapper img,
.bb-story.image-right-center .bb-img-wrapper img,
.bb-story.image-right-bottom .bb-img-wrapper img {
  height: 100%;
  max-width: none;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.bb-story.image-left-top .bb-img-wrapper img {
  object-position: left top;
}

.bb-story.image-left-center .bb-img-wrapper img {
  object-position: left center;
}

.bb-story.image-left-bottom .bb-img-wrapper img {
  object-position: left bottom;
}

.bb-story.image-center-top .bb-img-wrapper img {
  object-position: center top;
}

.bb-story.image-center-center .bb-img-wrapper img {
  object-position: center center;
}

.bb-story.image-center-bottom .bb-img-wrapper img {
  object-position: center bottom;
}

.bb-story.image-right-top .bb-img-wrapper img {
  object-position: right top;
}

.bb-story.image-right-center .bb-img-wrapper img {
  object-position: right center;
}

.bb-story.image-right-bottom .bb-img-wrapper img {
  object-position: right bottom;
}

/* Story and Poll color */
.bb-story .bb-line::after {
  background-color: var(--main-color, black);
}

.bb-story a:link,
.bb-story a:visited,
.bb-category:link,
.bb-category:visited,
.bb-category:active,
.bb-category:focus {
  color: var(--story-color, black);
}

.bb-story a:hover,
.bb-story a:active,
.bb-story a:focus,
.bb-category:hover,
.bb-category:hover::after {
  color: var(--story-color-link-hover, grey);
}

.video-container {
  background-color: rgb(0, 0, 0, 0);
  height: 0;
  overflow: hidden;
  padding-bottom: 51%;
  padding-top: 30px;
  position: relative;
}

.video-container iframe,
.video-container object,
.video-container embed {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.video-container-wrapper {
  display: block;
  left: 0;
  margin: auto;
  max-width: 100%;
  right: 0;
  width: 600px;
}

/*Box Felder*/
/*Einfache Box und allgemeine einstellungen*/
.box-custom,
.box-simple {
  border-radius: var(--main-border-radius, 0);
  display: inline-block;
  max-width: 100%;
  position: relative;
  width: max-content;
}

.box-simple {
  background-color: grey;
  color: white;
  padding: var(--main-gap, 0);
}

.box-simple a:link,
.box-simple a:visited,
.box-simple a:active,
.box-simple a:focus {
  color: white;
}

.box-simple a:hover {
  color: #222;
}

.box-simple .bb-line::after {
  background-color: white;
}

.box-custom.light a:link,
.box-custom.light a:visited,
.box-custom.light a:active,
.box-custom.light a:focus {
  color: black;
}

.box-custom.light a:hover {
  color: #777;
}

.box-custom.light .bb-line::after {
  background-color: black;
}

.box-custom.dark a:link,
.box-custom.dark a:visited,
.box-custom.dark a:active,
.box-custom.dark a:focus {
  color: white;
}

.box-custom.dark a:hover {
  color: #333;
}

.box-custom.dark .bb-line::after {
  background-color: white;
}



.small-caps {
  color: var(--effect-color, goldenrod);
  display: inline-block;
  font-family: "Roboto", Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  padding: 0;
  position: relative;
}

table.bb-table {
  border-collapse: collapse;
}

table.bb-table td,
table.bb-table tr {
  border-collapse: collapse;
  border-color: grey;
  border-spacing: 0;
  border-style: solid;
  border-width: 0.15em;
  padding: 0.5em;
}

table.bb-table td.head,
table.bb-table tr.head {
  background-color: var(--iso-blue);
  color: white;
  font-weight: bold;
}

table.bb-table td.head.centered,
table.bb-table tr.head.centered,
table.bb-table td.centered,
table.bb-table tr.centered {
  text-align: center;
}

/*.bb-table tr:not(:nth-child(1)):hover td{background-color:rgba(245,212,66,0.5);}*/
table.bb-table tr:hover td {
  background-color: rgba(38, 142, 163, 0.4) !important;
}

table.bb-table tr:hover td.head {
  background-color: rgb(90, 90, 90);
}

table.ingredients {
  border-collapse: collapse;
  word-break: keep-all;
}

.bb-story table.ingredients tr {
  border-bottom: var(--story-color, black) solid 1px;
}

table.ingredients tr {
  border-bottom: var(--main-color, black) solid 1px;
}

table.ingredients tr:last-of-type {
  border-bottom: none !important;
}

table.ingredients td,
table.ingredients tr {
  padding: 0.5em 0.75em;
}

table.ingredients td:nth-child(2n - 1) {
  padding-left: 0;
  text-align: right;
}

table.ingredients td:nth-child(2n - 1) {
  padding-right: 0;
  text-align: right;
}

/*Übersetzte Texte*/
.bb-german,
.bb-english {
  display: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.bb-german.active,
.bb-english.active {
  display: block;
  opacity: 1;
  transition: opacity 0.5s;
}

/*Bildervergleich*/
.img-compare-align {
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
}

.img-compare-container {
  position: relative;
}

.img-compare-container img {
  height: auto;
  max-height: 70vh;
  max-width: 100%;
  vertical-align: middle;
  width: auto;
}

.img-compare-container .img-compare-overlay,
.img-compare-container img,
.img-compare-container .img-compare-handle {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  overflow: hidden;
  user-select: none;
}

.img-compare-container .compare-overlay {
  display: inline-block;
  overflow: visible;
  position: relative;
}

.img-compare-container .img-compare-handle {
  cursor: grab;
  height: 100%;
  left: 35%;
  overflow: visible;
  position: absolute;
  top: 0;
  transition: left 0.5s;
  width: 30%;
  z-index: 2;
}

.img-compare-container .img-compare-handle::before {
  background-color: white;
  border-radius: 50%;
  content: "";
  height: 42px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
}

.img-compare-container .img-compare-handle::after {
  background-image: url("../images/isorauschen/logo.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100%;
  border-radius: 50%;
  content: "";
  height: 45px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 45px;
}

.img-compare-container .img-compare-handle:hover::after {
  filter: invert(100%);
}

.img-compare-container .img-compare-handle:hover::before {
  background-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 15px 3px rgba(255, 255, 255, 0.6);
}

.img-compare-container .img-compare-before,
.img-compare-container .img-compare-after {
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 0 !important;
  color: white;
  cursor: grab;
  font-size: 0.7rem;
  left: 0;
  padding: 0.5em 1.5em;
  position: absolute;
  top: 0;
  transform: translateY(200%);
}

div.read-more-visible:hover .btn-read-more.btn-read-more-animated.img-compare-after,
div.read-more-visible:hover .btn-read-more.btn-read-more-animated.img-compare-before {
  opacity: 1;
  transform: translateY(0);
}

.img-compare-container .img-compare-after {
  left: inherit;
  right: 0;
}

.img-compare-container .img-compare-img-before {
  -webkit-clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  left: 0;
  position: absolute;
  top: 0;
  transition: clip-path 0.5s, -webkit-clip-path 0.5s;
}

/* Image Fade Plugin */
.img-fade-container {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  display: flex;
  max-width: 100%;
  position: relative;
  user-select: none;
}

.img-fade-left-container,
.img-fade-right-container {
  display: flex;
  flex-direction: column;
  position: relative;
}

.img-fade-left-container {
  flex-shrink: 0;
  font-size: 0.6em;
  width: 200px;
}

.img-fade-left-container:before {
  background-color: rgba(0, 0, 0, 0.65);
  content: "";
  display: block;
  height: calc(100% - 40px);
  left: 0;
  opacity: 1;
  position: absolute;
  top: 0;
  transition: visibility 0.3s linear, opacity 0.3s linear;
  visibility: visible;
  width: 100%;
  z-index: 10;
}

.img-fade-left-container:after {
  color: rgba(255, 255, 255, 0.75);
  content: "Drag to sort\ASlide to fade";
  display: block;
  font-size: 1rem;
  left: 50%;
  opacity: 1;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: visibility 0.3s linear, opacity 0.3s linear;
  visibility: visible;
  white-space: pre-wrap;
  z-index: 10;
}

.img-fade-left-container:hover::after,
.img-fade-left-container:hover::before {
  opacity: 0;
  visibility: hidden;
}

.img-fade-right-container {
  flex-grow: 1;
  position: relative;
}

.img-fade-img-container {
  display: block;
  overflow: hidden;
  position: relative;
  width: 100%;
}

img.img-fade-img,
img.img-fade-img-spacer {
  -webkit-clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0);
  clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0);
  height: auto;
  opacity: 1;
  position: relative;
  transition: clip-path 0.75s ease-in-out, -webkit-clip-path 0.75s ease-in-out;
  width: 100%;
  z-index: 1;
}

img.img-fade-img {
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
}

img.img-fade-img-active {
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
  animation-name: img-fade-active;
  z-index: 10;
}

@keyframes img-fade-active {
  0% {
    opacity: 0.5;
  }

  100% {
    opacity: 0.7;
  }
}

.img-fade-fader-container {
  display: block;
  height: 40px;
  position: relative;
  width: 100%;
}

.img-fade-fader {
  bottom: 0;
  cursor: pointer;
  display: block;
  height: 40px;
  position: absolute;
  right: -10px;
  width: 20px;
}

.img-fade-fader::before {
  border-bottom: 10px solid var(--main-color, black);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  content: "";
  display: block;
  height: 0;
  position: relative;
  transition: border-color 0.25s;
  width: 0;
}

.img-fade-fader::after {
  background-color: var(--main-color, black);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  content: "";
  display: block;
  height: 30px;
  transition: background-color 0.25s;
  width: 20px;
}

.img-fade-fader:hover::after {
  background-color: var(--main-link-color-hover, #888888);
}

.img-fade-fader:focus::after {
  background-color: var(--iso-blue, #888888);
}

.img-fade-fader:hover::before {
  border-bottom-color: var(--main-link-color-hover, #888888);
}

.img-fade-fader:focus::before {
  border-bottom-color: var(--iso-blue, #888888);
}

/*Panorama Plugin*/
.bb-pano-container {
  border: solid 1px var(--main-color, black);
  border-radius: var(--main-border-radius, 0);
  line-height: 0;
  padding: var(--main-gap, 0);
  position: relative;
  text-align: center;
  width: 100%;
}

.bb-pano-img-container {
  display: inline-block;
  line-height: 0;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.bb-pano-container img {
  height: auto;
  max-height: 200px;
  max-width: 100%;
  position: relative;
  width: auto;
}

.bb-pano-lens {
  box-shadow: 0 0 0 10000px rgba(0, 0, 0, 0.3);
  /*full height, width in javascript 3:2, must be same aspect ration than result div*/
  height: 80%;
  position: absolute;
  z-index: 3;
}

.bb-pano-result {
  display: block;
  margin: 1em auto 0 auto;
  max-width: 800px;
  position: relative;
  /*set the size of the result div:*/
  width: 100%;
}

.bb-pano-result::after {
  content: "";
  display: block;
  padding-bottom: calc(100% / 3 * 2);
  position: relative;
}

/*Gallery Custom*/
.gallery-custom-container {
  grid-gap: 0.625em;
  /* change from inline-grid to grid*/
  display: grid;
  line-height: 0;
  margin: 0 auto;
  max-width: 100%;
  position: relative;
  width: 100%;
}

.gallery-custom-positioned-left {
  margin-left: 0;
  margin-right: auto;
}

.gallery-custom-positioned-right {
  margin-left: auto;
  margin-right: 0;
}

.gallery-custom-no-gap {
  grid-gap: 0;
}

.gallery-custom-gap-small {
  grid-gap: 0.625em;
}

.gallery-custom-gap-medium {
  grid-gap: 1.5em;
}

.gallery-custom-gap-large {
  grid-gap: 3em;
}

.gallery-custom-no-margin {
  margin-bottom: 0;
}

.gallery-custom-margin-small {
  margin-bottom: 0.625em;
}

.gallery-custom-margin-medium {
  margin-bottom: 1.5em;
}

.gallery-custom-margin-large {
  margin-bottom: 3em;
}

.gallery-custom-container .row-spacer {
  display: block;
  position: relative;
  width: 100%;
}

.gallery-img-wrapper,
.gallery-custom-numbering,
.gallery-custom-html-wrapper {
  display: inline-block;
  line-height: 0;
  overflow: hidden;
  position: relative;
}

.gallery-custom-numbering {
  align-items: center;
  display: flex;
  justify-content: center;
  line-height: 160%;
  position: relative;
}

.gallery-custom-container .gallery-custom-html-wrapper>div {
  bottom: 0;
  left: 0;
  line-height: var(--main-line-height);
  overflow: scroll;
  position: absolute;
  right: 0;
  top: 0;
  width: auto !important;
}

.gallery-custom-max-height .gallery-img-wrapper {
  left: 50%;
  max-height: 70vh;
  max-height: calc(var(--vh) * 70);
  transform: translateX(-50%);
}

.gallery-custom-layouting {
  background-color: steelblue;
}

.gallery-custom-layouting-highlighted {
  background-color: salmon;
  z-index: 100;
}

.gallery-img-wrapper .hover-fx-wrapper {
  left: 0;
  position: absolute;
  top: 0;
}

.gallery-img-wrapper img {
  height: 100%;
  max-height: none;
  max-width: none;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.gallery-img-wrapper img.width-full {
  height: auto;
  width: 100%;
}

.gallery-img-wrapper img.height-full {
  height: 100%;
  width: auto;
}

/*Statistik, Diagramme###############################*/
.bb-diagram {
  display: grid;
  gap: 4px 8px;
  grid-template-columns: 250px auto;
  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 0;
}

.bb-diagram dd {
  overflow: hidden;
  position: relative;
  text-align: left;
  white-space: nowrap;
}

.bb-diagram dd,
.bb-diagram dt {
  align-items: center;
  display: flex;
  position: relative;
}

.bb-diagram dd::after {
  background-image: linear-gradient(to right, transparent, var(--main-background-color, white));
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  width: 25px;
}

.bb-diagram dd .bb-info {
  margin: 0 0.5em;
}

.bb-diagram dt .bar {
  background-color: var(--main-color, black);
  height: 1rem;
}

.bb-diagram dt .bar.first {
  background-color: rgb(255, 247, 33);
}

.bb-diagram dt .bar.second {
  background-color: rgb(245, 201, 17);
}

.bb-diagram dt .bar.third {
  background-color: rgb(240, 161, 14);
}

.bb-diagram dt .bar.fourth {
  background-color: rgb(211, 22, 17);
}

.bb-diagram dt .bar.fifth {
  background-color: rgb(138, 22, 17);
}

.bb-diagram-review {
  grid-template-columns: minmax(0, max-content) minmax(50%, 1fr);
  max-width: 100%;
  width: 400px;
}

.bb-diagram-review dd::after {
  content: none;
}

.bb-diagram-review dt::after {
  border: solid 1px var(--main-color, black);
  content: "";
  display: block;
  height: 1rem;
  position: absolute;
  width: 100%
}

.bb-story .bb-diagram-review dt::after {
  border: solid 1px var(--story-color, black)
}

.bb-diagram-review .scale {
  display: flex;
  font-size: 0.85rem;
  text-align: center;
  width: 100%;
}

.bb-diagram-review .scale span {
  flex-basis: 33.33%;
}

.bb-diagram-review .scale::before,
.bb-diagram-review .scale::after {
  content: "0";
  display: block;
  flex-basis: 33.33%;
  margin-right: auto;
  text-align: left;
}

.bb-diagram-review .scale::after {
  content: "10";
  margin-left: auto;
  text-align: right;
}

/* ====================== Kategorien ====================== */
.bb-toggle-container {
  position: relative;
}

.bb-category {
  background-color: var(--story-background-color, #E8E8E8);
  border-radius: var(--main-border-radius, 0);
  color: var(--story-color, black);
  display: block;
  font-size: 2em;
  margin: 0 auto 0 auto;
  padding: 0.5em 0;
  position: relative;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s;
  width: 100%;
}

.bb-category:hover {
  text-decoration: none;
}

.bb-category:focus {
  outline: none;
}

.bb-category::after {
  border-bottom: 0.6em solid var(--story-color, black);
  border-left: 0.3em solid transparent;
  border-right: 0.3em solid transparent;
  content: "";
  display: inline-block;
  height: 0;
  margin: 0 0 0 0.5em;
  transition: all 0.3s, transform 1s;
  width: 0;
}

.bb-category:hover::after {
  border-bottom: 0.6em solid var(--story-color-link-hover, grey);
}

.bb-category.triangle-rotated::after {
  transform: rotate(180deg);
}

.bb-category.no-triangle::after {
  content: none;
}

.bb-category-container {
  padding-top: var(--main-gap, 0);
}

.custom-gallery-row-container .custom-gallery-element-options-container:not(:first-of-type) {
  border-top: 1px solid var(--main-color, black);
  margin-top: 1em;
  padding-top: 1em;
}

.custom-gallery-element-options-container {
  grid-template-columns: repeat(auto-fit, minmax(6em, max-content)) !important;
}

.custom-gallery-element-options {
  display: inline-block;
  position: relative;
}