/* ============================================================
         GLOBAL STYLES - Textarea, Telerik, Scollbar usw.
   ============================================================ */

/*Div*/
.main {
  overflow: hidden !important;
}

.scroll-div {
  height: 100%;
  overflow: auto;
}
.details-div {
  max-height: calc(100% - 70px);
}
/* Master- and Details- Page Container*/

.wrapper-container {
  height: 100vh;
  padding-right: 0.5rem;
}

.master-page {
  height: 100%;
  overflow: auto;
}

.masterpage-content {
  height: 100%;
  min-width: 255px;
}

/*-------------------------------------------------------------------------------------*/
/*Telerik-grid + icons + search input + filter Menu + popup + dropdowns + input + scheduler */
.k-grid {
  border-color: transparent;
  border-radius: 8px;
}

  .k-grid tr.k-alt {
    background-color: var(--softtec-light-blue2);
  }

.modal-body .k-grid {
  border-color: var(--softtec-light-blue-shadow);
}

.k-grid-toolbar {
  border-radius: 8px 8px 0 0;
}

.k-pager-wrap {
  border-radius: 0 0 8px 8px;
  margin-top: .5rem;
  color: var(--softtec-medium-blue1);
  background-color: var(--softtec-light-blue2);
}

.k-pager-wrap, .k-grid-toolbar {
  background-color: var(--softtec-light-blue2);
  border-color: transparent;
  color: var(--softtec-medium-blue1);
}

  .k-grid-toolbar:not(.k-pager-wrap) {
    background-color: var(--softtec-white);
  }

.k-chart-overlay {
  z-index: 9998;
}

/*-------------------------------------------------------------------------------------*/

/*#region SCROLL-BAR STYLE */
/* width */
::-webkit-scrollbar {
  width: 1.7rem;
  height: 1.7rem;
}

select::-webkit-scrollbar,
.k-card ::-webkit-scrollbar, .no-border-scrollbar::-webkit-scrollbar, .widget-container ::-webkit-scrollbar, .price-calendar::-webkit-scrollbar,
.modal-content ::-webkit-scrollbar, .k-editor ::-webkit-scrollbar, .k-textarea ::-webkit-scrollbar {
  width: 0.7rem;
  height: 0.7rem;
}

.st-textarea ::-webkit-scrollbar {
  width: 1.7rem;
  height: 1.7rem;
}

.history-modal .st-page-content .st-grid::-webkit-scrollbar,
.st-grid ::-webkit-scrollbar,  .invoice-table-container ::-webkit-scrollbar {
  width: 2.7rem;
  height: 2.7rem;
}

.res-invoice-modal ::-webkit-scrollbar {
  width: 2.7rem !important;
  height: 2.7rem !important;
}

.invoice-payment-card ::-webkit-scrollbar {
  width: 2rem;
  height: 2rem;
}

.st-dropdown-container ::-webkit-scrollbar {
  width: .7rem;
  height: .7rem;
}

.hide-scrollbar::-webkit-scrollbar:horizontal {
  scrollbar-width: none;
  height: 0;
}

/* Track */
::-webkit-scrollbar-track {
  background: transparent;
}

.k-card ::-webkit-scrollbar-thumb, .modal-content ::-webkit-scrollbar-thumb, .grid-container ::-webkit-scrollbar-thumb,
.k-editor ::-webkit-scrollbar-thumb, .k-textarea ::-webkit-scrollbar-thumb, .widget-container ::-webkit-scrollbar-thumb {
  border: 0 !important;
}

.history-modal .st-page-content .st-grid::-webkit-scrollbar-track,
.st-grid ::-webkit-scrollbar-track,.invoice-table-container ::-webkit-scrollbar-track {
  background: var(--softtec-light-blue2);
}

.res-invoice-modal ::-webkit-scrollbar-track {
  background: var(--softtec-light-blue2) !important;
}

/* Handle */

