/*****************************************************************************************************
* Plugin Custom CSS
******************************************************************************************************/

/*
All In One WP Security
---------------------------------------------------------------------------------------------------- */

.aiowps-site-lockout-box {
  border: none;
  margin-left: auto;
  margin-right: auto;
  margin-top: 100px;
  max-width: 600px;
  padding: 30px;
}

.aiowps-site-lockout-msg h1 {
  font-size: 30px;
  font-weight: bold;
  color: #fff;
}

.aiowps-site-lockout-msg,
.aiowps-site-lockout-msg a {
  color: #fff;
  font-size: 21px;
  font-weight: normal;
  text-align: center;
}

.aiowps-site-lockout-msg a {
  text-decoration: underline;
}

.aiowps-site-lockout-msg footer a {
  border-bottom: 1px solid;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  transition: all .2s ease-in-out;
}

.aiowps-site-lockout-msg footer a:hover {
  color: silver;
}


/*
bub Modal
---------------------------------------------------------------------------------------------------- */

/* Modals: Layers in the Header's Green
--------------------------------------------- */

/* The search, newsletter and opt-in confirmation windows. Their content at
   least the site's 20px from the screen's edges, where bub Modal's 3% left
   12px on phones (user, 2026-10-22). */

.bubmodal.bubmodal--cover {
  padding-left: max(3%, 1.25rem);
  padding-right: max(3%, 1.25rem);
}

/* The X at its phone size on every screen, bub Modal's 13px instead of
   16px, and at half white, full on hover: bub Modal's #ddd was meant for its
   dark layer, through which the page showed (user, 2026-10-22). Two classes,
   as bub Modal's README asks for the close button. */

.bubmodal--cover .bubmodal__close {
  font-size: 0.8125rem;
}

.bubmodal--cover .bubmodal__close::before,
.bubmodal--cover .bubmodal__close::after {
  background-color: rgba(255,255,255,0.5);
  transition: background-color 0.2s;
}

.bubmodal--cover .bubmodal__close:hover::before,
.bubmodal--cover .bubmodal__close:hover::after {
  background-color: #fff;
}


/* Modal: Search
--------------------------------------------- */

/* The form sits a little above the center of the centered modal, since the
   live search results open below it. */

.bubmodal-search .search-form {
  overflow: visible;
  position: relative;
  transform: translateY(-70%);
}

/* Narrow screens: no lift, since bub Modal starts the content at the top, 25px
   below the close button. */

@media screen and (max-width: 800px) {

  .bubmodal-search .search-form {
    transform: none;
  }
}

/* Live search results: inside the form (core/includes/plugin.php), which its
   position makes their containing block, while the plugin sets left and top
   from the field's offset on the page. Pinned under the field instead, 5px
   below as the plugin's default offset. */

.bubmodal-search .relevanssi-live-search-results {
  left: 0 !important;
  top: calc(100% + 5px) !important;
}

/* The layer in the header's green, solid, since at 97% the page still showed
   through, through bub Modal's property; the field's line light, as the dark
   green line did not show on the black layer before (user, 2026-10-22;
   before, bub Modal's 85% black). */

.bubmodal-search {
  --bubmodal-cover-background: var(--theme1-background-def);
}

.bubmodal-search .search-form input[type=search] {
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.35);
  box-shadow: none;
  color: #fff;
  font-size: 45px;
  padding: 10px 10px 5px 3px;
  -webkit-appearance: none !important;
  width: 100%;
}

.bubmodal-search .search-form input[type="submit"] {
  display: none;
}

.bubmodal-search ::placeholder {
  color: rgba(255,255,255,0.45);
}

/* The live search results on the layer, without a box: the title on the
   left, its type in small capitals in the lighter brown on the right
   (core/templates/relevanssi-live-ajax-search/), rows with hairlines, the
   row tinted on hover (user, 2026-10-22: no underline, whose timing clashed
   with the tint; before, a white box). Up to 40% of the screen's height
   beside the centred field, to the bottom on narrow screens, where the field
   is on top. */

.bubmodal-search .relevanssi-live-search-results {
  background: transparent !important;
  box-shadow: none !important;
  color: #fff;
  max-height: 40vh !important;
  scrollbar-color: rgba(255,255,255,0.3) transparent;
  scrollbar-width: thin;
}

