#s2id_fattura_spese {
    width: 100%;
}

.select2-container-multi .select2-choices .select2-search-choice {
    line-height: 20px;
}

.padded {
    padding: 32px 20px;
}

.padded-little {
    padding: 20px 0px 10px 0px;
}

.fi-folder {
    font-size: 30px
}

.container {
    margin-top: 1.5em;
}

.withWidth {
    width: 97%;
    margin-left: auto;
    margin-right: auto;
    max-width: initial;
}

select {
    height: 32px;
    padding: 5px;
}

.no-padding {
    padding: 0px 0px 0px 0px;
}

button.padded-left {
    padding-left: 10px;
}

.flash-notice {
    margin-top: 20px;
    padding-top: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
    text-align: center;
    width: 100%;
    background-color: green;
    color: white;
    font-weight: bold;
}

.flash-notice.errors {
    background-color: red;
}

.flash-notice.warnings {
    background-color: #F0AD4E;
}

#confirm-delete,
#confirm-before-action {
    text-align: center;
    padding-top: 40px;
    background: #FFFFFF !important;
}

#confirm-delete h4,
#confirm-before-action h4 {
    color: #aa3333;
}

.ui-dialog {
    z-index: 99999;
}

.ui-widget-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ui-dialog-buttonset {
    text-align: center;
    margin-top: 10px;
}


.tabs dd>a,
.tabs .tab-title>a {
    font-size: 0.9em;
}

.aleft {
    text-align: left;
}

.acenter {
    text-align: center;
}

.aright {
    text-align: right;
    ;
}

div.clear {
    clear: both;
}


.leggenda-grafico {
    font-size: 10px;
}

.legend-element {
    display: inline-flex;
}

.legend-element-color-sample {
    width: 20px;
    height: 20px;
    border-radius: 10px;
    margin: 2px;
}

.canvas-container {
    width: 100%;
    text-align: center;
}

canvas.centered {
    display: inline;
}

.spese {
    color: rgba(255, 0, 0, 0.5);
}

.fatture {
    color: rgba(0, 153, 5, 0.5)
}

#tabella-riepilogo table {
    margin-left: auto;
    margin-right: auto;
    width: 800px;
}

#tabella-riepilogo table td {
    text-align: right;
}

.inner-addon {
    position: relative;
}

.inner-addon .fa {
    position: absolute;
    padding: 10px;
    pointer-events: none;
}

.left-addon .fa {
    left: 0px;
    top: 3px;
}

.right-addon .fa {
    right: 0px;
    top: 3px;
}

.left-addon input {
    padding-left: 30px;
}

.right-addon input {
    padding-right: 30px;
}

.importi-spesa {
    text-align: right;
    padding-top: 11px;
    padding-right: 22px;
}

tr.voci-spesa-header {
    background-color: #CCCCCC;
}

tr.priorita,
tr.priorita td {
    background-color: #F2DEDE !important
}

#mostra-spesa td {
    text-align: right;
}

td.importi-a-dx {
    text-align: right;
}

#chartjs-tooltip {
    opacity: 1;
    position: absolute;
    background: rgba(0, 0, 0, .7);
    color: white;
    padding: 3px;
    border-radius: 3px;
    -webkit-transition: all .1s ease;
    transition: all .1s ease;
    pointer-events: none;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

#chartjs-tooltip.below {
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

#chartjs-tooltip.below:before {
    border: solid;
    border-color: #111 transparent;
    border-color: rgba(0, 0, 0, .8) transparent;
    border-width: 0 8px 8px 8px;
    bottom: 1em;
    content: "";
    display: block;
    left: 50%;
    position: absolute;
    z-index: 99;
    -webkit-transform: translate(-50%, -100%);
    transform: translate(-50%, -100%);
}

#chartjs-tooltip.above {
    -webkit-transform: translate(-50%, -100%);
    transform: translate(-50%, -100%);
}

#chartjs-tooltip.above:before {
    border: solid;
    border-color: #111 transparent;
    border-color: rgba(0, 0, 0, .8) transparent;
    border-width: 8px 8px 0 8px;
    bottom: 1em;
    content: "";
    display: block;
    left: 50%;
    top: 100%;
    position: absolute;
    z-index: 99;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

.search-choice {
    font-size: 0.8em;
}

#lista-fatture tr td {
    color: red;
}

#lista-fatture tbody tr.pagata td,
#lista-fatture tbody tr.stornata td {
    color: black;
}

#aggregato-fatture>tbody>tr.scadute>th,
#aggregato-fatture>tbody>tr.scadute>td,
#aggregato-fatture>tbody>tr.in-scadenza>th,
#aggregato-fatture>tbody>tr.in-scadenza>td {
    color: red;
}

td.money {
    text-align: right;
}

.chart-legend li span {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 5px;
}

.chart-legend ul {
    list-style-type: none;
}