::-webkit-scrollbar-thumb {
  background: var(--softtec-medium-blue2);
  border-radius: 8px;
}

  ::-webkit-scrollbar-thumb:vertical, .st-textarea ::-webkit-scrollbar-thumb:vertical {
    border-right: 5px var(--softtec-white) solid;
    border-left: 5px var(--softtec-white) solid;
    min-height: 3rem;
  }

  ::-webkit-scrollbar-thumb:horizontal, .st-textarea ::-webkit-scrollbar-thumb:horizontal {
    border: 0;
    border-top: 5px var(--softtec-white) solid;
    border-bottom: 5px var(--softtec-white) solid;
  }

.res-info-popup .scrollbar-lightblue-border .st-textarea ::-webkit-scrollbar-thumb:vertical {
  border-right: 5px var(--softtec-light-blue2) solid !important;
  border-left: 5px var(--softtec-light-blue2) solid !important;
}

.res-info-popup .scrollbar-lightblue-border .st-textarea ::-webkit-scrollbar-thumb:horizontal {
  border: 0;
  border-top: 5px var(--softtec-light-blue2) solid !important;
  border-bottom: 5px var(--softtec-light-blue2) solid !important;
}

.card ::-webkit-scrollbar-thumb, .k-card ::-webkit-scrollbar-thumb, .st-daterange-wrapper ::-webkit-scrollbar-thumb {
  border-color: var(--softtec-light-blue2);
}

select::-webkit-scrollbar-thumb {
  border-color: var(--softtec-white);
}

.history-modal .st-page-content .st-grid::-webkit-scrollbar-thumb:vertical,
.st-grid ::-webkit-scrollbar-thumb:vertical, .res-invoice-modal ::-webkit-scrollbar-thumb:vertical,  .invoice-table-container ::-webkit-scrollbar-thumb:vertical {
  border: 1rem var(--softtec-light-blue2) solid !important;
  border-radius: 25px;
  border-top-width: 4px !important;
  border-bottom-width: 4px !important;
  background: var(--softtec-medium-blue2);
}

.history-modal .st-page-content .st-grid::-webkit-scrollbar-thumb:horizontal,
.st-grid ::-webkit-scrollbar-thumb:horizontal, .res-invoice-modal ::-webkit-scrollbar-thumb:horizontal, .invoice-table-container ::-webkit-scrollbar-thumb:horizontal {
  border: 1rem var(--softtec-light-blue2) solid !important;
  border-radius: 25px;
  border-left-width: 4px !important;
  border-right-width: 4px !important;
  background: var(--softtec-medium-blue2);
}

.tippy-box[data-theme~='category-info-popup'] .tippy-content ::-webkit-scrollbar-thumb,
.scrollbar-white ::-webkit-scrollbar-thumb {
  background-color: var(--softtec-white);
}

.card-white-small ::-webkit-scrollbar-thumb, .st-textarea ::-webkit-scrollbar-thumb {
  border-color: var(--softtec-white);
}

.card-medium-blue1 ::-webkit-scrollbar-thumb {
  border-color: var(--softtec-medium-blue1);
}

.scrollbar-lightblue-border ::-webkit-scrollbar-thumb {
  border-color: var(--softtec-light-blue2);
}

.k-textarea ::-webkit-scrollbar-thumb {
  border-color: var(--softtec-medium-blue2);
}

.card-blue ::-webkit-scrollbar-thumb, .scrollbar-lightblue1 ::-webkit-scrollbar-thumb {
  background: var(--softtec-light-blue2);
}

.history-modal .st-page-content .st-grid::-webkit-scrollbar-track:vertical {
  margin-top: 3.9rem;
}

.history-modal .st-page-content .st-grid::-webkit-scrollbar-track:horizontal {
  margin-top: 3.9rem;
  border-radius: .8rem;
}

.st-daterange-table-wrapper::-webkit-scrollbar-track:vertical {
  margin-top: 8.7rem;
}

