@import url('pim/products/style.css?v=3');
@import url('crm/institutions/style.css');

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: local('Material Icons'),
  local('MaterialIcons-Regular'),
  url(/lib/MaterialSymbolsRounded[FILL,GRAD,opsz,wght].ttf) format('truetype');
}


.google_icon {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px; /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  margin-top: 4px;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';

  font-variation-settings: 'FILL' 1
}

/* CSS für die Drehung */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.rotating-icon {
  animation: spin 2s linear infinite;
  transform-origin: center;
}

.bold {
  font-weight: 500;
}

.hand {
  cursor: pointer;
}


html {
  transition: background-color 1s;
}

html, body {
  height: 100%;
  width: 100%;
  background-color: #3892D3;
  padding: 0;
  margin: 0;
}

html.loading {
  background: #333333 url(/resources/images/start.gif) no-repeat 50% 50%;
  cursor: progress;
  transition: background-color 0;
}

body {
  transition: opacity 1s ease-in;
  overflow: hidden;
}

html.loading body {
  opacity: 0;
  transition: opacity 0;
  visibility: hidden;
}

.webix_button, .webixbutton {
  font-size: 18px;
}

.webix_icon_btn {
  margin-right: 9px;
  margin-left: 6px;

  width: 24px;
  height: 24px;
}

.timedOut {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(4px) !important;
}

.timedOutBody {
  width: 100% !important;
  background-color: transparent !important;
}

.timedOutButton button {
  background: #2ba12b !important;
  color: #fff !important;
}

.login-box {
  max-width: 400px;
  margin: auto;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background: #fff;
}


.webix_toolbar.webix_dark {
  background: rgb(56, 59, 61);
  background: linear-gradient(90deg, rgba(56, 59, 61, 1) 5%, rgba(101, 117, 132, 1) 97%);
}

.webix_sidebar.webix_dark {
  background: rgb(56, 59, 61);
  background: linear-gradient(0deg, rgba(56, 59, 61, 1) 0%, rgba(83, 93, 102, 1) 97%);
}

.webix_disabled {
  cursor: auto !important; /* Beibehaltung des Standard-Cursors */
}


.webix_drag_handle {
  width: 20px;
  height: 20px;
  cursor: grab;
}

.webix_drag_handle:before {
  content: "\e25d";
  font-family: "Material Icons";
}

.rows .webix_cell:nth-child(2n) {
  background-color: #ececec;
}

.webix_row_hover {
  background-color: #f4f4f4;
}

.rows .webix_row_hover:nth-child(2n) {
  background: #f4f4f4;
}

.rows .webix_row_select {
  background-color: #c7e4e9 !important;
}

.rows .webix_row_select:nth-child(2n) {
  background: #b1d9e4 !important;
}

.border .webix_hcell, .webix_cell {
  border-right: 1px solid #d4d4d4;
!important;
}

.border.webix_dtable .webix_ss_body .webix_column > div, .border.webix_dtable .webix_ss_body .webix_table_cell {
  border-right-color: #d4d4d4;
}

.roster .task {
  padding: 5px;
}

.webix_toolbar .webix_el_label {
  padding-left: 5px;
}

.datatable_cell_middle .webix_cell {
  display: flex !important;
  align-items: center;
}

.loader-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%; /* Die Höhe des Containers auf 100% setzen, damit der Loader mittig ausgerichtet wird */
}

.loader {
  display: inline-block;
  width: 80px;
  height: 80px;
}

.loader:after {
  content: " ";
  display: block;
  width: 64px;
  height: 64px;
  margin: 8px;
  border-radius: 50%;
  border: 6px solid #b1d9e4;
  border-color: #b1d9e4 transparent #b1d9e4 transparent;
  animation: dual-spin 1.2s linear infinite;
}

@keyframes dual-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.image-container img {
  width: 100%; /* Bilder werden auf 100% der Breite ihres Containers skaliert */
  height: auto; /* Beibehaltung des Seitenverhältnisses */
  cursor: zoom-in; /* Cursor als Lupe darstellen */
}

#image-popup {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8); /* Dunkler Hintergrund */
}

#image-popup img {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

.close-popup {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.no-padding .webix_template {
  padding: 0;
}

.button_text_orange span {
  color: orange !important;
}

.inputGray input {
  background-color: #f2f2f2;
  color: #b1aeae;
}

.marginTop-1 {
  margin-top: 1px !important;
}

.noBorder {
  border: none !important;
}


.action-buttons {
  opacity: 0;
  transform: translateY(-10px); /* Startpunkt der Animation */
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none; /* Verhindert Interaktionen, wenn unsichtbar */
}

.action-buttons button {
  cursor: pointer;
}

.action-buttons.show {
  opacity: 1;
  transform: translateY(0); /* Zielpunkt der Animation */
  pointer-events: auto; /* Aktiviert Interaktionen */
}


.highlighted {
  background-color: #ebf4f5; /* Helle Hervorhebungsfarbe */
}

.webix_cell .action-icon {
  visibility: hidden;
}

.webix_row_hover .action-icon {
  visibility: visible;
}

/* Für WebKit-Browser */
.scrollDark::-webkit-scrollbar {
  width: 12px;
}

.scrollDark::-webkit-scrollbar-track {
  background: #2e2e2e;
}

.scrollDark::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 6px;
}

