/* Syles für alle Seiten 
-------------------------------------------------- */

:root {
    --hamannWeiss: white;
    --hamannLeichtWeiss: #f2f2f2;
    --hamannHellHellGrau: #eeeeee;
    --hamannHellGrau: #dddddd; /** Zur Linienführung; Ähnlich dem Hintergrund **/
    --hamannGrau: #b1b1b1;
    --hamannDunkelGrau: #6e6e6e; /** Dunkelgraue Schriftfarbe zur klaren Abhebung **/
    --hamannLink: #707070; /** Dunkelgraue Schriftfarbe zur leichten Abhebung von Links **/
    --hamannSehrSchwarz: #414141;
    --hamannSehrSehrSchwarz: #2e2e2e;
    --hamannHighlight: #d80000;
    --hamannLightHighlight: #cc7878;
}

/* Klassen für das Shading von HamannHighlight */
.highlight_1 {
    background-color: #897676 !important;
}

.highlight_2 {
    background-color: #a38383 !important;
}

.highlight_3 {
    background-color: #9b6464 !important;
}

.highlight_4 {
    background-color: #a45b5b !important;
}

.highlight_5 {
    background-color: #ad5252 !important;
}

/* Zeichen für die Buttons der Marginalien */
.commBox:not(.short) .commselector button::before {
    content: '';
}

.commBox.short:not(.expanded) .commselector button::before {
    content: '\200E+';
    font-weight: 900;
}

.commBox.expanded .commselector button::before {
    content: '\200E\00D7';
    font-weight: 900;
}

/* Zeichen für den Anfang der Marginalien und die Trennung derselben */
.commBox .comment .marginal:not(:first-child) {
    padding-left: 1.8rem;
}

.commBox .comment .marginal:first-child::before {
    content: "\200E|\00A0";
    font-weight: 900;
}

.commBox .comment .marginal:not(:first-child)::before {
    content: "\200E|\00A0";
    font-weight: 900;
}

.commBox .comment .bzg:after {
    content: '\200E]\00A0';
}

/* Zeichen */
.nr::before {
    content: ' \200E\25E6';
}

.nr::after {
    content: ' \200E\25E6';
}

.added::before {
    content: '';
}

.added::after {
    content: '';
}

.note::before {
    content: '';
}

.note::after {
    content: '';
}