.st-daterange-table-wrapper::-webkit-scrollbar-track:horizontal {
  margin-left: 18.8rem;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  cursor: pointer;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

.st-grid ::-webkit-scrollbar-corner, .res-invoice-modal ::-webkit-scrollbar-corner {
  background: var(--softtec-light-blue2);
}

.invoice-payment-card ::-webkit-scrollbar-thumb:vertical {
  border: 0;
  border-left: 5px var(--softtec-white) solid !important;
  border-right: 5px var(--softtec-white) solid !important;
  background-color: var(--softtec-medium-blue1);
}

.no-border-scrollbar::-webkit-scrollbar-thumb {
  border: 0 !important;
}

/*#endregion*/



/*Ant-Blazor*/
.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
  color: var(--softtec-dark-blue) !important;
}

.ant-tabs-tab:hover {
  color: var(--softtec-dark-blue) !important;
}

.ant-tabs-ink-bar ant-tabs-ink-bar-animated {
  background: var(--softtec-dark-blue) !important;
}

.ant-tabs-ink-bar {
  background: var(--softtec-dark-blue) !important;
}

.ant-tabs > .ant-tabs-nav .ant-tabs-nav-add:hover, .ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-add:hover {
  color: var(--softtec-dark-blue) !important;
}

/*------------------------------------------------------------------*/

/* UPLOAD PICTURE WHITE BOX */
.white-box {
  background-color: var(--softtec-white);
  border-radius: 8px;
  height: 100%;
  padding: 1rem 0 1rem 0;
  overflow: hidden;
  position: relative;
}
/*Upload Input*/
.uploadBox .custom-file-upload {
  height: 100%;
  width: 100%;
  cursor: pointer;
}

.file-upload-box {
  display: flex;
  flex-direction: column;
  row-gap: 0.8rem;
  align-items: center;
  justify-content: center;
  background-color: var(--softtec-white);
  border-radius: 8px;
}

