
@page {
    size: A4 portrait;
    margin: 1cm 1cm 1mm 1cm;
}

html, body {
    height: 99%; /*Evita  ultima pagina bianca*/
}

.DivScreen {
    display: none;
}

.LoadingIcon {
    display: none;
}

.FilterGroup { /* faccio sparire i filtri in stampa */
    display: none;
}

.SiteMasterHeader {
    display: none;
}

.SiteMasterUser {
    display: none;
}

.MenuLaterale {
    display: none;
}

.TableAddNew {
    display: none;
}

.GridGestioneIcona /* se metto display none scala le celle della griglia */ {
    width: 0px;
    height: 0px;
}

.BreakPage {
    page-break-after: always;
    page-break-inside: avoid;
}

.DivScreenPrint { /* area usata sia per schermo che per stampa */
    visibility: visible;
    display: block !important;
    font-family: Calibri;
    margin: 0;
    background-color: white;
}

.DivDopoTitolo {
    padding-top: 0px;
    padding-bottom: 0px;
    font-family: Calibri;
    font-size: large;
    margin-left: 00px;
    margin-top: 20px;
}

.DivPrint {
    visibility: visible;
    display: table !important;
    font-family: Calibri;
    margin: 0;
    background-color: white;
    overflow: hidden;
    contain: strict;
    /* max-width: 99.3%; */
}

/* **************************************************** Inizio TIMEREPORT **************************************************** */
.GridTimeReport {
    background-color: gainsboro;
    border: none 0px #c1c1c1;
    Font-Size: 10px;
    font-family: 'Verdana';
    font-weight: 400;
}

    .GridTimeReport td {
        padding: 2px;
    }

    /* header */
    .GridTimeReport th {
        color: black;
        background-color: gainsboro;
        Font-Size: 10px;
        Height: 10px;
    }
    /* riga pari */
    .GridTimeReport tr:nth-child(4n+0) {
        color: black;
        background-color: white;
        Height: 10px;
        Font-Size: 10px;
        border-bottom-width: 0px;
    }

    .GridTimeReport tr:nth-child(4n+1) {
        color: black;
        background-color: white;
        Font-Size: 10px;
        Height: 10px;
        border-bottom-width: 1px;
        border-bottom-color: lightgray;
        border-bottom-style: solid;
    }

    .GridTimeReport tr:nth-child(4n+2) {
        color: black;
        background-color: whitesmoke;
        Font-Size: 10px;
        Height: 10px;
    }

    .GridTimeReport tr:nth-child(4n+3) {
        color: black;
        background-color: whitesmoke;
        Font-Size: 10px;
        Height: 10px;
        border-bottom-width: 1px;
        border-bottom-color: lightgray;
        border-bottom-style: solid;
    }


    /* link */
    .GridTimeReport a {
        color: black;
        background-color: transparent;
        Font-Size: 10px;
        Height: 10px;
    }

.RtiTimeReportNote {
    border: none;
    height: auto;
    display: block;
    overflow-y: unset;
    padding: 0px;
}

/* **************************************************** FINE TIMEREPORT **************************************************** */


.GridCellDate {
    font-family: inherit;
    font-weight: inherit;
    Font-Size: inherit;
    Height: 16px;
    text-align: center;
}

.GridCellValuta {
    font-family: inherit;
    font-weight: inherit;
    Font-Size: inherit;
    Height: 16px;
    text-align: center;
    padding-left: inherit;
    padding-right: inherit;
    white-space: nowrap;
}

.GridCellCode {
    font-family: inherit;
    font-weight: 600;
    Font-Size: inherit;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    margin: 0px;
    border: none;
    background-color: none;
    background: none;
}


.RtiDocumentNote {
    border: 2px double grey;
    height: auto;
    display: block;
    overflow-y: unset;
}




.RtiLogoFattura {
    display: block;
    visibility: visible;
    display: unset;
    text-align: center;
    background-size: 100%;
}

    .RtiLogoFattura img {
        width: auto;
        height: auto;
        max-height: 100%;
        max-width: 100%;
    }



.ReportCorpoFattura {
    display: table;
    border: 2px solid gray;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    padding-top: 0px;
    padding-bottom: 5px;
    margin-top: 10px;
    vertical-align: middle;
    width: 99.6%;
    margin-left: 0px;
    height: 375px;
    float: left;
    overflow: hidden;
}



