/* General */
.clickable-item {
  cursor: pointer;
}
.text-bold {
  font-weight: bold;
}
/* Portlet */
.portlet.light > .portlet-title .inputs.inputs-full-width {
  display: block;
  float: none;
}
/* Tree */
.tree-item-icon-color {
  color: #dfba49;
}
.page-sidebar .page-sidebar-menu > li > a > i.fa,
.page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .page-sidebar-menu > li > a > i.fa {
  margin-left: 1px;
  margin-right: 4px;
  top: 3px;
}
/* Forms */
.form-group.form-md-line-input.no-hint {
  margin-bottom: 15px;
}
.form-group.form-md-line-input.has-error .form-control {
  border-bottom-color: red;
}
.form-group.form-md-line-input.has-error .help-block-info {
  display: none;
}
/* DateRangePicker */
.daterangepicker_input .input-mini {
  width: 120px !important;
}
/* Portlets */
.portlet.light > .portlet-title.portlet-title-filter {
  border: none;
  margin-bottom: 0;
}
/* Buttons */
button i {
  margin-right: 5px;
}
.btn + .btn {
  margin-left: 5px;
}
/* FamFamFam Flags */
.famfamfam-flags {
  display: inline-block;
}
/* Social Login Icons */
.external-logins form a i.fa-openidconnect {
  background: url(/dist/img/openid.png) no-repeat;
  width: 16px;
  height: 16px;
}
.external-logins a i.fa-wsfederation {
  background: url(/dist/img/adfs.png) no-repeat;
  width: 16px;
  height: 16px;
}
.margin-bottom-0 {
  margin-bottom: 0 !important;
}
/* Make user menu wider */
.page-header.navbar .top-menu .navbar-nav > li.dropdown-dark .dropdown-menu {
  width: 250px;
}
/* Fix for issue #407 */
br {
  font-family: Verdana;
}
span.phone-number-verified {
  border-bottom: #36c6d3 2px solid !important;
}
.margin-top-20 {
  margin-top: 20px;
}
.margin-bottom-10 {
  margin-bottom: 10px;
}
/* Sweet alert */
.swal-title {
  overflow-wrap: break-word;
}
.swal-footer {
  text-align: center;
}
@keyframes glowing {
  0% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.3;
  }
}
.glowing {
  animation: glowing 2s infinite;
}
.toast-error {
  background-color: red !important;
}
.bootstrap-datetimepicker-widget {
  width: 275px !important;
}
.spinner:before {
  content: none;
}
.changePictureBtn {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
}
.removePictureBtn {
  position: absolute;
  bottom: -0.5rem;
  right: -0.5rem;
}
.buttonWidth {
  width: calc(4.45em);
}

