html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

.left {
    float: left;
}

.right {
    float: right;
}

:root {
    --principale: #0077CC; /*azzurro logo adempi*/
    --secondario: #000000;
    --adempiScuro: #0077CC1A;
    --bianco: #ffffff;
    --nero: #000000;
    --grigio: #808080;
    --grigioChiaro: #858597;
    --arancione: #FFA500;
    --rosso: red;
}


/*#region SEZIONI SISTEMA */

.headerList {
    height: 22%;
    width: 100%;
}

.headerSezione {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    overflow: hidden;
    /*margin-bottom: 2vmin;*/
}

.contenitoreListaSezione {
    height: 78%;
    padding-bottom: 10px
}

.inputFiltroLista {
    padding: 0.25rem;
}

.listaSezione {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    border: 1px solid lightgray;
    border-radius: 1.5vmin;
    -webkit-box-shadow: 0 8px 12px -4px rgb(105 105 105 / 20%);
    box-shadow: 0 8px 12px -4px rgb(105 105 105 / 20%);
    background-color: var(--bianco);
    padding: 5px 10px;
    overflow: hidden;
}

.intestazioneSezione {
    /*width: 30%;*/
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 5px 10px;
    overflow: hidden;
}

.menuSezione {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    /*align-items: center;*/
}

.titoloSezione {
    color: var(--principale);
    font-size: 3.5vmin;
    font-weight: bold;
    line-height: 5vmin;
}

.sottotitoloSezione {
    width: 100%;
    color: var(--grigio);
    font-size: 1.1rem;
}

.labelNumeroSezione {
    width: 8vmin;
    height: 4vmin;
    padding: 0.5vmin 2vmin;
    color: white;
    background-color: gray;
    border-radius: 1vmin;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-right: 1.5vmin;
    font-weight: bold;
}

.graficoHeader {
    height: 100%;
    /*width: 30%;*/
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: 1px solid lightgray;
    border-radius: 1.5vmin;
    -webkit-box-shadow: 0 8px 12px -4px rgb(105 105 105 / 20%);
    box-shadow: 0 8px 12px -4px rgb(105 105 105 / 20%);
    background-color: var(--bianco);
    padding: 5px 10px;
    overflow: hidden;
}

.graficiFatture {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    position: absolute;
    top: 5%;
    right: 0%;
    z-index: 100;
    background-color: white;
    row-gap: 10px;
    border-radius: 10px;
}

    .graficiFatture .item1 {
        order: 1;
        flex: 0 0 50%;
        height: 200px;
        padding: 10px;
    }

    .graficiFatture .item2 {
        order: 2;
        flex: 0 0 50%;
        height: 200px;
        padding: 10px;
    }

    .graficiFatture .item3 {
        order: 3;
        flex: 0 0 100%;
        height: 300px;
        padding: 10px;
    }

.azioniSezione {
    margin-left: 2vmin;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-right: 5vmin;
    border-left: 1px solid lightgray;
}

.azioneSezione {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 0 15px;
    cursor: pointer;
}

.iconaAzioneSezione {
    display: block;
    font-size: 3vmin;
    text-align: center;
}

    .iconaAzioneSezione.disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.scrittaAzioneSezione {
    display: block;
    font-size: 15px;
}

.evidenziaRiga {
    background-color: #26a69a !important;
}

/*#endregion */

/*#region PULSANTI SISTEMA */

.btnPrimario {
    border-radius: 14px;
    background-color: var(--principale);
    color: white;
    height: 5vh;
    position: relative;
    cursor: pointer;
    justify-content: center;
    font-weight: bold;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    text-transform: uppercase;
    border: none;
    min-width: 120px;
}

    .btnPrimario:hover {
        background-color: var(--principale);
        color: white;
        opacity: 0.8;
        box-shadow: 0 8px 12px -4px rgb(105 105 105 / 20%);
    }

    .btnPrimario:active .btnPrimario:focus-visible {
        background-color: var(--principale) !important;
        color: white !important;
        opacity: 0.7;
        box-shadow: 0 8px 12px -4px rgb(105 105 105 / 20%);
    }

