:root {
    --Bottone1: white;
    --Bottone1bg: indianred;
    --Bottone2: black;
    --Bottone2bg: #f4d078;
    --ColoreScuro: black;
    --ColoreChiaro: indianred;
    --ColoreSelezione: #99000022;
    --ColoreTracking: #111199;
    --Titolo: white;
    --Titolo-bg: black;
    --Sidebar-bg: black;
    --Sidebar-fg: lightgray;
    --Sidebar-hover: white;
    --Footer-bg: black;
    --Footer-fg: white;
}

html, body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    height: 100%;
}

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;
}

.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+PHBhdGggZD0iTTI2My41MDYgNTFDMj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TUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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;
}



/**/


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

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

.btn-flat-scuro,
.btn-flat-scuro:focus,
.e-toolbar .e-toolbar-item .e-tbar-btn,
.e-toolbar .e-toolbar-item .e-tbar-btn span,
.e-toolbar .e-toolbar-item .e-tbar-btn:focus,
.e-toolbar .e-toolbar-item .e-tbar-btn:focus span {
    background-color: transparent !important;
    border-color: transparent !important;
    color: var(--ColoreScuro) !important;
    width: auto !important;
    box-shadow: 0 0 0 0 !important;
}

    .btn-flat-scuro:hover,
    .e-toolbar .e-toolbar-item .e-tbar-btn:hover,
    .e-toolbar .e-toolbar-item .e-tbar-btn:hover span {
        background-color: transparent !important;
        border-color: transparent !important;
        color: var(--ColoreChiaro) !important;
        width: auto !important;
        box-shadow: 0 0 0 0 !important;
    }

    .btn-flat-scuro:disabled,
    .e-toolbar .e-toolbar-item .e-tbar-btn:disabled,
    .e-toolbar .e-toolbar-item .e-tbar-btn:disabled span {
        background-color: transparent !important;
        border-color: transparent !important;
        color: lightgray !important;
        width: auto !important;
        box-shadow: 0 0 0 0 !important;
    }

    /* Spinner bottone flat scuro */
    .btn-flat-scuro > span > div > .e-spinner-inner > svg {
        stroke: var(--ColoreScuro) !important;
    }

.btn-flat-chiaro,
.btn-flat-chiaro:focus {
    background-color: transparent !important;
    border-color: transparent !important;
    color: var(--ColoreChiaro) !important;
    width: auto !important;
    box-shadow: 0 0 0 0 !important;
}

    .btn-flat-chiaro:hover {
        background-color: transparent !important;
        border-color: transparent !important;
        color: var(--ColoreScuro) !important;
        width: auto !important;
        box-shadow: 0 0 0 0 !important;
    }

    .btn-flat-chiaro:disabled {
        background-color: transparent !important;
        border-color: transparent !important;
        color: lightgray !important;
        width: auto !important;
        box-shadow: 0 0 0 0 !important;
    }

.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;
}*/

/*Checkbox*/
/*.e-icons.e-frame.e-check {
    color: white !important;
    background-color: var(--ColoreScuro) !important;
    border-color: var(--ColoreScuro) !important;
}
.e-checkbox-wrapper:focus .e-frame{
    box-shadow: none;
}*/

/*Terzo stato delle checkbox*/
.e-css.e-checkbox-wrapper .e-frame.e-stop,
.e-css.e-checkbox-wrapper:hover .e-frame.e-stop {
    background-color: var(--ColoreChiaro);
    border-color: var(--ColoreChiaro);
    color: white;
}

/*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 {
    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;
}*/

/*Checkbox hover*/
.e-checkbox-wrapper .e-checkbox:hover + .e-frame,
.e-checkbox-wrapper .e-checkbox:focus:hover + .e-frame {
    background-color: var(--ColoreSelezione);
    border-color: var(--ColoreChiaro);
    box-shadow: none;
}

    /*Checkbox*/
    .e-checkbox-wrapper .e-frame.e-check,
    .e-checkbox-wrapper:focus .e-frame.e-check,
    .e-checkbox-wrapper .e-checkbox:focus + .e-frame.e-check,
    .e-checkbox-wrapper .e-checkbox:hover + .e-frame.e-check,
    .e-checkbox-wrapper:hover .e-frame.e-check,
    .e-checkbox-wrapper .e-checkbox:active + .e-frame.e-check {
        background-color: var(--ColoreScuro);
        border-color: var(--ColoreScuro);
        box-shadow: none;
    }

/*Checkbox quando vengono deselezionati*/
.e-checkbox-wrapper .e-checkbox:focus + .e-frame {
    border-color: lightgray;
    box-shadow: none;
}

/*Checkbox active*/
.e-checkbox-wrapper .e-checkbox:active + .e-frame,
.e-checkbox-wrapper .e-checkbox:active + .e-frame.e-check {
    box-shadow: 0 0 0 3px var(--ColoreSelezione);
    border-color: var(--ColoreChiaro);
}

/* Cambia il colore dell'icona di check disabilitata */
.e-checkbox-wrapper.e-checkbox-disabled .e-frame.e-check {
    color: white;
    background-color: darkgray;
    border-color: darkgray;
}

/*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 .e-numericitem:hover,
.e-pager div.e-icons.e-pager-default,
.e-pager div.e-icons.e-pager-default:hover {
    color: var(--ColoreScuro);
}

/*Numeratore della pagina della tabella corrente*/
.e-pager .e-currentitem,
.e-pager .e-currentitem:hover {
    border: 1px solid var(--ColoreScuro);
    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:focus,
.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,
.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-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 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(--Titolo-bg);
    color: var(--Titolo);
    box-shadow: none;
}

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

.bottone {
    background-color: var(--Titolo-bg);
    border: none;
    box-shadow: none;
    color: var(--Titolo);
    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
}

.pwd-dimenticata {
    margin-left: auto;
    margin-top: 10px;
    font-size: 14px;
    width: fit-content;
    cursor: pointer;
}

.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;
}

.disponibilita {
    right: 0px;
    position: absolute;
}

.articolo {
    left: 0;
    position: absolute;
    width: calc(100% - 50px);
    overflow: hidden;
    flex-shrink: 1;
}

.item-ddl-articolo {
    display: block;
}

.e-input-group:not(.e-disabled) .e-input-group-icon:hover,
.e-input-group.e-control-wrapper:not(.e-disabled) .e-input-group-icon:hover {
    background: var(--ColoreChiaro);
    color: white;
}

.e-date-wrapper span.e-input-group-icon.e-date-icon.e-icons.e-active {
    background: var(--ColoreScuro);
    border-color: var(--ColoreScuro);
    color: white;
}

.img-articoli {
    cursor: pointer;
    max-height: 150px;
    max-width: 100px;
}

.scheda-articolo {
    border-color: lightgray;
    border-radius: 10px;
    border-style: solid;
    border-width: 1px;
}