.TableCorpoFattura {
    padding: 0px;
    width: 100%;
    height: 375px;
    border-collapse: collapse;
}

    .TableCorpoFattura tr:first-child > .TDCorpoFattura1 {
        border-top: 0px !important; /* Bordo della riga fattura in stampa, rimosso su richiesta ZP */
    }

    .TableCorpoFattura tr:first-child > .TDCorpoFattura2 {
        border-top: 0px !important; /* Bordo della riga fattura in stampa, rimosso su richiesta ZP */
    }

    .TableCorpoFattura tr:empty {
        border-top: none; /* Bordo della riga fattura in stampa, rimosso su richiesta ZP */
    }



.TDCorpoFattura1 {
    min-height: 5%;
    height: auto;
    padding: 0px;
    padding-right: 10px;
    padding-left: 10px;
    border-right: 1px solid gray;
    width: 86%;
    text-align: left;
    font-size: 10pt;
    font-family: Calibri;
    /* vertical-align: bottom; */
    /* line-height: 250%; */
    border-top: 1px dotted grey;
}

    .TDCorpoFattura1:empty {
        border: none;
        border-right: 1px solid gray;
    }

.TDCorpoFattura2 {
    width: 14%;
    font-size: 10pt;
    font-family: Calibri;
    text-align: right;
    padding-right: 10px;
    /* padding-bottom: 10px; */ /* serve per compesare testo fattura che contiene spesso un <\p> a causa di freeTextBox */
    /* vertical-align: bottom; */
    font-weight: 600;
    border-top: 1px dotted grey;
}

    .TDCorpoFattura2:empty {
        border: none;
    }



.FttDivContainer {
    /* position:relative; */
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    flex-wrap: nowrap;
    align-items: stretch;
    /* height: 5cm; */
    min-height: 2cm;
}

    .FttDivContainer .FttDivText {
    }


        .FttDivContainer .FttDivText .FttDivFlTyp {
            display: inline-block;
            font-size: 14pt;
        }

        .FttDivContainer .FttDivText .FttDivDeBud {
            font-size: 14pt;
            font-weight: 800;
            display: inline-block;
            padding-left: 5px;
        }

    .FttDivContainer .FttDivFooter {
        /* position:absolute; */
        /* bottom: 0;*/
        font-size: 80%;
        margin-left: 0.5cm;
    }

        .FttDivContainer .FttDivFooter .FttDivCanone {
            display: block;
            /* font-size: 80%; */
        }

        .FttDivContainer .FttDivFooter .FttDivOfferta {
            display: inline-block;
            /* font-size: 80%; */
        }

        .FttDivContainer .FttDivFooter .FttDivPeriodo {
            float: right;
            margin-right: 1cm;
        }



.ReportCliente {
    float: left;
    width: 100%;
    vertical-align: bottom;
}

.ReportDatiLegale {
    font-family: Calibri;
    font-size: 14pt;
    /* padding: 10px; */
    font-weight: 600;
    /* padding-bottom: 50px; */
    width: 300px;
    float: left;
    height: 140px;
    padding-top: 10px;
    margin-left: 0.5cm;
}

.ReportDatiCliente {
    font-family: Calibri;
    font-size: 14pt;
    /* padding: 10px; */
    font-weight: 600;
    /* padding-bottom: 50px; */
    width: 300px;
    float: right;
    padding-top: 10px;
}



.ReportFatturaeClienteIva {
    float: left;
    width: 100.0%;
    vertical-align: bottom;
    margin-right: 0;
    padding: 0;
}

.ReportDatiFattura {
    background-color: white;
    border: 2px solid gray;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    padding-top: 1px;
    padding-bottom: 0px;
    padding-left: 1px;
    padding-right: 1px;
    vertical-align: middle;
    width: 300px;
    float: left;
    height: 84px;
    text-align: center;
}

.ReportDatiClienteIva {
    border: 2px solid gray;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    padding-left: 1px;
    padding-right: 1px;
    margin-right: 0;
    padding-top: 1px;
    padding-bottom: 1px;
    vertical-align: middle;
    width: 300px;
    float: right;
    text-align: center;
    height: 84px;
}

