.hour-step {
  height: var(--stepHeight);
  border-bottom: 1px solid #ccc;
  display: flex;
  align-items: center;
  transition: background-color 0.3s;
}
.hour-step .hour-txt {
  padding-left: 5px;
  display: flex;
  margin-bottom: auto;
}
.hour-step:hover {
  background-color: var(--bs-gray-200);
}

.custom-timeline {
  border: 1px solid red;
  position: absolute;
  z-index: 2;
  width: 100%;
}
.custom-timeline:before {
  content: "";
  width: 12px;
  height: 12px;
  background-color: red;
  position: absolute;
  border-radius: 50%;
  margin-top: -6px;
  margin-left: -6px;
}

.operator-card {
  width: 100%;
}
.operator-card .card-header {
  height: 48.5px !important;
}

.appointment {
  font-size: 0.85em;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 2px 4px;
  background-color: var(--bs-primary);
  color: white !important;
  text-decoration: none !important;
  border-radius: 5px;
  height: var(--stepHeight);
  border-bottom: 2px solid white;
  border-top: 2px solid white;
  transition: all 0.3s;
  position: absolute;
  top: 46.5px;
  width: calc(100% - 65px);
}
.appointment *:not(.appointment-actions *) {
  padding: 0 !important;
  margin: 0 !important;
}
.appointment:hover .appointment-actions {
  display: block;
}
.appointment.confirmed-0 {
  background-color: var(--bs-danger);
}
.appointment.confirmed-1 {
  background-color: var(--bs-success);
}
.appointment:hover {
  cursor: pointer;
  opacity: 0.7;
}

:root {
  --bg-ErgonERP: #6528F7;
}

.bg-ErgonERP {
  background-color: var(--bg-ErgonERP);
}

html {
  overflow-x: hidden;
}

html, body {
  width: 100%;
  max-width: 100%;
  height: auto;
  color: #333;
}

.card.download-file {
  border-color: #ccc;
  transition: border-color 0.3s;
}
.card.download-file:hover {
  border-color: var(--bs-info);
}

.modal.fade.show {
  background-color: rgba(0, 0, 0, 0.5);
}

.horizontal-tabs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex; /* imposta gli <li> in orizzontale */
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
}
.horizontal-tabs li {
  white-space: nowrap;
}

.square {
  display: inline-block;
  width: 20px;
  height: 20px;
}

.swiper, .swiper-wrapper {
  z-index: auto !important;
}

.dropdown-menu.show {
  min-width: 200px;
  max-width: 100%;
  z-index: 9999;
}

.badgeable {
  position: relative;
  min-width: 1.9rem;
  text-align: left;
}
.badgeable .badge-counter {
  position: absolute;
  transform: scale(0.7);
  transform-origin: top right;
  right: 0.25rem;
  margin-top: -0.25rem;
}

.topbar .dropdown .dropdown-menu {
  max-width: 95vw;
}

.div-loading {
  position: fixed;
  z-index: 9999;
  width: 24px;
  height: 24px;
  top: 50%;
  left: 50%;
  overflow: hidden;
  background-image: url("images/GIF/loading.gif");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  color: white;
  text-align: center;
  margin-left: -12px;
  margin-top: -12px;
}
.div-loading.percent {
  width: 60px;
  background-color: black;
  background-position: right;
  color: white;
  border-radius: 4px;
  line-height: 24px;
  text-align: center;
  font-size: 0.9em;
  padding-right: 20px;
}

.topbar .logo-profile {
  max-height: 3.125rem;
  border-radius: 5px;
}

.element-mask {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 9999;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.element-mask:after {
  position: absolute;
  content: "";
  z-index: 9999;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  margin-left: -12px;
  background-image: url("/images/GIF/loading.gif");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.text-orange {
  color: orange;
}

.sidebar .sidebar-brand-icon .logo-extended {
  display: inline-block;
  max-height: 80px;
}
.sidebar .sidebar-brand-icon .logo-ico {
  display: none;
  max-height: 80px;
}
.sidebar.toggled .sidebar-brand-icon .logo-extended {
  display: none;
}
.sidebar.toggled .sidebar-brand-icon .logo-ico {
  display: inline-block;
}

@media screen and (max-width: 610px) {
  .sidebar .nav-item .nav-link span {
    font-size: 1rem;
  }
}
.btn-user, .form-control-user {
  border-radius: 10rem;
  font-size: 1.2em;
}

.modal-header--sticky {
  position: sticky;
  top: 0;
  background-color: inherit; /* [1] */
  z-index: 1055; /* [2] */
}

.modal-footer--sticky {
  position: sticky;
  bottom: 0;
  background-color: inherit; /* [1] */
  z-index: 1055; /* [2] */
}

.document-file-trigger {
  border: 0;
  background: transparent;
  padding: 0;
  line-height: 1;
}
.document-file-trigger img {
  width: 40px;
  cursor: pointer;
}

.document-preview-modal .modal-dialog {
  max-width: min(1180px, 96vw);
}
.document-preview {
  border: 0;
  border-radius: 0.65rem;
  overflow: hidden;
  box-shadow: 0 1rem 3rem rgba(20, 30, 50, 0.28);
}
.document-preview__header {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #e7eaf3;
  padding: 1rem 1.25rem;
}
.document-preview__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-right: 0.9rem;
  border-radius: 0.65rem;
  background: #f4f6fb;
  border: 1px solid #e6e9f2;
  flex: 0 0 auto;
}
.document-preview__icon img {
  width: 32px;
}
.document-preview__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #7b8497;
}
.document-preview__title {
  max-width: 620px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
  color: #30364a;
}
.document-preview__subtitle {
  max-width: 620px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #7b8497;
  font-size: 0.9rem;
}
.document-preview__body {
  padding: 1.15rem;
  background: #f5f7fb;
}
.document-preview__pane {
  padding: 0.45rem;
}
.document-preview__pane--viewer {
  background: transparent;
}
.document-viewer {
  min-height: 70vh;
  height: 100%;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e6ef;
}
.document-viewer iframe {
  width: 100%;
  min-height: 70vh;
  border: 0;
  background: #fff;
}
.document-viewer__download {
  display: flex;
  min-height: 70vh;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 2rem;
}
.document-viewer__download img {
  width: 96px;
}
.document-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}
.document-side__section {
  background: #fff;
  border: 1px solid #e3e7f0;
  border-radius: 0.5rem;
  padding: 1rem;
}
.document-version-area {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.45rem;
}
.document-side__section-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #53607a;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 0.75rem;
}
.document-meta > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid #f0f2f7;
}
.document-meta > div:last-child {
  border-bottom: 0;
}
.document-meta span,
.document-note span {
  color: #7b8497;
}
.document-meta b {
  color: #30364a;
  text-align: right;
}
.document-note p {
  margin: 0.25rem 0 0;
  color: #30364a;
}
.recipient-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.recipient-pill,
.email-tags__pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  border-radius: 999px;
  background: #eef4ff;
  color: #315795;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
}
.email-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  min-height: 42px;
  padding: 0.35rem;
  border: 1px solid #d1d7e3;
  border-radius: 0.35rem;
  background: #fff;
  cursor: text;
}
.email-tags:focus-within {
  border-color: #bac8f3;
  box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.15);
}
.email-tags__items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.email-tags__input {
  min-width: 150px;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0.2rem;
}
.email-tags__remove {
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 900;
  line-height: 1;
  padding: 0 0 0 0.35rem;
}