.bubmodal-search .relevanssi-live-search-result {
  background: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.bubmodal-search .relevanssi-live-search-result :is(p, a) {
  overflow: visible !important;
  white-space: normal !important;
}

.bubmodal-search .relevanssi-live-search-result a {
  align-items: baseline;
  color: rgba(255,255,255,0.92) !important;
  display: flex !important;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.7em 0.25em !important;
  text-decoration: none !important;
  transition: background-color 0.2s ease;
}

.bubmodal-search .relevanssi-live-search-result a:is(:hover, :focus) {
  background: rgba(255,255,255,0.06);
}

.bub-live-search__title {
  hyphens: manual;
  min-width: 0;
}

.bub-live-search__type {
  color: var(--theme1-color-acc);
  flex: none;
  font-family: var(--caps-font-family);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bubmodal-search .relevanssi-live-search-result-status p {
  color: rgba(255,255,255,0.6) !important;
  font-size: 0.85rem !important;
  font-style: normal !important;
  padding: 0.9em 0.25em !important;
}

@media screen and (max-width: 800px) {

  .bubmodal-search .relevanssi-live-search-results {
    max-height: calc(100dvh - 13rem) !important;
  }
}

@media screen and (max-width: 600px) {

  .bubmodal .search-form input[type=search] {
    font-size: 30px;
  }
}


/* Modal: Newsletter and Opt-in Confirmation
--------------------------------------------- */

/* As the search: the layer in the header's green without a box
   (core/includes/plugin.php registers both as 'full'), the content in a
   column of the search field's width, the title as the small label in the
   lighter brown, the field without a box above the search's line (user,
   2026-10-22; before, a dark green box on bub Modal's 85% black with a white
   field). The opt-in confirmation follows, without the blue box of the old
   bub-modal plugin. */

.bubmodal-newsletter,
.bubmodal-optin-confirmation {
  --bubmodal-cover-background: var(--theme1-background-def);
}

.bubmodal-newsletter .bubmodal__content,
.bubmodal-optin-confirmation .bubmodal__content {
  max-width: 35rem;
  text-align: left;
  width: 100%;
}

/* Centred on phones too, as on wider screens; below 800px bub Modal starts
   the content at the top (user, 2026-10-22: quite high up). The search stays
   at the top, for its results below the field. Not on low screens, such as
   a phone held sideways, where centred content would leave the field under
   the keyboard. */

@media screen and (max-width: 800px) and (min-height: 501px) {

  .bubmodal-newsletter.bubmodal--cover,
  .bubmodal-optin-confirmation.bubmodal--cover {
    justify-content: safe center;
  }
}

.bubmodal-newsletter .bubmodal__title h2,
.bubmodal-optin-confirmation .bubmodal__title h2 {
  color: var(--theme1-color-acc);
  font-family: var(--caps-font-family);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin: 0 0 0.9rem;
  text-align: left;
  text-transform: uppercase;
}

.bubmodal-newsletter .bubmodal__before,
.bubmodal-optin-confirmation .bubmodal__main {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  line-height: 1.5;
}

.bubmodal-newsletter .bubmodal__before {
  margin: 0 0 1.75rem;
}

.bubmodal-newsletter a {
  color: inherit;
  text-decoration: underline;
}

.bubmodal-newsletter a:hover {
  color: var(--theme1-color-acc);
}

.bubmodal-newsletter .fluentform {
  margin: 0 !important;
}

.bubmodal-newsletter .fluentform .ff-el-group {
  margin: 0 0 1.5rem;
}

.bubmodal-newsletter input[type="email"] {
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid rgba(255,255,255,0.35) !important;
  border-radius: 0;
  box-shadow: none;
  color: #fff;
  font-size: 1.75rem !important;
  height: auto !important;
  padding: 0.15em 0 0.2em !important;
}

.bubmodal-newsletter ::placeholder {
  color: rgba(255,255,255,0.45);
}

/* The window's one main action: the darker brown, the main action on the
   dark green (decision 4), in the site's button capitals at its own width.
   Fluent Forms stretches it by a minimum width. */

.bubmodal-newsletter button[type="submit"] {
  background: var(--brand3-background-dk1) !important;
  border: none !important;
  color: #fff !important;
  font-family: var(--caps-font-family);
  font-size: 0.85rem !important;
  height: auto !important;
  line-height: 2.7em;
  min-width: 0 !important;
  padding: 0.03em 1.5em 0 !important;
  text-transform: uppercase;
  transition: filter 0.2s;
  width: auto !important;
}

.bubmodal-newsletter button[type="submit"]:hover {
  filter: brightness(108%);
}

/* The message after sending, on the layer without a box. */

.bubmodal-newsletter .ff-message-success {
  background: none;
  border: none;
  box-shadow: none;
  color: #fff;
  padding: 0;
}


/* Newsletter Box
--------------------------------------------- */

/* The box of [bub_newsletter] (core/includes/plugin.php), which opens the
   newsletter modal: its note and its button, as in a text banner
   (banners-general.css), where it stands on events. Its background comes
   from where it stands, on pages from the light box (editing-block.css).
   The note's lines balanced and not hyphenated, so the link to the privacy
   page never stands alone or split on the last line (user, 2026-10-22; on
   the front page's wide box "Datenschutzerklä-rung" broke over two). */

.bub-newsletter p {
  -webkit-hyphens: none;
  hyphens: none;
  margin: 0 0 1rem;
  text-wrap: balance;
}

.bub-newsletter p:last-child {
  margin-bottom: 0;
}

.bub-newsletter a.button {
  background: var(--theme1-background-lt1);
  color: var(--theme1-color-lt1);
  display: inline-block;
  font-family: var(--caps-font-family);
  font-size: 0.85rem;
  line-height: 2.7em;
  padding: 0.03em 1.1em 0;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.bub-newsletter a.button:hover {
  background: var(--brand1-color-lt1);
  color: var(--theme1-color-lt1);
}


/*
Complianz
---------------------------------------------------------------------------------------------------- */

#cmplz-document {
  background-color: #fff !important;
  margin: 0 auto 40px !important;
  padding: 25px min(25px, 5%) 15px !important;
}

#cmplz-document h2 {
  margin-top: 25px;
}

#cmplz-document P {
  font-size: 1rem;
}