@font-face {
    font-family: 'Biolinum';
    src: url('../fonts/LinBiolinum_Rah.ttf') format('truetype'), url('../fonts/LinBiolinum_R.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Biolinum';
    src: url('../fonts/LinBiolinum_RIah.ttf') format('truetype'), url('../fonts/LinBiolinum_RI.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Biolinum';
    src: url('../fonts/LinBiolinum_RBah.ttf') format('truetype'), url('../fonts/LinBiolinum_RB.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Libertine';
    src: url('../fonts/LinLibertine_DRah.ttf') format('truetype'), url('../fonts/LinLibertine_R.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Libertine';
    src: url('../fonts/LinLibertine_RIah.ttf') format('truetype'), url('../fonts/LinLibertine_RI.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Libertine';
    src: url('../fonts/LinLibertine_RBah.ttf') format('truetype'), url('../fonts/LinLibertine_RB.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

/* @font-face {
    font-family: 'ComputerModern';
    src: url('../fonts/cmunrm.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Bodoni';
    src: url('../fonts/bodoni.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
} */

@font-face {
    font-family: 'Playfair';
    src: url('../fonts/PlayfairDisplay-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* @font-face {
    font-family: 'OStd';
    src: url('../fonts/OldStandardTT-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Prata';
    src: url('../fonts/Prata-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
} */

html {
    position: relative;
    min-height: 100%;
}

body {
    padding-top: 0px;
    padding-bottom: 60px;
    /* for footer */
    padding-left: 0px;
    padding-right: 0px;
    background-image: url('../subtlenet2.png');
    background-repeat: repeat;
    font-family: Libertine !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-variant-ligatures: common-ligatures !important;
    font-variant-numeric: oldstyle-nums;
    text-decoration-skip-ink: auto;
    -webkit-text-decoration-skip-ink: auto;
    line-height: 1.4;
}

header {
    z-index: 1040;
}

@media screen and (min-width: 1200px) {
    .sticky {
    /** BS4: **/
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020;
    }
}

.mainhead {
    padding-top: 20px;
    background-image: url('../subtlenet2.png');
    background-repeat: repeat;
}

a {
    color: var(--hamannLink);
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

a:hover {
    color: black;
    text-decoration: none;
}

.is-active {
    color: var(--hamannHighlight) !important;
}

.is-active:hover {
    color: var(--hamannHighlight) !important;
}

.invlink {
    color: black;
    text-decoration: none;
}

.invlink:hover {
    color: var(--hamannLink);
    text-decoration: none;
}

.nolink {
    color: black;
}

.flexcol {
    display: flex;
    flex-flow: nowrap column;
}

.flexrow {
    display: flex;
    flex-flow: nowrap row;
}

.widehead {
    background-color: var(--hamannWeiss);
    width: 100%;
    min-height: 140px;
    height: auto;
    padding: 10px 10px;
    padding-left: 50px;
    background-image: unset;
    border-bottom: 2px solid var(--hamannHellGrau);
}

.widehead .heading {
    font-size: 295%;
    margin-right: 17px;
}

.widehead .searchheading {
    margin-right: 17px;
    font-style: italic;
    font-size: 1rem;
}

.widehead .searchheading2 {
    margin-right: 17px;
    font-weight: normal;
    font-size: 1rem;
    margin-bottom: 8px;
}

.zhtext {
    border-top: 2px solid var(--hamannHellGrau);
    border-bottom: 2px solid var(--hamannHellGrau);
    font-family: Libertine, serif;
    margin-left: -25px;
    margin-right: -84px;
}
/* Allgemeine Textformatierungen
---------------------------------------------------- */

@media screen and (max-width: 991px) {
    br.ZHBreak {
        content: ' ';
        display: none;
    }

    .letterbox .sal {
        display: block !important;
    }


    .tab-1::after {
        content: '\A' !important;
        white-space: pre;
    }
    
    .tab-2 {
        content: '\A' !important;
        white-space: pre;    }
    
    .tab-3 {
        content: '\A' !important;
        white-space: pre;    }
    
    .tab-4 {
        content: '\A' !important;
        white-space: pre;    }
    
    .tab-5 {
        content: '\A' !important;
        white-space: pre;    }
    
    .tab-6 {
        content: '\A' !important;
        white-space: pre;
    }
    
    .tab-7 {
        content: '\A' !important;
        white-space: pre;
    }
}

.added,
.added * {
    /* font-size: 86%; */
    /* color: var(--hamannDunkelGrau); */
    background-color: var(--hamannHellGrau); 
}

.selected {
    display: inline-block;
    word-wrap: none;
    z-index: 100000000000000;
    font-size: 150%;
    color: var(--hamannHighlight);
}

.align.right {
    display: inline-block;
    position: absolute; 
    right: 6%;
}

.align.center {
    display: inline-block;
    text-align: center;
    position: absolute;
    right: 44%;
    min-width: 33%;
}

.lineline {
    border-top: 1px solid black;
    width: 30%;
    margin: auto 10rem;
    margin-top: 0.6rem;
    position: absolute;
}

.edit .reference > .align.center,
.edit .reference > .align.right,
.edit .corrections > .align.center,
.edit .corrections > .align.right {
    display: inline;
    text-align: left;
    width: auto;
    float: none;
    padding-right: inherit;
}

.hand,
.hand * {
    /* color: var(--hamannDunkelGrau); */
    font-family: Playfair;
    font-size: 0.9rem;
    line-height: 1rem;
}

.hand .ul,
.hand .ul *,
.ul .hand,
.ul .hand * {
    /* color: var(--hamannDunkelGrau); */
    text-decoration-thickness: 1px;
}

.hand .aq {
    font-size: 1.05rem;
}

/*
 .added::before {
  content: '[';
}

 .added::after {
  content: ']';
} */


.del,
.del * {
    text-decoration: line-through;
}

.nnumber,
.nnumber * {
    font-variant-numeric: normal !important;
    font-variant-caps: normal !important;
}

.sal {
    display: inline-block;
    margin-left: 1.5rem;
}

.htable {
    overflow: hidden;
    white-space: nowrap;
    font-variant-numeric: tabular-nums !important;
}

.htab.htab-0-2 {
    display: inline;
    position: static;
    min-width: 50%;
}

.htab.htab-1-2 {
    display: inline-block;
    position: absolute;
    left: 50%;
    min-width: 50%;
}

.htab.htab-0-3 {
    display: inline;
    position: static;
    min-width: 33.333%;
}

.htab.htab-1-3 {
    display: inline-block;
    position: absolute;
    left: 33%;
    min-width: 33.333%;
}

.htab.htab-2-3 {
    display: inline-block;
    position: absolute;
    left: 66%;
    min-width: 33.333%;
}

.htab.htab-0-4 {
    display: inline;
    position: static;
    min-width: 25%;
}

.htab.htab-1-4 {
    display: inline-block;
    position: absolute;
    left: 25%;
    min-width: 25%;
}

.htab.htab-2-4 {
    display: inline-block;
    position: absolute;
    left: 50%;
    min-width: 25%;
}

.htab.htab-3-4 {
    display: inline-block;
    position: absolute;
    left: 75%;
    min-width: 25%;
}

.htab.htab-0-5 {
    display: inline;
    position: static;
    min-width: 20%;
}

.htab.htab-1-5 {
    display: inline-block;
    position: absolute;
    left: 20%;
    min-width: 20%;
}

.htab.htab-2-5 {
    display: inline-block;
    position: absolute;
    left: 40%;
    min-width: 20%;
}

.htab.htab-3-5 {
    display: inline-block;
    position: absolute;
    left: 60%;
    min-width: 20%;
}

.htab.htab-4-5 {
    display: inline-block;
    position: absolute;
    left: 80%;
    min-width: 20%;
}

.htab.htab-0-6 {
    display: inline;
    position: static;
    min-width: 16.667%;
}

.htab.htab-1-6 {
    display: inline-block;
    position: absolute;
    left: 16.667%;
    min-width: 16.667%;
}

.htab.htab-2-6 {
    display: inline-block;
    position: absolute;
    left: 33.333%;
    min-width: 16.667%;
}

.htab.htab-3-6 {
    display: inline-block;
    position: absolute;
    left: 50%;
    min-width: 16.667%;
}

.htab.htab-4-6 {
    display: inline-block;
    position: absolute;
    left: 66.667%;
    min-width: 16.667%;
}

.htab.htab-5-6 {
    display: inline-block;
    position: absolute;
    left: 83.333%;
    min-width: 16.667%;
}

.htab.htab-0-7 {
    display: inline;
    position: static;
    min-width: 14.286%;
}

.htab.htab-1-7 {
    display: inline-block;
    position: absolute;
    left: 14.286%;
    min-width: 14.286%;
}

.htab.htab-2-7 {
    display: inline-block;
    position: absolute;
    left: 28.571%;
    min-width: 14.286%;
}

.htab.htab-3-7 {
    display: inline-block;
    position: absolute;
    left: 42.857%;
    min-width: 14.286%;
}

.htab.htab-4-7 {
    display: inline-block;
    position: absolute;
    left: 57.143%;
    min-width: 14.286%;
}

.htab.htab-5-7 {
    display: inline-block;
    position: absolute;
    left: 71.429%;
    min-width: 14.286%;
}

.htab.htab-6-7 {
    display: inline-block;
    position: absolute;
    left: 85.714%;
    min-width: 14.286%;
}

.htab.htab-0-8 {
    display: inline;
    position: static;
    min-width: 12.5%;
}

.htab.htab-1-8 {
    display: inline-block;
    position: absolute;
    left: 12.5%;
    min-width: 12.5%;
}

.htab.htab-2-8 {
    display: inline-block;
    position: absolute;
    left: 25%;
    min-width: 12.5%;
}

.htab.htab-3-8 {
    display: inline-block;
    position: absolute;
    left: 37.5%;
    min-width: 12.5%;
}

.htab.htab-4-8 {
    display: inline-block;
    position: absolute;
    left: 50%;
    min-width: 12.5%;
}

.htab.htab-5-8 {
    display: inline-block;
    position: absolute;
    left: 62.5%;
    min-width: 12.5%;
}

.htab.htab-6-8 {
    display: inline-block;
    position: absolute;
    left: 75%;
    min-width: 12.5%;
}

.htab.htab-7-8 {
    display: inline-block;
    position: absolute;
    left: 87.5%;
    min-width: 12.5%;
}

.htab.htab-0-9 {
    display: inline;
    position: static;
    min-width: 11.111%;
}

.htab.htab-1-9 {
    display: inline-block;
    position: absolute;
    left: 11.111%;
    min-width: 11.111%;
}

.htab.htab-2-9 {
    display: inline-block;
    position: absolute;
    left: 22.222%;
    min-width: 11.111%;
}

.htab.htab-3-9 {
    display: inline-block;
    position: absolute;
    left: 33.333%;
    min-width: 11.111%;
}

.htab.htab-4-9 {
    display: inline-block;
    position: absolute;
    left: 44.444%;
    min-width: 11.111%;
}

.htab.htab-5-9 {
    display: inline-block;
    position: absolute;
    left: 55.555%;
    min-width: 11.111%;
}

.htab.htab-6-9 {
    display: inline-block;
    position: absolute;
    left: 66.666%;
    min-width: 11.111%;
}

.htab.htab-7-9 {
    display: inline-block;
    position: absolute;
    left: 77.777%;
    min-width: 11.111%;
}

.htab.htab-8-9 {
    display: inline-block;
    position: absolute;
    left: 88.888%;
    min-width: 11.111%;
}


.htab.htab-0-10 {
    display: inline-block;
    position: absolute;
    min-width: 10%;
}

.htab.htab-1-10 {
    display: inline-block;
    position: absolute;
    left: 10%;
    min-width: 10%;
}

.htab.htab-2-10 {
    display: inline-block;
    position: absolute;
    left: 20%;
    min-width: 10%;
}

.htab.htab-3-10 {
    display: inline-block;
    position: absolute;
    left: 30%;
    min-width: 10%;
}

.htab.htab-4-10 {
    display: inline-block;
    position: absolute;
    left: 40%;
    min-width: 10%;
}

.htab.htab-5-10 {
    display: inline-block;
    position: absolute;
    left: 50%;
    min-width: 10%;
}

.htab.htab-6-10 {
    display: inline-block;
    position: absolute;
    left: 60%;
    min-width: 10%;
}

.htab.htab-7-10 {
    display: inline-block;
    position: absolute;
    left: 70%;
    min-width: 10%;
}

.htab.htab-8-10 {
    display: inline-block;
    position: absolute;
    left: 80%;
    min-width: 10%;
}

.htab.htab-9-10 {
    display: inline-block;
    position: absolute;
    left: 90%;
    min-width: 10%;
}

.htab.htab-0-11 {
    display: inline-block;
    position: absolute;
    min-width: 9.091%;
}

.htab.htab-1-11 {
    display: inline-block;
    position: absolute;
    left: 9.091%;
    min-width: 9.091%;
}

.htab.htab-2-11 {
    display: inline-block;
    position: absolute;
    left: 18.182%;
    min-width: 9.091%;
}

.htab.htab-3-11 {
    display: inline-block;
    position: absolute;
    left: 27.273%;
    min-width: 9.091%;
}

.htab.htab-4-11 {
    display: inline-block;
    position: absolute;
    left: 36.364%;
    min-width: 9.091%;
}

.htab.htab-5-11 {
    display: inline-block;
    position: absolute;
    left: 45.455%;
    min-width: 9.091%;
}

.htab.htab-6-11 {
    display: inline-block;
    position: absolute;
    left: 54.545%;
    min-width: 9.091%;
}

.htab.htab-7-11 {
    display: inline-block;
    position: absolute;
    left: 63.636%;
    min-width: 9.091%;
}

.htab.htab-8-11 {
    display: inline-block;
    position: absolute;
    left: 72.727%;
    min-width: 9.091%;
}

.htab.htab-9-11 {
    display: inline-block;
    position: absolute;
    left: 81.818%;
    min-width: 9.091%;
}

.htab.htab-10-11 {
    display: inline-block;
    position: absolute;
    left: 90.909%;
    min-width: 9.091%;
}

.htab.htab-0-12 {
    display: inline-block;
    position: absolute;
    min-width: 8.333%;
}

.htab.htab-1-12 {
    display: inline-block;
    position: absolute;
    left: 8.333%;
    min-width: 8.333%;
}

.htab.htab-2-12 {
    display: inline-block;
    position: absolute;
    left: 16.666%;
    min-width: 8.333%;
}

.htab.htab-3-12 {
    display: inline-block;
    position: absolute;
    left: 25%;
    min-width: 8.333%;
}

.htab.htab-4-12 {
    display: inline-block;
    position: absolute;
    left: 33.333%;
    min-width: 8.333%;
}

.htab.htab-5-12 {
    display: inline-block;
    position: absolute;
    left: 41.666%;
    min-width: 8.333%;
}

.htab.htab-6-12 {
    display: inline-block;
    position: absolute;
    left: 50%;
    min-width: 8.333%;
}

.htab.htab-7-12 {
    display: inline-block;
    position: absolute;
    left: 58.333%;
    min-width: 8.333%;
}

.htab.htab-8-12 {
    display: inline-block;
    position: absolute;
    left: 66.666%;
    min-width: 8.333%;
}

.htab.htab-9-12 {
    display: inline-block;
    position: absolute;
    left: 75%;
    min-width: 8.333%;
}

.htab.htab-10-12 {
    display: inline-block;
    position: absolute;
    left: 83.333%;
    min-width: 8.333%;
}

.htab.htab-11-12 {
    display: inline-block;
    position: absolute;
    left: 91.666%;
    min-width: 8.333%;
}

.tab-1 {
    padding-left: 1rem;
    background-color: var(--hamannWeiss);
}

.tab-2 {
    padding-left: 2rem;
    background-color: var(--hamannWeiss);
}

.tab-3 {
    padding-left: 3rem;
    background-color: var(--hamannWeiss);
}

.tab-4 {
    padding-left: 4rem;
    background-color: var(--hamannWeiss);
}

.tab-5 {
    padding-left: 5rem;
    background-color: var(--hamannWeiss);
}

.tab-6 {
    padding-left: 11rem;
    background-color: var(--hamannWeiss);
}

.tab-7 {
    padding-left: 16rem;
    background-color: var(--hamannWeiss);
}

.aq,
.aq * {
    font-family: Biolinum;
}

.caps,
.caps * {
    font-variant-caps: small-caps;
    letter-spacing: .1rem;
}

.super,
.super * {
    font-variant-numeric: normal;
    vertical-align: super; 
    position: relative;
    font-size: smaller;
    line-height: 0;
    vertical-align: baseline;
    top: -.3em;
}

.sub,
.sub * {
    vertical-align: sub;
    position: relative;
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
    bottom: -.25em;
}

.note,
.note * {
    font-style: italic;
    color: var(--hamannDunkelGrau);
}

.ul,
.ul * {
    display: inline;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-skip-ink: auto;
    -webkit-text-decoration-skip-ink: auto;
}

.ful,
.ful * {
    display: inline;
    border-bottom: 1.5px solid black;
    padding-bottom: 2px;
    /* text-decoration: underline;
    text-decoration-skip-ink: none;
    -webkit-text-decoration-skip-ink: none; */
}


.dul,
.dul * {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-style: double;
    text-decoration-skip-ink: auto;
    -webkit-text-decoration-skip-ink: auto;
}

.tul,
.tul * {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    display: inline;
    border-bottom: 3px double;
}

.up
{
    position: relative; top: -0.5em; 
}

.clear::after { 
    content: "";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
  }

.diagdel {
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.diagdel::before, .diagdel::after {
    content: '';
    width: 100%;
    height: 0%;
    position: absolute;
    right: 0;
    bottom: 1.5ex;
}

.diagdel::before {
    border-bottom: 1px solid black;
    -webkit-transform: skewY(-36deg);
    transform: skewY(-36deg);
}


.del .del,
.del .del * {
    -moz-text-decoration-style: double;
    -webkit-text-decoration-style: double !important;
    text-decoration-thickness: 1px;
    text-decoration-style: double;
}

.del .del .ul,
.ul .del .del, 
.del .ul .del {
    text-decoration: line-through underline;
    -moz-text-decoration-style: double;
    -webkit-text-decoration-style: double !important;
    text-decoration-thickness: 1px;
    text-decoration-style: double;
}

.del .ul,
.ul .del {
    text-decoration: line-through underline;
    text-decoration-thickness: 1px;
    text-decoration-skip-ink: auto;
    -webkit-text-decoration-skip-ink: auto;
}

.nr,
.nr * {
    /* font-family: Biolinum; */
    /* vertical-align: 3px;  */
}

.b,
.b * {
    font-weight: bold;
}

.cross {
    position: relative;
    display: inline-block;
}

.cross::before, .cross::after {
    content: '';
    width: 100%;
    height: 0%;
    position: absolute;
    right: 0;
    top: 50%;
}

.cross::before {
    border-bottom: 2px solid var(--hamannDunkelGrau);
    -webkit-transform: skewY(-27deg);
    transform: skewY(-27deg);
}

/* .cross::after {
    border-bottom: 2px solid var(--hamannDunkelGrau);
    border-width: 50%;
    -webkit-transform: skewY(27deg);
    transform: skewY(27deg);
} */

.anchor {
    font-variant-numeric: normal;
}

.header {
    display: inline-block;
    margin-right: -50%;
    transform: translate(-50%, 50%);
    margin-left: 50%;
}

.link {
    display: inline;
    text-decoration: underline !important;
    text-decoration-style: dotted !important;
    text-decoration-color: var(--hamannHellGrau);
    text-decoration-skip-ink: auto;
    -webkit-text-decoration-skip-ink: auto;
}

.intlink {
    display: inline;
    text-decoration: underline !important;
    text-decoration-style: dotted !important;
    text-decoration-color: var(--hamannHellGrau);
    text-decoration-skip-ink: auto;
    -webkit-text-decoration-skip-ink: auto;
    font-variant-caps: all-small-caps;
}

.wwwlink {
    display: inline;
    text-decoration: underline !important;
    text-decoration-style: dotted !important;
    text-decoration-color: var(--hamannHellGrau);
    text-decoration-skip-ink: auto;
    -webkit-text-decoration-skip-ink: auto;
}

.hangingindent {
    padding-left: 1rem;
    text-indent: -1rem;
}

.searchwarning {
    font-size: 1rem;
    color: var(--hamannHighlight);
    line-height: 2.5rem;
}

.letterselection {
    font-size: 1rem;
}

.autopsic {
    cursor: normal !important;
    background-color: var(--hamannHellHellGrau);
    color: var(--hamannSehrSchwarz);
    font-size: 0.7rem;
    padding: 2px;
    padding-left: 3px;
    padding-right: 3px;
    font-family: Biolinum, sans-serif;
    border-radius: 4px;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.autopsic.hv:hover {
    background-color: var(--hamannHellGrau);
}

.autopsic-new {
    cursor: normal !important;
    background-color: var(--hamannSehrSchwarz);
    color: var(--hamannWeiss);
    font-size: 0.7rem;
    padding: 2px;
    padding-left: 3px;
    padding-right: 3px;
    font-family: Biolinum, sans-serif;
    border-radius: 4px;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.commentbubble {
    background-color: var(--hamannLightHighlight);
    color: white;
    /* margin-left: 5px; */
    font-size: 70%;
    padding: 2px;
    padding-left: 3px;
    padding-right: 3px;
    font-family: Biolinum, sans-serif;
    border-radius: 4px;
}

.tooltip-inner {
    white-space:nowrap;
    max-width:none;
    font-family: Biolinum, sans-serif;
    background-color: var(--hamannHellHellGrau);
    color: var(--hamannSehrSchwarz);
    padding-bottom: 0.1rem;
    padding-top: 0.1rem;
    white-space: pre-wrap;
    max-width: 700px;
  }

  .tooltip.show {
      opacity: 1;
  }

  .tooltip .arrow {
    position: absolute;
    display: block;
    width: 0.8rem;
    height: 0.4rem;
  }
  .tooltip .arrow::before {
    position: absolute;
    content: "";
    border-color: transparent;
    border-style: solid;
  }
  .bs-tooltip-auto[x-placement^="top"],
  .bs-tooltip-top {
    padding: 0.4rem 0;
  }
  .bs-tooltip-auto[x-placement^="top"] .arrow,
  .bs-tooltip-top .arrow {
    bottom: 0;
  }
  .bs-tooltip-auto[x-placement^="top"] .arrow::before,
  .bs-tooltip-top .arrow::before {
    top: 0;
    border-width: 0.3rem 0.3rem 0;
    border-style: solid;
    border-top-color: var(--hamannHellHellGrau);
  }

  /* .tooltip-inner {
    max-width: 200px;
    padding: 0.25rem 0.5rem;
    color: #fff;
    text-align: center;
    background-color: #000;
    border-radius: 0.25rem;
  } */

/* Navigation
----------------------------------------------------- */

.impress {
    color: inherit;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    margin-top: 0px;
    padding-top: 0px;
    margin-top: 0px;
    margin-bottom: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.navbar {
    background-color: var(--hamannWeiss);
    padding: 6px 2.5rem;
    padding-right: 1.5rem;
    border-top-color: var(--hamannHellGrau);
    border-top-style: solid;
    border-top-width: 5px;
}

/* .navbar .navbar-brand {
    font-family: Biolinum, sans-serif;
} */

.navbar .navbar-brand .title-abbrv {
    font-variant: small-caps;
    font-variant-caps: small-caps;
    letter-spacing: 0.07rem;
    font-size: 87%;
}


.navbar .navbar-nav .nav-link {
    color: var(--hamannLink);
}

.navbar .navbar-nav .nav-link:hover {
    color: black;
}

.navbar .navbar-nav .nav-link.is-active {
    color: var(--hamannHighlight);
}

.dropdown-menu {
    z-index: 10000;
    border-radius: 0;
    /*
    border-top: 1px solid var(--hamannHellGrau);
    border-left: 1px solid var(--hamannHellGrau);
    */
    border-bottom: 1px solid var(--hamannDunkelGrau);
    border-right: 1px solid var(--hamannDunkelGrau);
    padding-bottom: 0;
    padding-top: 0;
    right: 0;
    left: auto;
}

.navbar .dropdown-item.active,
.dropdown-item:active {
    background-color: var(--hamannHellGrau);
}

.navbar-brand img {
    padding: 7px;
    width: 50px;
    height: 50px;
    border: 1px solid var(--hamannHellGrau);
    border-bottom: 1px solid var(--hamannDunkelGrau);
    border-right: 1px solid var(--hamannDunkelGrau);
}

.navbar-brand .sitetitle {
    display: inline-block !important;
}


/* Footer
-------------------------------------------------- */

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 55px;
    /* Set the fixed height of the footer here */
    line-height: 55px;
    /* Vertically center the text there */
    /* background-color: #f5f5f5; */
}

.footer .container {
    width: 100%;
}

.footer .text-align-right {
    float: right;
    display: inline-block;
}


/* Styles für die Suchansicht 
-------------------------------------------------- */

.searchbar {
    background-color: var(--hamannWeiss);
    width: 100%;
    background-image: unset;
    border-bottom: none;
    border: 1px solid var(--hamannHellGrau);
}

.searchbar h1 {
    font-family: Libertine;
}


.indexheader {
    max-height: 60px;
    vertical-align: middle;
}

.yearsidebar {
    padding-top: 25px;
    padding-bottom: 6px;
    padding-left: 50px;
    border-bottom: 2px solid var(--hamannHellGrau);
    min-height: unset;
    min-height: 100px;
}

    .yearsidebar .navigation-page a {
        padding-bottom: 6px;
        padding-right: 2px;
        padding-left: 2px;
    }

    .yearsidebar .navigation-page a.is-active,
    .yearsidebar .navigation-page a:hover {
        padding-bottom: 4px;
        border-bottom: 5px solid var(--hamannHellGrau);
    }

    .yearsidebar h1 {
        font-family: Libertine;
    }

    .yearsidebar .navigation-page {
        font-variant-numeric: oldstyle-nums;
        font-family: Biolinum, sans-serif;
    }

    .yearsidebar .backbutton {
        font-family: Biolinum;
        /* padding: 5px 0.5rem;
        border: 1px solid var(--hamannHellGrau);
        color: var(--hamannDunkelGrau); */
        font-size: 14px;
        margin-bottom: 0px;
    }

.namesidebar {
    padding: 1.5rem !important;
    padding-top: 1rem !important;
    background-color: var(--hamannWeiss);
    border-left: 2px solid var(--hamannHellGrau);
}

    .namesidebar a {
        display: block;
    }

    .namesidebar .person {
        font-family: Biolinum, sans-serif;
    }


.entriescolumn {
    padding: 1.5rem !important;
    padding-right: 1.8rem !important;
    padding-top: 0rem !important;
    background-color: var(--hamannWeiss);
    margin-top: inherit;
    font-family: Biolinum;
    min-height: 100%;
}

.entriescolumn #timeline {
    position: relative;
    max-width: 880px;
}

  .entriescolumn #timeline .year {
      padding: 0.2rem 0rem;
      margin-right: -1rem;
      display: block;
      background-color: var(--hamannWeiss);
      font-family: Biolinum, sans-serif;
      font-size: 2.4rem;
      text-align: right;
      color: #3c3c3c;
  }

  .entriescolumn #timeline hr {
      margin-top: 3px;
      margin-right: -0.05rem;
      border-top: 5px solid #3c3c3c;
      max-width: 130px;
  }

  .entriescolumn #timeline .lettercard {
    padding: 25px 20px;
    border: 1px solid var(--hamannHellGrau);
    margin-bottom: 15px;
    border-bottom: 1px solid var(--hamannDunkelGrau);
    border-right: 1px solid var(--hamannDunkelGrau);
    flex-shrink: 0;
    flex-basis: 100%;
    width: 100%;
  }

  /* .entriescolumn #timeline .lettercard:hover {
      border-color: var(--hamannDunkelGrau);
      border-bottom: 1px solid var(--hamannHellGrau);
      border-right: 1px solid var(--hamannHellGrau);
  } */

    .entriescolumn #timeline .lettercard .letcount {
        font-size: 2.6rem;
        /**border: 1px solid var(--hamannDunkelGrau);
        border-right: 1px solid var(--hamannHellGrau); **/
        height: 100%;
        padding-right: 10px;
        align-self: center;
    }

    .entriescolumn #timeline .lettercard .letdesc {
        align-self: center;
        padding-left: 10px;
    }

        .entriescolumn #timeline .lettercard .letdesc .date {
            font-variant-caps: petite-caps;
            font-family: Biolinum, sans-serif;
        }

        .entriescolumn #timeline .lettercard .letdesc .title {
            font-family: Biolinum, sans-serif;
        }
    
    .entriescolumn #timeline .lettercard .sresults {
        margin: 0.2rem 1rem;
        padding-left: 0.2rem;
        line-height: 1.2;
    }

    .entriescolumn #timeline .lettercard .sresult {
        
    }

        .entriescolumn #timeline .lettercard .sresult .sprev {
        font-size: 0.9rem;
        }

        .entriescolumn #timeline .lettercard .sresult .sprev::before {
            content: '»[…] '; 
        }

        .entriescolumn #timeline .lettercard .sresult .sprev::after {
            content: ' […]«';
        }

        .entriescolumn #timeline .lettercard .sresult .pgln {
            padding: 2px;
            padding-left: 3px;
            padding-right: 3px;
            font-size: 0.8rem;
            font-family: Biolinum, sans-serif;
            font-weight: bold;
            border-radius: 2px;
        }