.input-group span.input-group-btn button {
  border-bottom-right-radius: 3.5px;
  border-bottom-left-radius: 0px;
  border-top-right-radius: 3.5px;
  border-top-left-radius: 0px;
}
.input-group span.input-group-btn button i {
  font-size: 1rem;
  color: white;
  padding-right: 0px;
}
.input-group .input-group-prepend .btn,
.input-group .input-group-append .btn {
  z-index: 0;
}
html[dir=rtl] .input-group span.input-group-btn button {
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 3.5px;
  border-top-right-radius: 0px;
  border-top-left-radius: 3.5px;
}
html[dir=rtl] .ps__rail-y {
  right: auto !important;
  left: 0;
}
html[dir=rtl] .dataTables_wrapper div.bottom {
  text-align: right !important;
}
html[dir=rtl] .dataTables_wrapper div.bottom div.dataTables_paginate {
  float: left !important;
}
html[dir=rtl] .checkbox span,
html[dir=rtl] .radio span {
  margin-left: 0.75rem !important;
}
.small-profile-pic {
  height: 30px;
}
.easy-pie-chart {
  text-align: center;
}
.easy-pie-chart .number {
  font-size: 14px !important;
  font-weight: 300;
  margin: 0 auto;
  position: relative;
  text-align: center;
  width: 75px;
  height: 75px;
  line-height: 75px;
}
.easy-pie-chart .number canvas {
  position: absolute;
  top: 0;
  left: 0;
}
.easy-pie-chart .title {
  display: block;
  text-align: center;
  font-weight: 300;
  font-size: 16px;
  margin-top: 5px;
  margin-bottom: 10px;
}
.easy-pie-chart .title:hover {
  text-decoration: none;
}
.easy-pie-chart .title > i {
  margin-top: 5px;
}
#kt_demo_panel .offcanvas-content .offcanvas-demo {
  cursor: pointer;
}
#kt_demo_panel .offcanvas-content .offcanvas-demo:hover {
  border: 5px solid #3699ff;
}
.searchMenuContainerSelect2 .select2-container {
  width: 214px;
}
.searchMenuContainerSelect2 span.select2-selection.select2-selection--single:before {
  content: "\f2eb";
  position: absolute;
  left: 20px;
  top: 12px !important;
  display: inline-block;
  font: normal normal normal 16px/1 "LineAwesome";
  font-size: inherit;
  text-decoration: inherit;
  text-rendering: optimizeLegibility;
  text-transform: none;
  font-size: 18px !important;
  color: #1BC5BD;
  font-weight: 600 !important;
}
.searchMenuContainerSelect2 .select2-selection__rendered {
  font-family: "Poppins" !important;
  border-radius: 5px !important;
  margin-left: 14px !important;
  padding-left: 36px !important;
  height: 40px;
  line-height: 24px !important;
}
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--single {
  border-color: #1BC5BD !important;
}
.dataTables_wrapper table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child:before {
  left: 50% !important;
  top: 50% !important;
}
.searchMenuDropDownSelect2,
.searchMenuDropDownSelect2 input {
  font-family: "Poppins";
}
.searchMenuTop .select2-container {
  width: 100% !important;
}
.tooltip .tooltip-inner {
  max-width: 300px;
}
#header_notification_bar .topbar-item,
kt_quick_sidebar_toggle {
  position: relative;
}
.menu-link-icon {
  font-size: 1.65rem;
  position: relative;
  top: -2px;
}
.wizard .save-button i {
  vertical-align: text-top;
}
.wizard[data-wizard-state="last"] .btn-group[data-wizard-type="action-submit"] {
  display: flex;
}
.wizard.wizard-2 .wizard-title {
  font-size: 1rem !important;
}
.wizard.wizard-2 .wizard-icon i {
  position: relative;
  top: -2px;
}
.wizard.wizard-4 .wizard-nav .wizard-steps {
  align-items: inherit !important;
}
.wizard.wizard-4 .wizard-nav .wizard-steps .wizard-step .wizard-wrapper {
  flex-wrap: initial !important;
  padding: 1rem 2rem !important;
}
.wizard.wizard-5-column .wizard-step {
  flex: 0 0 calc(19.75%) !important;
}
.wizard.wizard-2-column .wizard-step {
  flex: 0 0 calc(49.75%) !important;
}
.wizard .wizard-body {
  overflow: auto;
}
.rotate-0 {
  transform: rotate(0deg) !important;
}
.fw-boldest {
  font-weight: 700 !important;
}
.prt-1,
.prt-2,
.prt-3,
.prt-4,
.prt-5,
.prb-1,
.prb-2,
.prb-3,
.prb-4,
.prb-5 {
  position: relative;
}
.prt-0 {
  top: 0px !important;
}
.prt-1 {
  top: 1px;
}
.prt-2 {
  top: 2px;
}
.prt-3 {
  top: 3px;
}
.prt-4 {
  top: 4px;
}
.prt-5 {
  top: 5px;
}
.prb-1 {
  bottom: 1px;
}
.prb-2 {
  bottom: 2px;
}
.prb-3 {
  bottom: 3px;
}
.prb-4 {
  bottom: 4px;
}
.prb-5 {
  bottom: 5px;
}
.line-through {
  text-decoration: line-through;
}
.label.label-inline.label-big {
  padding: 1.15rem 1rem !important;
}
.symbol.symbol-custom {
  display: flex;
  align-items: center;
}
.symbol.symbol-custom.prt-0 .symbol-label {
  margin: 2px 0;
}
.symbol.symbol-custom .symbol-label {
  text-indent: 0;
}
.symbol.symbol-custom span:not(.symbol-label) {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 5px;
  word-break: break-word;
}
.swal-modal .swal-title {
  font-size: 20px !important;
}
.swal-modal .swal-button.swal-button--confirm {
  background-color: #1BC5BD;
}
.alert.alert-sm {
  padding: 1rem;
}
.alert.alert-sm .alert-icon {
  padding: 0 0.25rem 0 0;
}
.alert.alert-sm .alert-icon i {
  font-size: 2rem;
}
.alert.alert-sm .alert-text {
  font-size: 1rem;
}
.card.card-custom > .card-header {
  min-height: 60px !important;
}
.card.card-full {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  margin: 0;
  overflow: auto;
}
.radio-inline .radio span {
  margin-right: 0.75rem;
}
.radio-inline .radio.radio-lg {
  padding-left: 30px;
  top: 14px;
}
.radio-inline .radio.radio-lg span {
  top: -2px;
}
.radio-inline .radio.radio-lg span:after {
  content: '';
  width: 8px;
  height: 8px;
}
.offcanvas.offcanvas-calendar {
  width: 695px;
  right: -695px;
  left: auto;
}
.offcanvas.offcanvas-calendar.offcanvas-on {
  transition: left 0.3s ease, right 0.3s ease, bottom 0.3s ease, top 0.3s ease;
  right: 0;
  left: auto;
  width: 95%;
}
.calendar {
  width: 3.125rem;
  line-height: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
  border-radius: 0.375rem;
}
.calendar .calendar-month {
  background-color: #34bfa3;
  color: #fff;
  border-radius: 0.375rem 0.375rem 0 0;
  padding: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.125rem;
}
.calendar .calendar-day {
  font-size: 1.5rem;
  padding: 0.25rem;
  border: 0.125rem solid #ECF0F3;
  border-top: 0;
  border-radius: 0 0 0.375rem 0.375rem;
  color: #9da9bb;
  font-weight: 700;
}
.calendar.calendar-with-time {
  width: 5.125rem;
}
table.table-fixed {
  table-layout: fixed;
}
.form-group.row {
  margin: 0 !important;
}
.form-group.row .col-lg-3,
.form-group.row .col-lg-4,
.form-group.row .col-lg-6,
.form-group.row .col-lg-8,
.form-group.row .col-lg-9 {
  margin-bottom: 1rem;
  padding-left: 0;
  padding-right: 0;
}
.modal {
  overflow: auto !important;
  padding-left: 0 !important;
}
.modal .modal-dialog.modal-full {
  max-width: unset;
  margin: 0.5rem;
}
.modal .modal-content .modal-header .close:before {
  cursor: pointer !important;
}
.modal .modal-content .modal-body-min-height {
  min-height: 400px;
}
@media (min-width: 576px) {
  .modal .modal-dialog {
    max-width: 80%;
  }
}
@media (min-width: 992px) {
  .modal .modal-dialog.modal-lg,
  .modal .modal-dialog.modal-xl {
    max-width: 800px;
  }
  .modal .modal-dialog.modal-full {
    margin: 1.5rem;
  }
  .form-group.row .col-lg-3:not(.d-none):nth-child(odd),
  .form-group.row .col-lg-4:not(.d-none):nth-child(odd),
  .form-group.row .col-lg-6:not(.d-none):nth-child(odd),
  .form-group.row .col-lg-8:not(.d-none):nth-child(odd),
  .form-group.row .col-lg-9:not(.d-none):nth-child(odd) {
    padding-right: 12.5px;
  }
  .form-group.row .col-lg-3:not(.d-none):nth-child(even),
  .form-group.row .col-lg-4:not(.d-none):nth-child(even),
  .form-group.row .col-lg-6:not(.d-none):nth-child(even),
  .form-group.row .col-lg-8:not(.d-none):nth-child(even),
  .form-group.row .col-lg-9:not(.d-none):nth-child(even) {
    padding-left: 12.5px;
  }
}
@media (min-width: 1200px) {
  .modal .modal-dialog.modal-xl {
    max-width: 1100px;
  }
}
@media (min-width: 1400px) {
  .modal .modal-dialog.modal-xxl {
    max-width: 70%;
  }
}
@media (max-width: 767.98px) {
  .modal {
    padding-right: 0 !important;
  }
  .modal .modal-dialog {
    max-width: 95%;
    margin: 0.5rem auto;
  }
  .row {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
  }
  .row.row-margin-sm-0 {
    margin: 0 !important;
  }
  .row .col-md-12,
  .row .col-lg-12 {
    padding: 0 !important;
  }
  .content .container-fluid:not(.d-flex),
  .content .container:not(.d-flex) {
    padding: 0;
  }
  .dropup,
  .dropright,
  .dropdown,
  .dropleft {
    position: static !important;
  }
  .dropup .dropdown-menu,
  .dropright .dropdown-menu,
  .dropdown .dropdown-menu,
  .dropleft .dropdown-menu {
    /*width: auto;*/
    margin: 0 auto !important;
    left: 15px !important;
    right: 15px !important;
    transform: translateY(49px) !important;
  }
  .card.card-custom > .card-body:not(.card-body-padding) {
    padding: 2rem 0;
  }
  .card.card-custom > .card-body.card-body-half-padding {
    padding: 1rem 1.125rem;
  }
  .card.card-custom > .card-header:not(.flex-nowrap) {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .card .card-header {
    padding: 2rem 1rem;
  }
  .card .card-header.ribbon {
    padding: 1rem !important;
  }
  .card .card-body.ribbon-top {
    padding-top: 55px !important;
  }
  .modal .modal-header .ribbon-target {
    display: none;
  }
  .label.unread-notification-count {
    top: 5px;
  }
  .spinner {
    position: fixed !important;
  }
  .col-1,
  .col-2,
  .col-3,
  .col-4,
  .col-5,
  .col-6,
  .col-7,
  .col-8,
  .col-9,
  .col-10,
  .col-11,
  .col-12,
  .col,
  .col-auto,
  .col-sm-1,
  .col-sm-2,
  .col-sm-3,
  .col-sm-4,
  .col-sm-5,
  .col-sm-6,
  .col-sm-7,
  .col-sm-8,
  .col-sm-9,
  .col-sm-10,
  .col-sm-11,
  .col-sm-12,
  .col-sm,
  .col-sm-auto,
  .col-md-1,
  .col-md-2,
  .col-md-3,
  .col-md-4,
  .col-md-5,
  .col-md-6,
  .col-md-7,
  .col-md-8,
  .col-md-9,
  .col-md-10,
  .col-md-11,
  .col-md-12,
  .col-md,
  .col-md-auto,
  .col-lg-1,
  .col-lg-2,
  .col-lg-3,
  .col-lg-4,
  .col-lg-5,
  .col-lg-6,
  .col-lg-7,
  .col-lg-8,
  .col-lg-9,
  .col-lg-10,
  .col-lg-11,
  .col-lg-12,
  .col-lg,
  .col-lg-auto,
  .col-xl-1,
  .col-xl-2,
  .col-xl-3,
  .col-xl-4,
  .col-xl-5,
  .col-xl-6,
  .col-xl-7,
  .col-xl-8,
  .col-xl-9,
  .col-xl-10,
  .col-xl-11,
  .col-xl-12,
  .col-xl,
  .col-xl-auto,
  .col-xxl-1,
  .col-xxl-2,
  .col-xxl-3,
  .col-xxl-4,
  .col-xxl-5,
  .col-xxl-6,
  .col-xxl-7,
  .col-xxl-8,
  .col-xxl-9,
  .col-xxl-10,
  .col-xxl-11,
  .col-xxl-12,
  .col-xxl,
  .col-xxl-auto {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
@media (max-width: 700px) {
  .offcanvas.offcanvas-calendar {
    width: 100% !important;
  }
}
#documentMailForm .dropzone.dropzone-default {
  border: 3px dashed #ECF0F3;
  border-radius: 0;
}
#documentMailForm .dropzone.dropzone-default .dz-message {
  display: block;
}
#documentMailForm .dropzone.dropzone-default .dropzone-item .dropzone-progress {
  display: none;
}
.note-editor.note-frame {
  border-radius: 0;
  /*border: none;*/
}
.note-editor.note-frame .panel-heading.note-toolbar {
  border-radius: 0;
  border-bottom: 1px solid #ECF0F3 !important;
  background: #FFF;
  padding: 0.74rem;
  position: relative !important;
  top: unset !important;
  width: auto !important;
}
.note-editor.note-frame .panel-heading.note-toolbar li[role=listitem] {
  outline: none !important;
  display: flex;
  flex-grow: 1;
  width: 100%;
  padding: 0.75rem 1.25rem;
  clear: both;
  font-weight: 400;
  color: #212121;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  /*border: 0;*/
}
.note-editor.note-frame .note-editing-area .note-editable {
  color: #464E5F;
}
.note-editor.note-frame .note-statusbar {
  display: none;
}
.note-editor.note-frame .note-placeholder {
  padding: 20px 15px;
}
.note-editor.note-frame.note-editor.dragover .note-dropzone,
.note-editor.note-frame .note-dropzone.hover {
  display: none !important;
}
.dropdown .dropdown-menu div,
.dropdown .dropdown-menu a {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-font-smoothing: subpixel-antialiased;
  transform: translateZ(0);
}
.checkbox {
  display: inline-block;
  position: relative;
  padding-left: 30px;
  text-align: left;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin: 0;
}
.checkbox > span {
  border-radius: 0.42rem;
  background-color: none;
  position: absolute;
  top: 1px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkbox.checkbox-lg {
  padding-top: 5px;
}
.checkbox.checkbox-lg span:after {
  border-width: 0 4px 4px 0 !important;
  width: 8px;
}
.checkbox.checkbox-single > span {
  top: unset;
}
.radio-inline .radio {
  margin-right: 15px;
}
.radio {
  display: inline-block;
  position: relative;
  padding-left: 25px;
  text-align: left;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin: 0;
}
.radio > span {
  border-radius: 50%;
  background-color: none;
  position: absolute;
  top: 1px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spinner:before {
  content: none;
}
.label.label-inline {
  text-indent: 0;
  text-transform: uppercase;
  font-weight: 600 !important;
  padding: 0.15rem 1rem !important;
}
.toast.toast-info {
  background-color: #3699FF !important;
}
.symbol i.symbol-icon {
  position: absolute;
  border: 2px solid #ffffff;
  border-radius: 100%;
  top: -10px;
  right: -10px;
  background-color: #FFFFFF;
}
.custom-file-label::after {
  height: calc(2.7em);
}

.hv-tree-wrapper {
  background-color: #ededed;
  overflow-x: auto;
  border-radius: 10px;
}
.hv-wrapper {
  display: flex;
  padding: 20px 10px;
}
.hv-wrapper h2 {
  text-align: center;
  margin: 50px;
}
.hv-wrapper h2 i {
  display: block;
  font-size: 12px;
  font-weight: normal;
}
.hv-wrapper hr {
  margin: 50px 0;
  border: none;
  height: 1px;
  background-color: #d1c8c4;
}
.hv-wrapper .hv-item-content {
  margin: 0 !important;
  background-color: #fff;
  padding: 15px 30px;
  border-radius: 7px;
  min-width: 70px;
  text-align: center;
  box-shadow: 0 3px 6px rgba(204, 131, 103, 0.22);
}
.hv-wrapper .hv-item-content.bg-warning div,
.hv-wrapper .hv-item-content.bg-warning span {
  color: #FFF !important;
}
.hv-wrapper .hv-item-content div.symbol-label {
  color: #7E8299 !important;
  position: relative;
  left: -10px;
}
.hv-wrapper .hv-item {
  display: flex;
  flex-direction: column;
  margin: auto;
}
.hv-wrapper .hv-item .hv-item-parent {
  margin-bottom: 50px;
  position: relative;
  display: flex;
  justify-content: center;
}
.hv-wrapper .hv-item .hv-item-parent p {
  font-weight: bold;
  color: #DE5454;
  padding: 15px;
  background-color: white;
  border-radius: 10px;
  margin-bottom: 0;
}
.hv-wrapper .hv-item .hv-item-parent:after {
  position: absolute;
  content: '';
  width: 2px;
  height: 50px / 2;
  bottom: 0;
  left: 50%;
  background-color: rgba(255, 255, 255, 0.7);
  transform: translateY(100%);
}
.hv-wrapper .hv-item .hv-item-children {
  display: flex;
  justify-content: center;
}
.hv-wrapper .hv-item .hv-item-children p {
  font-weight: bold;
  color: #DE5454;
  padding: 15px;
  background-color: white;
  border-radius: 10px;
}
.hv-wrapper .hv-item .hv-item-children .hv-item-child {
  padding: 0 15px;
  position: relative;
}
.hv-wrapper .hv-item .hv-item-children .hv-item-child:only-child:after {
  display: none;
}
.hv-wrapper .hv-item .hv-item-children .hv-item-child:before,
.hv-wrapper .hv-item .hv-item-children .hv-item-child:after {
  content: '';
  position: absolute;
  background-color: rgba(255, 255, 255, 0.7);
  left: 0;
}
.hv-wrapper .hv-item .hv-item-children .hv-item-child:before {
  left: 50%;
  top: 0;
  transform: translateY(-100%);
  width: 2px;
  height: 50px / 2;
}
.hv-wrapper .hv-item .hv-item-children .hv-item-child:after {
  top: -50px / 2;
  transform: translateY(-100%);
  height: 2px;
  width: 100%;
}
.hv-wrapper .hv-item .hv-item-children .hv-item-child:first-child:after {
  left: 50%;
  width: 50%;
}
.hv-wrapper .hv-item .hv-item-children .hv-item-child:last-child:after {
  width: calc(50% + 1px);
}
.hv-wrapper.reverse .hv-item {
  flex-direction: column-reverse;
}
.hv-wrapper.reverse .hv-item .hv-item-parent {
  margin-top: 50px;
  margin-bottom: 0;
}
.hv-wrapper.reverse .hv-item .hv-item-parent:after {
  top: 0;
  transform: translateY(-100%);
}
.hv-wrapper.reverse .hv-item .hv-item-child {
  display: flex;
  align-items: flex-end;
}
.hv-wrapper.reverse .hv-item .hv-item-child:before {
  top: auto;
  bottom: 0;
  transform: translateY(100%);
}
.hv-wrapper.reverse .hv-item .hv-item-child:after {
  top: auto;
  bottom: -50px / 2;
  transform: translateY(100%);
}

/* What remains of the Kendo theme overrides after Kendo was removed (November 2026): only the rules that do not
   style a Kendo (k-*) class. kendo-control-solid / kendo-control-sm are our own class names (ErpHtmlAttributes.cs). */
#formulaItemsGrid.erp-grid td,
tr.narrow-row td {
  padding: 0.2em 1.286em !important;
}
@media (max-width: 1600px) {
  table colgroup col {
    width: 150px;
  }
}
.kendo-control-sm.kendo-control-solid {
  background-color: #F3F6F9;
  border-color: #F3F6F9;
  color: #464E5F;
  height: calc(1.5em + 1.15rem + 3px) !important;
  font-size: 1rem !important;
}
.widget-icon {
  font-size: 1.5rem;
  display: inline-block;
  position: relative;
  top: 2px;
  padding-right: 2px;
  text-indent: 0;
}
.widget-icon.la {
  font-size: 1.8rem;
  top: 3px;
}
span,
ol,
ul,
pre,
div {
  scrollbar-width: auto !important;
}
body.dark-mode input:-internal-autofill-selected {
  background-color: #151521 !important;
  color: #fff;
}
body.dark-mode input.form-control:not([disabled]) {
  color: #FFFFFF !important;
  background-color: #1b1b29 !important;
}
body.dark-mode #filterGridForm,
body.dark-mode #filterCalendarForm,
body.dark-mode .bg-erp-dark {
  background-color: #151521;
}
body.dark-mode #filterGridForm .card,
body.dark-mode #filterCalendarForm .card,
body.dark-mode .bg-erp-dark .card {
  background-color: #151521;
}
body.dark-mode #filterGridForm .card .card-header,
body.dark-mode #filterCalendarForm .card .card-header,
body.dark-mode .bg-erp-dark .card .card-header,
body.dark-mode #filterGridForm .card .card-body,
body.dark-mode #filterCalendarForm .card .card-body,
body.dark-mode .bg-erp-dark .card .card-body {
  background-color: #151521;
}
body.dark-mode .kendo-control-solid::placeholder {
  color: #b7b7b7 !important;
}
body.dark-mode .card .card-body {
  background-color: #1b1b28;
}
body.dark-mode .aside {
  background-color: #1b1b28;
}
body.dark-mode #batchTicketsListView,
body.dark-mode #labelsListView,
body.dark-mode #cofaListView,
body.dark-mode .dark-bg {
  background-color: #151521 !important;
}
table.table-no-padding tbody tr:first-child td {
  border-top: 1px solid !important;
}
table.table-no-padding tfoot tr:last-child td,
table.table-no-padding tbody tr:last-child td {
  border-bottom: 1px solid !important;
}
table.table-no-padding thead th {
  border: 1px solid !important;
}
table.table-no-padding tfoot td {
  padding: 0 !important;
  border: 1px solid !important;
}
table.table-no-padding tbody tr td {
  padding: 0 !important;
  border: 1px solid !important;
  border-bottom: 1px solid !important;
}
table.table-no-padding tbody tr td .form-control {
  border-radius: 0 !important;
}
body.dark-mode .form-control.form-control-solid,
body.dark-mode input.form-control:not([disabled]) {
  background-color: #000000 !important;
}
body.dark-mode input.form-control:not([disabled]) {
  border: 1px solid #92929f !important;
}
body.dark-mode ::placeholder,
body.dark-mode ::-ms-input-placeholder {
  color: #fff !important;
  opacity: 1 !important;
}

/* General */
.clickable-item {
  cursor: pointer;
}
.text-bold {
  font-weight: bold;
}
/* Portlet */
.portlet.light > .portlet-title .inputs.inputs-full-width {
  display: block;
  float: none;
}
/* Tree */
.tree-item-icon-color {
  color: #dfba49;
}
.page-sidebar .page-sidebar-menu > li > a > i.fa,
.page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .page-sidebar-menu > li > a > i.fa {
  margin-left: 1px;
  margin-right: 4px;
  top: 3px;
}
/* Forms */
.form-group.form-md-line-input.no-hint {
  margin-bottom: 15px;
}
.form-group.form-md-line-input.has-error .form-control {
  border-bottom-color: red;
}
.form-group.form-md-line-input.has-error .help-block-info {
  display: none;
}
/* DateRangePicker */
.daterangepicker_input .input-mini {
  width: 120px !important;
}
/* Portlets */
.portlet.light > .portlet-title.portlet-title-filter {
  border: none;
  margin-bottom: 0;
}
/* Buttons */
button i {
  margin-right: 5px;
}
.btn + .btn {
  margin-left: 5px;
}
/* FamFamFam Flags */
.famfamfam-flags {
  display: inline-block;
}
/* Social Login Icons */
.external-logins form a i.fa-openidconnect::before {
  content: "\f19b";
}
.external-logins a i.fa-wsfederation::before {
  content: "\f20e";
}
.margin-bottom-0 {
  margin-bottom: 0 !important;
}
/* Make user menu wider */
.page-header.navbar .top-menu .navbar-nav > li.dropdown-dark .dropdown-menu {
  width: 250px;
}
/* Fix for issue #407 */
br {
  font-family: Verdana;
}
span.phone-number-verified {
  border-bottom: #36c6d3 2px solid !important;
}
.margin-top-20 {
  margin-top: 20px;
}
.margin-bottom-10 {
  margin-bottom: 10px;
}
/* Sweet alert */
.swal-title {
  overflow-wrap: break-word;
}
.swal-footer {
  text-align: center;
}
@keyframes glowing {
  0% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.3;
  }
}
.glowing {
  animation: glowing 2s infinite;
}
.toast-error {
  background-color: red !important;
}
.bootstrap-datetimepicker-widget {
  width: 275px !important;
}
@media (max-width: 768px) {
  .btn-md-icon {
    margin-right: 0 !important;
    padding-right: 0 !important;
  }
}
.kt-widget14__legend {
  text-align: left;
}
.kt-widget14__legend-bullet {
  width: 12px;
  height: 12px;
  margin-right: 12px;
  display: inline-block;
}
.long-select2 .select2-results .select2-results__options {
  max-height: 350px!important;
}
.spinner:before {
  content: none;
}
.changePictureBtn {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
}
.removePictureBtn {
  position: absolute;
  bottom: -0.5rem;
  right: -0.5rem;
}
.buttonWidth {
  width: calc(1.35em + 1.1rem + 2px);
}

/* poppins-300 - devanagari_latin-ext_latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  src: url('/dist/fonts/poppins-v5-devanagari_latin-ext_latin-300.eot');
  /* IE9 Compat Modes */
  src: local('Poppins Light'), local('Poppins-Light'), url('/dist/fonts/poppins-v5-devanagari_latin-ext_latin-300.eot') format('embedded-opentype'), url('/dist/fonts/poppins-v5-devanagari_latin-ext_latin-300.woff2') format('woff2'), url('/dist/fonts/poppins-v5-devanagari_latin-ext_latin-300.woff') format('woff'), url('/dist/fonts/poppins-v5-devanagari_latin-ext_latin-300.ttf') format('truetype'), url('./Poppins/poppins-v5-devanagari_latin-ext_latin-300.svg#Poppins') format('svg');
  /* Legacy iOS */
}
/* poppins-regular - devanagari_latin-ext_latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('/dist/fonts/poppins-v5-devanagari_latin-ext_latin-regular.eot');
  /* IE9 Compat Modes */
  src: local('Poppins Regular'), local('Poppins-Regular'), url('/dist/fonts/poppins-v5-devanagari_latin-ext_latin-regular.eot') format('embedded-opentype'), url('/dist/fonts/poppins-v5-devanagari_latin-ext_latin-regular.woff2') format('woff2'), url('/dist/fonts/poppins-v5-devanagari_latin-ext_latin-regular.woff') format('woff'), url('/dist/fonts/poppins-v5-devanagari_latin-ext_latin-regular.ttf') format('truetype'), url('./Poppins/poppins-v5-devanagari_latin-ext_latin-regular.svg#Poppins') format('svg');
  /* Legacy iOS */
}
/* poppins-500 - devanagari_latin-ext_latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('/dist/fonts/poppins-v5-devanagari_latin-ext_latin-500.eot');
  /* IE9 Compat Modes */
  src: local('Poppins Medium'), local('Poppins-Medium'), url('/dist/fonts/poppins-v5-devanagari_latin-ext_latin-500.eot') format('embedded-opentype'), url('/dist/fonts/poppins-v5-devanagari_latin-ext_latin-500.woff2') format('woff2'), url('/dist/fonts/poppins-v5-devanagari_latin-ext_latin-500.woff') format('woff'), url('/dist/fonts/poppins-v5-devanagari_latin-ext_latin-500.ttf') format('truetype'), url('./Poppins/poppins-v5-devanagari_latin-ext_latin-500.svg#Poppins') format('svg');
  /* Legacy iOS */
}
/* poppins-600 - devanagari_latin-ext_latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('/dist/fonts/poppins-v5-devanagari_latin-ext_latin-600.eot');
  /* IE9 Compat Modes */
  src: local('Poppins SemiBold'), local('Poppins-SemiBold'), url('/dist/fonts/poppins-v5-devanagari_latin-ext_latin-600.eot') format('embedded-opentype'), url('/dist/fonts/poppins-v5-devanagari_latin-ext_latin-600.woff2') format('woff2'), url('/dist/fonts/poppins-v5-devanagari_latin-ext_latin-600.woff') format('woff'), url('/dist/fonts/poppins-v5-devanagari_latin-ext_latin-600.ttf') format('truetype'), url('./Poppins/poppins-v5-devanagari_latin-ext_latin-600.svg#Poppins') format('svg');
  /* Legacy iOS */
}
/* poppins-700 - devanagari_latin-ext_latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('/dist/fonts/poppins-v5-devanagari_latin-ext_latin-700.eot');
  /* IE9 Compat Modes */
  src: local('Poppins Bold'), local('Poppins-Bold'), url('/dist/fonts/poppins-v5-devanagari_latin-ext_latin-700.eot') format('embedded-opentype'), url('/dist/fonts/poppins-v5-devanagari_latin-ext_latin-700.woff2') format('woff2'), url('/dist/fonts/poppins-v5-devanagari_latin-ext_latin-700.woff') format('woff'), url('/dist/fonts/poppins-v5-devanagari_latin-ext_latin-700.ttf') format('truetype'), url('./Poppins/poppins-v5-devanagari_latin-ext_latin-700.svg#Poppins') format('svg');
  /* Legacy iOS */
}

