/*
 * General customization
*/

.modal {
  overflow: auto !important;
}

.box-overlay {
  position: absolute;
  z-index: 90;
  background-color: #f3f6f9;
  opacity: 0.9;
  width: 100%;
  height: 100%;
}

.noPadding {
  padding: 0 !important;
}

.noPaddingTop {
  padding-top: 0 !important;
}

.noPaddingLeft {
  padding-left: 0 !important;
}

.noPaddingRight {
  padding-right: 0 !important;
}

.card {
  height: auto !important;
}

#dt_list_filter label .form-control {
  width: 150px !important;
}

.hand {
  cursor: pointer;
}

.subheader {
  z-index: 95;
}

.checkbox-dynamic-table > span {
  background-color: #ffffff;
}

.full-with .k-column-title {
  width: 100% !important;
}
.light-grey {
  border-color: #cccccc;
}
.alert-warning-light {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.42rem;
  color: #855700;
  background-color: #ffeecc;
  border-color: #ffe7b8;
}
.custom-btn-distinta-plus {
  padding: 0.3rem 0.45rem;
  font-size: 0.925rem;
  /* line-height: 1.35; */
  border-radius: 0.35rem;
}
.custom-hr {
  height: 12px;
  border: 0;
  box-shadow: inset 0 12px 12px -12px rgba(0, 0, 0, 0.2);
}
.custom-hr2 {
  border-top: 2px solid #e7edf2;
}
/*
*   MES
*/

/*
*   Progress bar vertical
*/
.progress-bar-vertical {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 6px !important;
  min-height: 100px;
  display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  display: -ms-flexbox; /* TWEENER - IE 10 */
  display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
  display: flex; /* NEW, Spec - Firefox, Chrome, Opera */
  align-items: flex-end;
  -webkit-align-items: flex-end; /* Safari 7.0+ */
}

.progress-bar-vertical .progress-bar {
  width: 100%;
  height: 0;
  -webkit-transition: height 0.6s ease;
  -o-transition: height 0.6s ease;
  transition: height 0.6s ease;
}

.progress-value {
  position: absolute;
  margin-top: -20px;
  right: 20px;
}

#container-articoli-imballo {
  max-height: 200px;
  overflow-y: auto;
}

/*
*   Card MES
*/

.card-body-mes {
  padding: 10px 10px 0 10px !important;
}

.card-footer-mes {
  padding: 10px !important;
  border-top: 1px solid #ebedf3;
}

#search-form {
  width: 100%;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

/* Menu contestuale */
.vakata-context,
.vakata-context ul {
  /*font-size: 1.3rem;*/
}

/* Logo Integro Footer */
img.logoFooter {
  width: auto;
  height: 36px !important;
}

/**
 * modal-fullscreen
 */
.modal-fullscreen {
  min-width: 90%;
  min-height: 95vh;
}

.modal-fullscreen .modal-content {
  min-height: 95vh;
}

.modal-fullscreen .modal-dialog {
  min-width: 90%;
}

.rainbow-button {
  background: linear-gradient(
    90deg,
    #f57f7f 0%,
    #b893f5 25%,
    #7dacf5 50%,
    #7dc2ac 75%,
    #f5e650 100%
  ) !important;
  border: 0 !important;
  color: white !important;
}

/* Effetto hover */
.rainbow-button:hover {
  filter: brightness(0.9) !important; /* 0.8 = 80% luminosità */
}

/**
 * modal-xxl
 */
@media (min-width: 992px) {
  .modal-xxl {
    max-width: 90%;
  }
}

@media (min-width: 1200px) {
  .modal-xxl {
    max-width: 90%;
  }
  .modal-dialog.modal-xxl {
    max-width: 90%;
  }
  .k-scheduler-toolbar .k-nav-current .k-lg-date-format {
    max-width: 400px;
  }
}

.k-grid .k-grid-search {
  margin-left: auto !important;
  margin-right: 0 !important;
}

/**
 * Delete dell'immagine
 */

.image-input {
  position: relative;
  display: inline-block;
  border-radius: 0.42rem;
  background-repeat: no-repeat;
  background-size: cover;
}
.image-input [data-action="cancelImage"] {
  position: absolute;
  right: -10px;
  bottom: -18px;
}

.image-input
  [data-action="cancelImage"]
  .image-input.image-input-circle
  [data-action="cancelImage"]
  .image-input.image-input-changed
  [data-action="cancelImage"] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