/* Styles für die Briefansicht 
-------------------------------------------------- */

.letterbar {

}
    .letterbar .lettercard .letcount {
        font-size: 2.6rem;
        /**border: 1px solid var(--hamannDunkelGrau);
        border-right: 1px solid var(--hamannHellGrau); **/
        height: 100%;
        padding-right: 8px;
        align-self: center;
    }

    .letterbar .lettercard .letdesc {
        align-self: center;
        padding-left: 10px;
    }

        .letterbar .lettercard .letdesc .date {
            font-variant-caps: petite-caps;
            font-family: Biolinum, sans-serif;
        }

        /* .letterbar .lettercard .letdesc::first-line {
            line-height: 60%;
        } */

        .letterbar .lettercard .letdesc .title {
            font-family: Biolinum, sans-serif;
        }

        .letterbar .leticon {
            background-color: var(--hamannHellHellGrau);
            color: black;
            padding: 2px;
            padding-left: 3px;
            padding-right: 3px;
            font-size: 0.9rem;
            font-family: Biolinum, sans-serif;
            border-radius: 4px;
            font-family: Biolinum;
        }

.metas {
    font-family: Biolinum;
    font-variant: small-caps;
    font-variant-caps: all-small-caps;
}

.countbox {
    text-align: right;
    font-family: Biolinum;
    padding-right: 10px;
    padding-left: 8px;
    padding-bottom: 5px;
    padding-top: 10px;
    font-size: 0.72rem;
    line-height: 1.4rem;
    min-width: 1.5rem;
    width: auto;
    background-color: var(--hamannWeiss);
    white-space: nowrap;
    font-variant-numeric: oldstyle-nums;
    font-variant-caps: all-small-caps;
}

    .countbox .zhpage {
        font-style: italic;
    }