.upload-btn-blue, .k-upload-button {
  border-radius: 25px;
  width: 50px;
  height: 28px;
  background-color: var(--softtec-medium-blue1);
  border-color: var(--softtec-medium-blue1);
  color: var(--softtec-white);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.k-upload .k-upload-button {
  min-width: 12rem;
  height: 30px;
  margin: 0 auto;
}

.upload-btn-blue:hover, .k-upload-button:hover {
  background-color: var(--softtec-dark-blue);
}

.k-upload {
  border-style: none;
}

  .k-upload .k-dropzone {
    background-color: transparent;
    flex-direction: column;
    gap: 8px;
  }

  .k-upload .k-upload-files .k-file-single {
    width: auto;
    display: flex;
    justify-content: center;
    gap: 6rem;
    margin: 0 auto;
  }

  .k-upload .k-upload-files .k-file {
    padding: 16px 0px 20px 0px !important;
  }

.k-upload-status, .k-upload-files {
  display: none !important;
}

.grid-col-span2 {
  grid-column: span 2;
}

.k-upload-files {
  display: none !important;
}

/*----------------------------------------------------------------*/


/*Invoice*/

.st-invoice-items-grid {
  color: var(--softtec-dark-blue);
  height: 100%;
  width: 100%;
}

  .st-invoice-items-grid:not(.splited-items-grid) thead {
    position: sticky;
    top: 0;
    z-index: 2;
  }

  .st-invoice-items-grid th:not(:last-child) {
    border-right: 1px solid var(--softtec-light-blue1);
  }

  .st-invoice-items-grid tbody tr:not(:last-child) {
    border-bottom: 1px solid var(--softtec-light-blue1);
  }

  .st-invoice-items-grid tbody:not(:first-child):not(:last-child) tr.light-blue1-bg {
    border-bottom: 1px solid var(--softtec-white);
  }

  .st-invoice-items-grid tbody tr.light-blue1-bg td {
    border-right: 1px solid var(--softtec-white);
  }

  .st-invoice-items-grid td, .st-invoice-items-grid th {
    width: fit-content;
  }

  .st-invoice-items-grid button {
    width: fit-content;
    min-width: fit-content;
    background-color: transparent;
    border: none;
  }

    .st-invoice-items-grid button:disabled {
      background-color: transparent !important;
      color: grey !important;
    }

  .st-invoice-items-grid .st-buttondropdown button {
    display: flex;
    justify-content: center;
  }

  .st-invoice-items-grid tr td {
    vertical-align: middle !important;
    padding: 0 1rem;
    white-space: nowrap;
  }

  .st-invoice-items-grid tr th {
    color: var(--softtec-medium-blue1) !important;
    font-weight: bold;
    font-size: inherit;
    padding: 0 1rem;
  }

.st-invoice-items-grid {
  border-collapse: collapse;
}

  .st-invoice-items-grid td {
    border: 0;
    border-right: 1px solid var(--softtec-white);
    height: 100%;
  }

  .st-invoice-items-grid tbody tr td:nth-child(2) {
    min-width: 8rem;
    word-break: inherit !important;
  }

  .st-invoice-items-grid tbody tr td {
    border-color: var(--softtec-light-blue1);
  }

  .st-invoice-items-grid tr.no-data-row {
    background-color: var(--softtec-light-blue1);
  }

  .st-invoice-items-grid tr td:last-child, .st-invoice-items-grid tr th:last-child {
    border-right: 0;
  }

  .st-invoice-items-grid.splited-items-grid tr td:last-child {
    padding-top: .5rem;
  }

  .st-invoice-items-grid tr:first-child th {
    border-top: 0;
    white-space: nowrap;
    height: 35px;
  }

  .st-invoice-items-grid thead tr, .st-invoice-items-grid thead tr td {
    height: fit-content;
    background-color: var(--softtec-white);
  }

  .st-invoice-items-grid tbody tr:hover, .st-invoice-items-grid tbody tr:focus {
    cursor: pointer;
  }

  .st-invoice-items-grid tr td .fa-solid, .st-invoice-items-grid tr td .fa-regular {
    line-height: unset !important;
  }

.splited-items-grid tr:first-child th, .splited-items-grid tr td {
  height: 2rem;
}

.splited-items-grid thead tr th {
  background-color: var(--softtec-light-blue2);
}

.d-flex.flex-grow > div {
  flex-grow: 1;
  align-self: flex-start;
}

.d-flex.flex-grow:not(.info-box):not(.price-list-categories) > div {
  flex-basis: calc(50% - 1rem);
}

/*-------------------------------------------------------------*/

/*credit cards contact page*/
.contact-creditcards .cards-container {
  padding: 0 !important;
}

.contact-creditcards .card-body {
  padding: 0 !important;
}

.contact-creditcards .credit-card-container {
  height: 100% !important;
}

.contact-creditcards .credit-card,
.contact-creditcards .new-credit-card {
  height: 100% !important;
  min-height: 12rem;
  max-height: unset !important;
  width: 100% !important;
  max-width: unset !important;
}

.st-grid .k-grid-header .k-header {
  vertical-align: middle !important;
}


/*Space when ther is scrollbar STYLES*/
.scrollbar-space-10 {
  padding: 1rem 0.5rem 1rem 1rem;
}


/*Demo*/
.bm-container {
  /*!!!do not exceed 9998 if higher tooltips will not be shown correctly!!!*/
  z-index: 9997 !important;
}

.blazored-typeahead__input-mask-wrapper {
  background-color: var(--softtec-white);
  border-radius: 8px;
}

.disable-ant-numberinput-controls .ant-input-number-handler-wrap, .st-numberinput-input.ant-input-number .ant-input-number-handler-wrap {
  display: none !important;
}

.blazored-typeahead__clear {
  color: var(--softtec-medium-blue1) !important;
}

  .blazored-typeahead__clear:hover {
    color: var(--softtec-dark-blue) !important;
    font-weight: bold;
  }


.st-text-overflow-dots {
  display: inline-block;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.icon-select-element-wrapper {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  width: 110px;
  height: 100px;
}

.icon-select-element-title {
  margin-bottom: 5px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  width: inherit;
}

.icon-select-description-wrapper {
  position: relative;
  border-radius: 50% !important;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  width: 50px;
}

.icon-select-description {
  position: absolute;
  font-weight: bold;
  user-select: none;
}
/*automatic item booking*/
.itembooking-calculation .st-grid .st-number-input .form-control {
  text-align: right;
}

.itembooking-calculation .st-grid .st-datepicker {
  width: 100%;
}

.charge-groups-grid .red-border .position-relative .form-control.valid,
.card-body.age-to-red-border .position-relative:nth-child(2) .form-control.valid,
.itembooking-calculation .red-border .position-relative .form-control.valid {
  outline: none;
}

.charge-groups-grid .red-border .position-relative:has(.form-control),
.card-body.age-to-red-border .position-relative:nth-child(2) .form-control {
  border: 1px solid red !important;
  border-radius: 8px;
}

.itembooking-calculation .st-grid .st-datepicker .ant-picker-range {
  width: 100%;
}

.charge-groups-grid td .position-relative:has(.validation-message:not(:empty)),
.itembooking-calculation .st-grid td .position-relative:has(.validation-message:not(:empty)) {
  height: 100%;
  display: grid;
  align-content: center;
  margin: 1rem 0;
}

.charge-groups-grid td .form:first-child,
.itembooking-calculation .st-grid td .form:first-child {
  display: grid;
  height: 100%;
  align-items: start !important;
}

@media (max-width: 968px) {
  input::-webkit-date-and-time-value {
    text-align: left !important;
  }
}

.error-msg {
  color: red !important;
}

.grid-column-span-row {
  grid-column-start: 1;
  grid-column-end: -1;
}

/*Gästebuch Zimmer Table Header*/
.history-container {
  height: 3rem;
  padding: .2rem 1rem .2rem .4rem;
  border-radius: 1rem;
  color: var(--softtec-white);
  background-color: var(--softtec-transparent-dark-blue);
  display: flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
  margin-right: .5rem;
}

  .history-container .st-switch-button {
    height: 2.4rem;
    padding: 0 .2rem;
    width: 4.6rem;
  }

  .history-container .st-switch-button-input + label {
    padding: 0;
  }

  .history-container .st-switch-button-label {
    margin: .2rem 0;
  }

.room-status-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0 auto;
}

@media (max-width: 1585px) {
  .room-status-container {
    gap: 1rem;
  }
}

/*#region Validation for all type of fields (ex: fields on detailspage, modals etc..)*/
.form-fields .invalid,
.form-fields .valid,
.form-fields .valid.modified:not([type=checkbox]),
.form-fields .valid.modified:not([type=checkbox]):not([type=radio]),
.page-container #main-container .valid.modified:not([type=checkbox]):not([type=radio]) {
  outline: unset;
}