.scrollDark::-webkit-scrollbar-thumb:hover {
  background: #777;
}

/* Für Firefox */
.scrollDark {
  scrollbar-width: thin;
  scrollbar-color: #555 #2e2e2e;
}

@font-face {
  font-family: 'LicensePlate';
  src: url('/lib/fe-schrift.woff2') format('woff2'),
  url('/lib/fe-schrift.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

.license-plate {
  font-family: 'LicensePlate', sans-serif;
  background-color: #f7f1f1;
  border: 2px solid #000;
  padding: 3px;
  width: fit-content;
  border-radius: 5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 22px;
}

.datatableFilterHidden input {
  display: none;
}

.sidemenu.positionRelative .webix_tree_item {
  position: relative;
}

.link {
  color: #000;
}

.link:hover {
  color: #4f4f4f;
}

.link:active {
  color: #1CA1C1;
}

.no-margin {
  margin: 0 !important;
}

.editable {
  display: inline-block;
  padding: 1px 10px 0 10px;
  margin: 3px 3px;
  height: 29px;
  border: 1px solid transparent;
}

body.ctrl-held .editable:hover {
  background: #f1f1f1;
  border-radius: 2px;
  border: 1px solid #cdcdcd;
  cursor: pointer;
}

body.ctrl-held .editable:hover::after {
  content: " ✎";
  font-size: 19px;
  color: #1ca1c1;
  vertical-align: middle;
  top: -2px;
  position: relative;
  left: 2px;
}

.inline-edit input {
  font-size: 16px;
}

.webix_view.logo div {
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
}

p.customerAdress {
  font-size: 20px;
}

p.customerName {
  font-size: 35px;
  margin: 0px;
  font-weight: 500;
}


/*Customer Design*/
.dashBox {
  width: 250px;
  border-radius: 15px;
  color: white;
  padding: 15px;
}

.dashBoxInvoice {
  background-color: #ff00006e;
}

.dashBoxInvoice.statusOk {
  background-color: rgba(0, 128, 0, 0.55);
}

.dashBoxOvens {
  background-color: #808080c2;
}

.dashBox .circle {
  width: 50px;
  height: 50px;
  border-radius: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashBoxInvoice.statusOk .circle {
  background-color: green;
}

.dashBoxInvoice .circle {
  background-color: red;
}

.dashBoxOvens .circle {
  background-color: gray;
}

.dashBox .text {
  font-size: 20px;
  font-weight: 500;
  margin: 0px;
  padding-left: 15px;
}

.dashBox .flex {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.dashBox .flex2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashB .webix_template {
  display: flex;
  justify-content: center;
  align-items: center;
}

.companyMenu .webix_tree_branch_1:hover {
  border-left: 5px solid #1CA1C1;
  background-color: #2e3237;
  cursor: pointer;
}

.companyMenu .webix_tree_item.webix_selected, .webix_tree .webix_tree_item.webix_selected:focus {
  border-left: 5px solid #1CA1C1;
  background-color: #2e3237;
}

.companyMenu .webix_tree_branch_1 {
  height: 50px;
  background-color: #464d53;
  width: 225px;
  color: white;
  /* border: 2px red solid; */
  display: flex;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
}

.companyMenu span {
  width: 100%;
  color: white !important;
}

.companyMenu .webix_tree_item {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  /* background-color: #475466; */
  color: white;
}

.companyMenu .webix_tree_file {
  display: flex;
  align-items: center;
}

.dashBoxInvoice:hover {
  cursor: pointer;
}

.defaultTree .webix_tree_item {
  height: 31px;
  padding-right: 12px;
}

.defaultTree .webix_tree_item.webix_selected {
  background: aliceblue;
  padding-right: 12px;
}

.defaultTree .webix_tree_item.webix_selected:focus {
  background: aliceblue;
  padding-right: 12px;
  border: none;
}

/* Style for readonly fields to make them look like labels */
.readonly-field input, .readonly-field select, .readonly-field textarea {
  border: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  cursor: default !important;
  color: #333 !important;
  font-weight: normal !important;
}

.readonly-field .webix_inp_static {
  border: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  cursor: default !important;
  color: #333 !important;
  font-weight: normal !important;
}

.readonly-field input {
  margin-top: 0px !important;
  padding-left: 15px !important;
}

.readonly-field select {
  margin-top: 0px !important;
  padding-left: 15px !important;
}

.readonly-field textarea {
  margin-top: 0px !important;
  padding-left: 15px !important;
  padding-top: 10px !important;
}


/* Style for editable fields to make them look like form fields */
.editable-field input, .editable-field select, .editable-field textarea {
  border: 1px solid #ccd7e6 !important;
  background-color: #fff !important;
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.1) !important;
  padding: 0 10px !important;
  cursor: text !important;
  color: #333 !important;
  padding-left: 14px !important;
}

.editable-field textarea {
  padding-top: 9px !important;
}

.editable-field .webix_inp_static {
  border: 1px solid #ccd7e6 !important;
  background-color: #fff !important;
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.1) !important;
  padding: 0 10px !important;
  cursor: text !important;
  color: #333 !important;
}

.readonly-field {
  margin-top: 0px !important;
  padding-left: 15px;
}


.companyMenu .google_icon {
  width: 50px;
}

.button_green button {
  background: #067a00 !important;
}

.webix_sidebar.webix_sidebar_left .webix_tree_item.webix_sidebar_selected + .webix_tree_leaves .webix_tree_item, .webix_sidebar.webix_sidebar_left .webix_tree_item.webix_selected, .webix_sidebar.webix_sidebar_left .webix_tree_item.webix_sidebar_selected {
  box-shadow: inset 5px 0 #1CA1C1 !important;
}

.webix_list_item.webix_selected {
  box-shadow: inset 5px 0 #167289 !important;
}

.no-background {
  background: none !important;
}

.no-border {
  border: none !important;
}


.dashButton .webix_button {
  font-size: 18px;
  font-weight: 600;
  border-radius: 14px;
  background: #ffffffad;
  border: 1px solid #e5e5e5;
  transition: all 0.2s ease;
}

.dashButton .webix_button:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}







.toolbar-hint {
  display: flex;
  height: 100%;
  font-size: 14px;
  color: #ccc;
  padding-right: 10px;
  white-space: nowrap;
  text-align: right;
}

.toolbar-hint .webix_el_box {
  padding-right: 11px;
  color: #ccc;
}

.tab-menu-area {
  background-color: #f1eeee;
  border-left: 1px solid #c3c3c3 !important;
}

.tab-menu-area-top {
  border-top: 1px solid #e7e4e4 !important;
}

/* Wird automatisch auf jedes readonly Eingabefeld gesetzt */
/*.form-field-readonly {*/
/*  opacity: 0.75; !* Beispiel *!*/
/*  filter: grayscale(0.2);*/
/*}*/

/* Optional: wenn du auch den Input selbst gezielter stylen willst */
.form-field-readonly input,
.form-field-readonly select,
.form-field-readonly textarea {
  background: none;
  color: #000000;
  border: none;
  padding: 0;
}

.form-field-readonly .webix_input_icon {
  display: none !important;
}

.form-field-readonly input:focus,
.form-field-readonly select:focus,
.form-field-readonly textarea:focus {
  border: none;
}


/* Scrollview soll scrollen, aber innere Layouts dürfen Shadows nicht abschneiden */
.formScrollInnerShadowFix {
  overflow: visible !important;
}

.formScrollInnerShadowFix .webix_view {
  overflow: visible !important;
}

/* sehr wichtig: Webix Layout-Zeilen clippen häufig */
.formScrollInnerShadowFix .webix_layout_line {
  overflow: visible !important;
}

.formColsShadowFix {
  overflow: visible !important;
}

.formColsShadowFix .webix_layout_line {
  overflow: visible !important;
}

/* Webix Layout-Zellen clippen sehr oft Shadow */
.formColsShadowFix .webix_cell {
  overflow: visible !important;
}

/* Form-Wrapper clippen ebenfalls */
.formColsShadowFix .webix_el_box,
.formColsShadowFix .webix_el_wrap {
  overflow: visible !important;
}

.formColsShadowFix .webix_cell {
  overflow: visible !important;
}

.formColsShadowFix .webix_el_box,
.formColsShadowFix .webix_el_wrap {
  overflow: visible !important;
}

.gray_button button, .gray_button button span {
  background: #e7e7e7 !important;
  color: gray !important;
}

.formCardBox {
  background: #f5f5f5;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


/* sicherheitshalber auch die direkten Card-Container */
.formCardBox,
.formCardBox .webix_view {
  overflow: visible !important;
}


.formCardTitle {
  background: none;
}

.formCardTitle .webix_template {
  margin: 0;
  font-size: 14px;
  color: #666;
  padding: 0 !important;
  font-weight: bold;
}

.formShadowFix {
  overflow: visible !important;
}

.formShadowFix > .webix_template,
.formShadowFix .webix_view {
  overflow: visible !important;
}

.dashboardRouteContent,
.dashboardRouteContent .webix_template {
  background: transparent !important;
}

.dashboardStatCard,
.dashboardStatCard .webix_view,
.dashboardStatCard .webix_template {
  background: #f5f5f5 !important;
}

.form-card {
  background: none;
}

.formlabel-bold .webix_template{
  margin-top: 6px;
  font-weight: bold;
}

.background-dark-content{
  background: #6a6d6e !important
}

.loadingSpinnerButton{
  background: none !important;
}

.no-padding-template .webix_template {
  padding: 0 !important;
}