.ReportDatiPagamento {
    border: 2px solid gray;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    /* padding-top: 1px; */
    /* padding-bottom: 1px; */
    /* padding-left: 1px; */
    /* padding-right: 1px; */
    margin-top: 10px;
    vertical-align: middle;
    width: 99.6%;
    /* float: left; */
    margin-left: 0px;
    height: 84px;
    margin-right: 1cm;
    /* margin-bottom: 10px; */
    /* margin: 10px; */
    margin-right: 1cm;
    display: block;
    /* width: 100%; */
    border-collapse: collapse;
}

.TablePagamento {
    padding: 0px;
    margin: 0px;
    width: 100%;
    height: auto;
    border-collapse: collapse;
}


.FttTRCondizioniPagamento {
    border-bottom: 1px solid gray;
    width: auto;
    text-align: right;
}


.TDFatturaLabel {
    width: 25%;
    text-align: left;
    vertical-align: middle;
}

.TDFatturaValore {
    vertical-align: middle;
    width: 70%;
    padding-left: 20px;
}

.TDPagamentoLabel {
    border-bottom: 1px solid gray;
    width: 25%;
    text-align: Left;
    vertical-align: middle;
}

.TDPagamentoValore {
    border-bottom: 1px solid gray;
    vertical-align: middle;
    width: 70%;
}




.ReportDatiTotale {
    border: 2px solid gray;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: 5px;
    vertical-align: middle;
    float: left;
    height: 50px;
    width: 99.6%;
}



.TDTotaleHeader {
    vertical-align: middle;
    font-size: 8pt;
    padding-left: 5px;
    padding-right: 5px;
    width: 110px;
    text-align: center;
}

.TDTotaleValue {
    vertical-align: middle;
    font-size: 12pt;
    font-family: Calibri;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 10px;
    padding-bottom: 5px;
    width: 110px;
    text-align: center;
}

.DocumentoFooter {
    vertical-align: middle;
    text-align: center;
    font-size: 9px;
    margin-top: 20px;
    float: left;
    width: 100%;
}

.ReportLabel {
    padding: 0px;
    margin: 0px;
    vertical-align: middle;
    float: left;
    font-size: 9pt;
    padding-left: 10px;
    padding-right: 5px;
    border: none;
    width: 90%;
    font-weight: 300;
    text-align: right;
    display: block;
}

.ReportLabelBig {
    vertical-align: middle;
    font-size: 12pt;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-weight: 600;
    border: none;
}

.ReportLabelBigInLine {
    padding: 0;
    margin: 0;
    vertical-align: middle;
    float: left;
    font-size: 10pt;
    padding-left: 10px;
    padding-right: 10px;
    font-weight: 600;
    border: none;
}

.GridContainer {
    border: 2px solid gray;
    border-radius: 0px;
    margin: 0;
    overflow: hidden;
    float: right;
    width: 99%;
    overflow-x: hidden;
}

    .GridContainer td {
        border: 0px none #c4c5d4;
    }

    .GridContainer th {
        border: 1px none #c4c5d4;
    }

    .GridContainer table table td {
        border-style: none;
    }

.GridHeaderSmallFont {
    Font-Size: 8px;
}

    .GridHeaderSmallFont a {
        Font-Size: 8px;
    }

.Grid {
    background-color: gainsboro;
    border: none 0px #c1c1c1;
    width: 100%;
}


    .Grid td {
        padding: 2px;
    }

    /* header */
    .Grid th {
        color: black;
        background-color: gainsboro;
        font-family: 'Verdana';
        font-weight: 400;
        Font-Size: 10px;
        Height: 10px;
    }
    /* riga pari */
    .Grid tr:nth-child(even) {
        color: black;
        background-color: white;
        font-family: 'Verdana';
        font-weight: 400;
        Font-Size: 10px;
        Height: 10px;
        border-bottom-width: 0px;
    }


    .Grid tr:nth-child(odd) {
        color: black;
        background-color: whitesmoke;
        font-family: 'Verdana';
        font-weight: 400;
        Font-Size: 10px;
        Height: 10px;
    }



    /* link */
    .Grid a {
        color: black;
        background-color: transparent;
        font-family: 'Verdana';
        font-weight: 400;
        Font-Size: 10px;
        Height: 10px;
    }


.rounded_corners {
    border: 3px solid #c4c5d4;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    overflow: hidden;
}

    .rounded_corners td {
        border: 0px solid #c4c5d4;
    }

    .rounded_corners th {
        border: 1px solid #c4c5d4;
    }

    .rounded_corners table table td {
        border-style: none;
    }
