.center-page {
    margin-top: 3px;
    text-align: justify;
    float: left;
    padding: 2% !important;
    padding: 1%;
    background-color: white;
    float: right;
}

.pers-contents {
    min-width: 10em;
    margin: 1em;
    border-collapse: collapse;
    font-size: revert;
    color: var(--accent);
}

.pers-contents>thead:nth-child(1),
.pers-contents>tbody:nth-child(2) {
    border: 2px solid var(--accent);
}

.pers-contents>thead>tr>th:nth-child(1) {
    padding: 0.3em 1em 0em 0.5em;
}

.pers-contents>thead>tr>th:nth-child(2) {
    padding: 0.3em 0.5em 0em 1em
}

.pers-contents>tbody>tr>td:nth-child(1) {
    padding: 0.1em 0.3em;
}

.pers-contents>tbody>tr>td:nth-child(2) {
    text-align: right;
    padding: 0.1em 0.3em;
}

.pers-club {
    color: var(--accent);
    font-size: x-large;
    font-weight: bold;
    margin: 0.5em;
}

.pers-name {
    color: var(--highlight);
    padding-bottom: .5em;
    font-size: xx-large;
    text-align: center;
    font-weight: bold;
    margin: 0.5em;
}

.article-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

.article-box {
    background: var(--bg);
    margin: 1em;
    border-radius: 1.5em;
    padding: 1em;
    border-color: var(--accent);
    border-width: 0.5em;
    border-style: solid;
    max-width: 48em;
    color: var(--text);
}

.pers-description {
    white-space: pre-line;
    font-weight: bold;
    line-height: 150%;
    margin: 0em 1em;
}

.pers-description>br {
    margin-bottom: 1.5rem;
}

.article-colastyle {
    --bg: black;
    --text: white;
    --accent: rgb(200, 0, 0);
    --highlight: rgb(200, 0, 0);
    --backdrop: white;
    --matehidden: none;
    --colahidden: block;
}

.article-matestyle {
    --bg: #ffbf00;
    --text: black;
    --accent: darkblue;
    --highlight: rgb(200, 0, 0);
    --backdrop: var(--bg);
    --matehidden: block;
    --colahidden: none;
}

.article-backdrop {
    background: var(--backdrop);
    display: inline;
    color: black;
    padding: 3px 6px 0px 6px;
}

.article-mark {
    float: right;
    position: relative;
    bottom: 1.5em;
    right: 0.5em;
    font-weight: bold;
}

.pers-mugshot {
    border-radius: 50%;
    margin: 2em 1em;
    width: 15em;
    height: 15em;
    background: white;
    flex-shrink: 1;
}

.article-headerbox {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

.article-barcode {
    text-align: center;
    font-size: larger;
}

.article-footer {
    color: var(--text);
    padding-top: 1em;
}

@media screen {
    div.dokuwiki div.center-page {
        text-align: justify;
    }

    body {
        font: 1em Verdana, "Lucida Grande", Lucida, Helvetica, Arial, sans-serif;
        line-height: 150%;
    }
}


@media print {
    body {
        background: none !important;
    }

    html,
    body,
    #wrapper,
    .center-page {
        margin: 0;
        padding: 0;
    }

    .article-box {
        print-color-adjust: exact;
        break-inside: avoid;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        height: 100vh;
        max-width: 100vb;
        margin: 0;
    }

    .article-box .article {
        flex-grow: 1;
    }

    .pers-mugshot {
        background: none;
    }

    .article-footer>.article-barcode .article-backdrop {
        padding-top: 0;
    }

    .pers-name .pers-club {
        font-size: 2.5em !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .pers-name {
        margin-top: -1em;
    }

    .center-page {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .pers-description>br {
        margin-bottom: 0.75rem;
    }

    body {
        font-size: 0.75em !important;
    }

    /* .article-footer {
        position: absolute;
        bottom: 3em;
        width: 80%;
        left: 10%;
    } */

    .article-colastyle .article.article-matestyle {
        position: relative;
    }
}