/* roboto-300 - vietnamese_latin-ext_latin_greek_cyrillic-ext_greek-ext_cyrillic */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('/dist/fonts/roboto-v18-vietnamese_latin-ext_latin_greek_cyrillic-ext_greek-ext_cyrillic-300.eot');
  /* IE9 Compat Modes */
  src: local('Roboto Light'), local('Roboto-Light'), url('/dist/fonts/roboto-v18-vietnamese_latin-ext_latin_greek_cyrillic-ext_greek-ext_cyrillic-300.eot') format('embedded-opentype'), url('/dist/fonts/roboto-v18-vietnamese_latin-ext_latin_greek_cyrillic-ext_greek-ext_cyrillic-300.woff2') format('woff2'), url('/dist/fonts/roboto-v18-vietnamese_latin-ext_latin_greek_cyrillic-ext_greek-ext_cyrillic-300.woff') format('woff'), url('/dist/fonts/roboto-v18-vietnamese_latin-ext_latin_greek_cyrillic-ext_greek-ext_cyrillic-300.ttf') format('truetype'), url('./Roboto/roboto-v18-vietnamese_latin-ext_latin_greek_cyrillic-ext_greek-ext_cyrillic-300.svg#Roboto') format('svg');
  /* Legacy iOS */
}
/* roboto-regular - vietnamese_latin-ext_latin_greek_cyrillic-ext_greek-ext_cyrillic */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('/dist/fonts/roboto-v18-vietnamese_latin-ext_latin_greek_cyrillic-ext_greek-ext_cyrillic-regular.eot');
  /* IE9 Compat Modes */
  src: local('Roboto'), local('Roboto-Regular'), url('/dist/fonts/roboto-v18-vietnamese_latin-ext_latin_greek_cyrillic-ext_greek-ext_cyrillic-regular.eot') format('embedded-opentype'), url('/dist/fonts/roboto-v18-vietnamese_latin-ext_latin_greek_cyrillic-ext_greek-ext_cyrillic-regular.woff2') format('woff2'), url('/dist/fonts/roboto-v18-vietnamese_latin-ext_latin_greek_cyrillic-ext_greek-ext_cyrillic-regular.woff') format('woff'), url('/dist/fonts/roboto-v18-vietnamese_latin-ext_latin_greek_cyrillic-ext_greek-ext_cyrillic-regular.ttf') format('truetype'), url('./Roboto/roboto-v18-vietnamese_latin-ext_latin_greek_cyrillic-ext_greek-ext_cyrillic-regular.svg#Roboto') format('svg');
  /* Legacy iOS */
}
/* roboto-500 - vietnamese_latin-ext_latin_greek_cyrillic-ext_greek-ext_cyrillic */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('/dist/fonts/roboto-v18-vietnamese_latin-ext_latin_greek_cyrillic-ext_greek-ext_cyrillic-500.eot');
  /* IE9 Compat Modes */
  src: local('Roboto Medium'), local('Roboto-Medium'), url('/dist/fonts/roboto-v18-vietnamese_latin-ext_latin_greek_cyrillic-ext_greek-ext_cyrillic-500.eot') format('embedded-opentype'), url('/dist/fonts/roboto-v18-vietnamese_latin-ext_latin_greek_cyrillic-ext_greek-ext_cyrillic-500.woff2') format('woff2'), url('/dist/fonts/roboto-v18-vietnamese_latin-ext_latin_greek_cyrillic-ext_greek-ext_cyrillic-500.woff') format('woff'), url('/dist/fonts/roboto-v18-vietnamese_latin-ext_latin_greek_cyrillic-ext_greek-ext_cyrillic-500.ttf') format('truetype'), url('./Roboto/roboto-v18-vietnamese_latin-ext_latin_greek_cyrillic-ext_greek-ext_cyrillic-500.svg#Roboto') format('svg');
  /* Legacy iOS */
}
/* roboto-700 - vietnamese_latin-ext_latin_greek_cyrillic-ext_greek-ext_cyrillic */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('/dist/fonts/roboto-v18-vietnamese_latin-ext_latin_greek_cyrillic-ext_greek-ext_cyrillic-700.eot');
  /* IE9 Compat Modes */
  src: local('Roboto Bold'), local('Roboto-Bold'), url('/dist/fonts/roboto-v18-vietnamese_latin-ext_latin_greek_cyrillic-ext_greek-ext_cyrillic-700.eot') format('embedded-opentype'), url('/dist/fonts/roboto-v18-vietnamese_latin-ext_latin_greek_cyrillic-ext_greek-ext_cyrillic-700.woff2') format('woff2'), url('/dist/fonts/roboto-v18-vietnamese_latin-ext_latin_greek_cyrillic-ext_greek-ext_cyrillic-700.woff') format('woff'), url('/dist/fonts/roboto-v18-vietnamese_latin-ext_latin_greek_cyrillic-ext_greek-ext_cyrillic-700.ttf') format('truetype'), url('./Roboto/roboto-v18-vietnamese_latin-ext_latin_greek_cyrillic-ext_greek-ext_cyrillic-700.svg#Roboto') format('svg');
  /* Legacy iOS */
}

.pwstrength-div {
  position: relative;
}
.pwstrength-div .progress {
  height: 8px;
  width: 64px;
  text-align: right;
  position: absolute;
  right: -28px;
  top: 28.5px;
  transform: rotate(-90deg);
  border-radius: 0 0 1.25rem 1.25rem;
}
.pwstrength-div .password-verdict {
  height: 10px;
  width: 100px;
  text-align: right;
  position: absolute;
  right: 24px;
  top: 25px;
  font-size: 12px;
  opacity: 0.6;
}

/* ============================================================
   Pipedream module shared styles
   View tab pill bar, status chips, KPI summary strip.
   Used on Deals and Tasks index views.
   ============================================================ */
/* ============================================================
   View tab pill bar
   Pipedrive-style segmented control. Sits inside the page subheader.
   Each pill carries a per-status accent: a 2px bottom border in the
   accent color, white background, soft shadow on active.
   ============================================================ */
.view-tabs {
  gap: 4px;
  align-items: center;
  /* Per-pill accent. Applied via the ::after bar (currentColor)
       and a tiny tinted hover for personality. */
}
.view-tabs .nav-item {
  margin: 0;
}
.view-tabs__pill.nav-link {
  position: relative;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  color: #475569;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: color 0.12s ease, background-color 0.12s ease, box-shadow 0.12s ease;
}
.view-tabs__pill.nav-link .nav-icon {
  margin-right: 6px;
  font-size: 13px;
  line-height: 1;
  color: inherit;
  opacity: 0.85;
}
.view-tabs__pill.nav-link .nav-icon i {
  font-size: 13px;
  color: inherit;
}
.view-tabs__pill.nav-link .nav-text {
  color: inherit;
}
.view-tabs__pill.nav-link:hover {
  color: #0f172a;
  background-color: #f1f5f9;
}
.view-tabs__pill.nav-link.active {
  color: #0f172a;
  background-color: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}
.view-tabs__pill.nav-link.active::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
}
.view-tabs__pill--pipeline.active,
.view-tabs__pill--board.active {
  color: #334155;
}
.view-tabs__pill--open.active {
  color: #0284c7;
}
.view-tabs__pill--won.active,
.view-tabs__pill--done.active {
  color: #059669;
}
.view-tabs__pill--lost.active {
  color: #f43f5e;
}
.view-tabs__pill--all.active {
  color: #64748b;
}
.view-tabs__pill--forecast.active {
  color: #7c3aed;
}
/* ============================================================
   Status chip
   Used in the deals grid Status column and similar Task contexts.
   Tight uppercase label, 1px border in accent color, 4% tinted background.
   ============================================================ */
.deal-status-chip,
.task-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 3px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.deal-status-chip i,
.task-status-chip i {
  font-size: 9px;
  line-height: 1;
}
.deal-status-chip--open,
.task-status-chip--open {
  color: #0284c7;
  background-color: rgba(2, 132, 199, 0.04);
  border-color: rgba(2, 132, 199, 0.2);
}
.deal-status-chip--won,
.task-status-chip--won {
  color: #059669;
  background-color: #ecfdf5;
  border-color: rgba(5, 150, 105, 0.25);
}
.deal-status-chip--lost,
.task-status-chip--lost {
  color: #f43f5e;
  background-color: #fff1f2;
  border-color: rgba(244, 63, 94, 0.25);
}
.deal-status-chip--done,
.task-status-chip--done {
  color: #059669;
  background-color: #ecfdf5;
  border-color: rgba(5, 150, 105, 0.25);
}
/* ============================================================
   KPI summary strip
   Sits above the grid on Won, Lost, Done tabs.
   Tile-based, hairline dividers, large tabular-nums numeric, tiny label.
   ============================================================ */
