.content{
    font-family: var(--jhb-font-family-inter);
}
a, a:link, a:visited{
    font-size:var(--jhb-font-size-normal);
    word-wrap:break-word;
}
.author-name .tei-name{
    font: var(--jhb-font-size-16);
    font-style:italic;
}

.div-abstract i {
    font-size: var(--jhb-font-size-16);
    font-style: normal;
    font-family: 'Inter';
    text-transform: uppercase;
    font-weight: bold;
    margin-top: var(--jhb-section-spacing);
    display: inline-block;
}
.doclink{
    text-decoration:none;
    margin-bottom:1rem;
    color: black;
}

.doi{
    font-size:0.75rem;
}
.doi::before{
    content:'DOI: ';
}
.figure-heading .number{
    font-weight: var(--jhb-font-weight-bold);
    font-size:var(--jhb-font-size-small);
}
.figure-heading .content{
    font-size:var(--jhb-font-size-small);
}

h1{
    font-size:var(--jhb-font-size-22);
}
hr{
    margin:2rem 0;
}
img{
    max-height:37.5rem;
    width:auto;
    height:auto;
}
.cc-logo{
    /* margin-left:3rem; */
    vertical-align:text-top;
    width:4rem;
}
.orcid{
    width:1rem;
    height:1rem;
    background:var(--jhb-green);
    display:inline-block;
    font-size:0.6875rem;
    vertical-align:super;
    border-radius:50%;
    text-align:center;
    color:white;
    margin:0.2rem;
}
p{
    margin-top:0.5em;
    font-size:var(--jhb-font-size-normal);
    font-weight:var(--jhb-font-weight-normal);
}
.page-break-margin{
    font-size:0.75rem;
    color:var(--jhb-red-main-color);
    position:absolute;
    left:-4rem;
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
}
span{
    display:inline;
}
span.tei-p2.page-number{
    font-size:0.75rem;
    color:var(--jhb-color-62b6cb);
}
.page-link, .page-link:visited {
    color: inherit;
    font-size: inherit;
    text-decoration: none;
}
.tei-back{
    margin-top:var(--jhb-section-spacing);
}
.tei-bibl{
    font-size:var(--jhb-font-size-normal);
}
.tei-bibl .tei-title{
    text-indent:0;
}
.tei-biblScope,
.tei-date4,
.tei-editor2,
.tei-emph,
.tei-q
{
    text-indent:0;
}
.tei-item{
    font-size:var(--jhb-font-size-normal);
    margin-bottom:1rem;
}

dl {
    font-size:var(--jhb-font-size-normal);
    font-weight:var(--jhb-font-weight-normal);
}
.tei-quote{
    font-size:var(--jhb-font-size-16);
}
#view{
    margin:0;
}

/*Footnotes*/

.footnotes h1 {
    font-size: x-large;
    font-weight: bold;
    font-family: var(--jhb-font-family-inter);
}

.footnote .fn-content, .footnote .fn-number {
    font-size:var(--jhb-font-size-normal) !important;
}

a[rel="footnote"], a[rel="footnote"]:link, a[rel="footnote"]:visited{
    font-size:var(--jhb-font-size-small);
}
.fn-number {
    font-weight: bold;
}
.fn-number a {
    text-decoration: none;
    font-weight: normal;
}

/* Video */

video {
   border: 1px solid #aaa;
   object-fit: initial;
}

.video-iframe {
    height: auto;
    width: 100%;
    aspect-ratio: 16 / 9;
}

::cue {
   font-size: 12px;
}

@media print {

    @prince-pdf {
        -prince-pdf-page-layout: two-column-right;
    }

    @page {
        size: A4;

        @footnote {
            float: bottom;
            margin-top: 1em;
            font-size: var(--pb-footnote-font-size);
            font-family: var(--pb-footnote-font-family);
            font-weight: var(--pb-footnote-font-weight);
            color: var(--pb-footnote-color);
        }
    }

    @page:left {
        margin-left: 3cm;
        margin-right: 2cm;

        @top-left-corner {
            content: counter(page);
            font-weight: bold;
            color: black;
        }

        @top-left {
            content: "JHB Vorschauansicht";
            margin-left: 1em;
            color: #878787;
            font-weight: bold;
        }

        @bottom-right  {
            content: "https://doi.org/" string(doiText, first);
            font-size: 0.5rem;
            color: #878787;
        }

        /*@top-left {
            content: string(runningHead, first);
            font-family: var(--pb-heading-font-family);
        }

        @top-right-corner {
            content: element(mainTitle);
        }  */
    }

    @page:right {
        margin-left: 2cm;
        margin-right: 3cm;


        @top-right {
            content: string(mainTitle, first);
            margin-right: 1em;
            color: #878787;
            font-weight: bold;
        }

        @top-right-corner {
            content: counter(page);
            font-weight: bold;
            color: black;
        }

        @bottom-left  {
            content: "https://doi.org/" string(doiText, first);
            font-size: 0.5rem;
            color: #878787;
        }
    }

    body {
        --pb-content-font-family: Georgia, "Times New Roman", serif;
        --pb-content-font-size: 14pt;
        --pb-heading-font-family: var(--pb-content-font-family);
        --pb-footnote-font-size: 10pt;
        --pb-footnote-font-family: var(--pb-content-font-family);
        --pb-footnote-font-weight: var(--pb-content-font-weight);
        --pb-footnote-color: #303030;
        --pb-footnote-padding: 0 0 0 .25em;

        font-family: var(--pb-content-font-family);
        font-size: var(--pb-content-font-size);
        line-height: 1.35;
    }

    h1, h2, h3, h4, h5, h6 {
        break-after: avoid;
        font-family: var(--pb-content-font-family);
        color: #0c0c0f;
        margin-top: 4rex;
    }

    h1 {
        string-set: runningHead content(text);
        /* break-before: page;
        font-size: var(--jhb-font-size-largest);*/
    }

    a[rel="footnote"], a[rel="footnote"]:link, a[rel="footnote"]:visited{
        color: black;
        font-size: small !important;
        margin-left: -.2rem;
    }
    a, a:link, a:visited{
        font-size:var(--jhb-font-size-normal);
        word-wrap:break-word;
        font-size: inherit;
        /*
        color: inherit;
        text-decoration: none;
        */
        }

    .maintitle {
        string-set: mainTitle content(text);
    }

    .tei-name {
        string-set: author content(text);
    }

    .doi {
        string-set: doiText content(text);
        display: none;
    }

    .cc-logo {
        display: none;
    }

    /* remove original page numbering */
    .tei-pb4 {
        display: none;
    }

    .tei-cell {
        vertical-align: top;
    }

    img{
        width: 600px;
        height: auto;
}

}
span.footnote { float: footnote; }
