/* /css/pdf-styles.css */

/* --- GENERAL PDF STYLING --- */
body.pdf-styling-active {
    font-family: sans-serif !important;
    color: #000 !important; 
}
.pdf-styling-active * {
    color: #000 !important; 
    white-space: normal !important;
}
.pdf-styling-active p,
.pdf-styling-active div,
.pdf-styling-active .pdf-normal * {
        font-size: 10pt !important; 
        font-weight: normal !important;
}
.pdf-styling-active .pdf-p-0 {
    padding:0 !important;
}
.pdf-styling-active .pdf-accordion {
    height: auto !important;
    overflow-y: visible !important;
}

/* paragraph */
.pdf-styling-active p.pdf_include {
    border:1px solid white;
}
.pdf-styling-active div p.pdf-bold:has(+ br) {
    display:inline-block;
    font-weight:bold !important;
    margin:0 0 25px 0 !important;
    padding:0;
}
.pdf-styling-active div p.pdf-bold {
    display: inline-block;
    font-weight:bold !important;
    margin:30px 0 0 0;
    padding:0;
}

/* Table */
.pdf-styling-active table.pdf_include {
    border:1px solid white;
}

/* List */
.pdf-styling-active .pdf-accordion ul,
.pdf-styling-active .pdf-accordion ol {
    list-style: none !important;
    padding-left: 0px !important;
    margin-left: 10px !important; 
    margin-bottom: 20px;
}
.pdf-styling-active .pdf-accordion ul li,
.pdf-styling-active .pdf-accordion ol li {
    position: relative !important;
    padding-left: 10px !important;
    margin-bottom: 4px !important; 
    display:block; /* test */
    border:1px solid white;
}
.pdf-styling-active .pdf-accordion li::before {
    content: '-' !important; 
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
}

/* Headlines */
.pdf-styling-active .pdf-headline.pdf-h1 {
    font-size: 20pt !important;
    margin-bottom:5pt;
}
.pdf-styling-active .pdf-headline.pdf-h2 {
    font-size: 18pt !important;
    font-weight: normal; 
    margin-bottom:5pt !important;
}
.pdf-styling-active .pdf-headline.pdf-h3,
.pdf-styling-active h3 {
    font-size: 16pt !important;
    font-weight: normal; 
    margin-bottom:5pt !important;
}
.pdf-styling-active h3 strong {
    letter-spacing: 1px;
}
.pdf-styling-active .pdf-headline.pdf-h4 {
    font-size: 14pt !important;
    font-weight: normal; 
    margin-bottom:2pt !important;
}

/* Referent */
.pdf-styling-active .pdf-referent {
    font-weight:bold !important;
    font-size:13pt;
    margin:0;
    padding: 0;
}
.pdf-styling-active .pdf-referent-body {}
.pdf-styling-active strong {
    font-weight:bold !important;
}
/* programme: strong not in div, followed by <br> */
/*.pdf-styling-active strong+br {
    margin-bottom:1rem;
}
.pdf-styling-active div > strong {
    margin-bottom:1rem;
    display:block;
}*/



/* --- UTILITY CLASSES FOR PDF CONTROL --- */
/* Elements with this class will be HIDDEN in the PDF */
.pdf-styling-active .no-pdf {
    display: none !important;
}

/* Elements with this class are hidden on the site but SHOWN in the PDF */
.only-pdf {
    display: none; 
}
.pdf-styling-active .only-pdf {
    display: block !important; 
}

.pdf-no-pagebreak {
  page-break-inside: avoid !important;
  break-inside: avoid !important;
  border:1px solid red;
}