.kpi-strip {
  display: flex;
  flex-wrap: wrap;
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  position: relative;
}
.kpi-strip::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
}
.kpi-strip--won::before {
  background-color: #059669;
}
.kpi-strip--lost::before {
  background-color: #f43f5e;
}
.kpi-strip--done::before {
  background-color: #059669;
}
.kpi-strip__tile {
  flex: 1 1 0;
  min-width: 160px;
  padding: 18px 22px;
  border-right: 1px solid rgba(15, 23, 42, 0.06);
}
.kpi-strip__tile:last-child {
  border-right: none;
}
.kpi-strip__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 6px;
}
.kpi-strip__value {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.kpi-strip__value--text {
  font-size: 18px;
  font-weight: 500;
}
/* ============================================================
   Narrow viewports: pill bar wraps cleanly, KPI tiles stack.
   ============================================================ */
@media (max-width: 768px) {
  .view-tabs {
    gap: 2px;
  }
  .view-tabs__pill.nav-link {
    padding: 6px 10px;
    font-size: 12px;
  }
  .kpi-strip__tile {
    padding: 14px 16px;
    flex-basis: 50%;
  }
  .kpi-strip__tile:nth-child(2n) {
    border-right: none;
  }
}

/* ERPNet auto-complete (erpAutoComplete.js). The box is a Metronic form-control; the list copies the
   look of our date picker's time list (white card, light border and shadow, grey hover). */
.erp-autocomplete {
  position: relative;
  display: block;
}
.erp-autocomplete > .form-control {
  padding-right: 2.25rem;
}
/* The clear cross, shown only when the box holds text (as Kendo's clearButton). */
.erp-autocomplete__clear {
  position: absolute;
  top: 50%;
  right: 0.85rem;
  transform: translateY(-50%);
  display: none;
  font-size: 1.15rem;
  line-height: 1;
  color: #A1A5B7;
  cursor: pointer;
  user-select: none;
}
.erp-autocomplete__clear:hover {
  color: #5E6278;
}
.erp-autocomplete--has-value:hover > .erp-autocomplete__clear,
.erp-autocomplete--has-value > .form-control:focus + .erp-autocomplete__clear {
  display: block;
}
.erp-autocomplete__list {
  position: absolute;
  z-index: 20050;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: #FFFFFF;
  border: 1px solid rgba(33, 37, 41, 0.13);
  border-radius: 4.875px;
  box-shadow: rgba(0, 0, 0, 0.125) 0 6px 13px 0;
  color: #212529;
  font-size: 13px;
}
.erp-autocomplete__list > li {
  padding: 5.2px 13px;
  line-height: 19.5px;
  cursor: pointer;
}
.erp-autocomplete__list > li:hover {
  background-color: #DEE2E6;
}
.erp-autocomplete__list > li.erp-autocomplete__item--focused {
  background-color: #E9ECEF;
  box-shadow: inset 0 0 0 2px rgba(13, 110, 253, 0.25);
}
body.dark-mode .erp-autocomplete__list {
  background-color: #1E1E2D;
  border-color: #2B2B40;
  color: #CDCDDE;
}
body.dark-mode .erp-autocomplete__list > li:hover,
body.dark-mode .erp-autocomplete__list > li.erp-autocomplete__item--focused {
  background-color: #2B2B40;
}

/*
 * ERPNet color picker (erpColorPicker.js / Html.Erp().ColorPickerFor()).
 * Bundled into common-styles with every other ErpComponents .less file (bundles.json).
 * Block comments only: gulp runs postcss (a plain CSS parser) before less.
 */
/*
 * The Bootstrap form-control-color swatch is a narrow 39px pill with most of it padding, easy to
 * miss. Make it a wide, clearly coloured button (about the size of the Kendo color picker it replaces).
 */
.form-control.form-control-color[data-role="erpcolorpicker"] {
  width: 5rem;
  padding: 0.35rem;
}
.form-control.form-control-color[data-role="erpcolorpicker"]::-webkit-color-swatch-wrapper {
  padding: 0;
}
.form-control.form-control-color[data-role="erpcolorpicker"]::-webkit-color-swatch {
  border: 0;
  border-radius: 0.35rem;
}

/*
 * ERPNet combo box (erpComboBox.js / Html.Erp().ComboBox()).
 * The box is a Metronic form-control with the date picker's grey arrow button on the right; the list is
 * the shared one (List/erpList.less: 13px text, 29.9px rows, as the Kendo list it replaces).
 * Block comments only: gulp runs postcss (a plain CSS parser) before less.
 */
.erp-combobox {
  position: relative;
  display: block;
}
.erp-combobox > .form-control[data-role="erpcomboboxinput"] {
  padding-right: calc(33.5px + 2rem);
}
.erp-combobox__button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 33.5px;
  border: 0;
  padding: 0;
  background-color: #DEE2E6;
  color: #212529;
  border-top-right-radius: 0.475rem;
  border-bottom-right-radius: 0.475rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.erp-combobox__button:hover {
  background-color: #CED4DA;
}
.erp-combobox__button svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
/* The clear cross, shown while the box holds text (as Kendo's). */
.erp-combobox__clear {
  position: absolute;
  top: 50%;
  right: calc(33.5px + 0.65rem);
  transform: translateY(-50%);
  display: none;
  font-size: 1.15rem;
  line-height: 1;
  color: #A1A5B7;
  cursor: pointer;
  user-select: none;
}
.erp-combobox__clear:hover {
  color: #5E6278;
}
.erp-combobox--has-value > .erp-combobox__clear {
  display: block;
}
/* Disabled: greyed out like the disabled Kendo box (see erpTextBox.less for why !important). */
.erp-combobox > .form-control[data-role="erpcomboboxinput"]:disabled {
  background-color: #F3F6F9 !important;
  border-color: #F3F6F9;
  color: #464E5F;
}
.erp-combobox.erp-combobox--disabled {
  opacity: 0.65;
  filter: grayscale(0.1);
}
.erp-combobox.erp-combobox--disabled .erp-combobox__button,
.erp-combobox.erp-combobox--disabled .erp-combobox__clear {
  cursor: default;
  pointer-events: none;
}
body.dark-mode .erp-combobox > .form-control[data-role="erpcomboboxinput"]:disabled {
  background-color: #272734 !important;
}
/* The list is the shared one (List/erpList.less). The spinner while it is read sits where the clear cross is. */
.erp-combobox > .erp-list__loading {
  right: calc(33.5px + 0.6rem);
}
.erp-list--loading > .erp-combobox__clear {
  visibility: hidden;
}

/*
 * ERPNet date picker (erpDatePicker.js / Html.Erp().DatePicker()).
 * Bundled into common-styles with every other ErpComponents .less file (bundles.json).
 * Block comments only: gulp runs postcss (a plain CSS parser) before less.
 *
 * Every size and colour below was measured from the Kendo DatePicker and calendar it replaces
 * (Kendo bootstrap theme as configured in ERPNet), so the picker looks the same.
 */
/* ----- the box and its calendar button ----- */
.erp-datepicker {
  position: relative;
  display: block;
}
.erp-datepicker > .form-control[data-role="erpdatepicker"] {
  padding-right: calc(33.5px + 0.75rem);
}
.erp-datepicker-button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 33.5px;
  border: 0;
  padding: 0;
  background-color: #DEE2E6;
  color: #212529;
  border-top-right-radius: 0.475rem;
  border-bottom-right-radius: 0.475rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.erp-datepicker-button:hover {
  background-color: #CED4DA;
}
.erp-datepicker-button svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
/* Disabled: greyed out like the disabled Kendo picker (see erpTextBox.less for why !important). */
.form-control[data-role="erpdatepicker"]:disabled {
  background-color: #F3F6F9 !important;
  border-color: #F3F6F9;
  color: #464E5F;
}
.erp-datepicker.erp-datepicker-disabled {
  opacity: 0.65;
  filter: grayscale(0.1);
}
.erp-datepicker.erp-datepicker-disabled .erp-datepicker-button {
  cursor: default;
  pointer-events: none;
}
body.dark-mode .form-control[data-role="erpdatepicker"]:disabled {
  background-color: #272734 !important;
}
/* ----- the popup calendar ----- */
.erp-calendar {
  position: absolute;
  z-index: 20050;
  width: 311px;
  background-color: #FFFFFF;
  border: 1px solid rgba(33, 37, 41, 0.13);
  border-radius: 4.875px;
  box-shadow: rgba(0, 0, 0, 0.125) 0 6px 13px 0;
  color: #212529;
  font-size: 13px;
  overflow: hidden;
  user-select: none;
}
.erp-calendar-header {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 39px;
  padding: 3.25px;
  background-color: #34BFA3;
  color: #212529;
}
.erp-calendar-nav,
.erp-calendar-title {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 31px;
  border-radius: 4.875px;
  cursor: pointer;
}
.erp-calendar-nav {
  width: 31px;
}
.erp-calendar-nav svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.erp-calendar-title {
  flex: 1;
  padding: 4.875px 9.75px;
}
.erp-calendar-nav:hover,
.erp-calendar-title:hover {
  background-color: rgba(0, 0, 0, 0.08);
}
.erp-calendar-view {
  padding: 0 3.25px;
  min-height: 266px;
}
.erp-calendar-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
.erp-calendar-th {
  height: 38px;
  font-size: 11.375px;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  color: #565E64;
}
.erp-calendar-td {
  padding: 0;
  text-align: center;
}
.erp-calendar-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  margin: 0 auto;
  border-radius: 4.875px;
  color: #212529;
  cursor: pointer;
}
.erp-calendar-monthview .erp-calendar-link {
  width: 38px;
}
.erp-calendar-yearview .erp-calendar-link,
.erp-calendar-decadeview .erp-calendar-link,
.erp-calendar-centuryview .erp-calendar-link {
  height: 74px;
  margin: 2px;
  border: 3px solid transparent;
}
.erp-calendar-other-month .erp-calendar-link {
  color: #565E64;
}
.erp-calendar-td .erp-calendar-link:hover {
  background-color: #DEE2E6;
}
.erp-calendar-today .erp-calendar-link {
  color: #0D6EFD;
  font-weight: 600;
}
.erp-calendar-yearview .erp-calendar-focused .erp-calendar-link,
.erp-calendar-decadeview .erp-calendar-focused .erp-calendar-link,
.erp-calendar-centuryview .erp-calendar-focused .erp-calendar-link {
  border-color: #EFF2F5;
}
.erp-calendar-monthview .erp-calendar-focused:not(.erp-calendar-selected) .erp-calendar-link {
  box-shadow: inset 0 0 0 2px #EFF2F5;
}
.erp-calendar-selected .erp-calendar-link,
.erp-calendar-selected .erp-calendar-link:hover {
  background-color: #0D6EFD;
  color: #FFFFFF;
}
.erp-calendar-disabled .erp-calendar-link {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}
.erp-calendar-footer {
  display: flex;
  justify-content: center;
  padding: 6.5px 13px;
}
.erp-calendar-today-link {
  padding: 4.875px 9.75px;
  border-radius: 4.875px;
  color: #0D6EFD;
  cursor: pointer;
}
.erp-calendar-today-link:hover {
  background-color: rgba(13, 110, 253, 0.08);
}
/* ----- date-time mode (erpDateTimePicker): calendar button, then clock button, and the time list ----- */
.erp-datetimepicker > .form-control[data-role="erpdatepicker"] {
  padding-right: calc(67px + 0.75rem);
}
.erp-datetimepicker > .erp-datepicker-button:not(.erp-datepicker-time-button) {
  right: 33.5px;
  border-radius: 0;
}
/* Measured from the Kendo time list: as wide as the box, 30px rows, 13px text, about 200px tall. */
.erp-timelist {
  position: absolute;
  z-index: 20050;
  max-height: 202px;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: #FFFFFF;
  border: 1px solid rgba(33, 37, 41, 0.13);
  border-radius: 4.875px;
  box-shadow: rgba(0, 0, 0, 0.125) 0 6px 13px 0;
  color: #212529;
  font-size: 13px;
}
.erp-timelist > li {
  height: 30px;
  padding: 5.2px 13px;
  line-height: 19.5px;
  cursor: pointer;
}
.erp-timelist > li:hover {
  background-color: #DEE2E6;
}
.erp-timelist > li.erp-timelist-selected {
  color: #0D6EFD;
  font-weight: 600;
}

/*
 * ERPNet date-range picker (erpDateRangePicker.js / Html.Erp().DateRangePicker()).
 * Bundled into common-styles with every other ErpComponents .less file (bundles.json).
 * Block comments only: gulp runs postcss (a plain CSS parser) before less.
 *
 * Sizes and colours measured from the Kendo DateRangePicker it replaces. The day cells, footer and
 * nav buttons reuse the calendar styles in erpDatePicker.less (.erp-calendar ...).
 */
/* ----- the two boxes ----- */
.erp-daterangepicker {
  display: flex;
  align-items: center;
  gap: 4px;
}
.erp-daterangepicker > input[data-role="erpdaterangeinput"] {
  flex: 1 1 0;
  min-width: 0;
  cursor: text;
}
.erp-daterangepicker > .erp-daterange-separator {
  display: none;
}
/* ----- the two-month calendar ----- */
.erp-rangecalendar {
  width: 553.5px;
}
.erp-rangecalendar-header {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 38px;
  padding: 3.25px 6.5px;
  background-color: transparent;
}
.erp-rangecalendar-title {
  margin-right: auto;
  padding: 4.875px 9.75px;
  border-radius: 4.875px;
  color: #0D6EFD;
  cursor: pointer;
}
.erp-rangecalendar-title:hover {
  background-color: rgba(13, 110, 253, 0.08);
}
.erp-rangecalendar .erp-calendar-nav {
  color: #212529;
}
.erp-rangecalendar .erp-calendar-nav svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.erp-rangecalendar-months {
  display: flex;
}
.erp-rangecalendar-months > .erp-calendar-view {
  flex: 1 1 0;
  min-height: 0;
  padding: 0 6.5px;
}
.erp-rangecalendar .erp-calendar-empty {
  pointer-events: none;
}
/* Range: the band between the ends, and the two ends themselves (rounded on the outside). The band is the
   light teal the Kendo range calendar showed on screen (its computed style reports a blue tint, but the
   theme paints it teal). */