.form-fields .invalid {
  border-color: var(--softtec-field-border-color) !important;
}

.form-fields .extra-validation-message,
.form-fields .show-validation-msgs,
.form-fields .validation-message {
  display: none;
}

.form-fields .validation-errors {
  padding: 0;
  margin: 0;
}

.show-validation .form-fields .show-validation-msgs,
.show-validation .form-fields .extra-validation-message,
.show-validation .form-fields .show-validation-msgs .validation-message {
  display: block;
}

  .show-validation .form-fields .show-validation-msgs:not(:has(.validation-message)),
  .show-validation .form-fields .extra-validation-message:empty,
  .form-fields .show-validation-msgs .validation-message:empty,
  .form-fields .show-validation-msgs:empty,
  .form-fields .show-validation-msgs:has(.validation-message:empty),
  .show-validation .form-fields .show-validation-msgs:has(.validation-message:empty),
  .show-validation .form-fields .show-validation-msgs .validation-message:empty,
  .show-validation .form-fields .show-validation-msgs:empty,
  .show-validation .form-fields .show-validation-msgs .validation-message[data-msg=" "]::before {
    display: none !important;
  }

.show-validation .form-fields .invalid-value.border,
.show-validation .form-fields .invalid-value.ant-picker,
.show-validation .form-fields .invalid-value .form-select,
.show-validation .form-fields .invalid-value.k-datepicker,
.show-validation .form-fields .invalid-value .st-typeahead .blazored-typeahead,
.show-validation .form-fields .invalid-value .border,
.show-validation .form-fields .st-datepicker:has(.validation-message:not(:empty)) .border,
.show-validation .form-fields .position-relative:has(.validation-message:not(:empty)) .border,
.show-validation .form-fields .invalid-value .position-relative .border,
.show-validation .form-fields .invalid-range .ant-picker-range {
  border: 1px solid var(--softtec-red) !important;
}

