/*Popups Modal*/
.modal-header {
  color: #00305e;
  font-size: var(--font-size-14) !important;
  padding-bottom: 2rem;
}

  .modal-header.st-popup-header:has(h3:empty) {
    display: none;
  }

  .modal-header.st-popup-header h3 {
    margin-bottom: 0;
  }

.modal-header, .modal-footer, .modal-content {
  border-color: #a5b7c6;
  border: 0;
}

.card-header .offer-header {
  margin-left: auto;
}

  .card-header .offer-header .st-dropdown-container {
    width: 20rem;
  }

.modal-footer {
  padding: 2rem 1rem 1rem 1rem;
  gap: 2rem;
  display: flex;
  justify-content: flex-end;
}

  .modal-footer > * {
    margin: 0;
  }

.card-header .offer-header .st-dropdown-container {
  width: 20rem;
}

.modal-content {
  min-width: 200px;
}

  .modal-content .st-button {
    /*  width: 130px;
    min-width: 130px;*/
  }

.modal-body {
  overflow: auto;
  max-height: 90vh !important;
  color: #4c6e8e;
  border-radius: 8px;
  padding: 0 1rem;
}

  .modal-body.invoice-payment-modal {
    padding-bottom: 0;
    padding-top: 0;
    margin: 1rem 0 0 0;
    min-height: 70vh;
    display: flex !important;
    flex-direction: column;
  }

.card-body.offer-body {
  padding-right: 1rem !important;
  overflow: auto;
  gap: 1rem;
}

.report-modal-size {
  width: 50vw;
}

.card-body.offer-body .contact-fields {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: 2rem;
  width: 100%;
}


.widget-configuration-content {
  overflow: hidden;
  min-height: unset !important;
  display: flex;
  padding-right: 0;
}

.modal-title {
  font-size: var(--font-size-14) !important;
}

.modal-body > p {
  margin-bottom: 0;
}

.blazored-modal {
  max-height: 90vh;
  max-width: 90vw;
  min-width: 200px;
  min-height: 100px;
  padding: 1rem !important;
}

.small-popup.modal-content {
  max-height: 100% !important;
  width: 100% !important;
}

.large-popup.modal-content {
  width: 1100px !important;
}

.popup-body {
  background-color: #00305e0d !important;
}

.st-popup-header:empty, .st-popup-footer:empty, .st-popup-header .modal-title:empty {
  display: none;
}

.st-popup .k-header {
  font-weight: bold;
  color: #00305e;
}

.widget-card .k-grid-aria-root,
.st-popup .k-grid,
.st-popup .k-grid-aria-root {
  border-radius: 8px;
}

.st-popup .icon {
  height: 18px;
  margin-right: 10px;
}

.modal-body .k-grid .k-grid-aria-root {
  padding: 1rem;
}

.k-grid:has(.k-toolbar) > .k-grid-aria-root {
  padding: 0 1rem 1rem 1rem;
}

.card-body.widget-table .k-grid .k-grid-aria-root {
  padding: 1rem;
}

.size-medium {
  max-width: 60vw !important;
  min-width: unset;
  width: fit-content;
}

.real-size-medium {
  max-width: 500px;
  width: fit-content;
}

.yes-no-modal {
  max-width: 42.5rem;
  min-width: 42.5rem;
  margin: 2rem auto !important;
}

.size-large {
  max-width: 98vw !important;
}

.disabled {
  background-color: #cdcdcd !important;
}

.edit-modal.modal-body {
  padding: 0 .5rem 0 0;
  margin: 1rem 0;
  max-height: calc(90vh - 13rem) !important;
}

.edit-modal + .modal-footer {
  gap: 2rem;
  padding: .75rem 1.25rem;
}

.edit-modal .form-floating label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

@media (min-width: 1800px) {
  .assign-room-modal,
  .invoice-payment-modal {
    min-width: 107.77rem;
  }
}

/*restriction-list and price-list modal*/
.restrictions-list, .prices-list {
  display: flex;
  justify-content: start;
}

.restrictions-list-fields, .prices-list-fields {
  display: flex;
  width: 100%;
  padding-right: 1rem;
  gap: 2rem;
}

.restrictions-list-categories, .prices-list-categories {
  display: flex;
  justify-content: start;
  flex-wrap: wrap;
  flex-grow: 1;
  overflow: auto;
  padding-right: 1rem;
  gap: 1rem;
}


/*reservation document-upload-modal*/
.document-upload-modal .upload-card {
  min-width: 70vw !important;
  min-height: 240px !important;
}

  .document-upload-modal .upload-card .document-download-button {
    position: absolute !important;
    font-size: 1.7rem !important;
    top: 1.7rem !important;
    margin-left: 8.7vw;
  }

  .document-upload-modal .upload-card .upload-box {
    border: 2px dashed #00305e !important;
    border-radius: 8px !important;
    background-color: white !important;
    padding: 2rem;
    grid-column: span 2;
    max-height: 220px !important;
  }