.erp-rangecalendar .erp-range-mid,
.erp-rangecalendar .erp-range-start,
.erp-rangecalendar .erp-range-end,
.erp-rangecalendar .erp-calendar-hover-range {
  background-color: #C9F7F5;
}
.erp-rangecalendar .erp-range-start {
  border-radius: 6.5px 0 0 6.5px;
}
.erp-rangecalendar .erp-range-end {
  border-radius: 0 6.5px 6.5px 0;
}
.erp-rangecalendar .erp-range-start.erp-range-end {
  border-radius: 6.5px;
}
.erp-rangecalendar .erp-range-start .erp-calendar-link,
.erp-rangecalendar .erp-range-end .erp-calendar-link,
.erp-rangecalendar .erp-range-start .erp-calendar-link:hover,
.erp-rangecalendar .erp-range-end .erp-calendar-link:hover {
  background-color: #0D6EFD;
  color: #FFFFFF;
}
.erp-rangecalendar .erp-range-start .erp-calendar-link {
  border-radius: 6.5px 0 0 6.5px;
}
.erp-rangecalendar .erp-range-end .erp-calendar-link {
  border-radius: 0 6.5px 6.5px 0;
}
.erp-rangecalendar .erp-range-start.erp-range-end .erp-calendar-link {
  border-radius: 6.5px;
}
.erp-rangecalendar .erp-range-mid .erp-calendar-link {
  border-radius: 0;
}
/* Today: teal text with a thin blue ring (the single-date calendar shows it in blue). */
.erp-rangecalendar .erp-calendar-today .erp-calendar-link {
  color: #34BFA3;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px #0D6EFD;
}
.erp-rangecalendar .erp-range-start.erp-calendar-today .erp-calendar-link,
.erp-rangecalendar .erp-range-end.erp-calendar-today .erp-calendar-link {
  color: #FFFFFF;
}

/*
 * ERPNet drop-down list (erpDropDownList.js / Html.Erp().DropDownList()). The box is a Metronic form-control with the
 * combo box's grey arrow on the right; the list is the shared one (List/erpList.less), with a search box and an option
 * label row above it.
 * Block comments only: gulp runs postcss (a plain CSS parser) before less.
 */
.erp-dropdownlist.form-control {
  position: relative;
  display: block;
  padding-right: calc(33.5px + 0.75rem);
  cursor: pointer;
  user-select: none;
  text-align: left;
}
.erp-dropdownlist__value {
  display: block;
  min-height: 1.5em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.erp-dropdownlist__button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 33.5px;
  background-color: #DEE2E6;
  color: #212529;
  border-top-right-radius: 0.475rem;
  border-bottom-right-radius: 0.475rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.erp-dropdownlist:hover > .erp-dropdownlist__button {
  background-color: #CED4DA;
}
.erp-dropdownlist__button svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.erp-dropdownlist > .erp-list__loading {
  right: calc(33.5px + 0.6rem);
}
/* Disabled: greyed out like the disabled Kendo box (see erpTextBox.less for why !important). */
.erp-dropdownlist.erp-dropdownlist--disabled {
  background-color: #F3F6F9 !important;
  border-color: #F3F6F9;
  opacity: 0.65;
  filter: grayscale(0.1);
  cursor: default;
}
body.dark-mode .erp-dropdownlist.erp-dropdownlist--disabled {
  background-color: #272734 !important;
}
.erp-dropdownlist.erp-dropdownlist--readonly {
  cursor: default;
}
/* The search box and the option label above the list. */
.erp-dropdownlist__search {
  padding: 6px;
  border-bottom: 1px solid rgba(33, 37, 41, 0.13);
}
.erp-dropdownlist__optionlabel {
  padding: 5.2px 13px;
  line-height: 19.5px;
  min-height: 30px;
  cursor: pointer;
  color: #6C757D;
  border-bottom: 1px solid rgba(33, 37, 41, 0.08);
}
.erp-dropdownlist__optionlabel:hover {
  background-color: #DEE2E6;
}
.erp-dropdownlist__optionlabel.erp-list__item--focused {
  box-shadow: inset 0 0 0 2px rgba(13, 110, 253, 0.25);
}
.erp-dropdownlist__optionlabel.erp-list__item--selected {
  background-color: #0D6EFD;
  color: #FFFFFF;
}
body.dark-mode .erp-dropdownlist__search,
body.dark-mode .erp-dropdownlist__optionlabel {
  border-color: #2B2B40;
}
body.dark-mode .erp-dropdownlist__optionlabel:hover {
  background-color: #2B2B40;
}

/*
 * ERPNet file manager (erpFileManager.js / Html.Erp().FileManager()): toolbar on top, then the folder tree, the open
 * folder (path, then grid or tiles) and the details pane side by side, filling the height the helper gives.
 * Block comments only: gulp runs postcss (a plain CSS parser) before less.
 */
.erp-filemanager {
  display: flex;
  flex-direction: column;
  border: 1px solid #EFF2F5;
  border-radius: 0.475rem;
  background-color: #FFFFFF;
  font-family: Poppins, Helvetica, "sans-serif";
  font-size: 0.95rem;
  overflow: hidden;
}
.erp-filemanager__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-bottom: 1px solid #EFF2F5;
  background-color: #F9F9F9;
}
.erp-filemanager__search {
  width: 160px;
}
.erp-filemanager__search i {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #A1A5B7;
  font-size: 0.85rem;
}
.erp-filemanager__search input {
  padding-left: 2.1rem;
}
.erp-filemanager__details-toggle {
  margin-bottom: 0;
  white-space: nowrap;
}
.erp-filemanager__body {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
}
.erp-filemanager__nav {
  flex: 0 0 25%;
  max-width: 300px;
  overflow: auto;
  padding: 0.75rem 0.5rem;
}
.erp-filemanager__nav ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.erp-filemanager__nav ul ul {
  padding-left: 1rem;
}
.erp-filemanager__node {
  display: block;
  padding: 0.3rem 0.5rem;
  border-radius: 0.3rem;
  color: #3F4254;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.erp-filemanager__node:hover {
  background-color: #F4F6FA;
  color: #009EF7;
}
.erp-filemanager__node--current {
  background-color: #F1FAFF;
  color: #009EF7;
  font-weight: 600;
}
/* The dividers beside the tree and the details pane, dragged to resize them (a grip line in the middle, as Kendo's). */
.erp-filemanager__splitter {
  position: relative;
  flex: 0 0 7px;
  border-left: 1px solid #EFF2F5;
  border-right: 1px solid #EFF2F5;
  background-color: #F9F9F9;
  cursor: col-resize;
}
.erp-filemanager__splitter::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 1px;
  height: 24px;
  margin-top: -12px;
  background-color: #7E8299;
}
.erp-filemanager__splitter:hover,
.erp-filemanager__splitter:focus {
  background-color: #E1F0FF;
  outline: none;
}
.erp-filemanager__splitter[hidden] {
  display: none;
}
body.erp-filemanager--resizing,
body.erp-filemanager--resizing * {
  cursor: col-resize !important;
  user-select: none;
}
.erp-filemanager__main {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}
.erp-filemanager__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #EFF2F5;
  background-color: #F9F9F9;
}
.erp-filemanager__breadcrumb .erp-filemanager__home {
  color: #009EF7;
}
.erp-filemanager__crumb-sep {
  color: #A1A5B7;
}
.erp-filemanager__view {
  flex: 1 1 auto;
  overflow: auto;
  user-select: none;
}
.erp-filemanager__grid thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: #FFFFFF;
  color: #A1A5B7;
  cursor: pointer;
  white-space: nowrap;
}
.erp-filemanager__grid th.erp-filemanager__sorted {
  color: #F1416C;
}
.erp-filemanager__grid tbody tr {
  cursor: default;
}
.erp-filemanager__grid td:first-child i {
  width: 1.1rem;
  color: #7E8299;
}
.erp-filemanager__tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem;
}
.erp-filemanager__tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 110px;
  padding: 0.75rem 0.5rem;
  border: 2px solid transparent;
  border-radius: 0.475rem;
  cursor: default;
}
.erp-filemanager__tile i {
  font-size: 2.25rem;
  color: #7E8299;
  margin-bottom: 0.5rem;
}
.erp-filemanager__tile:hover {
  background-color: #F4F6FA;
}
.erp-filemanager__tile-name {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* !important: the theme's hover / stripe colours on table rows. */
.erp-filemanager__item--selected,
.erp-filemanager__item--selected > td {
  background-color: #E1F0FF !important;
}
.erp-filemanager__tile.erp-filemanager__item--selected {
  border-color: #009EF7;
}
.erp-filemanager__drop,
.erp-filemanager__drop > td {
  outline: 2px dashed #009EF7;
  outline-offset: -2px;
  background-color: #F1FAFF !important;
}
.erp-filemanager__preview {
  flex: 0 0 25%;
  max-width: 300px;
  overflow: auto;
  padding: 1.5rem 1rem;
  text-align: center;
}
.erp-filemanager__preview dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 0.6rem;
  margin-top: 1rem;
  text-align: left;
}
.erp-filemanager__preview dt {
  font-weight: 600;
  color: #7E8299;
}
.erp-filemanager__preview dd {
  margin: 0;
  word-break: break-word;
}
.erp-filemanager__preview[hidden] {
  display: none;
}
.erp-filemanager__preview-empty {
  margin-top: 2rem;
  color: #3F4254;
}
.erp-filemanager__preview-icon i {
  font-size: 3.5rem;
  color: #7E8299;
}
.erp-filemanager__preview-name {
  margin-top: 0.75rem;
  font-weight: 600;
  word-break: break-word;
}
.erp-filemanager--busy .erp-filemanager__view {
  opacity: 0.5;
}
.erp-filemanager__menu {
  z-index: 1100;
  min-width: 140px;
}
.erp-filemanager__hint {
  position: absolute;
  z-index: 1100;
  padding: 0.4rem 0.75rem;
  border-radius: 0.475rem;
  background-color: #FFFFFF;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
  pointer-events: none;
  white-space: nowrap;
}
body.erp-filemanager--dragging,
body.erp-filemanager--dragging * {
  cursor: grabbing !important;
}
body.dark-mode .erp-filemanager,
body.dark-mode .erp-filemanager__grid thead th,
body.dark-mode .erp-filemanager__hint {
  background-color: #1E1E2D;
  color: #FFFFFF;
  border-color: #2B2B40;
}
body.dark-mode .erp-filemanager__toolbar,
body.dark-mode .erp-filemanager__breadcrumb {
  background-color: #151521;
  border-color: #2B2B40;
}
body.dark-mode .erp-filemanager__splitter {
  background-color: #151521;
  border-color: #2B2B40;
}
body.dark-mode .erp-filemanager__node,
body.dark-mode .erp-filemanager__preview-empty {
  color: #CDCDDE;
}
body.dark-mode .erp-filemanager__node:hover,
body.dark-mode .erp-filemanager__tile:hover,
body.dark-mode .erp-filemanager__node--current {
  background-color: #212E48;
}
body.dark-mode .erp-filemanager__item--selected,
body.dark-mode .erp-filemanager__item--selected > td {
  background-color: #212E48 !important;
}

/*
 * ERPNet grid (erpGrid.js / Html.Erp().Grid<T>()). The look the app gave Kendo's grid (kendo-customize.less): a blue
 * upper-case group panel, grey upper-case headers with the sorted one in red, light alternate rows, the pager on a
 * grey bar. Metronic colours; dark mode as the app's Kendo grid.
 * Block comments only: gulp runs postcss (a plain CSS parser) before less.
 */
.erp-grid {
  position: relative;
  font-family: Poppins, Helvetica, "sans-serif";
  color: #3F4254;
  background-color: #FFFFFF;
}
/* The group panel. */
.erp-grid__groups {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.5rem 0.5rem;
  border: 1px solid #E6E6E6;
  border-bottom: 0;
  color: #3699FF;
  font-weight: 700;
  text-transform: uppercase;
}
.erp-grid__groups-hint {
  font-size: 0.9rem;
}
.erp-grid__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 30px;
  padding: 4px 8px;
  border: 1px solid #E4E6EF;
  border-radius: 0.42rem;
  background-color: #F3F6F9;
  color: #3F4254;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
}
.erp-grid__chip:focus-visible {
  outline: 2px solid #3699FF;
}
.erp-grid__chip-dir {
  color: #F64E60;
  font-size: 0.85rem;
}
.erp-grid__chip-remove {
  padding: 0;
  border: 0;
  background: transparent;
  color: #F64E60;
  line-height: 1;
}
.erp-grid__drag-hint {
  position: absolute;
  z-index: 2000;
  padding: 0.35rem 0.75rem;
  border-radius: 0.42rem;
  background-color: #3699FF;
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 600;
  pointer-events: none;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}
/* The table: Kendo's fixed layout (column widths from the col elements; long text wraps). */
.erp-grid__content {
  overflow-x: auto;
}
.erp-grid__content--fixed {
  position: relative;
  overflow-y: auto;
}
/*
 * The toolbar (the app's Kendo toolbar: light green-grey bar): buttons only, no padding (as Kendo's, 31px high);
 * with the search box, padded around the box filling it.
 */
