:root {
    --Bottone1: white;
    --Bottone1bg: #006692;
    --Bottone2: black;
    --Bottone2bg: #ffd892;
    --ColoreScuro: #006692;
    --ColoreChiaro: #00b1f1;
    --ColoreSelezione: #00669222;
    --ColoreTracking: #006bb7;
    --Sidebar-bg: black;
    --Sidebar-fg: lightgray;
    --Sidebar-hover: white;
    --Footer-bg: #00b1f1;
    --Footer-fg: white;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

h3 {
    color: Var(--ColoreScuro);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4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4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/*@media (min-width: 1400px) {*/
.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1554px !important;
}
/*}*/



/**/


.btn-scuro,
.btn-scuro:hover:not(:disabled),
.btn-scuro:focus {
    background-color: var(--Bottone1bg);
    border-color: var(--Bottone1bg);
    color: var(--Bottone1);
    width: auto;
    box-shadow: 0 0 0 0;
}

.btn-chiaro,
.btn-chiaro:hover {
    background-color: var(--Bottone2bg);
    border-color: var(--Bottone2bg);
    color: var(--Bottone2);
    width: auto;
    box-shadow: 0 0 0 0;
}

.btn-flat-scuro,
.btn-flat-scuro:focus {
    background-color: rgba(0, 0, 0, 0);
    border-color: rgba(0, 0, 0, 0);
    color: var(--Bottone1bg);
    width: auto;
    box-shadow: 0 0 0 0;
}

.btn-flat-scuro:hover {
    background-color: rgba(0, 0, 0, 0);
    border-color: rgba(0, 0, 0, 0);
    color: var(--Bottone2bg);
    width: auto;
    box-shadow: 0 0 0 0;
}

.btn-flat-chiaro,
.btn-flat-chiaro:hover {
    background-color: rgba(0, 0, 0, 0);
    border-color: rgba(0, 0, 0, 0);
    color: var(--Bottone2bg);
    width: auto;
    box-shadow: 0 0 0 0;
}

.nomescheda {
    color: var(--ColoreScuro);
    text-align: center;
}

.e-grid .e-rowcell.e-selectionbackground,
.e-grid .e-detailrowcollapse.e-selectionbackground,
.e-grid .e-detailrowexpand.e-selectionbackground {
    background-color: var(--ColoreSelezione) !important;
}

.footer {
    background-color: var(--Footer-bg);
    color: var(--Footer-fg);
    margin: auto 0 0 0;
    padding: 5px 0;
    text-align: center;
}

.titolo {
    position: sticky;
    top: 0;
    z-index: 1;
}

.e-sidebar {
    background-color: var(--Sidebar-bg);
    position: sticky;
    top: 50px !important;
    height: calc(100vh - 50px);
    flex-shrink: 0;
}

.sidebarcontent {
    overflow-x: clip;
    display: flex;
    flex-direction: row;
}

.e-content-animation {
    margin-left: 0 !important;
}

.maincontent {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    width: calc(100% - 250px);
}

article {
    flex-grow: 1;
}

/* Caratteri bold del placeholder di dropdown e textbox */
.e-float-input input:not(:valid),
.e-float-input input:valid,
.e-float-input textarea:not(:valid),
.e-float-input textarea:valid,
.e-float-input.e-control-wrapper input:not(:valid),
.e-float-input.e-control-wrapper input:valid,
.e-float-input.e-control-wrapper textarea:not(:valid),
.e-float-input.e-control-wrapper textarea:valid,
.e-input:not(:valid),
.e-input:valid,
.e-input-group input:not(:valid),
.e-input-group input:valid,
.e-input-group textarea:not(:valid),
.e-input-group textarea:valid,
.e-input-group.e-control-wrapper input:not(:valid),
.e-input-group.e-control-wrapper input:valid,
.e-input-group.e-control-wrapper textarea:not(:valid),
.e-input-group.e-control-wrapper textarea:valid {
    font-weight: bold !important;
    /*text-transform: uppercase;*/
}

/*TextBox*/
/*.e-input-group,
.e-input-group.e-control-wrapper {
    padding: 0 0 0 8px;
}*/

/*NumericTxtBox delle tabelle*/
.e-input-group input.e-input,
.e-input-group.e-control-wrapper input.e-input,
.e-input-group textarea.e-input,
.e-input-group.e-control-wrapper textarea.e-input {
    padding-right: 8px !important;
}

/*Rimuovo padding delle tabelle*/
/*.e-grid {
    padding: 0;
}*/

/*Rimuovo scrollbar dalle tabelle con i dettagli*/
.e-grid .e-content {
    overflow-y: hidden !important;
    overflow-x: auto !important;
}

/*Checkbox*/
.e-icons.e-frame.e-check {
    color: white !important;
    background-color: var(--ColoreScuro) !important;
    border-color: var(--ColoreScuro) !important;
}

/*Icona di filtro per le colonne filtrate e icona di sort*/
.e-grid .e-filtered::before,
.e-grid .e-sortfilterdiv {
    color: var(--ColoreChiaro) !important;
}

/*Icona di filtro per le colonne non filtrate*/
/*.e-grid .e-filtermenudiv:not(.e-filtered) {
    color: lightgrey !important;
}*/

/*Elementi selezinati*/
.e-grid .e-focused:not(.e-menu-item) {
    box-shadow: 0 0 0 0px var(--ColoreChiaro) inset !important;
}

/*Titoli dei Tab dei dattagli delle tabelle*/
.e-tab-text {
    color: var(--ColoreScuro) !important;
}

/*Elementi input e checkbox quando vengono selezionati*/
.e-input-group:active,
.e-input-group.e-input,
.e-input-group.e-input:hover,
.e-input-group.e-input-focus,
.e-input-group.e-input-focus:hover,
.e-float-input.e-input,
.e-float-input.e-input:hover,
.e-float-input.e-input-focus,
.e-float-input.e-input-focus:hover,
.e-input-group.e-control-wrapper:active,
.e-input-group.e-control-wrapper.e-input,
.e-input-group.e-control-wrapper.e-input:hover,
.e-input-group.e-control-wrapper.e-input-focus,
.e-input-group.e-control-wrapper.e-input-focus:hover,
.e-float-input.e-control-wrapper.e-input,
.e-float-input.e-control-wrapper.e-input:hover,
.e-float-input.e-control-wrapper.e-input-focus,
.e-float-input.e-control-wrapper.e-input-focus:hover,
.e-checkbox-wrapper .e-checkbox:focus + .e-frame,
.e-checkbox-wrapper .e-checkbox:focus + .e-frame.e-check,
.e-css.e-checkbox-wrapper .e-checkbox:focus + .e-frame,
.e-css.e-checkbox-wrapper .e-checkbox:focus + .e-frame.e-check {
    border-color: var(--ColoreChiaro) !important;
    box-shadow: 0 0 0 3px var(--ColoreSelezione) !important;
    outline: none !important;
}

/*Checkbox quando vengono deselezionati*/
/*.e-checkbox-wrapper .e-checkbox:focus + .e-frame,
.e-css.e-checkbox-wrapper .e-checkbox:focus + .e-frame {
    border-color: lightgray !important;
}*/

/*Elemento attivo delle liste delle dropdown*/
.e-ddl.e-control.e-lib.e-popup.e-popup-open .e-list-item.e-active {
    background-color: var(--ColoreScuro);
}

/*.e-control.e-datepicker.e-lib.e-popup.e-popup-open {
    background-color: var(--ColoreScuro) !important;
}*/

/*Numeratori delle pagine in fondo alla tabella*/
.e-pager .e-numericitem,
.e-pager div.e-icons.e-pager-default {
    color: var(--ColoreScuro);
}

/*Numeratore della pagina della tabella corrente*/
.e-pager .e-currentitem {
    border: 1px solid var(--ColoreChiaro);
    background: white !important;
}

/*Bottone Footer della finestra di dialogo per eliminazione record*/
.e-footer-content .e-btn.e-primary.e-flat,
.e-footer-content .e-btn.e-primary.e-flat:active {
    background: var(--ColoreChiaro) !important;
    border-color: var(--ColoreChiaro) !important;
    box-shadow: none !important;
}

/* Personalizzazione bordi accordion*/
.e-accordion .e-acrdn-item .e-acrdn-header {
    border: solid !important;
    border-radius: 0;
    border-width: 0 0 1px 0 !important;
    border-color: var(--Sidebar-fg) !important;
}

/* Personalizzazione accordion */
.e-accordion,
.e-accordion .e-acrdn-item .e-acrdn-item.e-select,
.e-accordion .e-acrdn-item .e-acrdn-header,
.e-accordion .e-acrdn-item .e-acrdn-panel,
.e-accordion .e-acrdn-item.e-expand-state.e-select,
.e-accordion .e-acrdn-item.e-select,
.e-accordion .e-acrdn-item.e-select .e-acrdn-header:hover:focus,
.e-accordion .e-acrdn-item.e-select.e-selected.e-expand-state > .e-acrdn-header,
.e-accordion .e-acrdn-item.e-select.e-expand-state > .e-acrdn-header,
.e-accordion .e-acrdn-item.e-select.e-expand-state > .e-acrdn-header:hover,
.e-accordion .e-acrdn-item.e-select.e-selected.e-expand-state > .e-acrdn-header,
.e-accordion .e-acrdn-item.e-select.e-selected.e-expand-state > .e-acrdn-header:hover,
.e-accordion .e-acrdn-item.e-selected.e-select > .e-acrdn-header,
.e-accordion .e-acrdn-item.e-selected.e-select.e-expand-state > .e-acrdn-header,
.e-accordion .e-acrdn-item.e-selected.e-select.e-expand-state > .e-acrdn-header:hover,
.e-accordion .e-acrdn-item.e-selected.e-select.e-expand-state > .e-acrdn-header:focus,
.e-accordion .e-acrdn-item.e-item-focus.e-selected.e-select.e-expand-state > .e-acrdn-header:hover:focus,
.e-accordion .e-acrdn-item.e-item-focus.e-selected.e-select.e-expand-state > .e-acrdn-header:hover,
.e-accordion .e-acrdn-item.e-item-focus.e-select.e-selected.e-expand-state > .e-acrdn-header:focus {
    border: none;
    text-decoration: none;
    background: var(--Sidebar-bg);
    padding: 0;
    box-shadow: none;
}

.e-toggle-icon,
.e-acrdn-content li {
    height: 50px !important;
}

.e-acrdn-content .e-icons {
    font-size: 25px;
    margin: 12px;
}

.e-close .e-acrdn-content {
    padding: 0 !important;
}

/* Padding elementi figli di Accordion */
.e-accordion .e-acrdn-item .e-acrdn-panel .e-acrdn-content {
    padding: 0px 10px;
}

/* Posizionamento icona Accordion*/
.e-accordion .e-acrdn-item .e-acrdn-header .e-acrdn-header-icon {
    padding: 0 0 0 0;
}

/* Toglie sottolineatura elementi a */
.e-sidebar a {
    text-decoration: none;
}

/* Personalizzazzione all'espansione */
.e-sidebar.e-dock.e-open span.e-text {
    overflow: clip;
    display: inline-block;
    text-wrap: nowrap;
    font-size: 15px;
}

/* Personalizzazione sidebar alla chiusura */
.e-sidebar.e-close span.e-text {
    display: none;
}

/* Niente freccia accordion con sidebar chiusa */
.e-sidebar.e-close .e-accordion .e-acrdn-item .e-acrdn-header .e-toggle-icon {
    display: none;
}

/* Personalizzazione elemento li */
.e-sidebar li {
    list-style-type: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* Personalizzazione elemento ul */
.e-sidebar ul {
    padding: 0px;
}

.e-sidebar span {
    color: var(--Sidebar-fg);
}

.e-sidebar .e-icons {
    font-size: 25px;
    margin: 12px;
}

.e-sidebar svg {
    fill: var(--Sidebar-fg);
    flex-shrink: 0;
}

/* Personalizzazione elementi span con hover su elementi li e accordion*/
.e-sidebar li:hover span,
.e-accordion .e-acrdn-item .e-acrdn-header:hover span,
.e-accordion .e-acrdn-item .e-acrdn-header:hover .e-toggle-icon {
    color: var(--Sidebar-hover) !important;
}

/* Personalizzazione icone con hover su elementi li e accordion*/
.e-sidebar li:hover svg,
.e-accordion .e-acrdn-item .e-acrdn-header:hover svg {
    fill: var(--Sidebar-hover);
}

/* Personalizzazione elementi sidebar */
.sidebar-item {
    text-align: left;
    border-bottom: 1px solid var(--Sidebar-fg);
}

/*Stili Toolbar*/
.titolo,
.titolo .e-toolbar-items,
.titolo .e-toolbar-item,
.titolo .e-toolbar-item:hover,
.titolo .e-toolbar-item:focus,
.titolo .e-toolbar-item .e-tbar-btn,
.titolo .e-toolbar-item .e-tbar-btn:hover,
.titolo .e-toolbar-item .e-tbar-btn:focus,
.titolo .e-toolbar-item .e-tbar-btn .e-tbar-btn-text,
.titolo .e-hor-nav,
.titolo .e-hor-nav:hover,
.titolo .e-hor-nav:focus,
.titolo .e-popup-down-icon.e-icons,
.titolo .e-popup-up-icon.e-icons,
.titolo .e-toolbar-pop .e-toolbar-item:not(.e-separator),
.titolo .e-toolbar-pop .e-toolbar-item .e-tbar-btn:hover,
.titolo .e-toolbar-pop .e-toolbar-item .e-tbar-btn:focus,
.titolo.e-toolpop .e-hor-nav.e-nav-active,
.titolo.e-toolpop .e-hor-nav.e-nav-active:not(.e-expended-nav),
.titolo.e-toolpop .e-hor-nav.e-nav-active:focus,
.titolo.e-toolpop .e-hor-nav.e-nav-active:not(.e-expended-nav):focus {
    background: var(--ColoreScuro);
    color: white;
    box-shadow: none;
}

.azienda {
    /*    color: white;*/
    padding-left: 10px;
    font-size: 25px;
    white-space: nowrap;
    cursor: default;
}

.bottone {
    background-color: var(--ColoreScuro);
    border: none;
    box-shadow: none;
    color: white;
    display: inline-flex;
    padding: 0;
    font-size: 25px;
}

.testo-syncfusion {
    display: inline-block;
    font-size: 14px;
    font-weight: normal;
    line-height: 14px;
    user-select: none;
    vertical-align: middle;
    white-space: normal
}

/* Colori pulsanti  griglia */
.e-toolbar .e-toolbar-item .e-tbar-btn {
    background: var(--Bottone1bg) !important;
}

.e-toolbar .e-toolbar-item .e-tbar-btn .e-icons {
    color: white !important;
}

.e-toolbar .e-toolbar-item .e-tbar-btn .e-icons {
    color: white !important;
}

.e-toolbar .e-toolbar-item .e-tbar-btn .e-tbar-btn-text {
    color: white !important;
}


.loginform {
    height: 100%;
    max-width: 500px;
    width: 75%;
    margin: 0 auto;
}

/* Stile delle span che fungono da bottone per l'eliminazione */
.btn-rimuovi,
.btn-rimuovi:hover {
    color: red;
    cursor: pointer;
}

.link {
    color: var(--ColoreTracking);
}

#blazor-error-ui {
    display: none !important;    
}