﻿.modal-dialog {
    max-width: 800px;
}

.form-group {
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 12px;
}

.btn.btn-primary.button-add-totable {
    float: right;
}

.button-add-toselect {
    padding: 5px !important;
    margin-top: 7px;
}

    .button-add-toselect > i {
        padding: 0px !important;
    }


/* Elementi di stile per il toggle ternario
*/
.multiple-toggle-3 > div {
    color: white;
    padding-top: 24px;
    display: block;
    position: absolute;
    top: -2px;
    left: 0px;
    bottom: 0px;
    width: calc(33.33% + 2px);
    background-color: #0095e8;
    box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none;
    transition: transform 0.3s;
}

.multiple-toggle-4 > div {
    color: white;
    padding-top: 24px;
    display: block;
    position: absolute;
    top: -2px;
    left: 0px;
    bottom: 0px;
    width: calc(25% + 2px);
    background-color: #0095e8;
    border-radius: .475rem;
    box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none;
    transition: transform 0.3s;
}

.multiple-toggle::after {
    content: "";
    display: block;
    clear: both;
}

.multiple-toggle-3 label {
    float: left;
    width: calc(33.333% - 1px);
    position: relative;
    text-align: center;
    padding: 12px 0px 28px;
    overflow: hidden;
    border: solid 1px rgba(0,0,0,0.2);
    border-radius: .475rem;
    transition: color 0.3s;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

.multiple-toggle-4 label {
    float: left;
    width: calc(25% - 1px);
    position: relative;
    text-align: center;
    padding: 12px 0px 28px;
    overflow: hidden;
    border: solid 1px rgba(0,0,0,0.2);
    border-radius: .475rem;
    transition: color 0.3s;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

.multiple-toggle label:first-child {
    border-left: none;
}

.multiple-toggle label input {
    position: absolute;
    top: -200%;
}

.multiple-toggle label div {
    z-index: 5;
    position: absolute;
    width: 100%;
}

.multiple-toggle label.selected {
    color: white;
}

/*    fine stile per il toggle ternario*/

/*INIZIO CARICAMENTO ALLEGATI CON BLUEIMP FILEUPLOAD*/
.files .fade:not(.show) {
    opacity: 1;
}
/*FINE CARICAMENTO ALLEGATI CON BLUEIMP FILEUPLOAD*/

.dataTables_wrapper {
    padding: 0;
}

.grid-link {
    font-size: 14px !important;
    padding: 0px !important;
    text-decoration: underline;
}

.grid-Registered {
    background: white;
    color: #575962;
}

    .grid-Registered > td > a {
        font-weight: bolder;
        color: #575962;
    }


.grid-OnBoard {
    background: #FDE790;
    color: black;
}

    .grid-OnBoard > td > a {
        color: black;
        font-weight: bolder;
    }



.grid-Sent {
    background: #A9CCDD;
    color: black;
}

    .grid-Sent > td > a {
        color: black;
        font-weight: bolder;
    }



.grid-Completed {
    background: #71D89D;
    color: white;
}

    .grid-Completed > td > a {
        color: white;
        font-weight: bolder;
    }


.grid-Canceled {
    background: #D9D9D9;
    color: black;
}

    .grid-Canceled > td > a {
        color: black;
        font-weight: bolder;
    }

/*-----------------------------------------------------------------------*/

/*.login-page input {
    margin: auto;
    max-width: 30%;
}

.backend-header-right-button {
    display: inline;
}

.register-page img {
    width: 260px;
    margin-top: 10px;
}

*/

/*VALIDAZIONE*/
div.has-error,
textarea.has-error,
input.has-error,
select.has-error {
    border: 2px solid red !important;
    border-radius: 6px;
    background-image: var(--bs-gradient) !important;
}
/*END VALIDAZIONE*/

/*DATATABLE*/
table {
    cursor: pointer;
    background-color: #eeeeee;
    border-radius: 8px;
}

    table.dataTable thead {
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        box-shadow: inset 0px 0px 100px 10px rgb(0 0 0 / 10%);
    }

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #f5f5f5;
}

.table-striped > tbody > tr:hover {
    background-color: #cdd5ff;
}

.row-selected > td {
    background-color: #36a3f7 !important;
}

.row-selected {
    font-weight: bold;
    color: wheat;
}

/*Rimuove l'arrow dell'ordinamento*/
th.sorting_asc::after, th.sorting_desc::after {
    content: "" !important;
}
/*END DATATABLE*/

.div-highlight {
    background-color: #efefef;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    margin-left: 10px;
    margin-right: -10px;
    padding-left: 2px;
    padding-right: 2px;
}

/*IL CODICE SEGUENTE SERVE PER MANDARE A CAPO IL TESTO ALL'INTERNO DELLE DATATABLE (NOTE SU SCADENZE)*/
td {
    white-space: pre-wrap; /* rispetta i \n nel testo */
    word-wrap: break-word; /* va a capo anche dentro parole lunghe */
    max-width: 300px; /* opzionale: limita la larghezza */
}