@media screen and (max-width: 991px) {
  .document-viewer,
  .document-viewer iframe,
  .document-viewer__download {
    min-height: 420px;
  }
}

.project-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid #e4e8f0;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 0.35rem 1rem rgba(40, 55, 90, 0.08);
}
.project-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  color: #758097;
  text-transform: uppercase;
}
.project-hero__title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.project-hero__title {
  margin: 0.2rem 0;
  font-weight: 800;
  color: #263149;
}
.project-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
  color: #657089;
}
.project-hero__meta span span {
  margin-right: 0.3rem;
  color: #4e73df;
}
.project-hero__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.project-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}
.project-kpi {
  min-height: 74px;
  padding: 0.85rem;
  border: 1px solid #e6eaf2;
  border-radius: 0.5rem;
  background: #fff;
}
.project-kpi span {
  display: block;
  color: #758097;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}
.project-kpi b {
  display: block;
  margin-top: 0.35rem;
  color: #263149;
  font-size: 1rem;
}

.project-anchor-bar {
  position: sticky;
  top: 0.75rem;
  z-index: 4;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem;
  border: 1px solid #e1e6ef;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0.35rem 1rem rgba(40, 55, 90, 0.08);
}
.project-anchor {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.7rem;
  border-radius: 0.35rem;
  color: #3a4660;
  background: #f5f7fb;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none !important;
}
.project-anchor:hover {
  color: #254bb4;
  background: #edf2ff;
}
.project-anchor b {
  min-width: 1.55rem;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: #fff;
  color: #4e73df;
  text-align: center;
  font-size: 0.78rem;
}

.project-section {
  margin-bottom: 1rem;
  border: 1px solid #e2e7f0;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 0.35rem 1rem rgba(40, 55, 90, 0.07);
  scroll-margin-top: 6rem;
}
.project-section__header {
  border-bottom: 1px solid #edf0f6;
}
.project-section__toggle {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}
.project-section__toggle:focus {
  outline: 0;
  box-shadow: inset 0 0 0 0.2rem rgba(78, 115, 223, 0.16);
}
.project-section__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 0.45rem;
  background: #eef3ff;
  color: #4e73df;
  flex: 0 0 auto;
}
.project-section__title-wrap {
  min-width: 0;
  flex: 1;
}
.project-section__title {
  display: block;
  color: #263149;
  font-size: 1rem;
  font-weight: 800;
}
.project-section__subtitle {
  display: block;
  margin-top: 0.1rem;
  color: #758097;
  font-size: 0.86rem;
}
.project-section__count {
  min-width: 2rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #f3f6fb;
  color: #4e5c75;
  text-align: center;
  font-weight: 800;
}
.project-section__chevron {
  color: #8b95a8;
  transition: transform 0.2s;
}
.project-section__toggle:not(.collapsed) .project-section__chevron {
  transform: rotate(180deg);
}
.project-section__body {
  padding: 1rem;
}

.project-overview-grid,
.project-note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.project-field {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #f0f2f7;
}
.project-field span {
  color: #758097;
}
.project-field b {
  color: #263149;
  text-align: right;
}
.project-note-grid > div {
  padding: 0.85rem;
  border: 1px solid #edf0f6;
  border-radius: 0.45rem;
  background: #fafbfe;
}
.project-note-grid p {
  margin: 0.35rem 0 0;
}

@media screen and (max-width: 1199px) {
  .project-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  .project-hero {
    flex-direction: column;
  }
  .project-hero__actions {
    justify-content: flex-start;
  }
  .project-kpi-grid,
  .project-overview-grid,
  .project-note-grid {
    grid-template-columns: 1fr;
  }
  .project-anchor-bar {
    top: 0.25rem;
  }
  .project-section__toggle {
    align-items: flex-start;
  }
}

/*# sourceMappingURL=app.css.map */