.btnPrimario-disabled {
    border-radius: 14px;
    background-color: #0a57a0;
    color: white;
    height: 6vh;
    /*width: 100%;*/
    position: relative;
    cursor: not-allowed;
    justify-content: center;
    font-weight: bold;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    opacity: 0.5;
    border: none;
    width: 300px;
}

/*#endregion */

/*#region DataTable */

.tdSubLine {
    border: none;
    padding-left: 15px;
    padding-right: 15px;
}

.iconaAzioni {
    color: black;
    text-align: center;
    vertical-align: middle;
}

table.dataTable td.iconaAzioni::before {
    font-family: 'Bootstrap-icons';
    content: "\F5D3";
}

/*table.dataTable td.iconaAzioni:active {*/
    /* height: 1em; */
    /* width: 1em; */
    /* display: inline-block; */
    /* border: 0.15em solid white; */
    /* border-radius: 1em; */
    /*box-shadow: 0 0 0.2em #444;*/
    /* box-sizing: content-box; */
    /*text-align: center;
    background-color: lightgrey;
    opacity: 0.50;
    vertical-align: middle;
}*/

/* classe per plugin colResize */
.dt-colresizable-hover {
    cursor: col-resize !important;
    border-right: 1px solid black;
    border-left: 1px solid black;
}

