
.open-sans-pa {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

h1 {
    font-weight: normal;
    font-size: 2em;
    margin-bottom: 2em;
    margin-top: 3em;
}

h2 {
    break-before: page;
}

h3 {
    margin-top: 3em;
    color: #00420f;
}

hr {
    border: 0;
    height: 0.125em;
    background-color: gainsboro;
    margin: 2em 0;
}

dl {}

dl dt {
    font-weight: bold;
    margin-top: .25em;
}

dl dt:not(:first-child) {
    margin-top: 1em;
    ;
}

dl dd {
    margin-left: 0;
}

body>section {
    margin: 0 0 3em;
    padding: 1em 0;
    padding: 0 2em;
}

body>section>h2:first-child {
    margin-top: 0;
}

img {
    max-width: 100%;
    max-height: 50%;
}

p code,
li code,
code {
    font-family: "Monaco", monospace;
    margin: 0 .125em;
    color: #d5048d;
    padding: 0 .125em;
    display: inline-block;
}

code {
    font-size: 90%;
}


.issue {
    margin: 2em 0 3em;
}

.issue {
    counter-increment: issue-number;
    padding: 1rem;
    border: 1px solid lightgray;
}

.issue-title {
    margin: -1rem -1rem 2rem -1rem;
    padding: .75rem 1em;
    background-color: #eee;
    flex: 2;
}

.flex-child {
    flex:1;
    padding: .75rem 1em;
    margin: -1rem -1rem 2rem -1rem !important;
}

.issue-title::before {
    content: attr(data-issue) " " counter(issue-number);
    display: block;
    max-width: max-content;
    padding: .25em.5em;
    font-size: 65%;
    background-color: #00420f;
    color: white;
    border: 0;
    margin-bottom: .4em;
}

.issue-meta {
    margin: 2em -1em -1em -1em;
    background: #eee;
    padding: 0.5em 1em;
    border-radius: 0.25em;
}

.issue-meta dl {
    display: flex;
    margin: 0;
    flex-flow: wrap;
}

.issue-meta div {
    width: 100%;
    margin: 0 2.5% 2.5% 0;
}
@media (min-width: 30em) {
    .issue-meta div {
        width: 45%;
    }
}

.sample-list {
    padding: 0;
    margin: 0;
}

.sample-list li {
    list-style: none;
    padding: 1.5em 0;
    counter-increment: sample-list;
    display: flex;
    flex-wrap: wrap;
}

.sample-list li strong::before {
    content: counter(sample-list) ": ";
}

.sample-list li:not(:first-child) {
    border-top: 1px solid lightgrey;
}

.sample-list a {
    font-family: Monaco, monospace;
    font-size: .75em;
    text-decoration: none;
    color: #474747;
    display: block;
    margin: .5em 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90vw;
    width: 35em;
}

.sample-list img {
    margin-right: 2em;
    border: 1px solid #ccc;
    box-shadow: 0px 0px 8px -1px #ccc;
    max-width: 12em;
    max-height: 100%;
}

.sc-table dt:last-of-type,
.sc-table dd:last-of-type {
    margin-top: .5em;
}

/*.pa-header {
    display: flex;
    align-items: end; 
    justify-content: space-between;
}*/
.logo {
    flex: 0 0 30%; /* Neemt 30% van de beschikbare ruimte in */
    max-width: 100%; /* Zorgt ervoor dat het logo niet buiten zijn container groeit */
}
.happy {
    width: 17em;
    flex: 0 0 30%;
}

.pa-header {
  display: flex;
  flex-direction: column; /* Zorgt ervoor dat de elementen op mobiel onder elkaar staan */
}

@media (min-width: 768px) { /* Pas de waarde aan naar de gewenste breedte voor tablets */
  .pa-header {
    flex-direction: row; /* Zet de elementen naast elkaar vanaf de tablet breedte */
    justify-content: space-between; /* Verdeel ze eventueel gelijkmatig */
    align-items: end; 
  }
}

.header-text {
    flex: 1; /* Neemt de resterende 70% van de beschikbare ruimte in */
    padding-left: 10px; /* Optioneel: wat ruimte toevoegen tussen het logo en de tekst */
}

.logo {
    max-width: 17em;
}

@media not print {
    .wcag-link {
        text-decoration: none;
        background-color: midnightblue;
        color: white;
        padding: .25em 1em;
        font-size: .75em;
        border-radius: 1em;
    }
}

.wcag-link .external {
  clip: rect(0 0 0 0);
  clip-path: inset(100%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap; 
  width: 1px;
}

table {
    border-collapse: collapse;
}

td,
th {
    border-bottom: 1px solid gray;
    padding: .5em 3em .5em 0;
    text-align: left;
}

th {
    font-weight: bold;
}


/* For Prince */

@media print {
    h1 {
        string-set: doctitle content();
    }
    body {
        font-size: 10pt;
    }
    .issue {
        border: 0;
        padding: 0;
        break-before: page;
    }
    .issue-meta {
        background-color: transparent;
        border-top: 2px solid gainsboro;
    }
    .issue-meta div {
        margin-bottom: 1em;
    }
    .issue img {
        max-height: 5cm;
    }
    @page {
        margin: 36pt;
        size: A4;
        @bottom-left {
            font-size: smaller;
            color: #666;
            content: string(doctitle);
        }
        @bottom-right {
            color: #666;
            font-size: smaller;
            content: counter(page) " / " counter(pages);
        }
    }
    @page: first {
        background-color: #eee;
        @bottom-left {
            content: "";
        }
        @bottom-right {
            content: "";
        }
    }
}


img,
input[type=""image""] {
    prince-pdf-tag-type: Figure;
    prince-alt-text: attr(alt);
}

figure {
    prince-pdf-tag-type: Div;
}

figcaption {
    prince-pdf-tag-type: Caption;
}