.letterbox {
    padding: 10px;
    padding-left: 15px;
    width: 100%;
    font-size: 1rem;
    line-height: 1.4rem;
    background-color: var(--hamannWeiss);
    border-left: 2px solid var(--hamannHellGrau);
    border-right: 2px solid var(--hamannHellGrau);
    position: relative;
}

.letterbox:after {
    content: "";
    display: table;
    clear: both;
}

.letterbox p {
    font: normal 0, 3rem/1, 4rem, Libertine;
    /*font: font-style font-variant font-weight font-size/line-height font-family; */
    hyphens: auto;
}

.letterbox div {
    display: inline;
}

.commentColumn {
    padding: 10px;
    height: 100%;
    font-size: 1rem;
    line-height: 1.4rem;
    background-color: var(--hamannWeiss);
}

.NoCommentColumn {
    background-color: var(--hamannWeiss);
    height: auto;
    margin-left: 0;
}

.dividerrow {
    background-color: var(--hamannWeiss);
    min-height: 26px;
    border-top: 2px solid var(--hamannHellGrau);
    /* border-bottom: 2px solid var(--hamannHellGrau); */
}

.printbutton {
    padding: 5px 0.5rem;
    font-family: Biolinum;
    border: 1px solid var(--hamannHellGrau);
    color: var(--hamannDunkelGrau);
    font-size: 14px;
    min-height: 2rem;
}