.form-fields .st-datepicker:has(.validation-message:not(:empty)) .border:hover,
.form-fields .position-relative:has(.validation-message:not(:empty)) .border:hover {
  border: 1px solid transparent !important;
}

.show-validation .form-fields .position-relative:has(.validation-message:not(:empty)) .st-checkbox-wrapper label:after,
.show-validation .form-fields .st-checkbox:has(.validation-message:not(:empty)) label:after,
.show-validation .form-fields .checkbox-invalid label:after {
  font-family: 'FontAwesome';
  /*the calendar icon in FontAwesome */
  content: '\f071';
  color: var(--softtec-red);
  margin-left: 1rem;
  font-size: 1.6rem;
}
/*#endregion*/

.ant-notification {
  z-index: 9999 !important;
}

.k-drag-clue {
  padding: 0;
}

  .k-drag-clue * {
    display: flex;
    gap: .5rem;
    background-color: var(--softtec-field-border-color) !important;
    border-radius: 0 !important;
    padding-left: 0 !important;
  }

    .k-drag-clue *::after {
      content: '';
      display: none;
    }


body:has(.widget-container .clipboard-card) .page-container {
  margin-bottom: calc(40vh + 2rem);
}

/*#region  antDesign Notification */
.ant-notification-notice {
  padding: 1.5rem;
}

.ant-notification-notice-close {
  color: var(--softtec-medium-blue1) !important;
  top: 1.8rem !important;
  right: .2rem !important;
}

  .ant-notification-notice-close:hover {
    color: var(--softtec-dark-blue) !important;
  }

.ant-notification-notice-description {
  color: var(--softtec-medium-blue1);
  margin-left: 3.6rem !important;
}
/*#endregion*/


/*#region AntDesign ant-picker-range*/
.ant-picker-range .ant-picker-suffix {
  background-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  background-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-image: url('/icons/middle-blue/calendar_2.svg');
  mask-image: url('/icons/middle-blue/calendar_2.svg');
  background-color: var(--softtec-medium-blue1);
  background-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  height: 1.8rem;
  width: 1.8rem;
  -webkit-mask-position-x: right;
  -webkit-mask-position-y: center;
}

.ant-picker-range .anticon-close-circle .icon {
  margin-right: 0;
  margin-left: .5rem;
}

.anticon {
  width: 2rem;
}

.anticon-calendar svg {
  display: none !important;
}

.st-datepicker-input.ant-picker {
  padding: 1rem .7rem !important;
}

.ant-picker-suffix .anticon-calendar {
  mask-image: url('/icons/middle-blue/calendar_2.svg');
  background-color: var(--softtec-medium-blue1);
  background-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  height: 1.9rem;
  width: 1.9rem;
  -webkit-mask-position-x: right;
  -webkit-mask-position-y: center;
}

.active-nav-menu-item {
  background-color: rgba(255, 255, 255, 0.25) !important;
  color: var(--softtec-white) !important;
  border-radius: 4px;
}

.highlight-detailinfo .k-editor {
  border: 1px solid var(--softtec-light-blue1) !important;
}

/*Navbar*/

.navbar-minimizer, .widgetIcon > span.text-small {
  display: unset;
}

/*-------------------------------------------------------------------------------*/


/*Loader*/

