body:has(.pdf-fr) {
    background: unset;
}

.pdf-fr-text-white {
    color: white;
}

.pdf-fr-text-black {
    color: black;
}

.pdf-fr {
    display: flex;
    flex-direction: column;
    justify-self: center;
    overflow: hidden;
    padding: 0 !important;
    text-overflow: ellipsis;
    width: 100%;
}

.pdf-fr, .pdf-fr .grid {
    gap: 8px;
}

.pdf-fr-container-blue {
    background-color: #2B5781;
    display: flex;
    padding: 2px 6px;
}

.pdf-fr-container-light-blue {
    background-color: #B4C7E7;
    display: flex;
    padding: 2px 6px;
}

.pdf-fr-header-top-title {
    color: white;
    font-size: 8px;
    line-height: 8px;
}

.pdf-fr-header-title {
    align-self: start;
    color: white;
    font-size: 26px;
    font-weight: 600;
    line-height: 26px;
}

.pdf-fr-page-top-title {
    color: white;
    font-size: 8px;
    line-height: 6px;
}

.pdf-fr-page-title {
    align-self: start;
    color: black;
    font-size: 22px;
    font-weight: 600;
    line-height: normal;
    margin-top: -2px;
}

    .pdf-fr-page-title .title-pannello {
        font-weight: 500;
        font-size: 14px;
    }

    .pdf-fr-double-table-container {
        display: flex;
        flex-direction: row;
    }

.pdf-fr-table-container {
    border: 1px solid black;
    display: flex;
    flex-direction: column;
}

.pdf-fr-table-container-header {
    background-color: #B4C7E7;
    display: flex;
    padding: 2px 6px;
}

    .pdf-fr-table-container-header span {
        align-self: center;
        color: black;
        font-size: 14px;
        font-weight: 600;
        line-height: 16px;
    }

.pdf-fr-table {
    width: 100%;
}

.pdf-fr-table tbody tr td {
    color: black;
    font-size: 12px;
    line-height: 12px;
    padding: 6px 4px;
}

.pdf-fr-table tbody tr td:first-child {
    padding-left: 8px;
}

    .pdf-fr-table tbody tr td:last-child {
        padding-right: 8px;
    }

.pdf-fr-table.header-on-left tbody tr:not(:last-child) td:not(:first-child){
    border-bottom: 1px solid black;
}

    .pdf-fr-table.all-bordered tbody tr td:not(:first-child) {
        border-left: 1px solid black;
    }

    .pdf-fr-table.all-bordered tbody tr td:not(:last-child) {
        border-right: 1px solid black;
    }

.pdf-fr-table.all-bordered tbody tr:not(:last-child) td {
    border-bottom: 1px solid black;
}

/*other*/

.w-50 {
    width: 50%;
}

    .w-50:has(.pdf-fr-table-container-inner):first-of-type {
        border-right: 1px solid black;
    }

    .border-bottom {
        border-bottom: 1px solid black !important;
    }