.main-top {
    display: none !important;
}


.intestazione-udg {
    text-transform: uppercase;
}

/* Righe tabella */
table.dataTable tbody tr.udg-row td {
    padding: 1rem 0.5rem;
    vertical-align: middle;
}

table.dataTable tbody tr.udg-row td h6 {
    margin: 0;
    font-size: var(--display-xxs-size) !important;
    line-height: var(--display-xxs-line-height) !important;
    font-weight: var(--fw-medium) !important;
    color: var(--color-deep-violet);
}

table.dataTable tbody tr.udg-row td span {
    font-size: var(--body-l-size) !important;
    line-height: var(--body-l-line-height) !important;
    font-weight: var(--fw-regular) !important;
    color: var(--color-twilight-blue);
}

/* Larghezze colonne */
table.dataTable tbody td.data-udg-table {
    width: 15%;
    white-space: nowrap;
}

table.dataTable tbody td.button-link-udg {
    width: 17%;
    text-align: center;
}

/* Header tabella */
table.dataTable thead > tr > th {
    background: var(--color-twilight-blue);
    color: white;
    padding: 20px 10px;
    border-radius: 0;
}

table.dataTable thead > tr > th:first-child {
    border-top-left-radius: 20px;
}

table.dataTable thead > tr > th:last-child {
    border-top-right-radius: 20px;
}

/* Loader */
.udg-loader {
    width: 100%;
    text-align: center;
    padding: 30px 0;
}

.udg-loader .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top-color: var(--color-twilight-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Nasconde tabella durante il caricamento */
#udg-table {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
    border: 1px solid var(--color-alice-blue);
    border-radius: 20px 20px 0 0;
}

#udg-table.loaded {
    visibility: visible;
    opacity: 1;
}

div.dataTables_wrapper div.dataTables_length select {
    /*all: unset;*/
}

#udg-table_filter {
    text-align: right;
}

table.dataTable {
    width: 100% !important;
}


#formSentenze input {
    padding-bottom: 14px !important;
    padding-top: 14px !important;
    font-size: 16px !important;
}

#formSentenze label {
    font-size: 16px !important;

}
