/*
 * This CSS file is a duplicate of the first lines of print.css
 * because @import is not supported nor can we load 2 CSS files.
 * The only difference is that this one has no pagination counter
 * specified.
 * */
@charset "UTF-8";

/* :root variables */
@import url("./variables.css");

/* fonts */
@import url("./fonts.css");

/**
 *  Reset
 */

body {
    margin: 0;
}

hr {
    display: none;
}

/* *******
 * Basics
 * *******/

body {
    font-family: "Georgia";
    font-variant: common-ligatures;
    line-height: 14.5pt;
    font-size: var(--basefontsize);
    color: var(--color2);
    counter-reset: pagenumbermargin;
}

/* Logos section */
#logos { /* hide title but keep margin */
    display: none;
}

#logos+p {
    margin-left: 0;
}

#logos+p img {
    width: 25%;
    padding-right: 5%;
    box-sizing: border-box;
    display: inline-block;
    position: absolute;
    bottom: 0;
}

#logos+p img:nth-child(1) {
    left: 0;
    bottom: -60px;
}

#logos+p img:nth-child(2) {
    left: 37%;
    width: 28%;
    bottom: -20px;
}

#logos+p img:nth-child(3) {
    left: 73%;
    bottom: -25px;
}

#logos+p img:nth-child(3n) {
    padding-right: 0;
}

/* *******************
 * general page setup
 * *******************/

@page {
    size: 210mm 297mm;
    bleed: 3mm;
    margin-top: 15mm;
    margin-bottom: 36mm;
    display: flow-root;
}

@page:left {
    margin-left: 12mm;
    margin-right: 12mm;
}

@page:right {
    margin-left: 12mm;
    margin-right: 12mm;
}

/***************
 * pagination
 * ************/

@page {
    @bottom-left:after {
        /* when using pagedjs-cli, then this should not be :after */
        font-family: "BasteleurBold";
        font-variant: slashed-zero;
        font-size: 11pt;
        line-height: 12pt;
        border-top: 1px solid;
        vertical-align: top;
        padding-top: 0.25em;
        margin-top: 16mm;
    }
}

/* Colophon */
#colophon {
    break-before: always;
    page-break-after: always;
    font-family: "SourceCode";
    margin-top: 29em;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0;
    font-weight: normal;
    font-family: "BasteleurBold", sans-serif;
    font-variant: slashed-zero;
    font-feature-settings: "ss03" on, "ss04" on, "ss10" on;
    line-height: 24pt;
}

h1 span {
    display: block;
    padding-left: 10mm;
}

/* insert blank page
 * <div class="blankpage"></div> */

.blankpage {
    break-before: always;
    page-break-after: always;
    content: "&nbsp;";
}