.printbutton.disabled {
    border: none !important;
}

.printbutton .label {
    font-variant: small-caps;
    letter-spacing: 116% !important;
    /* padding-right: 0.5rem; */
}

.additions {
    font-family: Biolinum;
    font-size: 1rem;
    border-top: 2px solid var(--hamannHellGrau);
    background-color: var(--hamannWeiss); 
}

.additionbox {
    padding: 10px 16px;
    width: 100%;
}

.additions .additionbox em {
    font-style: italic;
    font-family: Biolinum;
}

.app {
    font-weight: bold;
    font-size: 1rem;
    /* text-decoration: underline; */
}

.additions .additionbox .traditions {
    padding: 4px 8px;
    max-width: 1020px;
}

.additions .additionbox .hands {
    padding: 4px 8px;
}

.additions .additionbox .traditions .tradition {
    font-family: Biolinum;
}

.additions .additionbox .edits {
    padding: 4px 8px;
    font-size: 0.93rem;
}

.additions .additionbox .edits .disclaimer {
    font-size: 77%;
    margin-left: 1.5rem;
    width: 77%;
}

.additions .additionbox .edits .edit {
    display: block;
    padding-left: 0.4rem;
    padding-left: 0.4rem;
}

.additions .additionbox .edits .edit:nth-child(even) {
    background-color: var(--hamannLeichtWeiss);
}