/**
 * Miniatura dell'immagine in users
 */
.id-photo {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-size: 32px 35px;
  background-position: center center;
  vertical-align: middle;
  line-height: 32px;
  box-shadow:
    inset 0 0 1px #999,
    inset 0 0 10px rgba(0, 0, 0, 0.2);
  margin-left: 5px;
}

.id-name {
  display: inline-block;
  vertical-align: middle;
  line-height: 32px;
  padding-left: 3px;
}

.k-input {
  padding: 0;
}

.vakata-context {
  z-index: 1100;
}

.per-dropdown {
  position: absolute;
  transform: translate3d(0px, 33px, 0px);
  top: 0px;
  left: 0px;
  will-change: transform;
}

/*
	Bagde custom color MRP
*/

.badge-proposto,
.k-badge-warning {
  border-color: #fff2db !important;
  color: #ffa32e !important;
  background-color: #fff2db !important;
}

.badge-inrilascio,
.k-badge-info {
  border-color: #baf6f3 !important;
  color: #00bdb4 !important;
  background-color: #baf6f3 !important;
}

.badge-rilasciato,
.k-badge-success {
  border-color: #00bdb4 !important;
  color: #fff;
  background-color: #00bdb4 !important;
}

.badge-avanzato,
.badge-parzialmenteavanzato,
.k-badge-primary {
  border-color: #008ef9 !important;
  color: #000;
  background-color: #008ef9 !important;
}

.badge-chiuso,
.k-badge-dark {
  border-color: #cacddb !important;
  color: #000 !important;
  background-color: #cacddb !important;
}

.k-badge {
  border-radius: 0.25rem !important;
  font-weight: 500 !important;
  font-size: 11px !important;
  padding: 5px 7px !important;
}

.green {
  color: #3ea44e !important;
}

/* MES */
.wave.wave-success {
  background-color: rgba(27, 197, 189, 0.6) !important;
}

.wave.wave-primary {
  background-color: rgba(54, 153, 255, 0.6) !important;
}

.wave.wave-secondary {
  background-color: rgba(228, 230, 239, 0.6) !important;
}

.wave.wave-info {
  background-color: rgba(137, 80, 252, 0.6) !important;
}

.wave.wave-warning {
  background-color: rgba(255, 168, 0, 0.6) !important;
}

.wave.wave-danger {
  background-color: rgba(246, 78, 96, 0.6) !important;
}

.popover-dist {
  position: absolute;
  display: none;
  background: #fff;
  border: 1px solid #999;
  padding: 10px;
  width: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 10000000;
}
.popover-dist:after,
.popover-dist:before {
  right: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
.popover-dist:after {
  border-color: rgba(255, 255, 255, 0);
  border-right-color: #ffffff;
  border-width: 10px;
  top: 50%;
  margin-top: -10px;
}
.popover-dist:before {
  border-color: rgba(201, 201, 201, 0);
  border-right-color: #c9c9c9;
  border-width: 11px;
  top: 50%;
  margin-top: -11px;
}

.cell {
  padding: 6px 8px;
  display: inline-block;
  width: 45%;
  vertical-align: text-top;
}

.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

.dropdown-menu-configuratore {
  max-height: 300px;
  overflow-y: scroll;
}
/**
 * OPERATIONS
 */
div.avanzamento-reparti {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  margin-bottom: 10px;
  padding-left: 34px;
}
div.avanzamento-reparti .label-reparto {
  height: 18px;
}
div.avanzamento-reparti.sub-reparti {
  height: 15px;
  padding-left: 0;
}
div.avanzamento-reparti.sub-reparti .label-reparto {
  height: 15px;
}
.label-reparto {
  width: 100%;
  padding: 0;
  text-align: center;
  border: 0;
  border-radius: 0;
  display: inline-flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-weight: 400;
  font-size: 0.8rem;
}

#grid.operations-grid .k-detail-row .k-column-title {
  overflow: visible;
}

#grid.operations-grid .k-alt {
  background-color: transparent;
}

.descrizione-righe {
  padding: 0.4em 0.6em;
  line-height: 1.6em;
  vertical-align: middle;
  text-overflow: ellipsis;
}

/*
 * LOGISTICA
 */
.ordineImpegnato {
  background-color: #ffe2e5 !important;
}

#mainTabFatture .nav-link {
  padding-left: 7px !important;
  padding-right: 7px !important;
}
.table-header-cell .k-column-title {
  width: 100%;
}
.table-column-cell {
  border-left: 1px solid #dbdbdb !important;
}
.ranges {
  overflow-y: auto;
}

