@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

.dxbl-btn-command {
  padding: 5px 5px !important;
}

[data-bs-theme="light"]:is([data-theme="blazingdark"]) {
    --bs-emphasis-color: #eee;
}

/* DevExpress and Bootstrap Themes */
.alt-item > td:not(.dxbl-grid-empty-cell),
.alt-item > td:not(.dxbl-grid-indent-cell) {
  background-color: rgba(var(--bs-emphasis-color-rgb), 0.05) !important;
  color: var(--bs-emphasis-color);
}


[data-bs-theme="dark"]:is([data-theme="purple"], [data-theme="officewhite"], [data-theme="blazingberry"]) {

  .dxbl-grid {
    --dxbl-grid-bg: var(--bs-body-bg) !important;
    --dxbl-grid-color: var(--bs-body-color) !important;
    --dxbl-grid-hover-bg-static: var(--dxbl-grid-bg) !important;
    --dxbl-btn-hover-color: var(--bs-body-color) !important;
  }

  .dxbl-grid-fix {
    .dxbl-btn.dxbl-btn-text-secondary:hover {
      --dxbl-btn-hover-color: var(--dxbl-grid-color);
      --dxbl-btn-hover-bg: var(--bs-primary);
    }
  }


  .dxbl-btn:not(.dxbl-btn-secondary) {
    --dxbl-btn-color: var(--bs-body-color) !important;
  }

  .dxbl-splitter {
    --dxbl-splitter-bg: var(--bs-body-bg) !important;
    --dxbl-splitter-color: var(--bs-body-color) !important;
  }

  .dxbl-list-box {
    --dxbl-list-box-bg: var(--bs-body-bg) !important;
    --dxbl-list-box-color: var(--bs-body-color) !important;
  }

  .dxbl-toolbar {
    --dxbl-toolbar-color: var(--bs-body-color) !important;
    --dxbl-toolbar-btn-bg: var(--bs-body-bg) !important;
    --dxbl-toolbar-btn-color: var(--bs-body-color) !important;
  }

  .dxbl-modal {
    --dxbl-popup-bg: var(--bs-body-bg) !important;
    --dxbl-popup-color: var(--bs-body-color) !important;
  }

  .dxbl-fl {
    --dxbl-fl-group-color: var(--bs-body-color) !important;
    --dxbl-fl-group-bg: var(--bs-body-bg) !important;
    --dxbl-fl-tab-group-color: var(--bs-body-color) !important;
    --dxbl-fl-tab-group-bg: var(--bs-body-bg) !important;
    --dxbl-fl-caption-color: var(--bs-body-color) !important;
  }

  .dxbl-text-edit {
    --dxbl-text-edit-color: var(--bs-body-color) !important;
    --dxbl-text-edit-bg: var(--bs-body-bg) !important;
    --dxbl-text-edit-btn-bg: var(--bs-body-bg) !important;
    --dxbl-text-edit-btn-disabled-color: var(--bs-secondary-bg) !important;
    --dxbl-text-edit-readonly-color: var(--bs-secondary-bg) !important;
    background-color: var(--dxbl-text-edit-bg) !important;
    --dxbl-text-edit-disabled-bg: #4b4848;
    --dxbl-text-edit-disabled-color: white;
  }

    .dxbl-text-edit.dxbl-readonly {
      --dxbl-text-edit-readonly-root-bg: var(--dxbl-text-edit-readonly-bg, var(--bs-body-bg)) !important;
    }

  .dxbl-splitter {
    --dxbl-splitter-separator-bg: #3f3d45;
  }

  .dxbrv-wrapper {
    --dxbrv-group-bg-color: #46444a;
    --dxbrv-border-color: #615f63;
  }

  .table {
    --bs-table-hover-bg: color-mix(in srgb, var(--dxbl-client-component-palette-primary) 30%, transparent);
    --bs-table-hover-color: var(--bs-emphasis-color);
    --bs-table-hover-bg: rgba(var(--bs-emphasis-color-rgb), 0.075);
    --bs-table-striped-color: var(--bs-emphasis-color);
    --bs-table-striped-bg: rgba(var(--bs-emphasis-color-rgb), 0.05);
  }
}

  #blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
  }

    #blazor-error-ui .dismiss {
      cursor: pointer;
      position: absolute;
      right: 0.75rem;
      top: 0.5rem;
    }

  .title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
  }

    .title.title-secondary {
      padding-top: 0.313rem;
      padding-bottom: 0;
      color: var(--bs-secondary-color);
    }

  .title-header-text {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
    padding: 0.3125rem 0;
  }

  .title-content-text {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
    letter-spacing: 0rem;
  }

  .main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
  }

  .block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
  }


  .or {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

    .or .or-line {
      border-bottom: 1px solid var(--bs-body-color);
      width: 100%;
      opacity: 0.2;
    }

    .or .or-text {
      padding: 0 0.625rem 0px 0.625rem;
      font-size: 0.75rem;
      line-height: 1.125rem;
      color: var(--bs-body-color);
      opacity: 0.7;
    }

  .links-area {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding-top: 0.625rem;
  }

  .links-container {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    align-items: center;
  }

    .links-container .dot {
      height: 0.3125rem;
      width: 0.3125rem;
      margin: 0 0.1875rem;
      border-radius: 50%;
      background-color: var(--bs-body-color);
      opacity: 0.7;
    }

  .manage-layout {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
  }

  .info-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.15;
    background: var(--bs-primary);
    z-index: -1;
  }

  .info-message {
    padding: 0.625rem 1rem 0.625rem 1rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }

    .info-message.info-panel {
      margin-bottom: 0.625rem;
    }

  .manage-content {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
  }

  .large-input {
    height: 4.3125rem;
    font-size: 1.875rem;
  }

  .title-content-text-secondary {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  .button-group {
    display: flex;
    flex-direction: row;
    gap: 0.625rem;
  }

  .confirm-button {
    margin-top: 0.3125rem;
  }

  .display-desktop {
    display: block;
  }

  .display-mobile {
    display: none;
  }

  .icon-external-provider {
    width: 1rem;
    height: 1rem;
  }

  .icon-google {
    background-image: url("/images/account/providers/google-logo.svg")
  }

  .icon-facebook {
    background-image: url("/images/account/providers/facebook-logo.svg")
  }

  .icon-microsoft {
    background-image: url("/images/account/providers/microsoft-logo.svg")
  }

  .icon-twitter {
    background-image: url("/images/account/providers/x-logo.svg")
  }

  @media (max-width: 768px) {
    .display-desktop {
      display: none;
    }

    .display-mobile {
      display: block;
    }
  }

  .dxbl-grid-auftrag {
    height: 300px;
  }

  .highlighted-item > td {
    background-color: var(--bs-danger-border-subtle);
    font-weight: bold;
    font-style: italic;
  }


  @media (min-width: 1024px) {
    .form-editor {
      max-width: 900px !important;
    }

    .form-editor-sm {
      max-width: 450px !important;
    }
  }

  .wrap-btn-group .dx-buttongroup-items-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .wrap-btn-group .dx-buttongroup-item {
    flex: 0 0 auto;
    min-width: 180px;
  }

    .wrap-btn-group .dx-buttongroup-item.dx-buttongroup-selected {
      /* Deckt Bootstrap "primary" Theme ab */
      background-color: var(--bs-primary);
      color: var(--bs-light);
    }
  /* CSS by Github. Source: https://getcssscan.com/css-buttons-examples */
  /* region */
  button.html5-qrcode-element,
  select.html5-qrcode-element,
  button.scanapp-button {
    appearance: none;
    background-color: #FAFBFC;
    border: 1px solid rgba(27, 31, 35, 0.15);
    border-radius: 6px;
    box-shadow: rgba(27, 31, 35, 0.04) 0 1px 0, rgba(255, 255, 255, 0.25) 0 1px 0 inset;
    box-sizing: border-box;
    color: #24292E;
    cursor: pointer;
    display: inline-block;
    font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    list-style: none;
    padding: 6px 16px;
    position: relative;
    transition: background-color 0.2s cubic-bezier(0.3, 0, 0.5, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
    white-space: nowrap;
    word-wrap: break-word;
    margin-bottom: 5px;
  }

    button.html5-qrcode-element:hover,
    select.html5-qrcode-element:hover,
    button.scanapp-button:hover {
      background-color: #F3F4F6;
      text-decoration: none;
      transition-duration: 0.1s;
    }

    button.html5-qrcode-element:disabled,
    select.html5-qrcode-element:disabled,
    button.scanapp-button:disabled {
      background-color: #FAFBFC;
      border-color: rgba(27, 31, 35, 0.15);
      color: #959DA5;
      cursor: default;
    }

    button.html5-qrcode-element:active,
    select.html5-qrcode-element:active,
    button.scanapp-button:hover {
      background-color: #EDEFF2;
      box-shadow: rgba(225, 228, 232, 0.2) 0 1px 0 inset;
      transition: none 0s;
    }

    button.html5-qrcode-element:focus,
    select.html5-qrcode-element:focus,
    button.scanapp-button:focus {
      outline: 1px transparent;
    }

    button.html5-qrcode-element:before,
    select.html5-qrcode-element:before,
    button.scanapp-button::before {
      display: none;
    }

    button.html5-qrcode-element:-webkit-details-marker,
    select.html5-qrcode-element:-webkit-details-marker,
    button.scanapp-button:-webkit-details-marker {
      display: none;
    }
    /* Torch button. */
    button#html5-qrcode-button-torch.html5-qrcode-button-torch-on,
    button.scanapp-button.enticing {
      background-color: #fff000;
      color: #000;
      cursor: pointer;
      font-weight: bold;
      transition: 200ms;
      user-select: none;
      -webkit-user-select: none;
      touch-action: manipulation;
    }

      button#html5-qrcode-button-torch.html5-qrcode-button-torch-on:not(:disabled):hover,
      button#html5-qrcode-button-torch.html5-qrcode-button-torch-on:not(:disabled):focus,
      button.scanapp-button.enticing:not(:disabled):hover,
      button.scanapp-button.enticing:not(:disabled):focus {
        outline: 0;
        background: #f4e603;
      }

      button#html5-qrcode-button-torch.html5-qrcode-button-torch-on:disabled,
      button.scanapp-button.enticing:disabled {
        filter: saturate(0.2) opacity(0.5);
        -webkit-filter: saturate(0.2) opacity(0.5);
        cursor: not-allowed;
      }


  .my-centered-pdf .dxbrv-toolbar-container {
    display: flex;
    justify-content: center;
  }

  .my-centered-pdf .dxbl-virtual-toolbar {
    justify-content: center !important;
  }

  .my-centered-pdf .dxbl-toolbar-placeholder {
    display: none !important;
  }


  .messwerte {
    .btn-outline-primary {
      --bs-btn-color: var(--bs-emphasis-color-rg);
    }

    .btn {
      overflow: clip;
    }

    .messwert {
      width: 150px;
      height: auto;
    }
  }