.additions .additionbox .edits .edit .pageline {
    font-size: 0.7rem;
    font-weight: bolder;
}

.additions .additionbox .edits .edit .reference,
.additions .additionbox .edits .edit .reference * {
    font-family: Libertine;
    font-size: 0.7rem !important;
    font-weight: bolder;
}

.additions .additionbox .edits .edit .reference .added,
.additions .additionbox .edits .edit .reference .added * {
    background-color: var(--hamannGrau);
}

.additions .additionbox .edits .edit .reference .aq,
.additions .additionbox .edits .edit .reference .aq * {
    font-family: Biolinum;
    font-size: 0.7rem !important;
    font-weight: bolder;
}


.additions .additionbox .edits .edit .zh {
    font-family: Libertine;
}

.additions .additionbox .edits .edit div {
    display: inline;
}



/* Code for the Comment Section */
.commBox {
    margin-right: 0.2rem;
    padding-right: 0.4rem;
    position: absolute;
    font-size: 0.8rem;
    line-height: 1rem;
    background-color: var(--hamannWeiss);
    word-wrap: break-word;
    display: inline-flex;
    font-family: Biolinum;
    hyphens: none;
    -moz-hyphens: none;
    -webkit-hyphens: none;
    padding-top: 0.2rem;
}

.commBox .comment div {
    display: inline;
}