.erp-grid__toolbar {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0;
  border-radius: 0.42rem;
  background-color: #ECF0F3;
}
.erp-grid__toolbar--search {
  padding: 1em;
}
.erp-grid__search {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.erp-grid__search > i {
  position: absolute;
  left: 1rem;
  color: #B5B5C3;
}
.erp-grid__search > input {
  padding-left: 2.75rem;
}
/* The focus cell of the keyboard (Navigatable). */
.erp-grid__table tbody td.erp-grid__cell--focus {
  box-shadow: inset 0 0 0 2px rgba(54, 153, 255, 0.5);
}
.erp-grid__table:focus {
  outline: none;
}
/* The footer totals row. */
.erp-grid__table tfoot td {
  padding: 0.5rem;
  border-top: 1px solid #E6E6E6;
  background-color: #F9F9F9;
  font-weight: 600;
}
.erp-grid__content--fixed .erp-grid__table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
}
.erp-grid__table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}
.erp-grid__table--auto {
  table-layout: auto;
}
.erp-grid__table thead th {
  padding: 1rem;
  border: 1px solid #E6E6E6;
  border-width: 1px 1px 1px 0;
  background-color: #FFFFFF;
  color: #B5B5C3;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  vertical-align: middle;
  position: relative;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.erp-grid__table thead th:first-child {
  border-left-width: 1px;
}
/* The checkbox column's header: the box fits its 50px column whole (no "..." cut-off). */
.erp-grid__table thead th.erp-grid__th--select {
  padding: 0.5rem;
  text-align: center;
  text-overflow: clip;
}
.erp-grid__th--sortable {
  cursor: pointer;
  user-select: none;
}
.erp-grid__th--sortable:focus-visible {
  outline: 2px solid #3699FF;
  outline-offset: -2px;
}
.erp-grid__th--sorted {
  color: #F64E60 !important;
  font-weight: 700 !important;
}
.erp-grid__sort-icon {
  margin-right: 0.35rem;
  color: #F64E60;
  font-size: 0.8rem;
}
/* Several sorted columns: the column's place in the order (Kendo's ShowIndexes). */
.erp-grid__sort-order {
  display: inline-block;
  min-width: 1.1rem;
  margin-left: 0.35rem;
  padding: 0 0.25rem;
  border-radius: 0.42rem;
  background-color: #FFE2E5;
  color: #F64E60;
  font-size: 0.75rem;
  line-height: 1.1rem;
  text-align: center;
}
/* Editing in place: the open cell, the changed mark (Kendo's red corner), the command cell's button. */
.erp-grid__table tbody td.erp-grid__edit-cell {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  overflow: visible;
  white-space: normal;
  text-overflow: clip;
}
.erp-grid__table tbody td.erp-grid__dirty-cell {
  position: relative;
}
.erp-grid__dirty {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 6px 0 0;
  border-color: #F64E60 transparent transparent transparent;
}
/* A toolbar button, measured from Kendo's (k-button-solid-base): grey, 13px text, a 13px icon before it. */
.erp-grid__tool {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.375em 0.75em;
  border: 1px solid #DEE2E6;
  border-radius: 0.375em;
  background-color: #DEE2E6;
  color: #212529;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
}
.erp-grid__tool:hover {
  border-color: #CED4DA;
  background-color: #CED4DA;
}
.erp-grid__tool:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(54, 153, 255, 0.35);
}
.erp-grid__tool > i {
  font-size: 1em;
  color: inherit;
}
.erp-grid__toolbar .erp-grid__search {
  margin-left: auto;
}
/* The filter row under the header. */
.erp-grid__filter-row > td {
  padding: 0.35rem 0.5rem;
  border-bottom: 1px solid #EBEDF3;
}
.erp-grid__filter-cell {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.erp-grid__filter-cell > .erp-autocomplete {
  flex: 1 1 auto;
  min-width: 0;
}
.erp-grid__resize {
  position: absolute;
  top: 0;
  right: 0;
  width: 6px;
  height: 100%;
  cursor: col-resize;
}
.erp-grid__table tbody td {
  padding: 0.5rem;
  vertical-align: middle;
  overflow-wrap: anywhere;
}
.erp-grid__table tbody td a:not(.btn) {
  color: #444444;
}
.erp-grid__table tbody td .dropdown-item {
  width: unset;
}
.erp-grid__table tbody td .symbol.symbol-custom,
.erp-grid__table tbody td .badge {
  display: inline-flex;
}
.erp-grid__table tbody td .badge:not(:first-child) {
  margin-top: 0.5rem;
}
.erp-grid__table tbody td .btn.btn-xs {
  height: calc(1em + 1rem + 2px);
  width: calc(1em + 1rem + 2px);
}
.erp-grid__row--alt {
  background-color: #F9F9F9;
}
.erp-grid__row:hover {
  background-color: #F3F6F9;
}
.erp-grid__row--selected,
.erp-grid__row--selected:hover {
  background-color: rgba(27, 197, 189, 0.1);
  color: #169E97;
  font-weight: 500;
}
.erp-grid__group-col,
.erp-grid__hierarchy-col {
  width: 2rem;
}
/* Detail rows: the expand link, and the detail cell on the app's light grey (as the Kendo grid's). */
.erp-grid__expand {
  color: #009EF7;
  font-size: 1.25rem;
}
.erp-grid__table tbody tr.erp-grid__detail-row {
  background-color: #FFFFFF;
}
.erp-grid__table tbody td.erp-grid__detail-cell {
  padding: 1rem;
  border: 1px solid #ECF0F3;
  background-color: #ECF0F3;
  box-shadow: 0 10px 15px 1px rgba(0, 0, 0, 0.05);
}
.erp-grid__group-header {
  background-color: #FFFFFF;
}
.erp-grid__group-title {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  color: #6E6E6E;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}
.erp-grid__group-toggle {
  padding: 0 0.25rem;
  border: 0;
  background: transparent;
  color: #6E6E6E;
}
.erp-grid__select,
.erp-grid__select-all {
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 0.42rem;
  background-color: #E2E2E2;
  vertical-align: middle;
  cursor: pointer;
}
/* Ticked: the app's Kendo checkbox blue. */
.erp-grid__select:checked,
.erp-grid__select-all:checked {
  border-color: #3699FF;
  background-color: #3699FF;
}
/* The placeholder rows of the first read. */
.erp-grid__skeleton {
  display: block;
  height: 1rem;
  border-radius: 0.25rem;
  background: linear-gradient(90deg, #EFF2F5 25%, #F8F9FB 50%, #EFF2F5 75%);
  background-size: 200% 100%;
  animation: erp-grid-pulse 1.4s ease-in-out infinite;
}
@keyframes erp-grid-pulse {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.erp-grid__norecords {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  text-align: center;
}
.erp-grid__norecords[hidden] {
  display: none;
}
.erp-grid__loading {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.6);
}
/* The filter funnel / column menu button at a header's right end (marked while the column filters). */
.erp-grid__table thead th.erp-grid__th--menu {
  position: relative;
  padding-right: 2rem;
}
.erp-grid__header-button {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  border-radius: 0.3rem;
  background: transparent;
  color: #B5B5C3;
  font-size: 0.8rem;
  line-height: 1.5rem;
  transform: translateY(-50%);
  cursor: pointer;
}
.erp-grid__header-button:hover {
  background-color: #E4E6EF;
  color: #3F4254;
}
/*
 * The icon in the middle of the button (the theme's header icons have a 5px right margin, which put it left of the
 * middle), in the button's color (the theme colors icons on its own).
 */
.erp-grid__header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.erp-grid__table thead th .erp-grid__header-button i {
  color: inherit;
  font-size: inherit;
  line-height: 1;
  margin: 0;
}
/* A filtered column: Metronic's light primary (a pale blue tile, a blue funnel). */
.erp-grid__filter-button--active,
.erp-grid__filter-button--active:hover {
  background-color: #E1F0FF;
  color: #3699FF;
}
/* The filter menu and the column menu: a panel below the header button, over modals. */
.erp-grid__menu {
  position: absolute;
  z-index: 1090;
  padding: 0.5rem;
  border: 1px solid #EBEDF3;
  border-radius: 0.42rem;
  background-color: #FFFFFF;
  box-shadow: 0 0 50px 0 rgba(82, 63, 105, 0.15);
  font-size: 1rem;
  color: #3F4254;
}
.erp-grid__filter-menu {
  width: 16rem;
}
.erp-grid__filter-help {
  margin-bottom: 0.5rem;
  color: #7E8299;
}
.erp-grid__filter-field {
  margin-bottom: 0.5rem;
}
.erp-grid__filter-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.erp-grid__filter-buttons .btn {
  flex: 1 1 0;
}
.erp-grid__column-menu,
.erp-grid__column-menu-columns {
  min-width: 12rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.erp-grid__column-menu-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.3rem;
  cursor: pointer;
  white-space: nowrap;
}
.erp-grid__column-menu-item:hover,
.erp-grid__column-menu-item[aria-expanded="true"] {
  background-color: #F3F6F9;
}
.erp-grid__column-menu-item > i {
  width: 1rem;
  color: #7E8299;
  text-align: center;
}
.erp-grid__column-menu-caret {
  margin-left: auto;
}
.erp-grid__column-menu-separator {
  height: 1px;
  margin: 0.35rem 0;
  background-color: #EBEDF3;
}
.erp-grid__column-menu-popup {
  position: absolute;
  top: -0.5rem;
  left: 100%;
  z-index: 1;
  padding: 0.5rem;
  border: 1px solid #EBEDF3;
  border-radius: 0.42rem;
  background-color: #FFFFFF;
  box-shadow: 0 0 50px 0 rgba(82, 63, 105, 0.15);
  cursor: default;
  white-space: normal;
}
/* A shared header over columns (two header rows). */
.erp-grid__table thead th.erp-grid__th--group {
  text-align: center;
  border-bottom: 1px solid #EBEDF3;
}
/*
 * "Export to PDF": the grid's print sheet (erpGrid.js _printSheet), appended to <body> while printing and the only thing
 * on paper: a heading line, then the table with its header rows on every page, the rows and the totals once at the end.
 * Colours are printed as shown (print-color-adjust).
 */
.erp-grid-print-sheet {
  display: none;
}
@media print {
  html.erp-grid-print body > *:not(.erp-grid-print-sheet) {
    display: none !important;
  }
  html.erp-grid-print,
  html.erp-grid-print body {
    margin: 0 !important;
    padding: 0 !important;
    background: #FFFFFF !important;
  }
  html.erp-grid-print .erp-grid-print-sheet {
    display: block;
    font-family: Poppins, Helvetica, "sans-serif";
    color: #181C32;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .erp-grid-print-sheet__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #181C32;
  }
  .erp-grid-print-sheet__head h1 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
  }
  .erp-grid-print-sheet__head span {
    font-size: 11px;
    color: #7E8299;
  }
  .erp-grid-print-sheet__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    line-height: 1.35;
  }
  .erp-grid-print-sheet__table thead {
    display: table-header-group;
  }
  .erp-grid-print-sheet__table tfoot {
    display: table-row-group;
  }
  .erp-grid-print-sheet__table th {
    padding: 6px 8px;
    border: 1px solid #D6D9E0;
    background-color: #F3F6F9;
    color: #3F4254;
    font-weight: 600;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    vertical-align: bottom;
  }
  .erp-grid-print-sheet__table th.erp-grid-print-sheet__colgroup,
  .erp-grid-print-sheet__table th.erp-grid-print-sheet__center {
    text-align: center;
  }
  .erp-grid-print-sheet__table th.erp-grid-print-sheet__num {
    text-align: right;
  }
  .erp-grid-print-sheet__table td {
    padding: 4px 8px;
    border-bottom: 1px solid #E4E6EF;
    vertical-align: top;
  }
  .erp-grid-print-sheet__table tbody tr:nth-child(even) > td {
    background-color: #FAFBFC;
  }
  .erp-grid-print-sheet__table tr {
    break-inside: avoid;
  }
  .erp-grid-print-sheet__table tr.erp-grid-print-sheet__group > td {
    background-color: #EEF0F8;
    font-weight: 600;
  }
  .erp-grid-print-sheet__table tfoot td {
    border-top: 2px solid #181C32;
    border-bottom: 0;
    font-weight: 600;
    white-space: nowrap;
  }
  .erp-grid-print-sheet__table a {
    color: inherit;
    text-decoration: none;
  }
}
/* An empty grid keeps room for the spinner while it reads. */
.erp-grid--busy .erp-grid__content {
  min-height: 8rem;
}
.erp-grid__pager {
  padding: 0.25rem 0.5rem;
  border-top: 1px solid #E6E6E6;
  background-color: #F9F9F9;
}
/* Size(ComponentSize.Small). */
.erp-grid--sm .erp-grid__table thead th {
  padding: 0.5rem 1rem;
}
.erp-grid--sm .erp-grid__table tbody td {
  padding: 0.25rem 0.5rem;
}
.erp-grid--sm .erp-grid__table tbody td .btn.btn-xs {
  height: 19px !important;
  width: 21px !important;
}
.erp-grid--sm .erp-grid__table tbody td .btn.btn-xs i {
  font-size: 1.1rem !important;
  line-height: 0;
}
.erp-grid--sm .erp-grid__table tbody td .btn.btn-sm {
  padding: calc(0.25rem + 1px) calc(0.25rem + 1px) !important;
  font-size: 0.825rem !important;
}
/* Dark mode, as the app's Kendo grid. */
body.dark-mode .erp-grid,
body.dark-mode .erp-grid__table thead th,
body.dark-mode .erp-grid__groups,
body.dark-mode .erp-grid__group-header {
  background-color: #1E1E2D;
  border-color: #323248;
  color: #FFFFFF;
}
body.dark-mode .erp-grid__table tbody tr {
  background-color: #1B1B29;
  color: #FFFFFF;
}
body.dark-mode .erp-grid__table tbody tr.erp-grid__row--alt {
  background-color: #2B2B40;
}
body.dark-mode .erp-grid__table tbody td a:not(.btn) {
  color: #FFFFFF;
}
body.dark-mode .erp-grid__chip {
  background-color: #2B2B40;
  border-color: #323248;
  color: #FFFFFF;
}
body.dark-mode .erp-grid__toolbar,
body.dark-mode .erp-grid__table tfoot td {
  background-color: #1B1B29;
  border-color: #323248;
  color: #FFFFFF;
}
body.dark-mode .erp-grid__pager {
  background-color: #151521;
  border-color: #323248;
  color: #FFFFFF;
}
body.dark-mode .erp-grid__menu,
body.dark-mode .erp-grid__column-menu-popup {
  border-color: #2B2B40;
  background-color: #1E1E2D;
  color: #CDCDDE;
}
body.dark-mode .erp-grid__column-menu-item:hover,
body.dark-mode .erp-grid__column-menu-item[aria-expanded="true"],
body.dark-mode .erp-grid__header-button:hover {
  background-color: #2B2B40;
}
body.dark-mode .erp-grid__filter-button--active,
body.dark-mode .erp-grid__filter-button--active:hover {
  background-color: #212E48;
  color: #3699FF;
}
body.dark-mode .erp-grid__tool {
  border-color: #2B2B40;
  background-color: #2B2B40;
  color: #CDCDDE;
}
body.dark-mode .erp-grid__loading {
  background-color: rgba(20, 20, 32, 0.6);
}
/*
 * Phone view (the app's Kendo grid had it, kendo-customize.less; same widths: up to 760px, and tablets): each row is a
 * block of "Title  value" lines (the cell's title attribute, set by kendoGridDataBound, written before the value), the
 * headers sit inline and still sort, group cells, empty cells and untitled headers are hidden, nothing scrolls sideways.
 */
@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {
  .erp-grid__groups {
    border: none;
  }
  .erp-grid__table,
  .erp-grid__table thead,
  .erp-grid__table tbody,
  .erp-grid__table tr,
  .erp-grid__table th,
  .erp-grid__table td {
    display: block;
  }
  .erp-grid__table thead tr {
    border-top: 1px solid #E6E6E6;
    background-color: #FFFFFF;
  }
  .erp-grid__table thead th {
    display: inline-block;
    border: none;
    color: #999999;
    font-size: 1rem;
    letter-spacing: 0;
  }
  .erp-grid__table thead th.erp-grid__group-cell,
  .erp-grid__table thead th[data-title=""] {
    display: none;
  }
  .erp-grid__table tbody tr {
    border: none;
    text-align: left;
  }
  .erp-grid__table tbody td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #E6E6E6 !important;
    font-size: 12px;
  }
  .erp-grid__table tbody td .text-center {
    text-align: right !important;
  }
  .erp-grid__table tbody td::before {
    float: left;
    content: attr(title);
    margin-right: 5px;
    font-weight: 600;
    color: #444444;
  }
  .erp-grid__table tbody td.erp-grid__group-cell,
  .erp-grid__table tbody td:empty {
    display: none;
  }
  .erp-grid__table tbody td[role=gridcell] .dropdown {
    float: none !important;
    display: inline-block;
  }
  .erp-grid__group-title {
    color: #999999;
    font-size: 1rem;
    letter-spacing: 0;
  }
  .erp-grid__pager .erp-pager__input {
    display: none;
  }
  body.dark-mode .erp-grid__table tbody td::before {
    color: #FFFFFF;
  }
  body.dark-mode .erp-grid__table thead tr {
    background-color: #1B1B29;
  }
}