label[for="elenco_fatture_stati_4"] {
    color: red;
}

#tabella-costi-spese-per-macrocategoria tr:hover {
    background-color: #008CBA;
}

#tabella-costi-spese-per-categoria tr:hover {
    background-color: #008CBA;
}

#grafico-budget-cliente svg {
    margin-top: 50px;
}

.fullboxed {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 1em;
    float: left !important;
    margin: 0em 0.5em 1em 0em;
    width: 17%;
}

.boxed {
    border-radius: 5px;
    border: 1px solid #ddd;
    clear: both;
    float: none !important;
    max-width: 21em;
}

.fixedsize {
    width: 220px;
}

.percent {
    width: 80% !important;
    float: left;
}

.sprtr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    margin: 3em 0em;
}

.spacer {
    margin: 2px 0px;
    width: 100%;
    padding: 5px;
}

.top-bar-submenu {
    height: 2em;
    border-bottom: 1px solid #ddd;
}


.tableFixHead {
    overflow-y: auto;
    height: 650px;
}

.tableFixHead thead th,
.tableFixHead tfoot th {
    position: sticky;
    top: 0;
}

/* Just common table stuff. Really. */
table {
    border-collapse: collapse;
    width: 100%;
}

th,
td {
    padding: 8px 16px;
}

th {
    background: #ddd;
}

#fatturato-table tr:hover,
.client tr:hover {
    background: #ddd;
}


/* Chart.js */
@keyframes chartjs-render-animation {
    from {
        opacity: .99
    }

    to {
        opacity: 1
    }
}

.chartjs-render-monitor {
    animation: chartjs-render-animation 1ms
}

.chartjs-size-monitor,
.chartjs-size-monitor-expand,
.chartjs-size-monitor-shrink {
    position: absolute;
    direction: ltr;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    visibility: hidden;
    z-index: -1
}

.chartjs-size-monitor-expand>div {
    position: absolute;
    width: 1000000px;
    height: 1000000px;
    left: 0;
    top: 0
}

.chartjs-size-monitor-shrink>div {
    position: absolute;
    width: 200%;
    height: 200%;
    left: 0;
    top: 0
}


/* box percentuali */
.box-percent {
    border: 1px solid #ddd;
    padding: 1em;
    position: fixed;
    margin-top: 100px;
}

.percent-ko {
    background: rgb(255, 0, 0);
    color: white;
}

.percent-ok {
    background: rgb(0, 255, 0);
    color: black;
}

@media print {

    .top-bar,
    .top-bar-submenu,
    .button,
    button,
    footer,
    .tohide,
    #filtri-elenco-fatture,
    .select2-container {
        display: none;
    }

    a[href]:after {
        content: none !important;
    }

    body,
    .panel,
    .container {
        margin: 0px;
    }

    .panel {
        padding: 0px;
    }

    html {
        font-size: 0.95rem;
    }

    .split {
        page-break-after: always;
    }

    .sprtr {
        background: none;
        margin: 0px;
    }

    #elenco-clienti h3 {
        display: block !important;
    }
}

.date,
.date readonly {
    background: #fff !important;
}

.previsione {
    margin: 0 !important;
    width: 150px;
}

.slim {
    padding: 0em 2em;
    max-height: 2.7em;
}

.slimmer {
    padding: 0em 0.8em;
    max-height: 2.7em !important;
}

.slmrw {
    border-bottom: 1px solid #fff;
}

.slmrw label {
    margin-top: 0.5em;
}

.slmrw select,
.slmrw input,
.slmrw .select2-container,
.slmrw .chosen-container {
    margin: 0.3em 0em !important;
}

.slmrwchk {
    margin: 0em !important;
}

.slmrwclk label {
    margin: 0em !important;
}

#filtri {
    padding: 1em 0em !important;
}

.slimmer button,
.slimmer .button {
    margin: 0;
}

.evidence,
.suggest {
    background-color: #f0f0fa !important;
    color: #000 !important;
    padding: 0px;
    margin: 0px;
}

.evidence>td {
    padding: 5px 9px;
}

.evidence input,
.evidence select,
table.nom {
    margin: 0px !important;
}

.to-hide {
    display: none;
}

.stick {
    position: sticky;
    top: 0px;
    z-index: 99;
}

hr.slim {
    margin: 0.3em;
    border: 1px solid #ccc;
}

#ldr {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(2px);
    z-index: 9998;
    top: 0px;
    left: 0px;
    padding: 21% 45.5%;
}

.loader {
    position: relative;
    display: block;
    width: 200px;
    height: 200px;
}

.loader:before,
.loader:after {
    content: '';
    border-radius: 50%;
    position: absolute;
    inset: 0;
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.3) inset;
}

.loader:after {
    box-shadow: 0 5px 0 #8c97f8 inset;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(360deg)
    }
}