.commBox .comment .bzg {
    font-size: 0.6rem;
    font-weight: bolder;
}

.commBox .comment .title {
    font-style: italic;
}


/* Damit die Kommentare nicht unter den unteren durchschauen */

.commBox.short:not(.expanded) {
    overflow: hidden; 
    display: flex;
}

.short:not(.expanded):before {
    position: absolute;
    right: 0;
    bottom: 0;
}


.short:not(.expanded):after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 1rem;
    height: 1rem;
    margin-top: 0.2rem;
}

.commBox .comment {
    padding-left: 0.2rem;
}

.commBox.expanded {
    height: auto !important;
}

.commBox.expanded .comment {
    border-right: 1px solid #9b9b9b;
    border-bottom: 1px solid #9b9b9b;
    padding-bottom: 0.25rem;
    padding-right: 0.2rem;
    margin-right: -0.2rem; 
    display: block;
    z-index: 100;
    margin-bottom: 0.5rem;
    background-color: var(--hamannWeiss);
    -webkit-box-shadow: 5px 6px 5px -7px rgba(0,0,0,0.79); 
    box-shadow: 5px 6px 5px -7px rgba(0,0,0,0.79);
}

.commBox.expanded .comment::first-letter {
    display: none;
}

.commentColumn .commselector {
    min-width: 1rem;
    margin-left: 0.2rem;
}