table.dataTable {
    table-layout: fixed;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
}

    table.dataTable th {
        white-space: nowrap;
        overflow: hidden;
        min-width: calc(25ch);
    }

    /*evito tdSubLine */
    table.dataTable td:not(.tdSubLine) { 
        min-width: calc(25ch);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        table.dataTable td span {
            display: block;
            min-width: calc(25ch);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

/*2024adempi002.s10.t10:colonna minima visibilità 25 caratteri */
.cell-min-width-25ch {
    min-width: calc(25ch);
    max-width: calc(25ch);
    overflow-x: hidden;
    text-overflow: ellipsis;
}

/*.cell-text-ellipsis {
    display: block;*/
    /*min-width: calc(25ch);*/
    /*max-width: calc(25ch);*/
    /*overflow-x: hidden;
    text-overflow: ellipsis;
}*/

/*#endregion */

/*#region ALERT-VALIDATE */
.alert-validate-scheda::before {
    content: attr(data-validate);
    position: absolute;
    max-width: 70%;
    background-color: white;
    border: 1px solid #c80000;
    border-radius: 14px;
    padding: 4px 25px 4px 10px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 16px;
    pointer-events: none;
    font-family: Montserrat-Bold;
    color: #c80000;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity 0.4s;
    -o-transition: opacity 0.4s;
    -moz-transition: opacity 0.4s;
    transition: opacity 0.4s;
    z-index: 3;
}

.alert-validate-scheda::after {
    content: "\f06a";
    font-family: FontAwesome;
    display: block;
    position: absolute;
    color: #c80000;
    font-size: 15px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 20px;
    z-index: 2;
}

.alert-validate-scheda:hover:before {
    visibility: visible;
    opacity: 1;
    z-index: 2;
}

/*#endregion */

/*#region floating form da myIT 2023*/


.page-link {
    color: var(--scuro) !important;
    border-radius: 4px !important;
}

    .page-link:focus {
        box-shadow: var(--ombra-grigia) !important;
    }

    .page-link:hover {
        z-index: 2 !important;
        color: var(--scuro) !important;
        background-color: var(--bs-pagination-hover-bg) !important;
        border-color: var(--bs-pagination-hover-border-color) !important;
    }

    .active > .page-link, .page-link.active {
        z-index: 3 !important;
        color: white !important;
        background-color: #26a69a !important;
        border-color: #26a69a !important;
    }

.formStandard {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.inputFormCH {
    overflow: hidden;
    margin: 1.5vmin 0;
    padding: 0 1vmin
}


.floatingFormField {
    width: 100%;
    border-radius: 5px;
    font-size: 16px;
    height: 45px !important;
    /*padding-bottom: 0rem !important;*/
}

.campoFormSelect {
    padding-top: 1.225rem !important;
    /*padding-bottom: 0.425rem !important;*/
}

.labelFormField {
    padding: 12px !important;
    font-size: 16px;
    font-weight: 400;
    color: gray !important;
}

.form-floating > .form-control-plaintext:focus, .form-floating > .form-control-plaintext:not(:placeholder-shown), .form-floating > .form-control:focus, .form-floating > .form-control:not(:placeholder-shown) {
    /*padding-top: 1.625rem; */
    /*padding-bottom: 0.625rem;*/
    padding-top: 1rem;
    padding-bottom: unset;
}

.form-floating > .form-control:focus, .form-floating > .form-control:not(:placeholder-shown) {
    /* padding-top: 1.625rem; */
    /*padding-bottom: 0.625rem;*/
    padding-top: 1rem;
    padding-bottom: unset;
}

.form-floating > .form-select {
    /*padding-top: 1.625rem;*/
    /*padding-bottom: 0.625rem;*/
    padding-top: 1rem;
    padding-bottom: unset;
}

.form-floating > .form-control:focus, .form-floating > .form-control:not(:placeholder-shown) {
    /* padding-top: 1.625rem; */
    /*padding-bottom: 0.625rem;*/
    padding-top: 1rem;
    padding-bottom: unset;
}

    .form-floating > .form-control:focus ~ label {
        opacity: .75 !important;
        /*transform: scale(.70) translateY(-0.5rem) translateX(0.15rem);*/
        transform: scale(.70) translateY(-0.5rem) translateX(1.15rem);
    }

.form -floating > .form- control:not(:placeholder-shown) ~ label, .form-floating > .form-sele ct ~ label {
    opacity: .75 !important;
    /*transform: scale(.70) translateY(-0.5rem) translateX(0.15rem) !important;*/
    transform: scale(.70) translateY(-0.5rem) translateX(1.15rem) !important;
}

.form-floating > .form-control:focus ~ label, .form-floating > .form-control:not(:placeholder-shown) ~ label, .form-floating > .form-select ~ label {
    opacity: .75 !important;
    /*transform: scale(.70) translateY(-0.5rem) translateX(0.15rem) !important;*/
    transform: scale(.70) translateY(-0.5rem) translateX(1.15rem) !important;
}

.contenitoreSubmitForm {
    margin-top: 5vmin;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.bottoneSubmit {
    width: 100%;
    border-radius: 2vmin;
    height: 5vmin;
    background-color: var(--secondario);
    border-color: var(--secondario);
    color: var(--bianco);
    font-weight: bold;
}

    .bottoneSubmit:hover, .bottoneSubmit:focus, .bottoneSubmit:active {
        background-color: var(--secondario) !important;
        border-color: var(--secondario) !important;
        color: var(--bianco) !important;
        font-weight: bold !important;
    }

/*#endregion*/

/*#region OLD ADEMPI*/

.dropDownListSchedaUtente {
    width: 95%;
    height: 4vh;
    overflow: hidden;
    background: url(../images/EspandiMenuUtenteLoggato.png) no-repeat right;
    background-size: 2vw 4vh;
    background-color: white;
    border: 1px solid grey;
    max-width: 95%;
    padding-left: 5px;
}

    .dropDownListSchedaUtente select {
        float: left;
        background: transparent;
        width: 100%;
        font-size: 1vw;
        line-height: 1;
        border: 0;
        border-radius: 0;
        height: 4vh;
        max-width: 100%;
        cursor: pointer;
        -moz-appearance: none;
        -webkit-appearance: none; /*appearance: none; text-overflow: '';*/
    }

        .dropDownListSchedaUtente select::-ms-expand {
            display: none;
        }

/*#endregion*/

.loadingFullscreen {
    height: 100vh;
    width: 100vw;
    z-index: 2000; /*bs-modal default 1055*/
}

/**************************************************
    SEZIONE DOCUMENTALE
***************************************************/
.list-files .file-item {
    width: 200px;
}

.file-item {
    -webkit-border-radius: 3px;
    border-radius: 3px;
    width: 100%;
    margin: 0 15px 15px 0;
    float: left;
    border: 1px solid #d1d6e6;
    background-color: white;
    position: relative;
}

    .file-item .file-preview {
        display: block;
        height: 106px;
        text-align: center;
        padding: 30px 20px;
        overflow: hidden;
        background-color: #eaeaea;
        color: #aaa;
        cursor: default;
        margin-bottom: 0;
    }

        .file-item .file-preview i {
            -webkit-border-radius: 10px;
            border-radius: 10px;
            background: #ddd;
            padding: 10px;
            font-size: 24px;
        }

        .file-item .file-preview .file-extension {
            font-size: 28px;
        }

    .file-item .file-info {
        padding: 5px 20px 5px 5px;
        position: relative;
        font-size: 14px;
        cursor: default;
    }

        .file-item .file-info span {
            display: block;
            margin: 3px 0;
        }

        .file-item .file-info .file-name {
            color: #0af;
        }

        .file-item .file-info .file-date {
            font-size: 13px;
            color: #a0aeba;
        }

        .file-item .file-info .dropdown {
            position: absolute;
            right: 5px;
            top: 50%;
            margin-top: -11px;
        }

        .file-item .file-info .toggle-dropdown {
            padding: 0 10px;
            color: #a0aeba;
            font-size: 20px;
        }

            .file-item .file-info .toggle-dropdown i {
                display: inline;
            }

.list-files .file-item-email {
    width: 150px;
}

.file-item-email {
    -webkit-border-radius: 3px;
    border-radius: 3px;
    width: 100%;
    margin: 0 0 10px 0;
    float: left;
    border: 1px solid #d1d6e6;
    background-color: white;
    position: relative;
}

    .file-item-email .file-preview {
        display: block;
        height: 60px;
        text-align: center;
        padding: 10px 10px;
        overflow: hidden;
        background-color: #eaeaea;
        color: #aaa;
        cursor: default;
        border: 0;
        margin-bottom: 0;
    }

        .file-item-email .file-preview i {
            -webkit-border-radius: 10px;
            border-radius: 10px;
            background: #ddd;
            padding: 10px;
            font-size: 17px;
        }

    .file-item-email .file-info {
        padding: 5px;
        position: relative;
        font-size: 14px;
        cursor: default;
    }

        .file-item-email .file-info span {
            display: block;
            margin: 3px 0;
        }

        .file-item-email .file-info .file-name {
            color: #0af;
            text-overflow: ellipsis;
            white-space: nowrap;
            overflow: hidden;
        }

.file-preview.pdf {
    color: #fff;
    background-color: #E10F0F;
}

    .file-preview.pdf i {
        background: #fff;
        color: #E10F0F;
    }

.file-preview.xls {
    color: #fff;
    background-color: #257246;
}

    .file-preview.xls i {
        background: #fff;
        color: #257246;
    }

.file-preview.doc {
    color: #fff;
    background-color: #2B5795;
}

    .file-preview.doc i {
        background: #fff;
        color: #2B5795;
    }

.file-preview.img {
    color: #fff;
    background-color: #7183a2;
}

    .file-preview.img i {
        background: #fff;
        color: #7183a2;
    }

.open > .dropdown-menu {
    display: block;
}

.dropdown-menu {
    box-shadow: 3px 3px 3px -1px rgba(161,172,181,0.3);
    border-radius: 2px;
    border-color: #d1d6e6;
    margin-top: 0;
    min-width: 150px !important;
}
