.page-node-type-leistungsdetailseite {
  h2, h3, h4, h5, h6 {
    color: #30737F;
  }
  .finder-wrapper,
  .application-box {
    h3,
    h4.fp-multiline-heading{
      color: #891249;
    }
  }
  .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
    font-family: 'BentonSans', sans-serif;
  }
  .speech_switch_wrapper {
    .btn-simpleswitch {
      border: 2px solid #E6CFBC;
    }
  }
  .paragraph--type--tabgroup {
    .ui-tabs {
      padding: 0;
      border: none;
      background: none;
      .ui-tabs-nav {
        background: none;
        padding: 0;
        border: none;
        margin-bottom: 24px;
        @media all and (max-width: 639px) {
        }
        li {
          white-space: unset!important;
          border-radius: unset;
          color: #005662;
          margin: 0;
          background: none;
          border: none;
          border-bottom: 2px solid;
          border-color: #30737f;
          background-color: #fcf7f3;
          flex-basis: calc(100% / 5.5);
          @media all and (max-width: 799px) {
            flex-basis: calc(100% / 3.2);
            display: inline-flex;
            flex-direction: column;
            justify-content: center;
          }
          a {
            width: 100%;
            text-align: center;
            padding: 8px 4px;
          }
          .tab-icon {
            width: 32px;
            height: 32px;
            margin: 0 auto;
            display: inline-flex;
            flex-direction: column;
            justify-content: center;
            text-align: center;
            svg {
              path {
                stroke:none;
                fill: #BEBCBB;
              }
            }
          }
          .tab-name {
            color: #727170;
            font-weight: 400;
          }
          &.ui-tabs-active {
            background-color: #faf0e8;
            border-bottom-width: 4px;
            border-color: #891249;
            color: #891249;
            .tab-icon {
              svg {
                path {
                  fill: #891249;
                }
              }
            }
            .tab-name {
              font-weight: 700;
              color: #891249;
            }
          }
        }
      }
      .ui-tabs-panel {
        padding: 0;
        h2, h3, h4 {
          color: #891249;
        }
        .vsm-content {
          border: none;
        }
        .paragraph--type--suche-beratungsstellen {
          .finder-wrapper {
            padding: 0;
          }
          .view-empty {
            margin-top: 0;
          }
          input {
            display: block !important;
          }
        }
        .application_form,
        .competent_authority {
          .form-wrapper {
            position: relative;
          }
          .form-item {
            position: relative;
          }
          .form-actions {
            position: absolute;
            right: 0;
            top: 0;
            height: 100%;
            aspect-ratio: 1/1;
            overflow: hidden;
            z-index: 2;
            &::before {
              position: absolute;
              top: 2px;
              right: 2px;
              bottom: 2px;
              left: 2px;
              content: ' ';
              background-image: url('../../images/icons/search.svg');
              background-repeat: no-repeat;
              background-size: 80%;
              background-position: center center;
              display: block;
              background-color: #faf0e8;
            }
            input {
              position: relative;
              font-size: 0;
              width: 100%;
              aspect-ratio: 1/1;
              overflow: hidden;
              border: none;
              z-index: 2;
            }
            .auto-results-wrapper {
              li {
                color: #005662;
                padding: 4px 12px;
              }
            }
          }
          p.mb-0 {
            margin-top: 1rem;
          }
          a.block {
            font-weight: 700;
            color: #891249;
          }
        }
        .paragraph--type--text {
          & .bp-headline {
            text-transform: unset;
            &.fp-paragraph-headline {
              padding: 0;
              margin-bottom: 1rem;
              margin-top: 1rem;
            }
          }
        }
        .paragraph {
          .text-formatted {
            h1,
            h2,
            h3,
            h4,
            h5,
            h6 {
              text-transform: none;
            }
          }
        }
      }
      .ui-helper-clearfix::before,
      .ui-helper-clearfix::after {
        display: none;
      }
      .field--name-field-tab-paragraphs {
        .field__item {
          margin-bottom: 15px;
          &:last-of-type {
            margin-bottom: 0;
          }
        }
      }
      .finder-wrapper {
        background-color: #fff;
        box-shadow: none;
        max-width: 100%;
        width: 100%;
        margin: 0;
        padding: 0;
        .search-block {
          border-radius: 0;
        }
        .fp-multiline-heading {
          margin-bottom: 16px;
          font-size: 20px;
        }
        .tax_name {
          h4 { color: black;}
        }
        .form-radios {
          .form-item {
            background-color: #FCF7F3;
            border-color: #30737F;
          }
        }
        .actions {
          input {
            &[disabled="disabled"] {
              color: #30737F;
              border-color: #30737F;
              opacity: 0.5;
              &:hover {
                cursor: default;
              }
            }
          }
        }
        #option-message {
          display: none;
        }
      }
    }
    .paragraph--type--tab {
      margin: 0;
    }
    .paragraph--type--tips {
      & ol {
        padding-left: 0;
      }
    }
    .paragraph--type--suche-but {
      &.paragraph--view-mode--leistungsdetail {
        .finder-wrapper {
          box-shadow: none;
          padding: 0;
          background-color: transparent;
          }
        }
      }
      &.paragraph--view-mode--tabmode {
        .finder-wrapper {
          box-shadow: none;
          padding: 0;
          background-color: transparent;
          .fp-multiline-heading {
            margin-bottom: 16px;
          }
          .tax_name {
            h4 { color: black;}
          }
          .actions {
            input {
              &[disabled="disabled"] {
                color: #30737F;
                border-color: #30737F;
                &:hover {
                  cursor: default;
                }
              }
            }
          }
        }
      }
    .paragraph--type--hinweis {
      max-width: 100%;
      border-color: rgba(149, 177, 177, 0.60);
    }
  }
  .section-divider {
    margin: 48px 0;
    &.border-dotted {
      height: 20px;
      border-bottom: 5px dotted #03A8B4;
      margin-bottom: 68px;
      opacity: 0.9;
    }
    &.border-bottom {
      height: 115px;

      .yellow {
        background-color: #F29404;
        height: 8px;
        border-radius: 4px;
        bottom: 8px;
      }
      .green {
        background-color: #30737f;
        height: 8px;
        border-radius: 4px;
      }
     }
    .styleelement {
    }
  }
  .paragraph {
    font-family: 'BentonSans', sans-serif;
    h3 {
      &.fp-paragraph-headline {
        font-size: 20px !important;
        line-height: normal;
        text-transform: none;
        padding-top: 3px; /* Anpassung wg. type text */
        .bp-headline__first {
          font-size: 20px !important;
          line-height: normal;
        }
      }
    }
    &.leistungs-but-finder {
      h3 {
        color: #891249!important;
        &.fp-paragraph-headline {
          padding-top: 16px;
          padding-bottom: 0;
        }
      }
      .finder-wrapper {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        background-color: #fff;
        box-shadow: none;
        max-width: 100%;
        width: 100%;
        .bs-search-action {
          margin-top: 18px;
        }
        .search-block {
          border-radius: 0;
        }
        .fp-multiline-heading {
          margin-bottom: 16px;
          font-size: 20px;
        }
        .tax_name {
          h4 { color: black;}
        }
        .form-radios {
          .form-item {
            background-color: #fcf7f3;
            border-color: #30737f;
          }
        }
        .actions {
          input {
            &[disabled="disabled"] {
              color: #30737f;
              border-color: #30737f;
              opacity: 0.5;
              &:hover {
                cursor: default;
              }
            }
          }
        }
      }
      &.paragraph--view-mode--leistungsdetail {
        .finder-wrapper {
          padding-bottom: 1rem !important;
        }
      }
    }
  }
  &.paragraph--type--zustaendigkeitsfinder-komponente {
    h3 {
      color: #891249!important;
    }
    #option-message-komponente {
      display: none;
    }
  }
  .service-section-help {
    .paragraph--type--suche-but {
      .finder-wrapper {
        box-shadow: unset;;
        background-color: #fff;
        padding: 28px 0;
      }
    }
  }
  .paragraph--type--links {
    .field--name-field-teaser {
      p {
        &:last-of-type {
          margin: 0;
        }
      }
    }
  }
  .paragraph--type--text {
    & .field--name-field-text {
      ul {
        margin: .25em 0 1em 1em;
        list-style-type: disc;
        li {
          margin: 0;
          &::before {
            /*font-size: 14px;
            top: -2px;
            position: relative;*/
            display: none;
          }
        }
      }
    }
    p {
      &:last-of-type {
        margin-bottom: 0;
      }
    }
  }
  .bp-accordion {
    .bp-accordion__section {
      margin-bottom: 16px;
      &:last-of-type {
        margin-bottom: 0;
      }
    }
    & .bp-accordion__section-title {
      border: 1px solid #F1E3D7!important;

    }
  }
  .fp-sidebar {
    .bp-headline__first,
    .bp-headline__second {
      color: #30737F!important;
    }

  }
  .finder-wrapper {
    .search-block {;
      background-color: #30737f !important;
    }
  }
}


.infodienste-locationsearch-info {
  h2, h3, h4 {
    color: #005662 !important;
    font-weight: 700;
    text-transform: none !important;
  }
}
.infodienste-locationsearch {
  .search-block {
    background-color: #30737F!important;
  }
}