.commBox .commselector button,
.commBox .commselector button:link,
.commBox .commselector button:visited,
.commBox .commselector button:hover,
 .commBox .commselector button:active {
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 0.5rem;
    padding: 0;
    margin: 0;
    text-align: left;
    text-decoration: none;
    display: inline;
    background-color: inherit;
    color: inherit;
    border: none !important;
    outline: none !important;
}

.commBox:not(.short) .commselector button:hover {
    cursor: default !important;
    color: black !important;
}

.commBox .commselector button:hover {
    cursor: pointer;
    color: var(--hamannHighlight);
}

.invisible {
    display: none;
}

.commBox div.comment+div.comment {
    display: none;
}

/* .marginal *:not(.bzg) {
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto; 
} */

/* Styles für die Register
------------------------------------------------------- */

.registerbox {
    background-color: var(--hamannWeiss);
    width: 100%;
    height: auto;
    padding: 2.4rem 3rem;
}


.alphabet {
    font-family: Biolinum;
    position: relative;
    text-align: left;
    margin-top: 1.2rem;
    margin-bottom: 1.6rem;
}

.alphabet .is-active {
    color: var(--hamannHighlight);
}

.registerbox .text {
    padding-left: 2rem;
    column-count: 1;
    column-gap: 2rem;
    /* text-align: justify; */
    word-wrap: break-word;
    hyphens: auto;
    max-width: 640px;
}

.registerbox.research .text .comment .lemma {
    font-weight: normal !important;
    display: inline;
}

.registerbox .text .comment {
    break-inside: avoid;
    display: block;
    padding-bottom: 3rem;
}

.registerbox.research .text .comment {
    padding-bottom: 1rem !important;
}

.registerbox .text .comment div {
    display: inline;
}

.registerbox .text .comment .lemma {
    display: block;
    font-weight: bold;
}

.registerbox .text .comment .titel {
    font-style: italic;
    display: inline;
}

.registerbox .text .comment .subsection {
    display: block;
    padding-left: 3rem;
    padding-top: 0.3rem;
}

.registerbox .text .comment .backlinks {
    display: inline;
    line-height: 80%;
    padding: 0;
    margin: 0;
    font-family: Biolinum;
    font-size: 80%;
    font-variant-numeric: oldstyle-nums !important; 
    font-variant-caps: all-petite-caps;
    color: var(--hamannDunkelGrau);
    font-weight: normal;
}


/* ---------------------------------------------------------------------------------
   Styles für die Editionstexte
---------------------------------------------------------------------------------- */

.text.editionstext {
    padding-left: 0rem;
    padding-right: 0rem;
}

.Fußnotenanker {
    vertical-align: super;
    font-size: 85%;
    font-size: 85%;
    display: inline-block;
    position: absolute;
    left: 50px;
    text-align: right;
    width: 30px;
}

.Fußnotenanker::after {
    content: ' ';
}

.Fußnotenzeichen {
    vertical-align: super;
    font-size: 85%;
}

.Fußnote {
    padding-left: 2rem;
    padding-right: 2rem;
}

.Unterschrift {
    font-weight: bold;
    text-align: right;
    padding-bottom: 2rem;
}

.kursiv {
    font-style: italic;
}

li {
    padding-top: 0rem;
    padding-left: 0rem;
    margin-left: 1rem;
}

ul {
    padding-left: 0rem;
    margin-left: 0rem;
    margin-top: 0rem;
    padding-top: 0rem;
    margin-bottom: 0rem;
    padding-bottom: 0rem;
}

table {
    border-collapse: separate;
    border-spacing: 1rem 0.5rem;
    vertical-align: top;
    padding-bottom: 1rem;
    padding-left: 0rem;
    margin-left: 0rem;
}

td {
    vertical-align: top;
}

.Ueberschrift2 {
    padding-top: 0.5rem;
    color: var(--hamannHighlight);
    padding-bottom: 0.5rem;
}

.nodist {
    padding-bottom: 0rem;
    margin-bottom: 0rem;
}

.impress {
    padding-right: 3rem;
}

/*******************************************************
Styles für Eingabeformulare
*******************************************************/

form {
    padding-bottom: 6px;
}

.hformbox {
    align-items: baseline;
    font-family: Biolinum, sans-serif;
}

.hformbox .autopsic {
    font-size: 93%;
}

.form-control {
    /* BS4 Reset: */
    border: none;
    border-radius: 0;
}

.form-control:focus {
    /* BS4 Reset */
    box-shadow: none;
    outline: 0;
}

.hform {
    /* margin-right: 0.8rem; */
    height: 100%;
    padding: 0rem;
}


input.hform:hover {
    border: 1px solid var(--hamannDunkelGrau);
}

input.hform:focus,
input.hform:active {
    border: 1px solid var(--hamannHighlight);
}

input.hform {
    border: 1px solid var(--hamannHellGrau);
    padding: 0rem 0.2rem;
    height: 100%;
}

.hformbox .small-form {
    max-width: 60px;
}

select.hform {
    border: 1px solid var(--hamannHellGrau);
    min-width: 48px;
}

select.hform:hover {
    border: 1px solid var(--hamannDunkelGrau);
}

select.hform:focus,
select.hform:active {
    border: 1px solid var(--hamannHighlight);
}

select::-ms-expand {
    display: none;
}

.textform .hform {
    margin-right: 0;
}

input[type="submit"].hform {
    margin-left: 0.5rem;
    padding: 0rem 0.3rem;
}