/* Blocked Iframe Content */

.cmplz-blocked-content-container {
  margin-bottom: 30px !important;
}

/* Page Builder */

.fl-module-content:has(.cmplz-blocked-content-container)::after {
  height: 0 !important;
}


/*
WP Armour (Honeypot)
---------------------------------------------------------------------------------------------------- */

/* The trap field, out of the tab order and unread by screen readers; the
   plugin only shrinks it to 1px. */

#altEmail_container,
.altEmail_container {
  visibility: hidden;
}


/*
Fluent Forms
---------------------------------------------------------------------------------------------------- */

/* Forms on the Light Pages */

/* Forms in the page's content, such as Kontakt's (2026-10-22; before, a
   black button and Fluent Forms' fields): labels in the small green capitals
   of the site's other labels, white fields with the search field's line, a
   select with a green chevron, the notice as small grey print, and the
   button as the title page's extras buttons. Fluent Forms' default styles
   are off (core/includes/plugin.php); its base styles set the layout. The
   newsletter modal lies outside '.site-inner' and styles its form itself. */

.site-inner .fluentform .ff-el-group {
  margin: 0 0 1.25rem;
}

.site-inner .fluentform .ff-t-container {
  gap: 1.25rem;
}

.site-inner .fluentform .ff-t-cell {
  padding: 0;
}

.site-inner .fluentform .ff-el-input--label label {
  color: var(--brand1-color-def);
  font-family: var(--caps-font-family);
  font-size: 0.75rem;
  font-weight: 600;
  -webkit-hyphens: none;
  hyphens: none;
  letter-spacing: 0.1em;
  margin: 0 0 0.4rem;
  text-transform: uppercase;
}

.site-inner .fluentform .ff-el-form-control {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 0;
  box-shadow: none;
  font: var(--basic-font-def);
  height: 2.8125rem;
  padding: 0 0.75rem;
  width: 100%;
}

.site-inner .fluentform textarea.ff-el-form-control {
  display: block;
  height: auto;
  min-height: 11rem;
  padding: 0.6rem 0.75rem;
  resize: vertical;
}

/* A text field with the class 'bub-short' in its container, such as the
   postal address and the optional message of Presse's review copy form,
   at about three lines. */

.site-inner .fluentform .bub-short textarea.ff-el-form-control {
  min-height: 6rem;
}

.site-inner .fluentform select.ff-el-form-control {
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23223e38' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 0.85rem center;
  padding-right: 2.25rem;
}

.site-inner .fluentform .ff-el-tooltip svg {
  fill: #222;
}

/* A searchable select (Choices.js, such as the event form's "Buch"): only
   the list scrolls. Fluent Forms gives its dropdown box a height of 300px
   and scrolling as an inline style, and the list inside the same height, so
   with the search field above the list the box scrolled too (two scroll
   bars; 2026-10-22). */

.site-inner .fluentform .choices__list--dropdown {
  max-height: none !important;
  overflow: visible !important;
}

/* The privacy notice (an HTML field with the class 'bub-privacy-note') beside
   the send button, since it says what happens on sending; on phones below
   it (user, 2026-10-22; before, under the message field, where it read as
   that field's hint). Fluent Forms prints the notice before the button, so
   the form's fieldset becomes a wrapping row and swaps their order; every
   other field keeps the full width. The button's clearfix pseudo-elements
   would take a gap of their own in the row. */