.overflow_mh100_container {
  overflow-y: auto;
  max-height: 100px;
}

.select2-container--default .select2-selection--multiple {
  position: relative;
  padding-right: 25px;
}

.select2-container--default
  .select2-selection--multiple
  .select2-selection__arrow {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 12px;
}

.select2-container--default
  .select2-selection--multiple
  .select2-selection__arrow::after {
  content: "\25BC";
  color: #555;
}

/* .campoObbligatorio {
	font-weight: 600 !important;
}

.campoObbligatorio::after {
    content: ' *';
    color: red;
    font-weight: normal;
} */

/* Modifiche per aumentare font, stile bold e hover del menu aside */

/* Colore di default per il testo del menu all'interno di .menu-heading e .menu-link */
.aside-menu
  .menu-nav
  > .menu-item
  .menu-submenu
  .menu-item
  > .menu-heading
  .menu-text,
.aside-menu
  .menu-nav
  > .menu-item
  .menu-submenu
  .menu-item
  > .menu-link
  .menu-text {
  padding: 10px; /* Spaziatura */
  /* font-size: 16px;  */ /* Dimensione testo di base */
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    font-size 0.3s ease,
    text-decoration 0.3s ease;
  background-color: #1b1b28; /* Blu scuro di base */
}

/* Hover: Cambia colore del testo, sfondo più scuro, e aumenta la dimensione del font */
.aside-menu
  .menu-nav
  > .menu-item
  .menu-submenu
  .menu-item
  > .menu-heading:hover
  .menu-text,
.aside-menu
  .menu-nav
  > .menu-item
  .menu-submenu
  .menu-item
  > .menu-link:hover
  .menu-text {
  color: #ffffff; /* Testo bianco all'hover */
  font-size: 14px; /* Aumenta la dimensione del testo all'hover */
  font-weight: bold; /* Testo in grassetto all'hover */
}

/* Stile per l'elemento attivo */
.aside-menu
  .menu-nav
  > .menu-item
  .menu-submenu
  .menu-item-active
  > .menu-heading
  .menu-text,
.aside-menu
  .menu-nav
  > .menu-item
  .menu-submenu
  .menu-item-active
  > .menu-link
  .menu-text {
  color: #ffffff; /* Colore bianco per l'elemento attivo */
  font-size: 14px; /* Dimensione del testo aumentata anche per l'elemento attivo */
  font-weight: bold; /* Grassetto per evidenziare l'elemento attivo */
  border-radius: 5px; /* Arrotonda leggermente i bordi */
}

/* Stile per l'elemento con .menu-item-open (quando un sotto-menu è aperto) */
.aside-menu .menu-nav > .menu-item.menu-item-open > .menu-heading .menu-text,
.aside-menu .menu-nav > .menu-item.menu-item-open > .menu-link .menu-text {
  color: #ffffff; /* Colore bianco per l'elemento con il sotto-menu aperto */
  font-size: 14px; /* Aumenta la dimensione del testo */
  font-weight: bold; /* Testo in grassetto */
  border-radius: 5px; /* Arrotonda leggermente i bordi */
}

/** RACCOLTE DATI PMP */

.dichiarazioneApprovata {
  background-color: #c9f7f5 !important;
}

/* .k-grid-toolbar.k-toolbar.k-toolbar-resizable.k-toolbar-md {
	position: absolute !important; 
	display:block !important; 
	width: 35px !important; 
	right: 0 !important; 
	top: 5px !important; 
	z-index: 99 !important; 
	background:transparent !important; 
} */

.lavorazione-block {
  width: 380px;
  display: inline-block;
  gap: 20px;
}

.swal-big {
  width: 50% !important;
  font-size: 1.5rem !important;
}

.btn-light-danger {
  background-color: #dc3545 !important;
  color: #fff !important;
}

/* Calendar week number style */
.datepicker .cw {
  background-color: #f0f0f0;
  color: #555;
  font-weight: medium;
  text-align: center;
  border-right: 1px solid #ccc;
}

.k-grid,
.k-grid * {
  touch-action: manipulation;
}

.k-filter-row input,
.k-filter-row .k-dropdown {
  pointer-events: auto !important;
}

.modal-body-verdeambiente {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}


#timeline_start .timeline-label {
	width: 100px !important;
}

#timeline_start.timeline-6:before {
    left: 100px !important;
}