/*
 * ERPNet list core (erpList.js): the drop-down list of the multi select, the multi-column combo box, the drop-down
 * list and the combo box. Block comments only: gulp runs postcss (a plain CSS parser)
 * before less.
 */
.erp-list__popup {
  position: absolute;
  z-index: 20050;
  background-color: #FFFFFF;
  border: 1px solid rgba(33, 37, 41, 0.13);
  border-radius: 4.875px;
  box-shadow: rgba(0, 0, 0, 0.125) 0 6px 13px 0;
  color: #212529;
  font-size: 13px;
}
.erp-list__content {
  overflow-y: auto;
}
.erp-list__list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.erp-list__list > li {
  padding: 5.2px 13px;
  line-height: 19.5px;
  cursor: pointer;
}
/* A virtual list places its rows itself (erpMultiSelect.js draws only those in view). */
.erp-list__content--virtual .erp-list__list > li {
  position: absolute;
  left: 0;
  right: 0;
  box-sizing: border-box;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
/* Every other row of a table, as Kendo's k-table-alt-row (body text colour at 4%). Before the hover and selected
   rules, which win over it. */
.erp-list__list > li.erp-list__item--alt {
  background-color: rgba(33, 37, 41, 0.04);
}
body.dark-mode .erp-list__list > li.erp-list__item--alt:not(.erp-list__item--selected):not(:hover) {
  background-color: #2B2B40;
}
.erp-list__list > li:hover {
  background-color: #DEE2E6;
}
.erp-list__list > li.erp-list__item--focused {
  box-shadow: inset 0 0 0 2px rgba(13, 110, 253, 0.25);
}
.erp-list__list > li.erp-list__item--selected {
  background-color: #0D6EFD;
  color: #FFFFFF;
}
.erp-list__nodata {
  padding: 13px;
  text-align: center;
  color: #6C757D;
}
.erp-list__footer {
  padding: 5px 13px;
  border-top: 1px solid rgba(33, 37, 41, 0.13);
}
body.dark-mode .erp-list__popup {
  background-color: #1E1E2D;
  border-color: #2B2B40;
  color: #CDCDDE;
}
body.dark-mode .erp-list__list > li:hover {
  background-color: #2B2B40;
}
/* Multi-column combo box: a header row with the column titles, and one cell per column in each row. */
.erp-list__header {
  display: flex;
  padding: 0 13px;
  border-bottom: 1px solid rgba(33, 37, 41, 0.13);
  background-color: #F8F9FA;
  font-weight: 600;
}
.erp-list__header > [role="columnheader"],
.erp-list__list > li > .erp-list__cell {
  flex: 0 0 auto;
  box-sizing: border-box;
  padding-right: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.erp-list__header > [role="columnheader"] {
  padding-top: 6px;
  padding-bottom: 6px;
}
.erp-list__list > li.erp-list__row {
  display: flex;
  align-items: center;
}
body.dark-mode .erp-list__header {
  background-color: #1B1B29;
  border-color: #2B2B40;
}
/* The spinner while the list is read (erpList.js _busy), where the clear cross sits, which hides meanwhile. */
.erp-list__loading {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  color: #A1A5B7;
  pointer-events: none;
}
.erp-list__loading > .spinner-border {
  width: 0.9rem;
  height: 0.9rem;
  border-width: 0.15em;
}
.erp-list--loading > .erp-list__loading {
  display: block;
}
.erp-multicolumncombobox > .erp-list__loading {
  right: calc(33.5px + 0.6rem);
}
.erp-multiselect > .erp-list__loading {
  right: 0.7rem;
}
.erp-list--loading > .erp-multicolumncombobox__clear,
.erp-list--loading > .erp-multiselect__clear {
  visibility: hidden;
}

/* ERPNet list box (erpListBox.js). Sized and laid out like the Kendo ListBox it replaces (a 200px tall
   bordered list, toolbar buttons in a column beside it); colours from Metronic. */
.erp-listbox {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  height: 200px;
  vertical-align: top;
  text-align: left;
}
.erp-listbox__list {
  flex: 1 1 auto;
  align-self: stretch;
  min-width: 0;
  overflow-y: auto;
  background-color: #FFFFFF;
  border: 1px solid #E4E6EF;
  border-radius: 0.475rem;
}
.erp-listbox__list > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.erp-listbox__list > ul > li {
  padding: 5.2px 13px;
  line-height: 19.5px;
  font-size: 13px;
  color: #3F4254;
  cursor: pointer;
  user-select: none;
}
.erp-listbox__list > ul > li:hover {
  background-color: #F3F6F9;
}
.erp-listbox__list > ul > li.erp-listbox__item--selected {
  background-color: #0D6EFD;
  color: #FFFFFF;
}
.erp-listbox__list--drop {
  border-color: #0D6EFD;
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.2);
}
.erp-listbox__toolbar {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.erp-listbox__tool.disabled,
.erp-listbox__tool:disabled {
  opacity: 0.5;
  pointer-events: none;
}
/* The copy of an item that follows the pointer while it is dragged. */
.erp-listbox__drag-hint {
  padding: 5.2px 13px;
  line-height: 19.5px;
  font-size: 13px;
  color: #FFFFFF;
  background-color: #0D6EFD;
  border-radius: 0.475rem;
  box-shadow: 0 6px 13px rgba(0, 0, 0, 0.125);
  opacity: 0.9;
}
body.dark-mode .erp-listbox__list {
  background-color: #1E1E2D;
  border-color: #2B2B40;
}
body.dark-mode .erp-listbox__list > ul > li {
  color: #CDCDDE;
}
body.dark-mode .erp-listbox__list > ul > li:hover {
  background-color: #2B2B40;
}
/* An empty list still accepts a drop over its whole area. */
.erp-listbox__list > ul {
  min-height: 100%;
}
/* Where a dragged item will land. */
.erp-listbox__placeholder {
  height: 29.6px;
  background-color: rgba(13, 110, 253, 0.08);
  border: 1px dashed #0D6EFD;
}

/*
 * ERPNet list view (erpListView.js / Html.Erp().ListView<T>()). The pager's styles: Pager/erpPager.less.
 * Block comments only: gulp runs postcss (a plain CSS parser) before less.
 */
/* The spinner while a page is read (erpListView.js _busy), over the rows as Kendo's loading mask. */
.erp-listview {
  position: relative;
}
.erp-listview__loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.6);
}
body.dark-mode .erp-listview__loading {
  background-color: rgba(20, 20, 32, 0.6);
}
/* The rows' box, as the app's Kendo list (kendo-customize.less gave it 2rem around the rows). */
.erp-listview__content {
  padding: 2rem;
}
body.dark-mode .erp-listview {
  background-color: #141420;
  color: #FFFFFF;
}
.erp-listview {
  font-family: Poppins, Helvetica, "sans-serif";
}
.erp-listview__content--endless {
  overflow-y: auto;
}

/*
 * ERPNet multi-column combo box (erpMultiColumnComboBox.js / Html.Erp().MultiColumnComboBox()). The box is the
 * combo box's (erpComboBox.less); the list is the shared one (List/erpList.less).
 * The box is a Metronic form-control with the date picker's grey arrow button on the right.
 * Block comments only: gulp runs postcss (a plain CSS parser) before less.
 */
.erp-multicolumncombobox {
  position: relative;
  display: block;
}
.erp-multicolumncombobox > .form-control[data-role="erpmulticolumncomboboxinput"] {
  padding-right: calc(33.5px + 2rem);
}
.erp-multicolumncombobox__button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 33.5px;
  border: 0;
  padding: 0;
  background-color: #DEE2E6;
  color: #212529;
  border-top-right-radius: 0.475rem;
  border-bottom-right-radius: 0.475rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.erp-multicolumncombobox__button:hover {
  background-color: #CED4DA;
}
.erp-multicolumncombobox__button svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
/* The clear cross, shown while the box holds text (as Kendo's). */
.erp-multicolumncombobox__clear {
  position: absolute;
  top: 50%;
  right: calc(33.5px + 0.65rem);
  transform: translateY(-50%);
  display: none;
  font-size: 1.15rem;
  line-height: 1;
  color: #A1A5B7;
  cursor: pointer;
  user-select: none;
}
.erp-multicolumncombobox__clear svg {
  display: block;
  width: 0.75rem;
  height: 0.75rem;
  fill: currentColor;
}
.erp-multicolumncombobox__clear:hover {
  color: #5E6278;
}
.erp-multicolumncombobox--has-value > .erp-multicolumncombobox__clear {
  display: block;
}
/* Disabled: greyed out like the disabled Kendo box (see erpTextBox.less for why !important). */
.erp-multicolumncombobox > .form-control[data-role="erpmulticolumncomboboxinput"]:disabled {
  background-color: #F3F6F9 !important;
  border-color: #F3F6F9;
  color: #464E5F;
}
.erp-multicolumncombobox.erp-multicolumncombobox--disabled {
  opacity: 0.65;
  filter: grayscale(0.1);
}
.erp-multicolumncombobox.erp-multicolumncombobox--disabled .erp-multicolumncombobox__button,
.erp-multicolumncombobox.erp-multicolumncombobox--disabled .erp-multicolumncombobox__clear {
  cursor: default;
  pointer-events: none;
}
body.dark-mode .erp-multicolumncombobox > .form-control[data-role="erpmulticolumncomboboxinput"]:disabled {
  background-color: #272734 !important;
}

/*
 * ERPNet multi select (erpMultiSelect.js / Html.Erp().MultiSelect()).
 * The box is a Metronic form-control holding chips and a borderless search input; the list looks like the
 * combo box list (erpComboBox.less). Block comments only: gulp runs postcss (a plain CSS parser) before less.
 */
