body {
    font-size: 9pt;
    margin: 0 auto;
    counter-reset: my-sec-counter;
}

sup {
    vertical-align: top;
    font-size: 6pt;
    color: #517fd4;
    font-weight: bold;
}

sup > a {
    color: #517fd4;

}

sup::before {
    content:"[";
}

sup::after {
    content:"]";
}

sup:hover {
    cursor: pointer;
}

p {
    margin: 0;
}

hr {
    border: 0;
    height: 0;
    border-top: 1px solid var(--hr-1);
    border-bottom: 1px solid var(--hr-2);
}

h3::before {
    position: absolute;
    content:"»";
    pointer-events: none;
    transform:translate(-15px);
    color: var(--guillemets-color);
}

h5 {

    font-size: 8pt;
}

h6 {

    font-size: 8pt;
    font-style: italic;
}

.textcontents > * > li{
    margin-bottom: 3px;
}

.pagecontainer {
    display: grid;
    width: 1000px;
    justify-content: center;
    margin: 0 auto;
    min-height: 100vh;
    padding-top: 50px;
}

.textcontainer {
    width: 550px;
    line-height: 1.7;
    font-family: "verdana", sans-serif;
    hyphens: auto;
    padding: 50px;
    border: 1px var(--border-color) solid;
    border-radius: 4px;
    background: var(--textbox-color);
}


.textcontents, .notecontent, .abstract{
    position: relative;
}

.textcontents > p, .notecontent > p, .abstract, .textcontents ul {
    margin: 10px 20px 10px 20px;
    text-align: justify;
}

.textcontents ul ul{
    margin: 0px 20px 0px 20px !important;
}

#generalnotes > p {
    text-indent: 4em hanging;
    margin-top: 2px;
    margin-bottom: 0px;
    hyphens: none;
    text-align: left;
}

.endnotes {
    display: flex;
    margin: 5px !important;
}

.endnotecontent{
    display: inline-block;
    margin: 0 !important; 
    text-align: left;
    hyphens: none;
}

.endnotenumbering {
    position: relative;
    display: inline-block;
    right: 10px;
    vertical-align: top;
    text-align: right;
    flex: 0 0 5%;
}

.abstract {
    margin-bottom: 10px;
}

/* alt anfang */
.paragraph {
    margin: 10px 20px 10px 20px;
    position: relative;

}

.paragraph > p {
    text-align: justify;
}
/* alt ende */


.titling {
    margin: 0px 10px 0px 20px;
    position: relative;
    font-family: "Josefin", sans-serif;
    font-weight: unset;
    display: inline-block;
    width: 90%;

}

.subtitling {
    margin: 0px 10px 0px 20px;
    position: relative;
    font-family: "Verdana", sans-serif;
    font-weight: unset;
    display: inline-block;

}

.title {
    font-size: 20pt;
    font-weight: 1000;
    hyphens: none;
    margin-bottom: 10px;
    line-height: 1.1;
    margin-top: 0;

}

.title::before{
    position: absolute;
    content:"»";
    pointer-events: none;
    transform:translate(-25px);
    color: var(--guillemets-color);
    font-weight: 800;
}

.subtitle {
    font-size: 12pt;
    line-height: 1.2;
    font-family: "Josefin Italics";
    hyphens: none;
    color: var(--text-color-less);
    margin: 0;
}

.entryauthor {
    font-size: 10pt;
    margin-top: 30px;

}

.info {
    font-size: 10pt;
    margin-bottom: 10px;

}

.sidenotes {
    position: absolute;
    display: flex;
    right: -195px;
    width: 190px;
    font-size: 7pt;
    color: #888888;
    margin-top: 1px;
    flex-wrap: wrap;
}

aside{
    position: relative;
    display: flex;
    right: -240px;
    width: 190px;
    font-size: 7pt;
    color: #888888;
    margin-top: 5px;
    flex-wrap: wrap;
    float: right;
    clear: right;
    margin-left: -195px;
}

aside > p {
    position: relative;
    flex: 0 0 80%;
    display: flex;
    transition: 0.15s ease-in-out;
}

aside:hover{
    z-index: 10;
    color: rgb(126, 118, 118);
    transition: 0.15s ease-in-out;
}

aside:hover .ref-mark{
    transition: 0.15s ease-in-out;
}

aside > p a, aside > p a:hover {
    border-bottom: 0 !important;
}

.download > a, .download > a:hover {
    border-bottom: 0;
}

.sidenote-group{
    position: relative;
}

.ref-mark {
    flex: 0 0 15%;
    text-align: end;
    padding-right: 7px;
    color: rgb(165, 165, 185);
}

.paragraph-sidenote {
    position: relative;
    flex: 0 0 100%;
    display: flex;
}

.sidenote-number {
    flex: 0 0 15%;
    text-align: end;
    padding-right: 7px;
    color: #5c5c5c;
}

.sidenote-text{
    flex: 0 0 85%;
}

.longer-sidenotes {
    font-weight: bold;
    color: #517fd4;
}

.longer-sidenotes:hover {
    cursor: pointer;

}

.textcontents > p::before {
    position: absolute;
    left: -175px;
    width: 180px;
    color: rgb(177, 168, 168);
    margin-top: 0;
    counter-increment: my-sec-counter;
    content: counter(my-sec-counter);
    pointer-events: none;
    text-align: right;
}
