/**************** START CUSTOM STEP HEADER DIVIDER ****************/
.custom-stepper .mat-stepper-horizontal-line {
    display: none !important;
}

/* .custom-stepper .mat-step-header:not(:last-child)::after { */
.custom-stepper .mat-step-header::after {
    font-family: "Font Awesome 5 Free";
    content: "\f105";
    /* Codice Unicode di fa-angle-right */
    font-weight: 900;
    font-size: 18.5657px;
    color: black;
    margin-left: 15px;
}
.custom-stepper .mat-horizontal-stepper-header-container .slick-slide:last-child .mat-step-header::after {
    content: none; /* Removes the arrow indicator */
    display: none !important; /* Forcefully hides it */
}

/**************** END CUSTOM STEP HEADER DIVIDER ****************/


/* ALLINEA ICONA E LABEL NELLO STEPPER HEADER */
.custom-stepper .mat-step-header {
    display: flex !important;
}

.custom-stepper .mat-step-header:hover {
    cursor: default !important;
    background-color: transparent !important;
}

/**************** START CUSTOM STEP HEADER ICON & LABEL ****************/
/* NASCONDE LE ICONE NON NECESSARIE */
.mat-step-icon-state-edit,
.mat-step-icon-selected,
.mat-step-icon-state-done,
.mat-step-icon-state-number {
    display: none !important;
}

/* HEADER ICON DEFAULT */
.mat-step-text-label {
    font-size: 18.5657px;
    font-family: "Open Sans", sans-serif;
    line-height: 26.5224px;
}

/* HEADER ICON SUCCESS */
/* .mat-step-icon-state-done {
    background-color: green !important;
    width: 18px !important;
    height: 18px !important;
} */

/* HEADER LABEL ERROR */
.mat-step-label-active .mat-step-text-label {
    color: #106cdb !important;
}

.mat-step-label-active .mat-step-text-label:hover,
.mat-step-label-error .mat-step-text-label:hover {
    text-decoration: underline !important;
    cursor: pointer !important;
}

.mat-step-label-selected .mat-step-text-label:hover {
    text-decoration: none !important;
    cursor: default !important;
}

/* HEADER LABEL SELECTED */
.mat-step-label-selected .mat-step-text-label {
    color: #002E5F !important;
    font-weight: bold;
}

/* HEADER LABEL ERROR */
.mat-step-label-error .mat-step-text-label {
    color: #C9291B !important;
}

/* HEADER ICON ERROR */
.mat-step-icon-state-error .mat-step-icon-content .fa-exclamation-circle {
    color: #C9291B !important;
    font-size: 18px;
}

/**************** END CUSTOM STEP HEADER ICON ****************/

//Eliminazione effetto selezionato
.custom-stepper .mat-step-header.cdk-program-focused {
    background-color: transparent !important;
}

//Eliminazione ultima freccia
.custom-stepper .mat-horizontal-stepper-header.last::after {
    display: none !important;
    content: none !important;
}

.custom-stepper .mat-horizontal-stepper-header {
    padding: 0 15px !important;
}

//Allineamento button scroll
.custom-stepper button.slick-prev {
   background: transparent !important;
   border: none !important;
  
}
.custom-stepper  button.slick-next  {
    background: transparent !important;
    border: none !important;
  
 }

 .custom-stepper .slick-list {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
 }

 .custom-stepper .mat-step-label .mat-step-label-active {
    color: red !important;
 }