.erp-multiselect.form-control {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  height: auto;
  padding-right: 2rem;
  cursor: text;
}
.erp-multiselect__chips {
  display: contents;
}
.erp-multiselect__chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.15rem 0.35rem 0.15rem 0.6rem;
  border-radius: 0.475rem;
  background-color: #E9ECEF;
  color: #181C32;
  font-size: 0.925rem;
  line-height: 1.5;
}
.erp-multiselect__chip--focused {
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.35);
}
.erp-multiselect__chip-label {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* A user template draws a 30px picture: keep chips with it compact. */
.erp-multiselect__chip-label .symbol.symbol-30px > img,
.erp-multiselect__chip-label .symbol.symbol-30px .symbol-label {
  width: 20px;
  height: 20px;
}
.erp-multiselect__chip-remove {
  margin-left: 0.35rem;
  font-size: 1.1rem;
  line-height: 1;
  color: #A1A5B7;
  cursor: pointer;
  user-select: none;
}
.erp-multiselect__chip-remove svg,
.erp-multiselect__clear svg {
  display: block;
  width: 0.75rem;
  height: 0.75rem;
  fill: currentColor;
}
.erp-multiselect__chip-remove:hover {
  color: #5E6278;
}
.erp-multiselect__input {
  flex: 1 1 4rem;
  min-width: 4rem;
  border: 0;
  outline: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}
/* The clear cross, shown while the box holds items (as Kendo's). */
.erp-multiselect__clear {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  display: none;
  font-size: 1.15rem;
  line-height: 1;
  color: #A1A5B7;
  cursor: pointer;
  user-select: none;
}
.erp-multiselect__clear:hover {
  color: #5E6278;
}
.erp-multiselect--has-value > .erp-multiselect__clear {
  display: block;
}
/* Disabled: greyed out like the disabled Kendo box (see erpTextBox.less for why !important). */
.erp-multiselect.form-control.erp-multiselect--disabled {
  background-color: #F3F6F9 !important;
  border-color: #F3F6F9;
  opacity: 0.65;
  filter: grayscale(0.1);
  cursor: default;
}
.erp-multiselect--disabled .erp-multiselect__clear,
.erp-multiselect--disabled .erp-multiselect__chip-remove {
  pointer-events: none;
}
body.dark-mode .erp-multiselect.form-control.erp-multiselect--disabled {
  background-color: #272734 !important;
}
body.dark-mode .erp-multiselect__chip {
  background-color: #2B2B40;
  color: #CDCDDE;
}
/* The list: ErpComponents/List/erpList.less (shared with the multi-column combo box). */

/*
 * ERPNet number box (erpNumericTextBox.js / Html.Erp().NumericTextBox()).
 * Two Metronic form-controls in one place (the formatted box, and the original input shown while editing),
 * with two small grey arrow buttons on the right in the colours of the date picker and combo box buttons.
 * Block comments only: gulp runs postcss (a plain CSS parser) before less.
 */
/* Full width like the Kendo box; a width or margin class passed by the view sizes the wrapper, not the inputs. */
.erp-numerictextbox {
  position: relative;
  display: inline-flex;
  width: 100%;
  vertical-align: middle;
}
.erp-numerictextbox > .form-control {
  flex: 1 1 auto;
  min-width: 0;
  width: 100% !important;
  margin: 0 !important;
}
.erp-numerictextbox--spinners > .form-control {
  padding-right: calc(22px + 0.75rem);
}
.erp-numerictextbox__spinners {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 22px;
  display: flex;
  flex-direction: column;
  border-top-right-radius: 0.475rem;
  border-bottom-right-radius: 0.475rem;
  overflow: hidden;
}
.erp-numerictextbox__spinners > button {
  flex: 1 1 50%;
  border: 0;
  padding: 0;
  background-color: #DEE2E6;
  color: #212529;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.erp-numerictextbox__spinners > button + button {
  border-top: 1px solid #CED4DA;
}
.erp-numerictextbox__spinners > button:hover {
  background-color: #CED4DA;
}
.erp-numerictextbox__spinners svg {
  width: 10px;
  height: 10px;
  fill: currentColor;
}
/* Disabled: greyed out like the disabled Kendo box (see erpTextBox.less for why !important). */
.erp-numerictextbox > .form-control:disabled {
  background-color: #F3F6F9 !important;
  border-color: #F3F6F9;
  color: #464E5F;
}
.erp-numerictextbox.erp-numerictextbox--disabled {
  opacity: 0.65;
  filter: grayscale(0.1);
}
.erp-numerictextbox.erp-numerictextbox--disabled .erp-numerictextbox__spinners {
  pointer-events: none;
}
body.dark-mode .erp-numerictextbox > .form-control:disabled {
  background-color: #272734 !important;
}
body.dark-mode .erp-numerictextbox__spinners > button {
  background-color: #2B2B40;
  color: #CDCDDE;
}

/*
 * ERPNet pager (erpPager.js), under the list views and the grids. Metronic look: a row of small flat buttons, the
 * current page in the primary colour, the info muted on the right.
 * Block comments only: gulp runs postcss (a plain CSS parser) before less.
 */
.erp-pager {
  font-family: Poppins, Helvetica, "sans-serif";
}
.erp-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: 1rem;
}
.erp-pager__nav,
.erp-pager__numbers {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.erp-pager__button,
.erp-pager__refresh {
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  border: 0;
  border-radius: 0.42rem;
  background-color: transparent;
  color: #80808F;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}
.erp-pager__button:hover:not(:disabled),
.erp-pager__refresh:hover {
  background-color: #F3F6F9;
  color: #3699FF;
}
.erp-pager__button--current,
.erp-pager__button--current:hover:not(:disabled) {
  background-color: #3699FF;
  color: #FFFFFF;
}
.erp-pager__button:disabled {
  opacity: 0.4;
  cursor: default;
}
.erp-pager__sizes {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #80808F;
}
/* The page size box as Kendo's: the size shown whole beside a small arrow (no grey arrow block). */
.erp-pager__sizes > .erp-dropdownlist.form-control {
  width: auto;
  min-width: 4.5rem;
  padding: 0.35rem 1.75rem 0.35rem 0.75rem;
}
.erp-pager__sizes > .erp-dropdownlist > .erp-dropdownlist__button,
.erp-pager__sizes > .erp-dropdownlist:hover > .erp-dropdownlist__button {
  width: 1.5rem;
  background-color: transparent;
}
.erp-pager__sizes > .erp-dropdownlist > .erp-dropdownlist__button svg {
  width: 10px;
  height: 10px;
}
.erp-pager__sizes .erp-dropdownlist__value {
  overflow: visible;
  text-overflow: clip;
}
.erp-pager__info {
  margin-left: auto;
  color: #80808F;
}
body.dark-mode .erp-pager__button:hover:not(:disabled),
body.dark-mode .erp-pager__refresh:hover {
  background-color: #2B2B40;
}
/* The grids' "Page [n] of N" box (input: true). */
.erp-pager__input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0.25rem;
  color: #80808F;
}
.erp-pager__input > input {
  width: 4rem;
  text-align: left;
}

/*
 * ERPNet calendar (erpScheduler.js / Html.Erp().Scheduler()): our toolbar and footer around FullCalendar, which
 * brings its own styles (injected by its script); here only the app's look over them.
 * Block comments only: gulp runs postcss (a plain CSS parser) before less.
 */
.erp-scheduler {
  position: relative;
  font-family: Poppins, Helvetica, "sans-serif";
  background-color: #FFFFFF;
}
/* FullCalendar's colours (its variables are set on its own .fc element). */
.erp-scheduler .fc {
  --fc-border-color: #EFF2F5;
  --fc-today-bg-color: #F1FAFF;
  --fc-neutral-bg-color: #F5F8FA;
  --fc-non-business-color: rgba(245, 248, 250, 0.7);
  --fc-now-indicator-color: #F1416C;
  --fc-event-border-color: transparent;
  --fc-list-event-hover-bg-color: #F4F6FA;
}
.erp-scheduler__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-bottom: 1px solid #EFF2F5;
  background-color: #F9F9F9;
}
.erp-scheduler__title {
  font-weight: 500;
  color: #3F4254;
}
.erp-scheduler__search {
  width: 180px;
}
.erp-scheduler__search input {
  padding-right: 2rem;
}
.erp-scheduler__search i {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #A1A5B7;
  font-size: 0.85rem;
  pointer-events: none;
}
.erp-scheduler__footer {
  padding: 0.5rem;
  border-top: 1px solid #EFF2F5;
  background-color: #F9F9F9;
}
.erp-scheduler--busy .erp-scheduler__calendar {
  opacity: 0.6;
}
.erp-scheduler__calendar .fc-col-header-cell {
  padding: 0.6rem 0;
  color: #181C32;
  font-weight: 600;
}
.erp-scheduler__calendar .fc-day-today .fc-col-header-cell-cushion,
.erp-scheduler__calendar .fc-col-header-cell.fc-day-today {
  color: #50CD89;
}
.erp-scheduler__calendar .fc-timegrid-slot {
  height: 1.25rem;
}
.erp-scheduler__calendar .fc-timegrid-slot-label {
  color: #181C32;
  font-weight: 600;
  font-size: 0.85rem;
  vertical-align: top;
}
.erp-scheduler__calendar .fc-daygrid-day-number {
  color: #3F4254;
}
.erp-scheduler__calendar .fc-day-sat,
.erp-scheduler__calendar .fc-day-sun {
  background-color: #F5F8FA;
}
.erp-scheduler__calendar .fc-daygrid-day.fc-day-today {
  background-color: #F1FAFF;
}
.erp-scheduler__calendar .fc-timegrid-axis-cushion,
.erp-scheduler__calendar .fc-list-event-time {
  font-weight: 600;
  color: #181C32;
}
/* Events: the template's text in the category's colour; Kendo's look (padding, rounded corners). */
.erp-scheduler__event {
  border-radius: 0.3rem;
  font-size: 0.9rem;
  line-height: 1.45;
  cursor: pointer;
  white-space: normal;
  overflow: hidden;
  /* The theme fades links' colours; the page's dataBound sets the shipper's colour at once, as on Kendo. */
  transition: none;
}
.erp-scheduler__event .fc-event-main {
  padding: 0.3rem 0.1rem;
}
.erp-scheduler__event .line-through {
  text-decoration: line-through;
}
.erp-scheduler__event--selected {
  box-shadow: 0 0 0 2px #009EF7 inset, 0 0 0 1px #FFFFFF;
  filter: brightness(0.92);
}
.erp-scheduler__tooltip {
  position: fixed;
  z-index: 1100;
  padding: 0.6rem 0.75rem;
  border-radius: 0.475rem;
  background-color: rgba(24, 28, 50, 0.95);
  color: #FFFFFF;
  font-size: 0.9rem;
  line-height: 1.5;
  pointer-events: none;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
}
body.dark-mode .erp-scheduler {
  background-color: #1E1E2D;
}
body.dark-mode .erp-scheduler .fc {
  --fc-border-color: #2B2B40;
  --fc-page-bg-color: #1E1E2D;
  --fc-neutral-bg-color: #151521;
  --fc-today-bg-color: #212E48;
}
body.dark-mode .erp-scheduler__toolbar,
body.dark-mode .erp-scheduler__footer {
  background-color: #151521;
  border-color: #2B2B40;
}
body.dark-mode .erp-scheduler__title,
body.dark-mode .erp-scheduler__calendar .fc-col-header-cell,
body.dark-mode .erp-scheduler__calendar .fc-timegrid-slot-label,
body.dark-mode .erp-scheduler__calendar .fc-daygrid-day-number {
  color: #CDCDDE;
}
body.dark-mode .erp-scheduler__calendar .fc-day-sat,
body.dark-mode .erp-scheduler__calendar .fc-day-sun {
  background-color: #151521;
}

/*
 * ERPNet text box (erpTextBox.js / Html.Erp().TextBox()).
 * Bundled into common-styles with every other ErpComponents .less file (bundles.json).
 * Use block comments only: gulp runs postcss (a plain CSS parser) before less, so a line
 * comment containing an apostrophe breaks the whole bundle build.
 */
/*
 * Inside a grid row a text box sits next to Kendo dropdowns and number boxes, which are 31px tall.
 * The Metronic form-control-sm has a 37px min-height, so rows grew; match the Kendo height instead.
 */
/*
 * Disabled: greyed out exactly like the Kendo TextBox it replaces (Post Invoices Bill To / Ship To),
 * measured from a disabled Kendo widget: solid grey background, whole box at opacity 0.65 with
 * grayscale(0.1). The !important is needed because Common/Styles/metronic-customize.less forces
 * every disabled .form-control to white with !important; this selector is more specific, so it
 * wins for our text box only and plain disabled inputs elsewhere keep their white look.
 */
.form-control[data-role="erptextbox"]:disabled {
  background-color: #F3F6F9 !important;
  border-color: #F3F6F9;
  color: #464E5F;
  opacity: 0.65;
  filter: grayscale(0.1);
  cursor: default;
}
/* Dark mode keeps the app-wide dark disabled colour from metronic-customize.less. */
body.dark-mode .form-control[data-role="erptextbox"]:disabled {
  background-color: #272734 !important;
}

/*
 * ERPNet time picker (erpTimePicker.js / Html.Erp().TimePicker()).
 * Bundled into common-styles with every other ErpComponents .less file (bundles.json).
 * Block comments only: gulp runs postcss (a plain CSS parser) before less.
 */
/*
 * The clock that opens the browser time picker is drawn as a button, like the calendar button
 * of the Kendo date pickers next to it (measured: background #DEE2E6, 33.5px wide, full height,
 * hand cursor). Without this it had the same background as the text and no hand cursor, so it
 * did not look clickable. The clock is pinned to the right edge at full height; the text keeps
 * clear of it with extra right padding.
 */
.form-control[data-role="erptimepicker"] {
  position: relative;
  padding-right: calc(33.5px + 0.75rem);
}
.form-control[data-role="erptimepicker"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 33.5px;
  height: auto;
  margin: 0;
  padding: 0;
  background-color: #DEE2E6;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  cursor: pointer;
}
.form-control[data-role="erptimepicker"]::-webkit-calendar-picker-indicator:hover {
  background-color: #CED4DA;
}
.form-control[data-role="erptimepicker"]:disabled::-webkit-calendar-picker-indicator {
  cursor: default;
}

/* ERPNet form validator messages (erpValidator.js): small red text under the field, as measured on the
   Kendo Validator (colour #DC3545, 0.75em). */
.erp-validator-msg {
  display: block;
  width: 100%;
  margin-top: 2px;
  color: #DC3545;
  font-size: 0.75em;
  line-height: 1.5;
}
.erp-validator-msg:empty {
  display: none;
}

/* ERPNet floating window (erpWindow.js). Sized like the Kendo Window it replaces (13px title bar padding,
   4.875px corners, page dimmed to #212529 at 50%); white card and title in the Metronic modal style. */
.erp-window {
  position: fixed;
  display: flex;
  flex-direction: column;
  min-width: 90px;
  background-color: #FFFFFF;
  border: 1px solid rgba(33, 37, 41, 0.13);
  border-radius: 4.875px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  color: #212529;
  font-size: 13px;
  outline: none;
}
.erp-window__titlebar {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 13px;
  border-bottom: 1px solid rgba(33, 37, 41, 0.13);
  border-radius: 4.875px 4.875px 0 0;
  cursor: move;
  user-select: none;
}
.erp-window__title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1.15rem;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.erp-window__close {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  opacity: 0.7;
  cursor: pointer;
}
.erp-window__close:hover {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.06);
}
.erp-window__content {
  flex: 1 1 auto;
  padding: 13px;
  overflow: auto;
}
.erp-window-overlay {
  position: fixed;
  inset: 0;
  background-color: #212529;
  opacity: 0.5;
}
body.dark-mode .erp-window {
  background-color: #1E1E2D;
  border-color: #2B2B40;
  color: #CDCDDE;
}
body.dark-mode .erp-window__titlebar {
  border-bottom-color: #2B2B40;
}
