@page {
    size: A4 landscape;
    margin: 10mm 10mm 15mm 10mm;
    
    @bottom-right {
        /* content: 'Copyright © 2021 Acoustat | contact@acoustat.fr ' counter(page) ' / ' counter(pages);; */
        content: counter(page) ' / ' counter(pages);
        font-weight: bold;
    }

    @bottom-center {
        content: 'Copyright © 2021 Acoustat | contact@acoustat.fr';
        font-weight: bold;
    }

    @bottom-left {
        content: element(bottomLeft);
        font-weight: bold;
        color:rgb(23, 53, 82);
    }
}

@page:first {
    margin: 0;

    @bottom-left {
        display: none;
    }

    @bottom-right {
        content: counter(page) ' / ' counter(pages);
        font-weight: bold;
        position: absolute;
        z-index: 2;
        right: 10mm;
        bottom: 5mm;
    }

    @bottom-center {
        display: none;
    }
}

@page:last {
    margin: 0;
}

.pagedjs_pagebox {
    box-sizing: content-box;
    background-color: white;
}

.pagedjs_page .pagedjs_margin-bottom-left {
    width: calc(calc(297mm - 20mm)/2);
    padding-right: 10mm;
}

.pagedjs_page .pagedjs_margin-bottom-center {
    width: calc(calc(calc(297mm - 20mm)/2)/2);
    text-align: left;
}

.pagedjs_page .pagedjs_margin-bottom-center > * {
    white-space: nowrap;
    padding-left: 5mm;
}

/* .pagedjs_page .pagedjs_margin-bottom-right {
    width: 100px;
} */

.logo {
    padding: 8px 5px 8px 8px;
    width: 85px;
    height: auto;
}

.small {
    font-size: 10px;
    font-weight: 400;
}

.cover-footer {
    margin-top: 20px;
    /* margin-bottom: 40px; */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.genereted-by {
    font-size: 10pt;
}

.footer-logo {
    width: 150px;
    height: auto;
    margin-left: 15px;
}

.last-page-logo {
    width: 350px;
    height: auto;
}

.bottomLeft {
    position: running(bottomLeft);
}

.contact-mail {
    margin-top: 10px;
    font-size: 20pt;
}

.cover-page {
   width: 297mm;
   height: 210mm; 
}

.notes-wrapper {
    width: calc(297mm - 20mm);
    height: calc(210mm - 25mm);  
}

.points-image-wrapper {
    position: relative;
    max-height: calc(210mm - 25mm);
}

.last-page {
    width: calc(297mm - 20mm);
    height: calc(210mm - 25mm); 
}

.last-page div {
    width: 50%;
}

.pagedjs_pages .pagedjs_page:last-child .pagedjs_margin-bottom {
    display: none;
}
