:root {
  --primary: #0216f8;
  --dark: #1f2937;
}

#PQWizardWarningModal {
  .btn.btn-warning {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
  }

  .btn.btn-secondary {
    color: white;
  }
}

#PQFormDatevBestellungSuccess,
#PQFormDatevRechtevergabeSuccess {
  display: none;
}

#PQFormDatevBestellungSuccess.show,
#PQFormDatevRechtevergabeSuccess.show {
  display: block;
}

.PQFormWrapper {
  .rights {
    .rightHeader {
      display: block;
    }

    h2 {
      font-size: 1rem !important;
      font-weight: bold !important;
      margin: 0 !important;
      padding: 0 !important;
    }

    strong {
    }

    .nutzer {
      span {
        font-size: 1.5rem !important;
        font-weight: bold !important;
        color: var(--primary) !important;
      }
    }
  }

  .pqbk-header {
    .pqbk-tabs {
      .pqbk-tab {
        @media screen and (min-width: 1200px) and (max-width: 1799px) {
        }
      }
    }
  }


  .collapsible.collapsed {
    height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .dropdown-menu {
    max-height: 200px;
    overflow-y: auto;

    &.show {
      max-width: 100%;
      width: 100%;
    }
  }

  .dropdown-item {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .fullWidth {
    width: 100%;
    display: block;
  }

  .autoSuggestResult {
    margin-top: 4px;
    font-size: 0.9rem;
    color: var(--dark);
    background-color: #f3f4f6;
    padding: 6px 10px;
    border-left: 4px solid var(--primary);
    border-radius: 4px;
  }

  .resultContainerList {
    > .resultContainerGrid {
      display: flex;
      flex-wrap: wrap;
    }

    .resultContainer {
      div[data-name="additionalInfos"] {
        display: none;
      }

      &.opened {
        div[data-name="additionalInfos"] {
          display: block;
        }
      }
    }
  }

  .pqwizardform {
    @media screen and (max-width: 1199px) {
      flex-wrap: wrap;
    }

    .pqbk-header {
      @media screen and (min-width: 992px) and (max-width: 1199px) {
        display: flex;
        width: 100% !important;
        min-height: 130px;

        .pqbk-tabs {
          position: sticky !important;
          flex-direction: row !important;
          height: 80px;

          .pqbk-tab {
            &::after {
              display: none;
            }
          }
        }
      }
    }

    .pqbk-wizard-step {
      @media screen and (max-width: 1199px) {
        width: 100% !important;
      }

      .container {
        padding: 0;

        .col-md-8,
        .col-md-4 {
          @media screen and (max-width: 1199px) {
            width: 100%;
          }
        }

        input {
          &:focus {
            outline-color: var(--primary);
          }
        }

        .rights-block {
          margin-bottom: 15px;
          border-top: 1px solid #ccc;
          padding-top: 15px;

          h2 {
            font-size: 1em;
          }

          .nutzer > span > span {
            font-size: 1.5em;
          }
        }

        .summary {
          ul {
            margin-left: 15px;

            li::before {
              content: none !important;
              display: none !important;
            }

            li.usergroup {
              margin-top: 20px;
              border-top: 1px solid #ccc;
              padding-top: 20px;

              > strong {
                padding-left: 30px;
              }
            }

            li {
              margin-left: 15px;
              line-height: 1.5rem;

              .label {
                font-size: 1rem;
              }
            }
          }
        }
      }
    }

    p,
    span,
    li {
      font-size: 1.15rem;
      letter-spacing: 0.02rem;
    }

    h2 {
      font-weight: 400;
      color: var(--primary);
      font-size: 1.95rem;
    }

    h3 {
      font-weight: 500;
      color: var(--primary);
    }
  }
}

.modal-body {
  form {
    .btn-group,
    .btn-group-vertical {
      .btn-check:checked + .btn::after {
        content: " ✓";
        position: absolute;
        top: 0.4em;
        right: 0.6em;
        font-size: 1rem;
        color: #fff;
      }

      .btn {
        padding-right: 1.8em;
      }

      .btn-group .btn {
        position: relative;
      }
    }
  }
}

.modal-content.border-warning {
  border-color: rgb(0, 66, 23) !important;
}

.modal-header.bg-warning.text-light {
  background-color: var(--primary) !important;

  h5 {
    color: #fff !important;
  }
}