.loading {
  color: var(--softtec-dark-blue) !important;
  width: 100vw !important;
  font-family: 'Montserrat-Regular' !important;
  font-size: 1.4rem !important;
}

  .loading::after {
    border-color: var(--softtec-dark-blue) var(--softtec-light-blue2) var(--softtec-light-blue2) !important;
  }

/*-------------------------------------------------------------------------------------------------------------------------*/

.validation-message {
  color: red;
}

#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;
  }

.CashJournal tr:not(:has(.fa-link, .fa-file-arrow-down)) {
  cursor: default !important;
}

/*
    Wird benötigt, damit beim Drucken die Hintergrundfarbe der Tabelle mit angezeigt wird.
    Außerdem muss beim Style ein !important eingefügt werden, ansonsten fehlt die Hintergrundfarbe.
*/
@media print {
  * {
    -webkit-print-color-adjust: exact;
  }

  .drag {
    cursor: move;
  }

  .custom-input {
    border: none;
    outline: 0;
    padding: 0
  }

  input.custom-input {
    margin: -7px 0 0 0;
    width: 12.5rem;
  }

  .drag {
    cursor: move;
  }

  /*Report Print*/
  #print {
    overflow: hidden !important;
    height: fit-content !important;
    margin: 0;
    padding: 0;
    padding-right: 1rem;
    max-height: fit-content;
    position: absolute;
    width: 100% !important;
    page-break-after: always;
  }

  .table-body {
    height: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: white !important;
  }

  .content {
    width: 100% !important;
  }

  .master-page {
    overflow: hidden !important;
  }

  .print-btns {
    display: none;
    visibility: hidden;
  }

  .no-print {
    display: none;
  }
}

/* TABLE STYLE */
.table-div {
  margin: 1rem .5rem 0 1rem;
  position: relative;
  min-height: 60px;
  height: calc(100vh - 70px);
}

.table-header {
  font-size: 1.4rem;
  height: 60px;
  color: white;
  border-radius: 8px 8px 0 0;
  background-color: #1b3b58;
}

.table-header.row {
  margin: 0 !important;
  padding: 0 1rem !important;
}

.table-header.row .col {
  margin-top: 0 !important;
 }

.table-header.row > .col:first-child {
  max-width: fit-content;
 }

.table-tools {
  margin: 0;
  color: white;
  color: #4c6e8e;
  display: inline-flex;
  gap: 1rem;
  justify-content: end;
  align-items: center;
}

.content > .position-absolute.w-100.h-100:hover .table-toggle {
  background-color: #4c6e8e;
}

.table-body {
  height: calc(100% - 80px);
  background: #f2f5f7;
  border-radius: 0 0 8px 8px;
  padding: 1rem;
}

.masterpage-content .table-header {
  margin: 0 1rem !important;
  min-width: 235px;
}

.masterpage-content .table-body {
  height: calc(100% - 130px);
  margin: 0 1rem !important;
}

.content > p {
  padding: 2rem;
}

.st-collapse {
  cursor: pointer;
}

/* STTopRow*/
.st-toprow-buttons > div, .st-toprow-buttons > button:not(:last-child) {
  margin-right: 1rem;
}

.st-toprow-buttons > button {
  width: 180px;
}
/*-----------*/

.table-reservation-settings .k-column-title, .table-reservation-settings .k-table-tbody, .table-reservation-settings .k-svg-icon > svg {
  color: var(--softtec-medium-blue1);
}

.st-grid th.k-hierarchy-cell::before,
.st-grid:not(.report-grid):not(.reservations-grid) .k-grid-table .k-detail-row td.k-detail-cell .k-grid-header-wrap table th.k-header:first-child::before {
  content: "\f0c1" !important;
  font-family: 'FontAwesome';
}

.st-grid .k-grid-table tr.k-master-row td.k-hierarchy-cell .k-icon {
  color: var(--softtec-medium-blue1) !important;
  font-size: 1.4rem !important;
  justify-content: center;
  display: flex;
}