.site-inner .fluentform fieldset:has(> .bub-privacy-note) {
  align-items: center;
  column-gap: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  row-gap: 0.6rem;
}

.site-inner .fluentform fieldset:has(> .bub-privacy-note) > * {
  flex: 0 0 100%;
}

.site-inner .fluentform fieldset:has(> .bub-privacy-note) > .ff_submit_btn_wrapper {
  flex: 0 0 auto;
  margin: 0;
  order: 2;
}

.site-inner .fluentform fieldset:has(> .bub-privacy-note) > .ff_submit_btn_wrapper::before,
.site-inner .fluentform fieldset:has(> .bub-privacy-note) > .ff_submit_btn_wrapper::after {
  display: none;
}

.site-inner .fluentform fieldset > .bub-privacy-note {
  flex: 1 1 16rem;
  margin: 0;
  max-width: 24rem;
  order: 3;
}

.site-inner .fluentform .bub-privacy-note {
  color: var(--body-color-acc);
  font-size: 0.8125rem;
  -webkit-hyphens: none;
  hyphens: none;
  line-height: 1.5;
}

.site-inner .fluentform .bub-privacy-note p {
  margin: 0;
}

.site-inner .fluentform .bub-privacy-note a {
  color: inherit;
}

.site-inner .fluentform .bub-privacy-note a:hover {
  color: var(--body-color-def);
}

/* The button outweighs the color Fluent Forms prints into the form. */

.site-inner .fluentform .ff-btn-submit:not(.ff_btn_no_style) {
  background-color: var(--theme1-background-lt1);
  border: 0;
  border-radius: 0;
  color: var(--theme1-color-lt1);
  font-family: var(--caps-font-family);
  font-size: 0.85rem;
  line-height: 2.7em;
  padding: 0.03em 1.5em 0;
  text-transform: uppercase;
  transition: background-color 0.2s;
}

.site-inner .fluentform .ff-btn-submit:not(.ff_btn_no_style):hover {
  background-color: var(--brand1-color-lt1);
}

/* The message after sending, in place of the form: the light box of the
   pages (editing-block.css) instead of a green box. */

.site-inner .ff-message-success {
  background: var(--body-background-sh1);
  border: 0;
  box-shadow: none;
  color: var(--body-color-def);
  padding: 1.5rem 1.6rem 1.4rem;
}

.ff-message-success p:last-child {
  font-size: 0.9rem;
  margin-bottom: 0;
}

@media screen and (max-width: 600px) {

  .site-inner .fluentform .ff-t-container {
    flex-direction: column;
    gap: 0;
  }
}

/* Landing Pages */

/* Fluent Forms' own page, such as the one after confirming a double opt-in:
   neutral greys and white without project colors, so it fits every project
   unchanged (user, 2026-10-22; before, the dark blue of devbuch's old
   design). */

body.ff_landing_page_body {
  background-color: #f5f5f5 !important;
  border-top-color: #f5f5f5 !important;
  color: #222;
  padding: 0 10px !important;
}

.ff_landing_form {
  background: #fff !important;
  border-radius: 0 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12) !important;
  color: #222 !important;
  min-width: 270px;
}

.ff_landing_form .newsletter-success-links {
  flex-flow: row wrap;
  margin: 20px -3px 10px;
}

.ff_landing_form .newsletter-success-links a {
  background: #222;
  color: #fff;
  display: inline-block;
  font-size: 0.95rem;
  margin: 3px;
  padding: 12px 18px;
  transition: all 200ms;
}

.ff_landing_form .newsletter-success-links a:hover {
  background: #444;
  color: #fff;
}


/*
Ninja Tables
---------------------------------------------------------------------------------------------------- */

/* HTML Field (paragraphs added via JS) */

.ninja_table_wrapper .bub-has-paragraphs p:not(:last-child) {
  margin-bottom: 5px;
}


/*
Relevanssi Live Ajax Search
---------------------------------------------------------------------------------------------------- */

.relevanssi-live-search-results {
  border-radius: 0 !important;
  z-index: 9999998 !important;
}

.relevanssi-live-search-result p {
  font-size: 1em !important;
  padding: 0 !important;
}

.relevanssi-live-search-result a {
  padding: 0.8em 1em !important;
}

.relevanssi-live-search-result-status p {
  font-style: italic !important;
  padding: 0.8em 1em !important;
}

.relevanssi-live-search-results .rlv-has-spinner {
  border-color: #777;
  border-right-color: transparent;
}

.relevanssi-live-search-results .rlv-has-spinner::after {
  background-color: #777;
}