.document-upload-modal .k-upload .k-upload-button {
  margin-bottom: 2rem !important;
}

.document-upload-modal .picTxtbox {
  width: 14rem !important;
}

.document-upload-modal .upload-card .upload-box .white-box {
  background-color: transparent !important;
}

.document-upload-modal .upload-card .card-body {
  padding: 0 !important;
}

  .document-upload-modal .upload-card .card-body > div {
    grid-template-columns: 1fr 1fr 1fr 1fr !important;
  }

    .document-upload-modal .upload-card .card-body > div .white-box {
      height: 220px !important;
    }

.history-modal {
  width: 75vw;
  height: 75vh;
}

  .history-modal .st-page-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    padding: 0;
  }

    .history-modal .st-page-content .st-grid {
      overflow: auto;
      border-radius: .8rem;
      background: var(--softtec-light-blue2);
      margin-top: 1rem;
    }

    .history-modal .st-page-content .st-grid-table {
      width: 100%;
    }


@media (max-width: 1050px) {
  .document-upload-modal .upload-card .card-body > div {
    grid-template-columns: 1fr 1fr 1fr !important;
  }

  .document-upload-modal .upload-card .document-download-button {
    margin-left: 11vw;
  }
}


/* UPLOADER */
.picTxtbox {
  background-color: #fff;
  border-radius: 8px;
  width: 10rem;
  overflow: hidden;
  min-height: 10rem !important;
  height: auto !important;
}

  .picTxtbox img {
    width: 100% !important;
    border-radius: 8px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .picTxtbox div.img-headline {
    font-size: 1rem;
    width: 100%;
    padding: 0rem 0.5rem 0rem 0.5rem;
    margin: 0;
    border: 0;
  }

  .picTxtbox .img-headline .floating-label {
    /*min-width: 131px;*/
    /*        min-width: 131px;*/
  }

  .picTxtbox div.img-img-headline .form-control {
    margin: 0 !important;
    width: 100% !important;
  }

.img-headline .form-control:focus, .img-headline .form-control:hover {
  box-shadow: none !important;
}

.uploadBox {
  /*    text-align: center;*/
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 3rem 0 !important;
}

  .uploadBox .k-button {
    width: fit-content;
  }

/*    -----------------------*/


/*.modal-body*/
.k-grid-search {
  background-color: #f2f5f7 !important;
}

.k-pager-numbers .k-link {
  color: #00305e;
}

.k-pager-wrap, .k-pager {
  border-color: #4c6e8e;
  color: #4c6e8e;
  background-color: #e5ebef;
}

.k-pager-numbers {
  gap: 1px;
}

  .k-pager-numbers .k-button-flat-primary,
  .k-pager-numbers .k-button-flat-primary::before,
  .k-pager-numbers .k-button-flat-primary::after {
    color: inherit !important;
  }

  .k-pager-nav.k-link:focus, .k-pager-refresh:focus, .k-focus.k-pager-nav.k-link, .k-focus.k-pager-refresh, .k-pager-numbers .k-link:focus, .k-pager-numbers .k-link.k-focus {
    box-shadow: unset;
  }

  .k-pager-numbers .k-link:hover, .k-pager-numbers .k-link.k-hover, .k-pager-nav.k-link:hover, .k-pager-refresh:hover, .k-hover.k-pager-nav.k-link, .k-hover.k-pager-refresh {
    color: #00305e;
    border-radius: 5px;
    background-color: transparent;
    border: 1px solid #7b94ab;
  }

  .k-pager-numbers .k-link.k-state-selected, .k-pager-numbers .k-link.k-selected {
    color: #00305e;
    font-weight: bold;
    background-color: #7b94ab;
    border-radius: 5px;
  }

.k-i-search {
  padding-left: 5px;
}

.k-grid-header .k-i-sort-asc-sm, .k-grid-header .k-i-sort-desc-sm, .k-grid-header .k-sort-order {
  color: #4c6e8e;
}

.k-popup {
  color: #00305e;
  box-shadow: 0 0 2px 2px #f2f5f7;
  margin: .3rem;
  border-radius: 8px;
}

.k-columnmenu-item-wrapper {
  padding: 1rem;
}

.k-columnmenu-item {
  padding: 1rem 1rem 1rem 0;
}

  .k-columnmenu-item:hover {
    color: #00305e;
    background-color: transparent;
  }

  .k-columnmenu-item:hover, .k-columnmenu-item:focus {
    box-shadow: unset;
    cursor: unset
  }

.k-grid .k-grid-filter {
  color: #00305e;
}

  .k-grid .k-grid-filter:hover {
    background-color: #a5b7c6;
    color: #00305e;
    cursor: pointer;
    border-radius: 5px;
  }

  .k-grid .k-grid-filter:focus {
    box-shadow: unset;
  }

.k-grid-header .k-grid-filter.k-active, .k-grid-header .k-header-column-menu.k-active, .k-grid-header .k-grid-header-menu.k-active, .k-grid-header .k-hierarchy-cell .k-icon.k-active,
.k-grid-header .k-grid-filter:hover, .k-grid-header .k-header-column-menu:hover, .k-grid-header .k-grid-header-menu:hover, .k-grid-header .k-hierarchy-cell .k-icon:hover {
  background-color: #7b94ab;
  border-radius: 0.5rem;
}

.k-grid-header .k-grid-filter:focus, .k-grid-header .k-grid-filter.k-focus, .k-grid-header .k-header-column-menu:focus, .k-grid-header .k-header-column-menu.k-focus, .k-grid-header .k-grid-header-menu:focus, .k-grid-header .k-grid-header-menu.k-focus, .k-grid-header .k-hierarchy-cell .k-icon:focus, .k-grid-header .k-hierarchy-cell .k-icon.k-focus {
  box-shadow: inset 0 0 0 2px #7b94ab;
  border-radius: 0.5rem;
}

.k-detail-cell .col-2 {
  width: 100%;
  display: flex;
  column-gap: 2%;
}

/*.k-cell-inner > .k-link {
    justify-content: center;
}*/

.k-list, .k-list-filter {
  color: #00305e;
  padding: 1rem;
}

  .k-list-filter + .k-list {
    padding-top: 0;
  }

.k-list-item {
  margin: .5rem 0;
  padding: 0.5rem 1rem !important;
  color: #4c6e8e;
  border-radius: 25px;
  min-height: 30px
}

  .k-list-item:first-child {
    margin-top: 0 !important;
  }

  .k-list-item:last-child {
    margin-bottom: 0 !important;
  }

  .k-list-item.k-selected, .k-selected.k-list-optionlabel {
    background: #f2f5f7;
    color: #4c6e8e !important;
    border-radius: 25px;
    /*margin: .25rem;*/
    border-color: transparent;
  }

    .k-list-item:hover, .k-list-optionlabel:hover, .k-list-item.k-hover, .k-hover.k-list-optionlabel, .k-list-item.k-selected:hover, .k-selected.k-list-optionlabel:hover, .k-list-item.k-selected.k-hover, .k-selected.k-hover.k-list-optionlabel {
      background: #f2f5f7;
      color: #4c6e8e !important;
      border-radius: 25px;
    }

  .k-list-item:focus, .k-list-optionlabel:focus, .k-list-item.k-focus, .k-focus.k-list-optionlabel {
    box-shadow: unset;
  }

.k-list-optionlabel:first-child, .k-list-optionlabel:first-child:hover {
  margin: .5rem .5rem 0 .5rem;
}

li.k-list-item.k-selected::after {
  content: '\2714';
}

li.k-list-item.k-selected span {
  margin-right: auto;
}

.k-dropdownlist {
  background-color: #f2f5f7;
  border-radius: 8px;
}

.k-picker:hover, .k-picker.k-hover, .k-picker:focus, .k-picker.k-focus {
  box-shadow: unset;
  background-color: #f2f5f7;
}

.k-picker {
  border-color: transparent;
}

.k-list-content {
  /*box-shadow: 0 0 2px 2px #a5b7c6;*/
}

.k-grid .k-icon, .k-input-value-text {
  color: #00305e !important;
}

.k-editor {
  border-color: transparent;
  border-radius: 8px;
}

  .k-editor.telerik-blazor .k-toolbar.telerik-blazor {
    border-color: #f2f5f7;
    color: #4c6e8e;
    background-color: white !important;
    border-radius: 8px 8px 0 0;
  }

  .k-editor.telerik-blazor .k-button-group .k-button-solid .k-icon.k-button-icon {
    color: white !important;
  }

  .k-editor.telerik-blazor .k-button-group .k-button-solid {
    color: white;
    background-color: #4c6e8e;
    border: 1px solid #00305e;
    height: 30px;
  }

    .k-editor.telerik-blazor .k-button-group .k-button-solid:not(:disabled):hover {
      color: white !important;
      background-color: #00305e;
      border: 1px solid #4c6e8e;
    }

.k-nodata {
  color: #4c6e8e;
}

.k-loader-primary {
  color: #4c6e8e;
}

.k-input:focus-within {
  /*box-shadow: 0 0 2px 2px #a5b7c6;*/
  box-shadow: unset;
}
/*DatePicker , Calender*/
.k-datepicker {
  background-color: white;
  padding-left: 1rem;
}

.k-calendar {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
  border-radius: 8px;
}

  .k-calendar .k-nav-today, .k-calendar .k-calendar-nav-today {
    color: #00305e;
  }

.k-calendar-view .k-link {
  color: #00305e;
}

.k-calendar .k-calendar-td.k-state-selected .k-link, .k-calendar .k-calendar-td.k-selected .k-link {
  background-color: #4c6e8e;
  border-color: #00305e;
}

.k-calendar .k-calendar-td:hover .k-link, .k-calendar .k-calendar-td.k-state-hover .k-link, .k-calendar .k-calendar-td.k-hover .k-link {
  border-color: #00305e;
  color: #4c6e8e;
  background-color: #f2f5f7;
}

.k-calendar-td.k-state-selected:hover .k-link, .k-calendar .k-calendar-td.k-selected:hover .k-link, .k-calendar .k-calendar-td.k-state-selected.k-state-hover .k-link, .k-calendar .k-calendar-td.k-selected.k-hover .k-link, .k-calendar .k-calendar-td.k-selected:hover .k-link, .k-calendar .k-calendar-td.k-selected.k-hover .k-link {
  color: white !important;
  background-color: #4c6e8e;
  border-color: #00305e;
}

.k-calendar-table {
  margin: 0 0 .5rem 0;
}

.k-button-flat-base {
  color: #00305e;
}

.k-calendar .k-calendar-th, .k-calendar .k-calendar-caption, .k-calendar .k-meta-header, .k-calendar .k-month-header {
  color: #00305e;
}

.card-body .k-grid buton {
  border: none
}

.k-i-calendar::before {
  font-family: 'FontAwesome';
  font-size: 1rem;
  /*the calendar icon in FontAwesome */
  content: '\f073';
  color: #7b94ab;
}

.k-datepicker .k-button-solid-base {
  background-color: transparent;
  border-color: transparent !important;
  background-image: unset !important;
}

.k-calendar .k-nav-today:hover, .k-calendar .k-nav-today.k-hover, .k-calendar .k-nav-today.k-state-hover, .k-calendar .k-nav-today:focus, .k-calendar .k-nav-today.k-state-focus, .k-calendar .k-nav-today.k-focus {
  color: #00305e;
}

.k-calendar .k-calendar-td.k-state-selected .k-link:hover {
  background-color: #00305e;
}

.k-grid-content {
  overflow-y: scroll;
  padding-right: 0.1em;
}

.k-grid-header {
  background-color: #f2f5f7;
}

.traces-grid .k-grid-header {
  padding-right: 0;
}

.k-window {
  min-width: 360px !important;
  min-height: 180px !important;
  border-radius: 10px !important;
}

.k-window-titlebar {
  border-top-left-radius: 10px !important;
  border-top-right-radius: 10px !important;
  padding: 1.25rem 1rem;
  color: var(--softtec-dark-blue);
}

.k-actions {
  justify-content: end;
}

  .k-actions > .k-button {
    width: fit-content;
    padding: 1rem 2.5rem;
  }

.k-input {
  border: 1px solid var(--softtec-field-border-color);
  border-radius: 10px;
  margin: 0.75rem 0;
}

.k-window-actions {
  padding: 1rem;
  gap: 2rem;
}

.k-dialog-titlebar {
  background-color: white;
}

.k-window-content, .k-form, .k-form-inline, .k-dialog-titlebar, .k-window {
  color: #00305e !important;
}

.k-grid-header .k-grid-filter.k-state-active, .k-grid-header .k-grid-filter.k-active, .k-grid-header .k-header-column-menu.k-state-active, .k-grid-header .k-header-column-menu.k-active, .k-grid-header .k-hierarchy-cell .k-icon.k-state-active, .k-grid-header .k-hierarchy-cell .k-icon.k-active {
  background-color: #4c6e8e;
  border-radius: 5px;
}

  .k-grid-header .k-grid-filter.k-state-active .k-icon.k-i-filter {
    color: white;
  }

.k-toolbar .k-input, .k-toolbar .k-picker {
  width: 100%;
  box-shadow: 0 0 2px 2px #f2f5f7;
}

.k-overlay-light {
  background-color: white;
}

.add-package-modal .st-datepicker {
  grid-column: span 2 !important;
}

.add-package-modal .st-datepicker-input.ant-picker,
.add-article-modal .st-datepicker-input.ant-picker {
  background-color: var(--softtec-light-blue2) !important;
}

.st-popup-content .k-animation-container {
  position: fixed;
}

.st-popup-content .st-grid.k-grid {
  min-height: 21rem;
}
