﻿/* MIGLIORAMENTO PERFORMANCE */
*, *::before, *::after {
    transition: none !important;
    animation: none !important;
}

.mud-ripple-effect {
    display: none !important;
}

/* Rimuovi hover transitions */
.mud-button-root {
    transition: none !important;
}

.mud-nav-link {
    transition: none !important;
}

/* Forza hardware acceleration off su dispositivi deboli */
* {
    will-change: auto !important;
    transform: none !important;
    backface-visibility: hidden;
}

.mud-tooltip {
    display: none !important;
}
/* Riduci complessità visiva */
.mud-elevation-1, .mud-elevation-2, ... {
    box-shadow: none !important;
}
/* In wwwroot/css/app.css */

/* Rimuovi hover su tutti i bottoni MudBlazor */
/*.mud-button-root:hover,*/
/*.mud-icon-button:hover,*/
/*.mud-input-adornment button:hover {
    background-color: transparent !important;
    box-shadow: none !important;
}*/

/* Rimuovi il ripple effect */
/*.mud-ripple-effect {
    display: none !important;
}*/

/* Hover sui nav link */
/*.mud-nav-link:hover {
    background-color: transparent !important;
}*/

/* Hover sulle list item */
/*.mud-list-item:hover {
    background-color: transparent !important;
}*/
/* MIGLIORAMENTO PERFORMANCE */


html {
    font-size: 16px;
}
body {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
}

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        /*background-color: #001933;*/
        background-image: url("../images/bck.jpg");
        background-size: 100% 100%;
        background-repeat: no-repeat;
        opacity: 1; /* livello di opacità */
        z-index: -1;
    }


:root {
    --ugly-selection-back-color: #FEF69C; /*#DCEDC8; /*#E0F2F1; */
    --rz-text-color: #000000;
    --rz-primary: #000000;
}

.mud-input,
.mud-input-control > .mud-input-control-input-container {
    font-weight: 500;
    color: #454242;
}

.mud-table {
    padding-left: 10px;
    padding-right: 10px;
}

.appBar {
    background: #2E5CB7; /*url("../images/appbar.png") no-repeat;*/
    background-size: cover;
    color: whitesmoke;
    border-bottom: solid 1px #4145BD;
}

.hdList {
    background: #2E5CB7; /* url("../images/hList.png") no-repeat;*/
    background-size: cover;
    color: whitesmoke;
    border-left: 1px solid #2E5CB7;
    border-right: 1px solid #2E5CB7;
    border-top: 1px solid #2E5CB7;
}

.hdEdit {
    background: #2E5CB7; /* url("../images/hEdit.png") no-repeat;*/
    background-size: cover;
    color: whitesmoke
}

.borderList {
    border-left: 1px solid #2E5CB7;
    border-right: 1px solid #2E5CB7;
    border-bottom: 1px solid #2E5CB7;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

.bottomSpace {
    padding-bottom: 40px;
}

.borderRLList {
    border-left: 1px solid #EFEFEF;
    border-right: 1px solid #EFEFEF;
    border-bottom: 1px solid #EFEFEF;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

tr.selected-row td {
    background-color: var(--ugly-selection-back-color);
    font-weight: 500;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.mud-table-cell-custom-group {
    font-weight: 500;
}

.mud-table-header .mud-table-cell {
    padding: 5px;
    background-color: white !important;
    font-weight: 900;
    border-bottom: solid 1px #EAEBEB !important;
}

.mud-table-cell-custom-group-footer {
    border-top: thin 1px #CCCCCC !important;
    text-align: right;
}

.page-height {
    min-height: calc(100vh - 20rem);
    max-height: calc(100vh - 20rem);
}

.blink {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/* Pulsante della vista attiva */
.rz-scheduler .rz-button.rz-state-active
{
    background-color: #1565C0 !important;
    border-color: #1565C0 !important;
    color: white !important;
}