﻿/* Layout e colori principali: vedi recordate.css */



.table-detail thead tr th:first-child,
.table-detail tbody tr td:first-child {
    width: 8em;
    min-width: 8em;
    max-width: 8em;
    word-break: break-all;
}

.table-detail-sm thead tr th:first-child,
.table-detail-sm tbody tr td:first-child {
    width: 2em;
    min-width: 2em;
    max-width: 2em;
    word-break: break-all;
}





/* Stili per QuickGrid*/

.grid table {
    min-width: 100% !important;
}

.no-gap {
    --col-gap: 0 !important;
}

.no-header thead {
    display: none;
}

.row-highlighted {
    /*font-weight: 900;  */
}


/* FINE Stili per QuickGrid*/


/* Stili per Validazione controlli*/
.validation-message {
    color: var(--rd-danger);
    font-size: .8rem;
    font-weight: 500;
}
/* FINE Stili per Validazione controlli*/


/* Stili per Modal*/
.header-text-blank h5 {
    color: var(--rd-text) !important;
}
/* FINE Stili per Modal*/



/* Stili per Breadcrumb*/
.breadcrumb-item.active {
    color: var(--rd-text) !important;
}
/* FINE Stili per Breadcrumb*/



/* Forza accapo di stringhe senza spazi dopo i 300px*/
.wrap-text-300 {
    display: inline-block;
    width: 300px;
    overflow-wrap: break-word;
}
/* Forza accapo di stringhe senza spazi dopo i 250px*/
.wrap-text-250 {
    display: inline-block;
    width: 250px;
    overflow-wrap: break-word;
}

/* Forza accapo di stringhe senza spazi dopo i 225px*/
.wrap-text-225 {
    display: inline-block;
    width: 225px;
    overflow-wrap: break-word;
}
/* Forza accapo di stringhe senza spazi dopo i 200px*/
.wrap-text-200 {
    display: inline-block;
    width: 200px;
    overflow-wrap: break-word;
}
/* Forza accapo di stringhe senza spazi dopo i 150px*/
.wrap-text-150 {
    display: inline-block;
    width: 150px;
    overflow-wrap: break-word;
}
/* Forza accapo di stringhe senza spazi dopo i 100px*/
.wrap-text-100 {
    display: inline-block;
    width: 100px;
    overflow-wrap: break-word;
}



/*RichTextEditor (Blazor.Bootstrap)*/
.rte-note [contenteditable] {
    min-height: 290px;
    max-height: 60vh;
    overflow-y: auto;
    padding: 10px;
}

/* In modalità schermo intero l'area di testo occupa tutto lo spazio disponibile */
.rte-note :fullscreen [contenteditable] {
    max-height: none;
    height: calc(100vh - 170px);
}

/* I menu a tendina della toolbar (dimensione, colori, titoli) venivano tagliati
   dall'overflow del contenitore .table-responsive che ospita l'editor */
.table-responsive:has(.rte-note) {
    overflow: visible;
}

/* Compatibilità con le note salvate dal vecchio editor Quill */
.rte-note .ql-align-center, .editorcontent .ql-align-center { text-align: center; }
.rte-note .ql-align-right, .editorcontent .ql-align-right { text-align: right; }
.rte-note .ql-align-justify, .editorcontent .ql-align-justify { text-align: justify; }
.rte-note .ql-indent-1, .editorcontent .ql-indent-1 { padding-left: 3em; }
.rte-note .ql-indent-2, .editorcontent .ql-indent-2 { padding-left: 6em; }
.rte-note .ql-indent-3, .editorcontent .ql-indent-3 { padding-left: 9em; }



.editorcontent {
    overflow: hidden;
    color: var(--rd-text-2);
}
    .editorcontent p,
    .editorcontent h1,
    .editorcontent h2,
    .editorcontent h3,
    .editorcontent h4,
    .editorcontent h5,
    .editorcontent h6,
    .editorcontent span,
    .editorcontent a {
        color: var(--rd-text-2);
    }





div.editorcontent p {
    margin: 0px !important;
}

textarea {
    overflow-x: hidden;
    overflow-y: scroll
}

.no-scrollX {
    overflow-x: hidden !important;
}


.list-hover:hover {
    border: 1px solid var(--rd-accent) !important;
    border-color: var(--rd-accent) !important;
    cursor: pointer !important;
}


.btn-group {
    display: inline-block;
}

    .btn-group button:hover {
        width: auto;
        color: var(--rd-accent);
        cursor: pointer !important;
    }

.text-navigation {
    --bs-text-opacity: 1;
    color: var(--rd-text-2) !important;
}

    .text-navigation span:hover {
        color: var(--rd-accent) !important;
        cursor: pointer !important;
    }


/* Stili per BlazorInputfileExtended*/
.dropzone {
    background-color: transparent !important;
    cursor: pointer !important;
    border: dotted !important;
    border-color: var(--rd-border) !important;
    width: 100%;
    height: 100px;
    box-shadow: none !important;
}

    .dropzone:hover {
        background-color: transparent !important;
        border: dotted !important;
        border-color: var(--rd-accent) !important;
        cursor: pointer !important;
    }



.dropping {
    border: dashed !important;
    border-color: var(--rd-accent) !important;
    border-radius: 4px !important;
    background-color: var(--rd-accent-soft) !important;
    width: 100%;
    height: 100px;
}

/* FINE Stili per BlazorInputfileExtended*/



/* Stili per carousel-control-next*/
.carousel-control-next,
.carousel-control-prev /*, .carousel-indicators */ {
    filter: invert(100%); /* bianco */
}
/* FINE Stili per carousel-control-next*/


.tab-content0 {
    padding: 0 !important;
    border-radius: .375rem;
}