/*
Site: goethe-biographica.de

Author(s): Aline Deicke, Dominik Kasper, Martin Prell, Marina Lehmann
Created: 2020-11-01

Usage: Main stylesheet (mobile first-approach)

Sections:   01. GRID
			02. BASE STYLES
			03. TYPOGRAPHY
			04. lAYOUT
			05. BASIC CONTENT ELEMENTS
			06. SPECIAL CONTENT (PLUGINS, ETC.)
			(07. PRINT)
			08. FINALLY
*/

/*
    Font-Stacks:
    serif headers: "JuniusVF", "Times New Roman", serif;
    serif text: "JuniusVF", "Times New Roman", serif; // em, strong, etc.
    sans-serif: "Inter", Arial, sans-serif;

    Breakpoints:
    Grid: min-width: 840px
    Tables: max-width 550px
    other: max-width 450px
*/

/* Color Variables
__________________________________________________ */

:root {

    /* used: */

    --primary-500: #1c1cbe;

    --black-900: #000000;
    --black-800: #1c1d1f;

    --black-500: #757c89;
    --black-400: #a6abb6;
    --black-300: #c2c6cf;
    --black-200: #dadde5;
    --black-100: #f6f7f8;

    /* not used: */

    --primary-700: #001455;
    --primary-600: #0f1487;
    --primary-400: #7087ff;
    --primary-300: #c0cfff;
    --primary-200: #e3ebff;
    --primary-100: #f1f5ff;

    --black-700: #3d414a;
    --black-600: #5e626b;

    --white: #ffffff;

    --system-danger-500: #fd3636;
    --system-success-500: #01a74a;

    --teilprojekt-01-dark: #91201b;
    --teilprojekt-01-base: #ef6d5e;
    --teilprojekt-01-bright: #ff998c;
    --teilprojekt-01-brigher: #ffe6e2;

    --teilprojekt-02-dark: #865516;
    --teilprojekt-02-base: #f5b448;
    --teilprojekt-02-bright: #ffdea7;
    --teilprojekt-02-brighter: #fef9f0;

    --teilprojekt-03-dark: #0d3a67;
    --teilprojekt-03-base: #54a9fb;
    --teilprojekt-03-bright: #a7cbee;
    --teilprojekt-03-brighter: #edf5fc;

    --teilprojekt-04-dark: #235023;
    --teilprojekt-04-base: #47bd6d;
    --teilprojekt-04-bright: #c8eccb;
    --teilprojekt-04-brighter: #ebf7eb;
}

/* ### 01. GRID ######### */

.container {
    position: relative;
    width: 94%;
    max-width: 1110px;
    padding: 0;
    margin: 0 auto;
}

.container.text-page {
    max-width: 730px;
}

.container .container {
    width: 100%;
}

.column,
.columns {
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 840px) {
    .column,
    .columns {
        float: left;
        margin-left: 2.7%;
    }

    .column:first-child,
    .columns:first-child,
    .row nav+.columns {
        margin-left: 0;
        padding-left: 1%;
    }

    .column:last-child,
    .columns:last-child {
        padding-right: 1%;
    }

    .one.column,
    .one.columns {
        width: 5.83333333333%;
    }

    .two.columns {
        width: 14.3666667%;
    }

    .three.columns {
        width: 22.9%;
    }

    .four.columns {
        width: 31.4333333%;
    }

    .five.columns {
        width: 39.9666667%;
    }

    .six.columns {
        width: 48.5%;
    }

    .seven.columns {
        width: 57.0333333%;
    }

    .eight.columns {
        width: 65.5666667%;
    }

    .nine.columns {
        width: 74.1%;
    }

    .ten.columns {
        width: 82.6333333%;
    }

    .eleven.columns {
        width: 91.1666667%;
    }

    .twelve.columns {
        width: 100%;
        margin-left: 0;
    }

    /*.columns .columns {
        margin-left: 0;
    }
    */

    .columns+.columns {
        margin-left: 2.7%;
    }
}

/* ### 02. BASE STYLES ######### */

/* NOTE: html is set to 62.5% so that all the REM measurements throughout Skeleton are based on 10px sizing. So basically 1.5rem = 15px :) */

html {
    font-size: 62.5%;
}

body {
    position: relative;
    font-family: "Inter", Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.75;
    letter-spacing: 0.01rem;
    background: #fff;
    color: #1c1d1f;
    overflow-x: clip;
}

/* ### 03. TYPOGRAPHY ######### */

h1,
h2,
h3,
h4,
h5,
h6,
p,
dl,
ul,
ol,
table,
button,
blockquote {
    hyphens: manual;
}

h1, h2, h3, h4, h5, h6 {
    margin: 4.8rem 0 1.6rem;
    font-weight: normal;
    line-height: 1;
}

@media (max-width: 450px) {
    h1, h2, h3, h4, h5, h6, p {
        hyphens: auto;
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

header h1, h2, h2 + h3, h3 + h4, h4 + h5, h5 + h6 {
    margin-top: 0;
}

h1 {
    font-family: "JuniusVF", "Times New Roman", serif;
    font-size: 6.2rem;
    line-height: 1.29;
    letter-spacing: -0.07rem;
}

h2 {
    font-family: "JuniusVF", "Times New Roman", serif;
    font-size: 4.8rem;
    line-height: 1.25;
    letter-spacing: -0.056rem;
}

h3 {
    font-family: "JuniusVF", "Times New Roman", serif;
    font-size: 3.6rem;
    line-height: 1.33;
    letter-spacing: -0.036rem;
}

h4 {
    font-family: Inter, Arial, sans-serif;
    font-size: 3rem;
    line-height: 1.2;
    letter-spacing: -0.035rem;
}

h5 {
    font-family: Inter, Arial, sans-serif;
    font-size: 2.6rem;
    line-height: 1.31;
    letter-spacing: -0.02rem;
}

h6 {
    font-family: Inter, Arial, sans-serif;
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: normal;
}

p,
dl,
ul,
ol,
table,
button,
blockquote {
    font-size: 1.6rem;
    line-height: 1.75;
    letter-spacing: 0.01rem;
}

p {
    margin: 0 0 1rem 0;
}

.record p {
    margin: 0;
}

abbr[title],
abbr,
.printCitation,
.onlineCitation,
.url-info {
    border-bottom: none;
    text-decoration: none;
    cursor: help;
}

sup {
    white-space: nowrap;
}

/* text styles */
/* Example: https://goethe-biographica.adwmainz.net/briefe/bd-1-23-mai-1764-30-dezember-1772/schriftarten-siglen-zeichen */

.recte {
    font-style: normal;
}

.small_caps {
    font-variant: small-caps;
}

.grotesk {
    font-family: "Inter", Arial, sans-serif;
}

.line-through {
    text-decoration: line-through;
}

/* BLOCKQUOTES */

blockquote,
blockquote p {
    font-family: "JuniusVF", "Times New Roman", serif;
    font-size: 2.2rem;
    line-height: 1.7;
    letter-spacing: 0.01rem;
}

blockquote::before {
    content: '„';
}

blockquote::after {
    content: '“';
}

cite, .cite_bibl {
    color: #a6abb6;
}

/* LISTS */

ul[style="list-style-type: none"] {
    padding-left: 0;
}

dl {
    display: flex;
    flex-flow: row wrap;
    border-top: 0.1rem solid #dadde5;
}

dt, dd {
    margin: 0;
    padding: 1.6rem 1% 1.6rem 0;
    border-bottom: 0.1rem solid #dadde5;
    flex: 0 0 68%;
    text-overflow: ellipsis;
    overflow: hidden;
}

@media (max-width: 550px) {
    dd, dt {
        hyphens: auto;
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

dt {
    max-width: 30%;
}

/* LINKS */

a {
    color: #1c1cbe;
    text-decoration: none;
}

a:hover {
    padding-bottom: 0.15rem;
    border-bottom: 0.1rem solid #1c1cbe;
    color: #1c1cbe;
}

span.clipboardButton:hover {
    cursor: pointer;
	display: inline-block;
    width: 2rem;
    height: 2.5rem;
    text-indent: -9999em;
    vertical-align: middle;
	background: url(../img/clipboard-arrow-up_white.svg) 0 0 no-repeat;
    background-size: contain;
	margin-left: 0.5rem;
}

a:focus, a:active {
    border: 0;
}

/* BUTTONS */

/* button-element only for navigation two-col-nav sources; all other buttons with <p/li class="button"><a> */

.button div.origin, .button a {
    display: inline-block;
    padding: 0.5rem 7.6rem 0.5rem 2.4rem;
    border: solid 0.1rem #1c1cbe;
    line-height: 1.78;
    color: #1c1cbe;
    background: transparent url(../img/actions-navigation-arrow-right-24_blue.svg) right 2.4rem center no-repeat;
}

.button a:hover,
.button a.selected {
    color: #fff;
    background: #1c1cbe url(../img/actions-navigation-arrow-right-24_white.svg) right 2.4rem center no-repeat;
}

/* buttons projects */

.button-tp {
    line-height: 1;
    margin: 0;
}

#news .button-tp {
    margin-bottom: 1rem;
}

.button-tp a {
    display: inline-block;
    padding: 0.4rem 0.8rem 0.3rem;
    border: 0.1rem solid #ef6d5e;
    border-radius: 0.3rem;
    font-size: 1.2rem;
    line-height: 1.33;
    text-align: center;
    color: #757c89;
}

.sourceTitle .button-tp.bug {
    line-height: 1;
    margin: 0;
	margin-left: 2rem;
	font-family: "Inter", Arial, sans-serif;
}

.sourceTitle .button-tp {
    line-height: 1;
    margin: 0;
	margin-left: 1rem;
	font-family: "Inter", Arial, sans-serif;
}

.sourceTitle .button-tp a {
    display: inline-block;
    padding: 0.4rem 0.8rem 0.3rem;
    border: 0.1rem solid #ef6d5e;
    border-radius: 0.3rem;
    font-size: 1.2rem;
    line-height: 1.33;
    text-align: center;
    color: #757c89;
	vertical-align: middle;
}

h4 .button-tp.bug a {
    display: inline-block;
    padding: 0.4rem 0.8rem 0.3rem;
    border: 0.1rem solid #47bd6d;
    border-radius: 0.3rem;
    font-size: 1.2rem;
    line-height: 1.33;
    text-align: center;
    color: #757c89;
	vertical-align: top;
}


.button-tp.gt a {
    border-color: #54a9fb;
}

.button-tp.ra a {
    border-color:  #f5b448;
}

.button-tp.bug a {
    border-color:  #47bd6d;
}

@media (max-width: 550px) {
    .button-tp a {
        background: #ef6d5e;
        color: #fff;
    }

    .button-tp.gt a {
        background: #54a9fb;
    }

    .button-tp.ra a {
        background: #f5b448;
    }

    .button-tp.bug a {
        background: #47bd6d;
    }
}

.button-tp a:hover {
    background: #ef6d5e;
    color: #fff;
}

.button-tp.gt a:hover {
    background: #54a9fb;
	color: #fff;
}

.button-tp.ra a:hover {
    background: #f5b448;
	color: #fff;
}

.button-tp.bug a:hover {
    background: #47bd6d;
	color: #fff;
}

/* VIDEOS */
video {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* ### 04. LAYOUT ######### */

/* HEADER */

/* main nav */

header nav {
    padding: 0.8rem 2% 0;
    background-color: #f6f7f8;
}

@media (min-width: 840px) {
    header nav {
        padding: 0.8rem 4.8rem 0;
    }
}

header nav a {
    white-space: nowrap;
    text-decoration: none;
    color: #757c89;
}

header nav ul {
    text-align: right;
    margin: 0;
    padding: 0;
}

header nav li {
    position: relative;
    display: inline-block;
    width: 6em;
    margin-left: 4rem;
    padding: 0 2.2rem 0.5em 0;
    font-size: 1.4rem;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.57;
    letter-spacing: 0.02rem;
    background: url(../img/icon-arrows-caret-down_2.svg) right top no-repeat;
    color: #757c89;
}

header nav ul ul {
    display: none;
    position: absolute;
    top: 1.75rem;
    width: 15em;
    margin: 0.7em 0 0 -6em;
    text-align: left;
    background-color: #fff;
    z-index: 10;
}

header nav li:hover>ul {
    display: block;
}

header nav a:hover>ul {
    display: block;
}

header nav ul ul li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    background: none;
}

header nav ul ul a {
    display: block;
    padding: 1.2rem 1.6rem;
    text-align: right;
}

header nav ul ul a:hover {
    padding: 1.2rem 1.6rem;
    border: none;
    background: #1c1cbe;
    color: #fff;
}

header nav ul ul li a.active {
    background: #f6f7f8;
    color: #757c89;
}

header nav ul ul li a.active:hover {
    padding: 1.2rem 1.6rem;
    border: none;
    background: #1c1cbe;
    color: #fff;
}

header nav ul li a[title="Recherche"] {
    color: #fff;
    padding: 0.9rem 2.75rem 0.9rem 2.5rem;
    border-radius: 0.3rem 0.3rem 0.3rem 0.3rem;
    background: #1c1cbe no-repeat center;
}

/*header nav ul li.active a[title="Recherche"] {
    text-decoration: underline;
}*/

/* Larger than mobile
@media (min-width: 400px) {
    header nav li {
        width: 24%;
    }
}
*/

/* subnav */

.subnav {
    padding: 2.4rem 1% 0.8rem;
    box-shadow: 0 0.5px 2px 0 rgba(96, 97, 112, 0.16), 0 0 1px 0 rgba(40, 41, 61, 0.08);
}

@media (min-width: 1100px) {
    .subnav {
        padding: 2.4rem 4.8rem 2.2rem;
    }
}

#logo {
    width: 100%;
    display: block;
    margin-bottom: 5.8rem;
    background: url("../img/various-branding-logo-02-beta.png") no-repeat center center / contain;
    position: relative;
}

@media (min-width: 550px) {
    #logo {
        width: 14%;
        display: inline-block;
        margin-bottom: 0;
    }
}

@media (min-width: 980px) {
    #logo {
        width: 14.2rem;
    }
}

#logo a {
    display: block;
    text-indent: -9999em;
}

#logo a:hover {
    padding: 0;
    border: none;
}

.subnav ul {
    display: inline-block;
    position: relative;
    top: -2rem;
    width: 100%;
    padding: 0;
    margin: 0;
}

@media (min-width: 600px) {
    .subnav ul {
        width: 80%;
        padding: 0 0 0 5%;
    }
}

@media (min-width: 980px) {
    .subnav ul {
        width: auto;
        padding: 0 0 0 4.8rem;
    }
}

.subnav li {
    display: inline-block;
    width: 22%;
    padding: 0 1% 0 0;
    font-size: 1.2rem;
    text-align: center;
    vertical-align: middle;
}

@media (min-width: 400px) {
    .subnav li {
        font-size: 1.4rem;
    }
}

@media (min-width: 600px) {
    .subnav li {
        font-size: 1.6rem;
    }
}

@media (min-width: 980px) {
    .subnav li {
        width: auto;
        padding: 0 1.6rem;
        font-size: 1.8rem;
        text-align: left;
    }
}

.subnav li a {
    text-decoration: none;
    color: #000;
}

.subnav .active a {
    padding-bottom: 0.15rem;
    border-bottom: 0.1rem solid #1c1cbe;
}

/* Homepage portrait area */

#portrait {
    display: block;
    width: 100%;
    height: 60rem;
    background: #000 url("../img/Kraus_JWG_1775_76.png") no-repeat center / cover;
	position: relative;
}

#portrait h1 {
    padding: 0;
    margin: 0;
    text-align: center;
    color: #fff;
}

#portrait span {
    display: block;
    padding: 12rem 0 1.4rem;
    font-size: 1.8rem;
    font-family: "Inter", Arial, sans-serif;
    letter-spacing: normal;
}

header fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

#goethe-1 header label {
    margin: 0;
}

/* BETA-Sticker */
/*#logo span.sticker {
    margin: 20px;
    font-size: 23px;
    font-family: "Inter", Arial, sans-serif;
    font-weight: bold;
    text-shadow: 0px 0px 3px rgba(0,0,0,0.4);
    color: black;
    width: 100px;
    height: 100px;
    display: inline-block;
    border-radius: 100%;
    background: -webkit-linear-gradient(135deg, transparent 32px, #aaa 20px, #eee);
    text-align: center;
    padding-top: 9px;
    box-sizing: border-box;
    overflow: hidden;
    position: absolute;
    top: -6.5rem;
    left: 4rem;
    scale: 0.25;
  }

#logo span.sticker:after {
    content: " ";
    display: block;
    border-radius: 100%;
    background: -webkit-linear-gradient(135deg, transparent 110px, #000 100px,#666 100px, #fff 85%);
    box-shadow: -3px -3px 15px 1px rgba(0, 0, 0, 0.2);
    width: 100px;
    height: 100px;
    margin-left: 56px;
    margin-top: 7px;
  }

#logo span.sticker.blue {
    color: white;
    background: -webkit-linear-gradient(135deg, transparent 32px, #1c1cbe 20px);
  } 

#logo span.sticker.blue span {
    transform: rotate(-43deg);
    display: inline-block;
    margin-right: 2.5rem;
    margin-left: 1rem;
    margin-top: 1rem;
}

#logo span.sticker.blue a {
    text-indent: 0;
    color: white;
}

#logo span.sticker.blue a:hover{
    text-decoration: underline;
}

@media (min-width: 550px) {
    #logo span.sticker.blue{
        left: -6rem;
        top: -6rem;
    }
}

@media (min-width: 970px){
    #logo span.sticker {
        scale: 0.3;
    }
}*/

/* MAIN */

main {
    padding: 2.7rem 0 0;
}

#goethe-1 main {
    padding-top: 0;
}

/* Logo-band */

#logo-band {
    background: #f6f7f8;
}

#logo-band ul {
    max-width: 100rem;
    padding: 2.9rem 3%;
    margin: 0 auto;
    text-align: center;
}

#logo-band li {
    display: inline-block;
    margin-left: 4rem;
}

@media (max-width: 770px) {
    #logo-band li {
        width: 15%;
        margin-left: 0.5%;
    }

    #logo-band img {
        max-width: 100%;
        height: 6rem;
        width: auto;
    }
}

#logo-band li:first-child {
    margin-left: 0;
}

#logo-band a:hover {
    border: none;
}

#logo-band img {
    width: auto;
    height: 6rem;
}

#logo-band li:first-child img {
    height: 5rem;
    padding-bottom: 0.5rem;
}

/* BACK TO TOP */

#scrollTop.button a {
    float: right;
    padding: 0.5rem 3.2rem 0.5rem 1.6rem;
    margin-top: 3.2rem;
    font-size: 1.4rem;
    text-align: right;
    background: url(../img/arrow--up.svg) center right 1.6rem no-repeat;
    background-size: 1.4rem;
}

#scrollTop.button a:hover {
    background: #1c1cbe url(../img/arrow--up_white.svg) center right 1.6rem no-repeat;
    background-size: 1.4rem;
}

/* BREADCRUMBS */

#breadcrumbs {
    padding-left: 0;
    margin-top: 0;
}

#breadcrumbs ul,
#breadcrumbs li {
    display: inline;
}

#breadcrumbs li {
    padding: 0.4rem 0;
    font-size: 1.1rem;
}

#breadcrumbs li::after {
    content: "/";
    display: inline-block;
    padding-left: 1rem;
    margin-right: 0.5rem;
}

#breadcrumbs li:last-child::after {
    content: "";
}

#breadcrumbs li a {
    color: #757c89;
}

#breadcrumbs li a:hover {
    color: #1c1cbe;
}

/* FOOTER */

footer {
    margin-top: 8rem;
    background: #fff;
    color: #1c1d1f;
}

@media (min-width: 840px) {
    footer {
        margin-top: 16rem;
    }
}

footer a {
    color: #757c89;
}

#offices {
    padding: 4rem 0;
}

@media (min-width: 550px) {
    #offices .three {
        float: left;
        width: 48.5%;
    }
}

@media (min-width: 840px) {
    #offices .three {
        width: 22.9%;
    }
}

#offices h2 {
    font-size: 2.6rem;
}

#offices h3 {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    font-size: 1.6rem;
    line-height: 2.8rem;
    letter-spacing: 0.01rem;
    color: #1c1d1f;
}

#offices h2 {
    margin-top: 4.8rem;
}

@media (min-width: 840px) {
    #offices h2 {
        margin-top: 0;
    }
}

#offices h3 + p {
    margin: 0 0 1.8rem 0;
    font-size: 1.4rem;
    line-height: 2.2rem;
    letter-spacing: 0.02rem;
}

#offices p a[href*="mailto"] {
    padding-right: 2rem;
    background: url(../img/icon_mail.svg) right bottom -0.1rem no-repeat;
}

#offices p a[href*="mailto"]:hover {
    padding-bottom: 0;
    background-image: url(../img/icon_mail_blue.svg);
}

#offices p a:hover {
    padding-bottom: 0;
}

#offices img {
    display: block;
    width: 50%;
    max-width: 17rem;
    margin-left: auto;
    margin-right: auto;
}

#offices div div div div.six.columns {
    margin-left: 0;
}

#footer-service-nav {
    border-top: 0.1rem solid #c2c6cf;
    padding: 1.6rem 0;
}

#footer-service-nav ul {
    display: inline-block;
    padding: 0;
    margin: 0 0 0.8rem 0;
}

#footer-service-nav li {
    list-style: none;
    display: inline;
    margin-right: 4.8rem;
}

#footer-service-nav li.active a {
    color: #1c1cbe;
}

#footer-service-nav p {
    float: right;
    margin: 0 0 1rem 0;
    color: #757c89;
}

#footer-service-nav.paddingFooter {
    padding-bottom: 8rem;
}

/* ### 05. BASE STYLES ######### */

/* TABLES */

table {
    width: 100%;
    margin: 1.6rem 0 4.8rem;
    border-top: 0.1rem solid #c2c6cf;
    border-bottom: 0.1rem solid #c2c6cf;
}

tr:hover {
    background: #f6f7f8;
}

th, td {
    padding: 0;
    min-height: 2.6rem;
}

th:first-child, td:first-child {
    padding-left: 2.3rem;
}

th {
    padding: 2.4rem 0.8rem 2rem 0;
    border-bottom: 0.1rem solid #c2c6cf;
    font-size: 1.4rem;
    font-weight: normal;
    text-align: left;
    line-height: 1.45;
    letter-spacing: 0.028rem;
    color: #757c89;
}

td {
    padding: 2.4rem 0.8rem 2.4rem 0;
    border-bottom: 0.1rem solid #dadde5;
}


td .external-link
{	
    display: inline-block;
    width: 2rem;
    height: 2.5rem;
    text-indent: -9999em;
    vertical-align: middle;
	background: url(../img/link_extern.svg) 0 0 no-repeat;
    background-size: contain;
} 

td .internal-link
{	
    display: inline-block;
    width: 2rem;
    height: 2.5rem;
    text-indent: -9999em;
    vertical-align: middle;
	background: url(../img/jump-link.svg) 0 0 no-repeat;
    background-size: contain;
} 


.record td {
    min-width: 25%;
    vertical-align: top;
    /* TODO: works in all cases? Not really well, especially when viewport size changes */
}

td:empty:after {
    content: "keine Angabe";
    display: block;
    font-size: 1.4rem;
    font-style: italic;
    color: #757c89;
}

.record td:empty:after {
    content: "";
}

/* search result type */
td.category {
    width: 20%;
}

@media (max-width: 550px) {
    th, td {
        display: block;
        width: 100%;
        text-align: center;
    }

    th:first-child, td:first-child {
        padding-left: 0;
        border-top: 0.1rem solid #c2c6cf;
    }

    th {
        padding: 1.1rem 0 0.8rem;
    }

    td {
        padding: 1.6rem 0 1.4rem;
    }
}

/* IMAGES */

figure {
    width: 45.5%;
    float: left;
    margin: 0 4% 4% 0;
}

figure + figure {
    margin: 0 0 4% 4%;
}

@media (min-width: 840px) {
    figure {
        width: 22.9%;
        float: right;
        margin: 0 0 4% 4%;
    }
}

figure > a:hover {
    border: none;
}

img {
    width: 100%;
}

figcaption {
    font-size: 1.4rem;
}

/* Meilensteine */

figure.meilensteine {
    width: auto;
    height: auto;
    display: block;
    float: none;
    text-align: center;
    margin: 2rem 0 2rem 0;
}

/* Special page: Stein des guten Glücks*/

.blog figure {
    display: block;
    width: auto;
    height: auto;
    text-align: center;
    float: none;
}

.blog figure img {
    width: 50%;
}

.blog figcaption p {
    font-size: 1.4rem;
}

.blog p {
    hyphens: auto;
}

/* Faksimiles */

.hymen_gb02 {
    float: none;
    display: block;
    text-align: center;
    width: auto;
    height: auto;
    margin-bottom: 0;
}

.hymen_gb02 img {
    width: 30%;
}

/* FORMS */

fieldset {
    border: none;
    padding: 0;
    margin: 3.2rem 0;
}

/*
.goethe-5 fieldset {
    margin-top: 9.6rem;
}
*/

.goethe-5 #searchwords {
    margin-top: 0;
}

label {
    margin: 0 1rem 0 0;
}

select {
    padding: 0.4rem 2.2rem 0.4rem 0.4rem;
    margin: 0.8rem 1rem 0 0;
    border: 0.1rem solid #c2c6cf;
    border-radius: 0.3rem;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    background-image: url('../img/icon-arrows-caret-down.svg'),
    linear-gradient(to bottom, #ffffff 0%,#ffffff 100%);
    background-repeat: no-repeat, repeat;
    background-position: right 0 top 50%, 0 0;
    background-size: auto, 100%;
}

select:focus, input:focus, #searchwords:focus {
    border: 0.05rem solid #1c1cbe;
    outline: none;
}

input[type="checkbox"], input[type="radio"] {
    position: relative;
    top: -0.1rem;
}

input[type="checkbox"] + label {
    margin: 0 1.6rem 0 0.2rem;
}

input[type="checkbox"]:checked + label {
    color: #1c1cbe;
}

#searchwords {
    width: 60%;
    padding: 1.4rem 1.6rem;
    margin-top: 5rem;
    border-radius: 0.3rem 0 0 0.3rem;
    border: solid 0.05rem #a7abb4;
    /* color: #a6abb6; */
}

#ssQuery {
    border-radius: 0.3rem 0 0 0.3rem;
    border: solid 0.05rem #a7abb4;
    padding: 1rem;
    /* color: #a6abb6; */
}


/* search term color for highlighting */

.term {
    background: #F6E900;
}

@media (min-width: 770px) {
    #searchwords {
        width: 40rem;
    }
}

#ssDoSearch {
    padding: 0.95rem 1.6rem;
    margin-left: 3px;
    border: none;
    border-radius: 0.3rem 0.3rem;
    background: #1c1cbe;
    color: #fff;
}

#ssDoSearch[value=" "] {
    padding: 1.45rem 2.7rem;
    border-radius: 0 0.3rem 0.3rem 0;
    background: #1c1cbe url("/img/actions-operations-search-16_white.svg") no-repeat center;
}

#searchform {
	text-align: center;
}

#quicksearch fieldset {
    display: inline;
}

/* FACETS */

.facets {
    display: flex;
    align-items: stretch;
    align-content: space-evenly;
    flex-wrap: wrap;
    list-style: none;
    margin: 0 0 6rem 0;
    padding: 0;
}

.facets li {
    margin: 0;
}

.facets .button a {
    margin-top: 1rem;
    margin-right: 1rem;
    padding-right: 5rem;
    width: 11rem;
}

.facets .button {
        display: none;
}

.facets .button:nth-child(-n+10){
        display: block;
}

.facets .show-more-button a {
        margin-top: 1rem;
		display: inline-block;
		padding: 0.5rem;
		font-size: 1.8rem;
		line-height: 1.78;
		color: #1c1cbe;
}

/* ### 06. SPECIAL CONTENT (PLUGINS, ETC.) ###### */

/* HOMEPAGE STUFF */

#search-all a {
    color: #fff;
}

#search-all a:hover {
    border-bottom-color: #fff;
}

#about-project {
    color: #fff;
	position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
}

#about-project a{
    color: #fff;
	text-decoration: none;
}

#about-project a:hover{
    border-bottom-color: #fff;
}

#quote blockquote,
#quote > p
#quote > div > p {
    max-width: 92rem;
    margin: 0 auto;
    text-align: center;
}

#research h2 {
    margin: 2.2rem auto;
}

#research p {
    color: #a6abb6;
}

#research {
    margin: 6.4rem 0;
}

#research p,
#research h2 {
    text-align: center;
}

#quote {
    margin: 19rem 0 16rem;
}

#quote blockquote {
    position: relative;
}

#quote blockquote p {
    font-family: "JuniusVF", "Times New Roman", serif;
    font-size: 4rem;
    line-height: 1.29;
}

#quote blockquote::before {
    content: "";
    position: absolute;
    top: -8rem;
    display: inline;
    width: 6.3rem;
    height: 6.3rem;
    margin-left: -4rem;
    border-radius: 4rem;
    text-align: center;
    background: #1c1cbe;
}

#quote blockquote::after {
    content: "„";
    position: absolute;
    top: -16.5rem;
    display: inline;
    width: 6.3rem;
    height: 6.3rem;
    margin-left: -4rem;
    font-family: "JuniusVF", "Times New Roman", serif;
    font-size: 10rem;
    text-align: center;
    color: #fff;
}

cite {
    display: block;
    margin-top: 2rem;
    font-style: normal;
    color: #a6abb6;
}

/* News */

#news {
    padding: 1rem 0 6rem 0;
    margin-bottom: 16rem;
    background: #f6f7f8;
}

#news figure {
    width: auto;
    float: none;
}

#news img {
    display: block;
    width: 90%;
    margin: 1rem auto 2.4rem;
}

@media (max-width: 840px) {
    #news .seven {
        width: 90%;
        margin: 0 auto;
    }
}

#news .columns > p:first-child {
    font-size: 2.2rem;
}

#news blockquote {
    margin: 0;
}

#news blockquote::before,
#news blockquote::after {
    content: '';
}

#news h3 {
	text-align: center;
	margin-bottom: 6rem;
}

#news blockquote p {
    margin: 0;
    font-size: 3.6rem;
    line-height: 1.33;
    letter-spacing: -0.036rem;
}

@media (max-width: 840px) {
    #news blockquote p {
        hyphens: auto;
    }
}

@media (min-width: 840px) {
    #news blockquote p {
        padding-right: 10rem;
    }
}

/* Teaser styles */

.teaser {
    display: inline-flex;
    flex-wrap: wrap;
    margin-bottom: 6rem;
}

.teaser div {
    flex-basis: 100%;
    padding: 2.4rem 1.6rem 8rem;
    border-bottom: solid 0.1rem #dadde5;
	text-align: center;
}

.teaser div:first-child {
    border-top: solid 0.1rem #dadde5;
}

@media (min-width: 550px) {
    .teaser div {
        flex-basis: 48.5%;
        padding: 2.4rem 2.4rem 6rem;
        margin-left: 2%;
        margin-bottom: 2.4rem;
        border: solid 0.1rem #dadde5;
		text-align: center;
    }

    .teaser div:first-child {
        padding: 2.4rem 2.4rem 6rem;
    }

    .teaser div:first-child, .teaser div:nth-child(3) {
        margin-left: 0;
    }
}

@media (min-width: 960px) {
    .teaser div {
        flex-basis: 22.9%;
    }

    .teaser div:nth-child(3) {
        margin-left: 2%;
    }
}

@media (min-width: 1000px) {
    .teaser div {
        margin-left: 2.7%;
    }
}

.teaser h3 {
    margin-top: 0;
    font-family: Inter, Arial, sans-serif;
    font-size: 3rem;
    line-height: 1.2;
    letter-spacing: -0.035rem;
    color: #000;
	text-align: center;
}

.teaser p {
    line-height: 1.57;
    letter-spacing: 0.02rem;
}

.teaser p:hover {
    cursor: pointer;
}

@media (min-width: 840px){
.teaser p span {
    font-size: 1.4rem;
	vertical-align: middle;
}
}

@media (min-width: 840px){
.teaser p > span {
    margin-left: 1rem;
	margin-right: 1rem;
}
}

.teaser div p:last-child a:hover {
    border-bottom-color: #000;
	color: #000;
}

.teaser h3 + p {
    display: inline-block;
    padding: 0.4rem 1.3rem 0.4rem 1.4rem;
    border: 0.1rem solid #f6f7f8;
    border-radius: 3px;
    font-weight: 500;
    line-height: 1.33;
    letter-spacing: normal;
    background-color: #f6f7f8;
}

.teaser .columns:hover h3 + p {
    border-color: #1c1d1f;
    color: #1c1d1f;
    background-color: transparent;
}

.teaser p:first-child {
    display: flex;
    justify-content: center;
    padding-top: 3rem;
    margin-bottom: 3rem;
}

.teaser p:first-child a {
    display: block;
    width: 4.8rem;
    height: 4.8rem;
    text-indent: -9999em;
}

.teaser p:last-child a {
     color: inherit;
	 text-decoration: none;
}

.teaser p a:hover,
.teaser .columns:hover p:first-child a {
    border: none;
}

.teaser #gt p:first-child a {
    background: url(../img/notebook_color.svg) right center no-repeat;
    background-size: cover;
}

.teaser #gt p:first-child a:hover,
.teaser #gt.columns:hover p:first-child a {
    background: url(../img/notebook.svg) right center no-repeat;
    background-size: cover;
}

.teaser #gb p:first-child a {
    background: url(../img/mail--all_color.svg) right center no-repeat;
    background-size: cover;
}

.teaser #gb p:first-child a:hover,
.teaser #gb.columns:hover p:first-child a {
    background: url(../img/mail--all.svg) right center no-repeat;
    background-size: cover;
}

.teaser #ra p:first-child a {
    background: url(../img/icon_ra_color.svg) right center no-repeat;
    background-size: cover;
}

.teaser #ra p:first-child a:hover,
.teaser #ra.columns:hover p:first-child a {
    background: url(../img/icon_ra.svg) right center no-repeat;
    background-size: cover;
}

.teaser #bug p:first-child a {
    background: url(../img/events_color.svg) right center no-repeat;
    background-size: cover;
}

.teaser #bug p:first-child a:hover,
.teaser #bug.columns:hover p:first-child a {
    background: url(../img/events.svg) right center no-repeat;
    background-size: cover;
}

.teaser #gt:hover {
    border-color: #54a9fb;
    background: #54a9fb;
}

.teaser #gb:hover {
    border-color: #ef6d5e;
    background: #ef6d5e;
}

.teaser #ra:hover {
    border-color:  #f5b448;
    background: #f5b448;
}

.teaser #bug:hover {
    border-color:  #47bd6d;
    background: #47bd6d;
}

.teaser .columns:hover p {
    color: #1c1d1f;
}




/* Mailinglist */

#mailinglist {
    margin: 0 0 16rem 0;
}

#mailinglist::before {
    content: '';
    display: block;
    width: 1.8rem;
    height: 1.8rem;
    margin: 0 auto;
    background: url(../img/icon_mail.svg) center center no-repeat;
    background-size: contain;
}

#mailinglist img {
    display: block;
    margin: 0 auto;
    width: 2%;
}

#mailinglist p {
    text-align: center;
}

#mailinglist p:first-of-type {
    font-family: "JuniusVF", "Times New Roman", serif;
    font-size: 4.8rem;
    line-height: 1.29;
    letter-spacing: -0.07rem;
}

#mailinglist p:nth-of-type(2) {
    color: #a6abb6;
}

#mailinglist form {
    text-align: center;
}

#mailinglist #e-mail {
    width: 27rem;
    padding: 1.4rem 1.6rem;
    margin-top: 3rem;
    border-radius: 0.3rem 0 0 0.3rem;
    border: solid 0.05rem #a7abb4;
    color: #a6abb6;
}

#mailinglist #send {
    padding: 1.45rem 2.7rem;
    margin-left: -0.5rem;
    background-color: #1c1cbe;
    border: none;
    border-radius: 0 0.3rem 0.3rem 0;
}

#mailinglist input {
    color: #fff;
}

/* PROJECT PAGES */

.project-header {
    padding: 6rem 5%;
    margin: 0 auto 6.4rem;
    text-align: center;
    background: #54a9fb;
    color: #fff;
}

@media (min-width: 840px) {
    .project-header {
        padding: 8rem 0 10rem;
    }
}

.project-header p {
    max-width: 92rem;
    margin: 4.8rem auto 1.6rem;
    font-size: 1.8rem;
}

.project-header a {
    color: #fff;
    padding: 0.9rem 1.9rem 0.9rem 1.9rem;
    }
    
.project-header span {
    padding: 0.9rem 0rem 0.9rem 0rem;
    border-radius: 0.3rem 0.3rem 0.3rem 0.3rem;
    border: 0.1rem solid #fff;
}

.project-header a:hover {
    border-bottom: none;
}

#goethe-34 img {
    margin-top: 4.8rem;
}

#goethe-34 .project-header {
    background: #ef6d5e;
}

#goethe-33 .project-header {
    background: #f5b448;
}

#goethe-32 .project-header {
    background: #47bd6d;
}

.tp-search {
    margin-top: 7rem;
    margin-left: 0.5rem;
}

@media (min-width: 550px) {
    .tp-search {
        margin: auto;
    }
}

.tp-search span {
    padding: 0.5rem 1.5rem;
    margin-left: -0.5rem;
    border: none;
    border-radius: 0.3rem 0.3rem;
    background: #54a9fb;
    color: #fff;
}

@media (min-width: 550px) {
    .tp-search span {
        float: right;
        margin-top: 3rem;
    }
}

#goethe-34 .tp-search span {
    background: #ef6d5e;
}

#goethe-33 .tp-search span {
    background: #f5b448;
}

#goethe-32 .tp-search span {
    background: #47bd6d;
}

.tp-search a {
    color: #fff;
    text-decoration: none;
}

.tp-search a:hover {
    border-bottom: none;
}

/* NORMAL PAGES TEXT STYLES */

.page-in-volume {
    font-size: 1.2rem;
}

/* SOURCES */

/* sticky pagination */

#sticky-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 94%;
    padding: 1.8rem 3%;
    margin: 0;
    text-align: center;
    background: #fff;
    box-shadow: 0 -2px 4px 0 rgba(96, 97, 112, 0.16), 0 0 1px 0 rgba(40, 41, 61, 0.04);
    z-index: 50;
}

#sticky-nav .pagination {
    margin: 0;
}

.pagination {
    padding: 0;
}

main .pagination:first-child {
    margin-top: 0;
}

.pagination li {
    display: inline-block;
    padding-top: 0.4rem;
}

.pagination li div {
    display: inline-block;
    min-width: 1.6rem;
    padding: 0.6rem 0.9rem 0.8rem 1rem;
    font-size: 1.4rem;
    text-align: center;
    line-height: 1.57;
    letter-spacing: 0.02rem;
    color: #757c89;
}

#sticky-nav .pagination li .next {
    margin-left: 0;
}

.pagination li div:hover,
.pagination li .active {
    padding-bottom: 0.8rem;
    border: none;
    background: #edeef1;
    color: #1c1cbe;
}

@media (max-width: 900px) {
    .pagination li div.first,
    .pagination li div.prev,
    .pagination li div.next,
    .pagination li div.last {
        font-size: 0;
    }

    #sticky-nav .pagination li div.prev,
    #sticky-nav .pagination li div.next {
        position: relative;
        top: -0.6rem;
    }

    .pagination li div.first::before,
    .pagination li div.prev::before,
    .pagination li div.next::before,
    .pagination li div.last::before {
        content: "««";
        display: inline-block;
        font-size: 1.4rem;
    }

    .pagination li div.prev::before {
        content: "«";
    }

    .pagination li div.next::before {
        content: "»";
    }

    .pagination li div.last::before {
        content: "»»";
    }
}

.pagination li div.next.button {
    margin-left: 1.6rem;
}

.pagination li div.prev.button {
    margin-right: 1.6rem;
}

.pagination li.button {
    float: left;
    padding: 0;
}

@media (min-width: 1140px) {
    .pagination li.button {
        position: absolute;
        left: 3%;
        float: none;
    }
}

.pagination li.button div {
    padding: 0.8rem 1.6rem 0.8rem 4.8rem;
    margin: 0;
    line-height: 1.78;
    color: #1c1cbe;
    background: transparent url(../img/actions-navigation-arrow-right-24_blue.svg) left 1.6rem center no-repeat;
}

.pagination li.button div:hover {
    margin: 0;
    border: 0.1rem solid #1c1cbe;
    color: #fff;
    background: #1c1cbe url(../img/actions-navigation-arrow-right-24_white.svg) left 1.6rem center no-repeat;
}

@media (max-width: 400px) {
    .pagination li.button div {
        padding: 0.8rem 1.6rem;
        background: transparent;
    }

    .pagination li.button div:hover {
        background: #1c1cbe;
    }
}

/* Show */

h1.sourceTitle {
    text-align: center;
    padding: 0 2.4rem;
    font-size: 4.6rem;
}

.sourceTitle .category {
    display: inline-block;
    width: 4.4rem;
    height: 4.4rem;
    text-indent: -9999em;
    vertical-align: middle;
    background: url(../img/mail--all_color.svg) 0 0 no-repeat;
    background-size: contain;
}

.sourceTitle .category:hover {
    border: none;
    padding-bottom: 0;
}

.sourceTitle .category.bg {
    padding-right: 0.8rem;
    margin-top: -1rem;
    background: url(../img/events_color.svg) 0 0 no-repeat;
    background-size: contain;
}

.sourceTitle .category.tb {
    background: url(../img/notebook_color.svg) 0 0 no-repeat;
    background-size: contain;
}

.clipboardButton {
    display: inline-block;
    width: 2rem;
    height: 2.5rem;
    text-indent: -9999em;
    vertical-align: middle;
	background: url(../img/clipboard-arrow-up.svg) 0 0 no-repeat;
    background-size: contain;
	margin-left: 0.5rem;
}

.sourceTitle .category.ra {
    background: url(../img/icon_ra_color.svg) 0 0 no-repeat;
    background-size: contain;
}

.project-header .category.ra {
    display: inline-block;
	width: 4rem;
    height: 4rem;
	background: url(../img/icon_ra_white.svg) 0 0 no-repeat;
    background-size: contain;
}

.project-header .category.gb {
    display: inline-block;
	width: 4rem;
    height: 4rem;
	background: url(../img/mail--all_white.svg) 0 0 no-repeat;
    background-size: contain;
}

.project-header .category.gt {
    display: inline-block;
	width: 4rem;
    height: 4rem;
	background: url(../img/notebook_white.svg) 0 0 no-repeat;
    background-size: contain;
}

.project-header .category.bg {
    display: inline-block;
	width: 4rem;
    height: 4rem;
	background: url(../img/events_white.svg) 0 0 no-repeat;
    background-size: contain;
}

.xml-code {
    white-space: pre-wrap;
    color: #333;
    background-color: #f8f8f8;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.xml-tag {
    color: blue; /* Farbe für XML-Tags */
}

.xml-attribute {
    color: red; /* Farbe für XML-Attribute */
}

.xml-value {
    color: green; /* Farbe für Attribut-Werte */
}

@media (min-width: 840px){
.status-tradition {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    text-indent: -9999em;
    vertical-align: middle;
    background: url(../img/version.svg) 0 0 no-repeat;
    background-size: contain;
}
}

@media (min-width: 840px){
.status-xml {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    text-indent: -9999em;
    vertical-align: middle;
    background: url(../img/TEI_Logo.svg) 0 0 no-repeat;
    background-size: contain;
}
}

@media (min-width: 840px){
.status-text {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    text-indent: -9999em;
    vertical-align: middle;
    background: url(../img/book.svg) 0 0 no-repeat;
    background-size: contain;
}
}

@media (min-width: 840px){
.status-image {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    text-indent: -9999em;
    vertical-align: middle;
    background: url(../img/image.svg) 0 0 no-repeat;
    background-size: contain;
}
}

@media (min-width: 840px){
.status-comment {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    text-indent: -9999em;
    vertical-align: middle;
    background: url(../img/chat.svg) 0 0 no-repeat;
    background-size: contain;
}
}

@media (min-width: 840px){
    .status-regest {
        display: inline-block;
        width: 2rem;
        height: 2rem;
        text-indent: -9999em;
        vertical-align: middle;
        background: url(../img/status-regest.svg) 0 0 no-repeat;
        background-size: contain;
    }
    }


@media (min-width: 840px){
.status-aggregate {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    text-indent: -9999em;
    vertical-align: middle;
    background: url(../img/volume--object-storage.svg) 0 0 no-repeat;
    background-size: contain;
}
}

.construction {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    text-indent: -9999em;
    vertical-align: middle;
    background: url(../img/construction.svg) 0 0 no-repeat;
    background-size: contain;
}

.constructionh2 {
    display: inline-block;
    width: 4rem;
    height: 5rem;
    text-indent: -9999em;
    vertical-align: middle;
    background: url(../img/construction.svg) 0 0 no-repeat;
    background-size: contain;
}


h2.subtitle {
    font-family: "Inter", Arial, sans-serif;
    font-size: 2.0rem;
    line-height: 1.57;
    letter-spacing: 0.02rem;
    text-align: center;
    color: #757c89;
}

#two-col-nav {
    position: relative;
    width: 100%;
    margin: 6.4rem 0 1.6rem;
    border-bottom: 0.1rem solid #c2c6cf;
    z-index: 25;
}

#columnSwitch, #viewSwitch {
    display: none;
}

@media (min-width: 840px) {
    #columnSwitch, #viewSwitch {
        display: inline-block;
    }
}

#two-col-nav button {
    float: left;
    padding: 0 1rem 1rem 1rem;
    border: none;
    font-size: 1.4rem;
    line-height: 1.75;
    letter-spacing: 0.02rem;
    color: #757c89;
    background: none;
}

#two-col-nav button:hover {
    color: #1c1cbe;
}

#two-col-nav .dropdown {
    float: right;
    padding: 0;
    margin: 0;
}

#two-col-nav .dropdown li {
    position: relative;
    display: inline;
    padding: 0 1rem 1.3rem 1rem;
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.57;
    letter-spacing: 0.02rem;
    color: #757c89;
}

#two-col-nav .dropdown .paratexts:hover {
    color: #1c1cbe;
}

#two-col-nav ul ul {
    display: none;
    position: absolute;
    width: 200%;
    top: 3rem;
    padding: 0;
}

#two-col-nav ul li:hover ul {
    display: block;
    right: 0;
}

#two-col-nav .dropdown li li {
    display: block;
    padding: 0;
}

#two-col-nav .dropdown li a {
    color: #757c89;
}

#two-col-nav .dropdown li a:hover {
    border: none;
    color: #1c1cbe;
}

#two-col-nav .dropdown li li a {
    display: block;
    padding: 1.2rem 1rem;
    margin: 0;
    text-align: right;
    color: #757c89;
    background: #fff;
}

#two-col-nav .dropdown li li a:hover {
    padding: 1.2rem 1rem;
    border: none;
    color: #fff;
    background: #1c1cbe;
}

@media (min-width: 840px){
.col-nav {
    position: absolute;
    top: 0;
    max-width: 72rem;
    display: inline-block;
    margin: 0 0 0 0.1rem;
    border-radius: 0.3rem;
    box-shadow: 0.05rem 0.05rem 0.1rem #c2c6cf;
    background: #fff;
    z-index: 10;
}
}


@media (max-width: 839px){
.col-nav {
    position: relative;
    top: 0;
    max-width: 72rem;
    display: inline-block;
    margin: 0 0 0 0.1rem;
    border-radius: 0.3rem;
    box-shadow: 0.05rem 0.05rem 0.1rem #c2c6cf;
    background: #fff;
    z-index: 10;
}
}


@media (min-width: 840px) {

    .record .six {
        padding-left: 0;
    }

    .six .col-nav {
        width: 48.5%;
        box-shadow: 0.05rem 0.05rem 0.1rem #c2c6cf, 0 1rem 2rem 2rem #fff;
    }

    #column1.six .col-nav {
        z-index: 20;
    }
}

.col-nav button {
    padding: 0.6rem 0.8rem;
    margin: 0.4rem;
    border: 0;
    border-radius: 0.3rem;
    font-size: 1.4rem;
    line-height: 1.57;
    letter-spacing: 0.02rem;
    text-align: center;
    color: #757c89;
    background: #fff;
}

.col-nav button:hover,
.col-nav button:active,
.col-nav .active {
    background: #edeef1;
}

.col-nav .switch {
    margin: 0 0.8rem;
    font-size: 1.4rem;
    line-height: 1.57;
    letter-spacing: 0.02rem;
    color: #757c89;
}

.col-nav .switch input {
    margin-right: 0.4rem;
}

.record {
    position: relative;
    padding-top: 0;
    margin-bottom: 4.8rem;
}

@media (min-width: 840px) {
    .record {
        margin-bottom: 9.8rem;
    }
}

.record p,
.record .line,
.record .stanza {
    line-height: 1.78;
    letter-spacing: normal;
    color: #1c1d1f;
}

.record h1 {
    padding-bottom: 1rem;
    margin-top: 0;
    font-size: 3.6rem;
    line-height: 1;
}

.record section {
    padding: 8rem 0 6rem;
}

@media (min-width: 840px) {
    .record section {
        padding-top: 12rem;
    }
}

@media (min-width: 860px) {
    .record section {
        padding-top: 8rem;
    }

    .record #GB.text {
        padding-top: 12rem;
    }
}

@media (min-width: 1115px) {
    .record #GB.text {
        padding-top: 8rem;
        /* TODO: Gibt es auch textstrecken bei anderen Quellen als GB? */
    }
}

.record section.comments {
    padding: 0;
}

section .tradition-variants {
    font-style: normal;
    font-family: "JuniusVF", "Times New Roman", serif;
}

/* .tradition-variants a {
    font-family: "Inter", Arial, sans-serif;
}

NOTE: unclear if needs to be Inter or Blacker; references not always in <a>
*/

.tradition-variants em {
    font-family: "Inter", Arial, sans-serif;
    font-style: italic;
}

section .tradition-variants h2 {
    font-style: italic;
}

section.annotations,
section.tradition,
section.about_addressee,
section.attachment,
section.attachments,
section.dating
 {
    font-style: italic;
}
/* refers to the second section in a GB letter (Beilage)*/
section.text:not(:first-of-type) {
    padding: 0 0 6rem;
}

.eb-letter{
    font-style: italic;
}

/* NOTE: To be checked if new class "lemma" for gray background lemmata in annotations --> remove other css */

.comment-pointer, .lemma
    /*.annotations .goethetext:first-child,
    .annotations p .goethetext:first-child,
    .annotations area + .goethetext*/ {
    padding: 0 0 0.3rem;
    border-radius: 0.3rem;
    background: rgba(0,0,0,0.05);
    cursor: context-menu;
}

.annotations p .goethetext .goethetext {
    background: none;
}

.paragraph-like {
    display: block;
}

/* COLUMNS */

/*  #column2 {
    display: none;
}*/

@media (min-width: 840px) {
    #column2 {
        display: block;
    }
}

#column1, #column2 {
    padding-top: 0.1rem;
    padding-right: 2rem;
}

#column1.six, #column2.six {
    height: 75vh;
    overflow: scroll;
}

#column1.six::after, #column2.six::after {
    content: "";
    position: absolute;
    top: 75vh;
    display: block;
    width: 100%;
    box-shadow: 0 0 2rem 3rem #fff;
}

/* One column */

#column2.twelve {
    float: none;
    max-width: 73rem;
    margin: 0 auto;
    overflow: auto;
}

#fullscreen #column2.twelve {
    max-width: unset;
}

@media (min-width: 840px) {
    #column2.twelve section p,
    #column2.twelve section td,
    #column2.twelve span.number,
    .ra #column2.twelve .attachments,
    #column2.twelve section .line {
        font-size: 2.2rem;
        line-height: 1.64;
    }
}

/* Two columns */

#column2 {
    overflow: scroll;
}

/* Fullscreen */

/* old:
#fullscreen .container {
    max-width: inherit;
    width: 100%;
    padding: 0 3%;
}
*/

#fullscreen .container {
    max-width: inherit;
    padding: 0 3%;
    margin: auto;
    display: block;
}

#fullscreen #column1.twelve {
    max-width: 100%;
}

#fullscreen .category {
    left: inherit;
    right: 0;
}

/* text styles */

.record .goethetext p,
.goethetext,
.lemma {
    position: relative;
    font-family: "JuniusVF", "Times New Roman", serif;
    font-style: normal;
    font-size: 2rem;
    letter-spacing: 0.01rem;
    /* z-index: 1; */
}

.record .goethetext em p,
.record .goethetext em,
.editorial-gap {
    font-family: "Inter", Arial, sans-serif;
    font-style: italic;
    font-size: 1.6rem;
}
/* NOTE: styles for editorial annotations, mainly gaps, in goethetext in annotations-section */

.ra .six .attachments {
    font-size: 1.8rem;
}

.goethetext + .goethetext::before {
    content: " ";
    /* NOTE: remove when data cleaned up */
}

.record .goethetext p em,
.goethetext em {
    font-family: "BlackerProTx-It", "Times New Roman", serif;
}

.record .goethetext p strong,
.goethetext strong {
    font-family: "JuniusVF", "Times New Roman", serif;
	font-weight: 600;
}

.record .goethetext p em strong,
.record .goethetext p strong em,
.record .goethetext em strong,
.record .goethetext strong em {
    font-family: "JuniusVF", "Times New Roman", serif;
	font-weight: 600;
	font-style: italic;
	
}

.record .goethetext table {
    margin: 0;
    border: 0;
}

.record .goethetext tr:hover {
    background: none;
}

.record .goethetext td {
    padding: 0;
    border: 0;
}

.record .goethetext th:first-child,
.record .goethetext td:first-child {
    padding: 0;
}

article .commentary-reference-text {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    text-indent: -999em;
    vertical-align: middle;
    background: url(../img/mail--all.svg) 0 0 no-repeat;
}

article .commentary-reference-text:hover {
    border: none;
    padding-bottom: 0;
    background-image: url(../img/mail--all-blue.svg);
}

article .lemma .commentary-reference-text {
    width: auto;
    height: auto;
    text-indent: 0;
    vertical-align: unset;
    background: none;
}

article .lemma .commentary-reference-text:hover {
    border: none;
    background-image: none;
    color: #1c1d1f;
}

.commentary-reference-link {
    white-space: nowrap;
}

.commentary-reference-link[href*="note"] span {
    background: url(../img/chat.svg) 0 0 no-repeat;
}

.commentary-reference-link[href*="note"] span:hover{
    background: url(../img/chat_blue.svg) 0 0 no-repeat;
}

.lemma .commentary-reference-link,
.lemma .commentary-reference-link:hover {
    color: #1c1d1f;
    border: none;
}

/* GT links*/

.commentary-reference-link-gt {
    display: inline-block;
    width: 2rem;
    text-indent: -9999rem;
    background: url(../img/notebook.svg) 0 50% no-repeat;
    background-size: 100%;
}

.commentary-reference-link-gt[href*="note"] {
    background: url(../img/chat.svg) 0 0 no-repeat;
}

.commentary-reference-link-gt:hover {
    background-image: url(../img/notebook_blue.svg);
    border: none;
    padding: 0;
}

.commentary-reference-link-gt[href*="note"]:hover {
    background-image: url(../img/chat_blue.svg);
    border: none;
}

/* Source text text styles*/

.line, .stanza cb > span {
    display: block;
    /* NOTE: error in data, xml not transformed into html, should be taken out when data cleaned up */
}

.centered,
.centered-inline,
.record p .centered-inline {
    text-align: center;
    display: block;
}

.centered-inline + br {
    display: none;
}

.small {
    font-size: 80%;
}

.larger {
    font-size: 120%;
}

.letter-spacing {
    letter-spacing: 0.2em;
}

.letter-spacing-wide {
    letter-spacing: 0.3em;
}

.underlined {
    text-decoration: underline;
}

.double-underlined {
    text-decoration: underline double;
}

.double-line-through {
    text-decoration: line-through double;
}

.dots-below {
    border-bottom: 0.1em dotted #1c1d1f;
}

.dashed {
    border-bottom: 0.1em dashed #1c1d1f;
}

.superscript-above-preceding {
    vertical-align: top;
    position: relative;
    top: -0.7em;
    left: -0.55em;
}

.superscript-light {
    vertical-align: top;
    position: relative;
    top: -0.1em;
    font-size: 75%;
}

del.double {
    text-decoration: none;
    position: relative;
}

del.double:after {
    content: ' ';
    font-size: inherit;
    display: block;
    position: absolute;
    right: 0;
    left: 0;
    top: 45%;
    bottom: 35%;
    border-top: 0.1em solid #1c1d1f;
    border-bottom: 0.1em solid #1c1d1f;
}

.lang-diff {
    font-family: "Inter", Arial, sans-serif;
    font-size: 95%;
    font-weight: 200;
}

.witness {
    font-variant: small-caps;
}

/* Source text spacing */

.right {
    text-align: right;
}

.right-inline,
.record p .right-inline {
    float: right;
}

/* NOTE: example https://goethe-biographica.adwmainz.net/id/GB02_BR021_0 – in case of two elements after each other, there always should be a <br>-tag to indicate a line-break. On this premise, if we clear this br, two or more elements should be moved to the right in two or more lines in the right order */
.right-inline + br {
    clear: both;
}

.line.right-inline,
.record p .line.right-inline {
    float: none;
    text-align: right;
}

.faux-table {
    hyphens: auto;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* for gb: adds margin on first paragraph of second columnin order to align the text beginning of both columns*/
.goethe-34 #column2 p:first-of-type {
    margin-top: 3.6rem;
}

/* for gb: in faux-table no margin top is needed*/
.goethe-34 #column2 .faux-table p:first-of-type {
    margin-top: 0;
}

.opener, .closer {
    width: 100%;
}

.opener::after, .closer::after {
    content: "";
    display: table;
    clear: both;
}

.salute {
    display: block;
}

/* NOTE: clears opener in case of no block-level element, only floats inside */

.almost-right {
    text-align: right;
    padding-right: 4em;
}

.print .almost-right {
    padding-right: 13em;
}

.almost-left {
    padding-left: 2em;
}

.whitespace {
    white-space: pre;
}

.percent {
    margin-bottom: 0;
    margin-top: 0;
}

.fifty {
    margin-left: 50%;
}

.fifty-four {
    margin-left: 54%;
}

.sixty {
    margin-left: 60%;
}

/* page numbers */

.page {
    position: absolute;
    left: 0;
    margin-top: 0.8rem;
    margin-bottom: 0;
    font-family: "Inter", Arial, sans-serif;
    font-size: 1.1rem;
    letter-spacing: -0.05rem;
    color: #757c89;
    cursor: help;
}

div.goethetext.print.s_2 .page + p {
    padding-top: 0;
}

.twelve .page,
.goethetext.flowing p .page,
.twelve .goethetext.flowing p .page {
    margin-top: 1.1rem;
}

.goethetext p .page {
    left: -2.4rem;
    margin-top: 4rem;
}

.twelve .goethetext p .page {
    margin-top: 4.85rem;
}

.tb .print .page {
    left: -9em;
}

/* .ra .page {
    left: 1.3em;
} */

/* special styles */

.ra #synoptic div {
    padding: 0 0 0 2em;
}

.ra #synoptic p {
    padding-left: 1em;
    margin: 0;
    text-indent: -1em;
}

.text_ohne_zeilenfall > div, .ra .print {
    padding-left: 2.4rem;
}

.gb .letter .new-letter,
.gb #text .new-letter {
    margin-top: 2em;
}

.tb .text h1 {
    display: none;
    /* NOTE: Remove style as soon as new data import */
}

.tb #expedienda p {
    margin: 0;
    padding-left: 2em;
    text-indent: -1em;
}

/* BuG special styles */

.bg #siehe_auch {
    padding-top: 1.6rem;
    margin-top: 3.2rem;
    font-family: "Inter", Arial, sans-serif !important;
    font-size: 1.8rem !important;
    border-top: 0.1rem solid #757c89 !important;
}

.bg #siehe_auch li a {
    font-family: "Inter", Arial, sans-serif !important;
    font-size: 1.8rem !important;
    color: #1c1cbe !important;
}

.bg #siehe_auch li a:hover {
    padding-bottom: 0.15rem !important;
    border-bottom: 0.1rem solid #1c1cbe !important;
    color: #1c1cbe !important;
}

.bg h4 + .witnesses {
    padding-top: 1rem;
}

.bg .col-nav {
    display: none;
}

.bg .zeugnistext {
    font-family: "JuniusVF", "Times New Roman", serif;
}

.bg #column2.twelve section .kommentar p {
    font-family: "Inter", Arial, sans-serif;
    font-size: 1.6rem;
}

@media (min-width: 840px) {
    .bg #siehe_auch,
    .bg #siehe_auch li a {
        font-size: 2.2rem !important;
    }
}

.six .regest span {
    font-size: 1.8rem;
}

.twelve .regest span {
    font-size: 2.2rem;
}

.hanging .indent {
    margin-left: 1em;
}

/* example indentation: https://goethe-biographica.adwmainz.net/id/GB02_BR001_0, https://goethe-biographica.adwmainz.net/id/GB02_BR003_0, https://goethe-biographica.adwmainz.net/id/GB02_BR017_0

 indentations in goethetext as well as comments/tradition; indentation-inline on inline as well as block-level-element
 right now: indent-inline indented as block with margin; indent-block indented as text-indent (only first line)
 indent1 extra

 */

.indent-inline1 {
    margin-left: 1em !important;
    display: inline-block;
}

.indent-inline2, .record p.indent-inline2,
.indent-inline3, .record p.indent-inline3,
.indent-inline4, .record p.indent-inline4,
.indent-inline5, .record p.indent-inline5 {
    margin-left: 17% !important;
    display: inline-block;
}

.indent-inline6, .record p.indent-inline6,
.indent-inline7, .record p.indent-inline7,
.indent-inline8, .record p.indent-inline8,
.indent-inline9, .record p.indent-inline9,
.indent-inline10, .record p.indent-inline10 {
    margin-left: 34% !important;
    display: inline-block;
}

.indent-inline11, .record p.indent-inline11,
.indent-inline12, .record p.indent-inline12,
.indent-inline13, .record p.indent-inline13,
.indent-inline14, .record p.indent-inline14,
.indent-inline15, .record p.indent-inline15 {
    margin-left: 51% !important;
    display: inline-block;
}

.indent-inline16, .record p.indent-inline16,
.indent-inline17, .record p.indent-inline17,
.indent-inline18, .record p.indent-inline18,
.indent-inline19, .record p.indent-inline19,
.indent-inline20, .record p.indent-inline20 {
    margin-left: 68% !important;
    display: inline-block;
}

.indent-inline21, .record p.indent-inline21,
.indent-inline22, .record p.indent-inline22,
.indent-inline23, .record p.indent-inline23,
.indent-inline24, .record p.indent-inline24,
.indent-inline25, .record p.indent-inline25,
.indent-inline26, .record p.indent-inline26 {
    margin-left: 85% !important;
    display: inline-block;
}

/* ### */

.indent-inline2.nstd, .record p.indent-inline2.nstd, p.indent-block2.nstd, .paragraph-like.indent-block2.nstd,
.indent-inline3.nstd, .record p.indent-inline3.nstd, p.indent-block3.nstd, .paragraph-like.indent-block3.nstd,
.indent-inline4.nstd, .record p.indent-inline4.nstd, p.indent-block4.nstd, .paragraph-like.indent-block4.nstd,
.indent-inline5.nstd, .record p.indent-inline5.nstd, p.indent-block5.nstd, .paragraph-like.indent-block5.nstd {
    text-indent: 17%;
    margin-left: 0 !important;
}

.indent-inline6.nstd, .record p.indent-inline6.nstd, p.indent-block6.nstd, .paragraph-like.indent-block6.nstd,
.indent-inline7.nstd, .record p.indent-inline7.nstd, p.indent-block7.nstd, .paragraph-like.indent-block7.nstd,
.indent-inline8.nstd, .record p.indent-inline8.nstd, p.indent-block8.nstd, .paragraph-like.indent-block8.nstd,
.indent-inline9.nstd, .record p.indent-inline9.nstd, p.indent-block9.nstd, .paragraph-like.indent-block9.nstd,
.indent-inline10.nstd, .record p.indent-inline10.nstd, p.indent-block10.nstd, .paragraph-like.indent-block10.nstd {
    text-indent: 34%;
    margin-left: 0 !important;
}

.indent-inline11.nstd, .record p.indent-inline11.nstd, p.indent-block11.nstd, .paragraph-like.indent-block11.nstd,
.indent-inline12.nstd, .record p.indent-inline12.nstd, p.indent-block12.nstd, .paragraph-like.indent-block12.nstd,
.indent-inline13.nstd, .record p.indent-inline13.nstd, p.indent-block13.nstd, .paragraph-like.indent-block13.nstd,
.indent-inline14.nstd, .record p.indent-inline14.nstd, p.indent-block14.nstd, .paragraph-like.indent-block14.nstd,
.indent-inline15.nstd, .record p.indent-inline15.nstd, p.indent-block15.nstd, .paragraph-like.indent-block15.nstd {
    text-indent: 51%;
    margin-left: 0 !important;
}

.indent-inline16.nstd, .record p.indent-inline16.nstd, p.indent-block16.nstd, .paragraph-like.indent-block16.nstd,
.indent-inline17.nstd, .record p.indent-inline17.nstd, p.indent-block17.nstd, .paragraph-like.indent-block17.nstd,
.indent-inline18.nstd, .record p.indent-inline18.nstd, p.indent-block18.nstd, .paragraph-like.indent-block18.nstd,
.indent-inline19.nstd, .record p.indent-inline19.nstd, p.indent-block19.nstd, .paragraph-like.indent-block19.nstd,
.indent-inline20.nstd, .record p.indent-inline20.nstd, p.indent-block20.nstd, .paragraph-like.indent-block20.nstd {
    text-indent: 68%;
    margin-left: 0 !important;
}

.indent-inline21.nstd, .record p.indent-inline21.nstd, p.indent-block21.nstd, .paragraph-like.indent-block21.nstd,
.indent-inline22.nstd, .record p.indent-inline22.nstd, p.indent-block22.nstd, .paragraph-like.indent-block22.nstd,
.indent-inline23.nstd, .record p.indent-inline23.nstd, p.indent-block23.nstd, .paragraph-like.indent-block23.nstd,
.indent-inline24.nstd, .record p.indent-inline24.nstd, p.indent-block24.nstd, .paragraph-like.indent-block24.nstd,
.indent-inline25.nstd, .record p.indent-inline25.nstd, p.indent-block25.nstd, .paragraph-like.indent-block25.nstd,
.indent-inline26.nstd, .record p.indent-inline26.nstd,p.indent-block26.nstd, .paragraph-like.indent-block26.nstd {
    text-indent: 85%;
    margin-left: 0 !important;
}

/* ### */

.indent-inline-backwards1 {
    margin-right: 1em !important;
    display: inline-block;
}

.indent-inline-backwards2, .record p.indent-inline-backwards2,
.indent-inline-backwards3, .record p.indent-inline-backwards3,
.indent-inline-backwards4, .record p.indent-inline-backwards4,
.indent-inline-backwards5, .record p.indent-inline-backwards5 {
    margin-right: 17% !important;
    display: inline-block;
}

.indent-inline-backwards6, .record p.indent-inline-backwards6,
.indent-inline-backwards7, .record p.indent-inline-backwards7,
.indent-inline-backwards8, .record p.indent-inline-backwards8,
.indent-inline-backwards9, .record p.indent-inline-backwards9,
.indent-inline-backwards10, .record p.indent-inline-backwards10 {
    margin-right: 34% !important;
    display: inline-block;
}

.indent-inline-backwards11, .record p.indent-inline-backwards11,
.indent-inline-backwards12, .record p.indent-inline-backwards12,
.indent-inline-backwards13, .record p.indent-inline-backwards13,
.indent-inline-backwards14, .record p.indent-inline-backwards14,
.indent-inline-backwards15, .record p.indent-inline-backwards15 {
    margin-right: 51% !important;
    display: inline-block;
}

.indent-inline-backwards16, .record p.indent-inline-backwards16,
.indent-inline-backwards17, .record p.indent-inline-backwards17,
.indent-inline-backwards18, .record p.indent-inline-backwards18,
.indent-inline-backwards19, .record p.indent-inline-backwards19,
.indent-inline-backwards20, .record p.indent-inline-backwards20 {
    margin-right: 68% !important;
    display: inline-block;
}

.indent-inline-backwards21, .record p.indent-inline-backwards21,
.indent-inline-backwards22, .record p.indent-inline-backwards22,
.indent-inline-backwards23, .record p.indent-inline-backwards23,
.indent-inline-backwards24, .record p.indent-inline-backwards24,
.indent-inline-backwards25, .record p.indent-inline-backwards25,
.indent-inline-backwards26, .record p.indent-inline-backwards26 {
    margin-right: 85% !important;
    display: inline-block;
}

/* ### */

p.indent-block1 {
    text-indent: 1em !important;
}

p.indent-block2,
p.indent-block3,
p.indent-block4,
p.indent-block5 {
    margin-left: 17% !important;
}

p.indent-block6,
p.indent-block7,
p.indent-block8,
p.indent-block9,
p.indent-block10 {
    margin-left: 34% !important;
}

p.indent-block11,
p.indent-block12,
p.indent-block13,
p.indent-block14,
p.indent-block15 {
    margin-left: 51% !important;
}

p.indent-block16,
p.indent-block17,
p.indent-block18,
p.indent-block19,
p.indent-block20 {
    margin-left: 68% !important;
}

p.indent-block21,
p.indent-block22,
p.indent-block23,
p.indent-block24,
p.indent-block25,
p.indent-block26 {
    margin-left: 85% !important;
}

/* ### */

p.indent-block1_voll {
    margin-left: 1em !important;
}

p.indent-block2_voll {
    margin-left: 17% !important;
}

.paragraph-like.indent-block1 {
    text-indent: 1em !important;
}

.paragraph-like.indent-block2,
.paragraph-like.indent-block3,
.paragraph-like.indent-block4,
.paragraph-like.indent-block5 {
    margin-left: 17% !important;
}

.paragraph-like.indent-block6,
.paragraph-like.indent-block7,
.paragraph-like.indent-block8,
.paragraph-like.indent-block9,
.paragraph-like.indent-block10 {
    margin-left: 34% !important;
}

.paragraph-like.indent-block11,
.paragraph-like.indent-block12,
.paragraph-like.indent-block13,
.paragraph-like.indent-block14,
.paragraph-like.indent-block15 {
    margin-left: 51% !important;
}

.paragraph-like.indent-block16,
.paragraph-like.indent-block17,
.paragraph-like.indent-block18,
.paragraph-like.indent-block19,
.paragraph-like.indent-block20 {
    margin-left: 68% !important;
}

.paragraph-like.indent-block21,
.paragraph-like.indent-block22,
.paragraph-like.indent-block23,
.paragraph-like.indent-block24,
.paragraph-like.indent-block25,
.paragraph-like.indent-block26 {
    margin-left: 85% !important;
}

.paragraph-like.indent-block1_voll {
    margin-left: 1em !important;
}

.paragraph-like.indent-block2_voll {
    margin-left: 17% !important;
}

/* NOTE: Possibly more indentation classes to be added */

/* Needs to be specified because there are a lot of inline child elements that have display:block > will be treated as part of parent tag with .indent-block1 instead of individual elements > will also have text-indent, not because of inheritance but because they are part of the parent tag   */
.indent-block1 * {
    text-indent: 0;
}

.hanging p {
    margin: 0;
    padding-left: 1em;
    text-indent: -1em;
}

.margin-top {
    margin-top: 1.5em;
}

.no-gap {
    margin: 1.5rem 0 1rem;
}

.no-gap p {
    margin: 0
}

/* GT text styles */

.gt-centered {
    display: block;
    text-align: center;
}

.gt-right-block {
    display: block;
    text-align: right;
}

.gt-right-inline {
    float: right;
    /* TODO: Check if it works */
}

.gt-indent1 {
    margin-left: 4% !important;
}

.gt-indent2 {
    margin-left: 8% !important;
}

.gt-indent3 {
    margin-left: 12% !important;
}

.gt-indent4 {
    margin-left: 16% !important;
}

.gt-indent5 {
    margin-left: 20% !important;
}

/*
 	Regesten
 */

span.regest {
    display: block;
}

span.number {
    display: block;
}

span.signature {
    display: block;
}

span.prints {
    display: block;
}

span.reference-letter {
    display: block;
}

span.response-letter {
    display: block;
}

/* In RA, every p begins with a br; this rule prevents blank lines from separating these blocks of text */
div.goethetext.print.s_2 p > br:first-child {
    display: none;
}

div.goethetext.print.s_2 p {
    margin-bottom: 0rem;
    margin-block-start: 0em;
    margin-block-end: 0em;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
}

span.regest a {
    pointer-events: none;
    cursor: default;
    color: inherit;
    text-decoration: none;
}


span.number a {
    pointer-events: none;
    cursor: default;
    color: inherit;
    text-decoration: none;
}

span.signature a {
    pointer-events: none;
    cursor: default;
    color: inherit;
    text-decoration: none;
}

span.prints a {
    pointer-events: none;
    cursor: default;
    color: inherit;
    text-decoration: none;
}

span.reference-letter a {
    pointer-events: none;
    cursor: default;
    color: inherit;
    text-decoration: none;
}

span.response-letter a {
    pointer-events: none;
    cursor: default;
    color: inherit;
    text-decoration: none;
}

span.witness a {
    pointer-events: none;
    cursor: default;
    color: inherit;
    text-decoration: none;
}

.line {
    display: block;
}

/* TODO: Commented out for test purposes; margins to the left usually set by Dörlemann through indent-classes
div.stanza>span.line {
    display: block;
    margin-left: 25%;
}

p>span.line {
    display: block;
    margin-left: 5.5em;
}

*/

.margin4-5 {
    margin-left: 4.5em;
}

.margin5-5 {
    margin-left: 5.5em;
}

span.line space[quantity="24"] {
    display: block;
    margin-left: 8em;
}

/* NO-JS */

.no-js h1.sourceTitle {
    display: none;
}

.no-js #two-col-nav {
    display: none;
}

.no-js article.record h2 {
    display: initial;
}

/* -print view */

.gb .letter.print p,
.tb .letter.print p {
    text-indent: 0;
}

.gb .letter.print .right {
    padding-right: 1em;
}

.gb .letter.print .indent {
    text-indent: 2em;
}

.TB_place {
    /* TODO: Was ist das? */
    position: absolute;
    right: -3.3em;
    font-size: 1.4em;
    font-style: italic;
}

/* footnotes */

.record sup[id] {
    top: 0;
    white-space: nowrap;
}

.record sup[id] a {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    margin: 0 0.2rem;
    border: 0.1rem solid #757c89;
    border-radius: 2rem;
    font-size: 1rem;
    line-height: 1.9;
    text-align: center;
    text-indent: 0;
    vertical-align: text-bottom;
    color: #757c89;
}

.record sup[id] a:hover {
    padding-bottom: 0;
    border-color: #1c1cbe;
    color: #1c1cbe;
}

/* apparatus */

/* TODO:
    * Numbers as links instead of arrow?
    * arrow not accessible
*/

p.apparatus {
    margin-top: 6.4rem;
    font-size: 1.8rem;
    line-height: 1.78;
    letter-spacing: 0.01rem;
    color: #1c1d1f;
}

ol.apparatus {
    counter-reset: li;
    list-style: none;
    padding: 4.8rem 0;
    margin: 4.8rem 0 0;
    border-top: 0.1rem solid #c2c6cf;
    border-bottom: 0.1rem solid #c2c6cf;
    font-size: 1.8rem;
    line-height: 1.78;
    letter-spacing: 0.01rem;
    color: #1c1d1f;
}

.apparatus+.apparatus,
.apparatus+.apparatus.print {
    padding-top: 0;
    margin-top: -0.7em;
}

.apparatus+ol.apparatus:before {
    width: 15%;
}

.apparatus li {
    display: inline-block;
    padding-right: 3.2rem;
}

ol.apparatus li::before {
    content: counter(li);
    counter-increment: li;
    display: inline;
    padding: 0.4rem 0.8rem;
    margin-right: 0.4rem;
    font-size: 1rem;
    line-height: 2.5;
    vertical-align: text-bottom;
    background: url(../img/circle.svg) center 60% no-repeat;
    background-size: 20px;
    color: #757c89;
}

ol.apparatus .anm {
    margin-left: -0.2rem;
}

ol.apparatus .anm:hover {
    border: none;
}

.apparatus-text {
    position: absolute;
    padding: 0.2em 0.5em;
    margin-left: 0.3em;
    border: 1px solid #757c89;
    border-radius: 0.3rem;
    font-size: 1.4rem;
    font-weight: normal;
    text-indent: 0;
    background: #fff;
    z-index: 5;
}

.apparatus-text a {
    display: none;
}

/* -apparatus print */

.print .apparatus {
    padding-top: 3em;
    margin-bottom: 3em;
}

.print p.apparatus {
    margin-bottom: 2.5rem;
}

.print .apparatus li:before {
    content: "";
    padding: 0;
}

.print .apparatus li strong:first-child {
    padding-right: 0.5em;
}

.print ol.apparatus:after {
    content: "";
    display: block;
    width: 25%;
    border-bottom: 0.1em solid #333;
    margin-top: 1em;
}

.print .apparatus:last-child::after {
    border-bottom: none;
}

.tb p.apparatus+.apparatus {
    padding-top: 1em;
}

/* viewer */

.digitalisate {
    position: relative;
    padding: 0 4%;
}

@media (min-width: 840px) {
    .digitalisate {
        padding: 0;
    }
}

#currentpage--0,
#currentpage--1 {
    font-size: 1.4rem;
    line-height: 1.4;
}

/* .openseadragon-container div[title="Zoom in"] {
    margin-left: 0.8rem !important;
} */

.openseadragon-canvas + div {
    padding: 0.8rem !important;
}

.openseadragon-container img {
    width: 20px;
    height: 20px;
    padding: 0.8rem 1rem !important;
    /* margin-top: 0.8rem !important; */
    background: #fff !important;
    opacity: 0.8;
}

.openseadragon-container img:hover {
    opacity: 0.8;
}

#example-inline-configuration-for-iiif--1,
#example-inline-configuration-for-iiif--0 {
    margin-bottom: 1.6rem;
}

#iiif-metadata{
    margin-top: 3rem;
}

#iiif-metadata--1,
#iiif-metadata--0 {
    display: inline;
}

#iiif-metadata--0 p, #iiif-metadata--1 p, #licence-page {
    display: inline;
    font-size: 1.4rem;
}

#iiif-metadata--1 p::after,
#iiif-metadata--0 p::after {
    content: "–";
    display: inline-block;
    padding: 0 0.2rem 0 0.8rem;
}

.controls {
    padding: 0 1.6rem 0.4rem;
    margin-top: 1.6rem;
    border: 0.1rem solid #dadde5;
    border-radius: 0.3rem;
}

.digitalisate button a:hover,
.digitalisate button:hover {
    border: 0;
    color: #1c1cbe;
}

.controls dd span button:hover {
    background: #1c1cbe;
    color: #fff;
}

.controls dd span button:last-child:hover {
    background: transparent url(../img/reset.svg) center left no-repeat;
    background-size: 1.6rem;
    color: #1c1cbe;
}

#invert {
    display: block;
    margin-top: 1rem;
    padding: 0.2rem 1rem 0.2rem 3rem;
    background: url(../img/arrows--horizontal.svg) left center no-repeat;
    background-position-x: left;
    background-position-y: center;
    background-size: auto;
    background-size: 1.6rem;
    border: solid 0.1rem #1c1cbe;
    color: #1c1cbe;
    background-position: 10%;
}

#invert:hover {
    background-color: #1c1cbe;
    color: white;
    background-image: url(../img/arrows--horizontal--white.svg);
}

.minimize {
    margin-right: 0.5em;
    vertical-align: middle;
}

.controls dl {
    margin: 0;
    border: 0;
}

.controls dt {
    max-width: 40%;
}

.controls dt,
.controls dd {
    flex: 0 0 58%;
    padding: 0.8rem 1% 0.8rem 0;
    border: none;
}

.controls dd span button {
    position: relative;
    width: 2.2rem;
    height: 2.2rem;
    margin: 0 0.8rem 0 0;
    padding: 0.2rem 0 0.4rem;
    border: 0;
    border-radius: 3rem;
    line-height: 1;
    background: #dadde5;
}

.controls dd span button:last-child {
    width: auto;
    height: auto;
    padding-left: 2.2rem;
    margin-left: 0;
    background: transparent url(../img/reset.svg) center left no-repeat;
    background-size: 1.6rem;
}

/* citation */

#terms_of_use {
    margin-top: 2.4rem;
}

@media (min-width: 840px) {
    #terms_of_use {
        margin-top: 0;
    }
}

#citation {
    padding-top: 8rem;
    margin-left: -1%;
}

#citation h2,
#terms_of_use h2 {
    margin-bottom: 0.8rem;
    font-family: "Inter", Arial, sans-serif;
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: normal;
    color: #000;
}

#citation p,
#terms_of_use p {
    font-size: 1.4rem;
    line-height: 1.57;
    letter-spacing: 0.02rem;
}

/*
 * CSS snippets to replace paratext inline css
 */

/* CLASSES FOR BASIC TEXT MODE */

.editor_text_recte {
    font-style: normal;
}

.editor_text_recte em{
    font-style: italic;
}

.editor_text_italics{
    font-style: italic;
}

.editor_text_italics em{
    font-style: normal;
}

.editor_text_italics h1,
.editor_text_italics h2,
.editor_text_italics h3,
.editor_text_italics h4,
.editor_text_italics h5,
.editor_text_italics h6 {
    font-style: normal;
}

/* LISTS  */

/* List 1: register – nested list, items inline
* Example: https://goethe-biographica.adwmainz.net/briefe/bd-3-8-november-1775-ende-1779/verzeichnis-adressaten */

.para-register {
    padding-left: 0;
    list-style-type: none;
}

.para-register > li {
    display: block;
    padding-left: 1.6rem;
    text-indent: -1.6rem;
}

.para-register li li {
    display: inline;
}

.para-register ul {
    display: inline;
    padding-left: 1.2rem;
}

.para-register li li a {
    padding-left: 0.4rem;
}

/* List 2: bibliography - no list-style, padding bottom
* Example: li_publications: https://goethe-biographica.adwmainz.net/projekt/projektveroeffentlichungen */

.bibliography {
    padding-left: 0;
    list-style-type: none;
}

.bibliography li {
    margin-bottom: 3rem;
}

/* TABLES */

/* for normal table of type typography and siglen (append class on table) */
/* Example: siglen https://goethe-biographica.adwmainz.net/briefe/bd-1-23-mai-1764-30-dezember-1772/schriftarten-siglen-zeichen
*/

.table_typography,
.table_siglen {
    border: 0;
}

.table_typography tr,
.table_siglen tr,
.table_typography td,
.table_siglen td {
    border: 0;
}

.table_typography td:empty:after,
.table_siglen td:empty:after,
.table_konkordanz td:empty:after {
    content: "";
}

.table_typography th:first-child,
.table_siglen th:first-child,
.table_typography td:first-child,
.table_siglen td:first-child {
    padding-left: 0;
}

@media (max-width: 550px) {
    .table_typography,
    .table_siglen {
        border-top: 0.1rem solid #c2c6cf;
        border-bottom: 0.3rem solid #c2c6cf;
    }

    .table_typography th:first-child,
    .table_siglen th:first-child,
    .table_typography td:first-child,
    .table_siglen td:first-child {
        border-top: 0.3rem solid #c2c6cf;
        border-bottom: 0.1rem solid #c2c6cf;
    }
}

/* for table type siglen with dots (append class on td when xsl:inhaltsangabe_text) */
/* Example: https://goethe-biographica.adwmainz.net/briefe/bd-1-23-mai-1764-30-dezember-1772/verzeichnis-briefe/dokumente-dritter */

.horizontal_dotted_line {
    display: flex;
    flex-wrap: wrap;
    border: 0;
    padding: 0.5rem;
}

.horizontal_dotted_line:after {
    border-bottom: 0.2rem dotted black;
    content: '';
    flex: 1;
}

.horizontal_dotted_line ~ td {
    padding: 0.5rem;
}

@media (max-width: 550px) {
    .horizontal_dotted_line:after {
        border-bottom: 0;
    }
}

/* in case there is an additional column with the number of the figure (append class to td with figure number) */
/* Example: https://goethe-biographica.adwmainz.net/briefe/bd-1-23-mai-1764-30-dezember-1772/verzeichnis-der-faksimiles */

.col_fig_nr {
    padding: 0.5rem;
    width: 7rem;
}

@media (max-width: 550px) {
    .col_fig_nr{
        width: auto;
    }
}

/* table of type konkordanz (append class to div-container)*/
/* Example: https://goethe-biographica.adwmainz.net/begegnungen-und-gespraeche/bd-i-1749-1776/konkordanz */

.table_konkordanz {
    display: flex; flex-wrap: wrap;
}

.table_konkordanz table {
    border: 0;
    margin-right: 10rem;
}

.table_konkordanz tr,
.table_konkordanz td,
.table_konkordanz td:first-child {
    border: 0;
    padding: 1rem;
}

.table_konkordanz th {
    border: 0.1rem solid black;
    text-align: left;
    color: black;
    padding: 1rem;
}

@media (max-width: 550px) {
    .table_konkordanz th {
        padding: 1rem 0;
        text-align: center;
    }

    .table_konkordanz th:first-child {
        border-bottom: 0;
    }

    .table_konkordanz tr {
        padding: 1rem 0;
        border-bottom: 0.1rem solid #dadde5;
    }
}

/* Class to hide page references (Druckseitenreferenzen) (append class to p)
   for all pages that contain tables
   Example: https://goethe-biographica.adwmainz.net/briefe/bd-3-8-november-1775-ende-1779/schriftarten-siglen-zeichen*/

.hide-page-in-volume {
    display: none;
}

table.regest_head td {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* ### 08. FINALLY ######### */

.skip {
    position: absolute;
    height: 1px;
    width: 1px;
    padding: 0 !important;
    margin: -2px 0 0 -2px;
    background: none repeat scroll 0 0 transparent;
    overflow: hidden;
    z-index: 0;
}

.container:after,
.row:after,
.u-cf {
    content: "";
    display: table;
    clear: both; }


/* ### 09. GLYPHS AND SPECIAL SIGNS, CHARACTERS, AND SO ON */

.glyph {
    /* standard values: notabene glyph */
    display: inline-block;
    position: relative;
    top: 0.55rem;
    width: 1.8rem;
    height: 1.8rem;
    text-indent: -9999em;
    background: url(../Glyphs/nota_bene.svg) 50% 50% no-repeat;
    background-size: 1.8rem;
}

/* GB Glyphs */

.glyph.goethe_signature_gb {
    background-image: url(../Glyphs/goethe_signature_gb.svg);
    width: 5rem;
    height: 5rem;
    background-size: 5rem;
    top: -0.2rem;
}

.glyph.waves {
    top: 0.9rem;
    width: 6rem;
    height: 2rem;
    background-image: url(../Glyphs/waves_gb.svg);
    background-size: 6rem;
}

.glyph.stoi {
    display: block;
    top: 0;
    width: 20rem;
    height: 10rem;
    margin: 0 auto;
    background-image: url(../Glyphs/stoi_gb.svg);
    background-size: 20rem;
}

.glyph.fr {
    top: 0.3rem;
    width: 1.8rem;
    height: 4rem;
    background: url(../Glyphs/fr.svg) 50% 50% no-repeat;
    background-size: 1.8rem;
}

.glyph.abschliessende_verbundene_linie {
    width: 8rem;
    height: 3rem;
    background: url(../Glyphs/abschliessende_verbundene_linie.svg) 50% 50% no-repeat;
    background-size: 10rem;
}

/* GT Glyphs*/

.glyph.special_fraction1{
    background-image: url(../Glyphs/special_fraction1_gt.svg);
    width: 0.7rem;
    height: 3rem;
    background-size: 0.7rem;
    top: 0rem;
}

.glyph.special_fraction2{
    background-image: url(../Glyphs/special_fraction2_gt.svg);
    width: 1rem;
    height: 3rem;
    background-size: 1rem;
    top: 0rem;
}

.glyph.mirrored_s{
    background-image: url(../Glyphs/mirrored_s_gt.svg);
    top: 0.8rem;
}

.glyph.target_sign{
    background-image: url(../Glyphs/target_sign_gt.svg);
    width: 2.5rem;
    height: 2.5rem;
    background-size: 2.5rem;
}

.glyph.oval_shape{
    background-image: url(../Glyphs/oval_shape_gt.svg);
    width: 5rem;
    height: 3rem;
    background-size: 5rem;
}

.glyph.caterpillar_shape{
    background-image: url(../Glyphs/caterpillar_shape_gt.svg);
    width: 5rem;
    background-size: 5rem;
}


.gt-sigle{
    border-bottom: none;
    text-decoration: none;
    cursor: help;
}

/* search info icon on search page*/
 
#searchinfo-text {
    visibility: hidden;
    width: 300px;
    background-color: black;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 1em;
    margin-left: 1em;
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
  }
  
  #searchinfo-text.visible {
    visibility: visible;
  }

  #searchinfo-text a {
      color: white;
      text-decoration: underline;
  }

#searchinfo-icon{
    display: inline-block;
    width: 3rem;
    height: 3rem;
    text-indent: -999em;
    vertical-align: middle;
    background: url(../img/help.svg) 0 0 no-repeat;
    margin-left: 1rem;

}

#searchinfo-icon-grey{
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    text-indent: -999em;
    vertical-align: middle;
    background: url(../img/help--grey.svg) 0 0 no-repeat;
    margin-left: 0.3rem;

}

#searchinfo-icon:hover {
    background: url(../img/help--filled.svg) 0 0 no-repeat;
    background-size: 100%;
}

#searchinfo-icon.active {
    background: url(../img/help--filled.svg) 0 0 no-repeat;
    background-size: 100%;
}

/* search info icon on home page*/



/* status info icon on result page*/
 
#statusinfo-text {
    visibility: hidden;
    width: 300px;
    background-color: white;
    color: black;
    text-align: left;
    border-radius: 6px;
    padding: 1em;
    margin-left: 1em;
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
	border: 1px solid;
	overflow: auto;
  }
  
  #statusinfo-text.visible {
    visibility: visible;
  }

#statusinfo-icon-grey{
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    text-indent: -999em;
    vertical-align: middle;
    background: url(../img/help--grey.svg) 0 0 no-repeat;
    margin-left: 0.3rem;

}

#statusinfo-icon-grey:hover {
    background: url(../img/help--filled.svg) 0 0 no-repeat;
    background-size: 100%;
}

#statusinfo-icon.active {
    background: url(../img/help--filled.svg) 0 0 no-repeat;
    background-size: 100%;
}

/* status info icon on result page*/




#portrait #searchinfo {
    display: inline-block;
    padding: 0;
}

#portrait #searchinfo span {
    display: inline-block;
}

#portrait #searchinfo #reset-text {
    padding: 0 0.4em 0 0.4em;
}

#portrait #searchinfo-text {
    padding: 1em;
}

#portrait #searchinfo-icon {
    background: url(../img/help--white.svg) 0 0 no-repeat;
    padding: 0;
}


/* CC BY Icons*/

.cc-by {
    display: inline-block;
    width: 8rem;
    height: 3rem;
    text-indent: -999em;
    vertical-align: middle;
    background: url(../img/cc-by.svg) 0 0 no-repeat;
    background-size: 100%;
}

.cc-by-nc {
    display: inline-block;
    width: 8rem;
    height: 3rem;
    text-indent: -999em;
    vertical-align: middle;
    background: url(../img/cc-by-nc.svg) 0 0 no-repeat;
    background-size: 100%;
}

canvas{
    background: whitesmoke !important;
}

.highlighted {
    background-color:#ff998c;
}

.gt .highlighted {
    background-color:#a7cbee;
}

.ra .highlighted {
    background-color:#ffdea7;
}

.bg .highlighted {
    background-color:#c8eccb;
}

/*
*  Fade of Überlieferungsvarianten
*/

.gb #highlight-variant {
    background-color: white;
    animation-name: anihighlight;
    animation-duration: 3s;
    animation-play-state: running;
}

.gb .highlight-variant {
    background-color: white;
    animation-name: anihighlight;
    animation-duration: 3s;
    animation-play-state: running;
}

@keyframes anihighlight {
    0% {background-color: white;}
    50% {background-color: salmon;}
    100% {background-color: white;}
}

.gt #highlight-variant {
    background-color: white;
    animation-name: anihighlight-gt;
    animation-duration: 3s;
    animation-play-state: running;
}

.gt .highlight-variant {
    background-color: white;
    animation-name: anihighlight-gt;
    animation-duration: 3s;
    animation-play-state: running;
}

@keyframes anihighlight-gt{
    0% {background-color: white;}
    50% {background-color: #a7cbee;}
    100% {background-color: white;}
}

input#facsimile_number {
    width: 3rem;
}

span.search-reset {
    padding: .2em .4em .2em .4em;
    border: 1px solid #1c1cbe;
    background: url(../img/reset--black.svg) 10.5rem center no-repeat;
    background-size: 1.75rem;
}

span.search-reset:hover {
    color: white;
    cursor: pointer;
    background: #1c1cbe url(../img/reset--white.svg) 10.5rem center no-repeat;
    background-size: 1.75rem;
}

span#reset-all {
    padding-right: 2em;
}



span#reset-text,
span#reset-projekt,
span#reset-jahre{
    text-indent: -9999em;
    vertical-align: middle;
    display: inline-block;
    width: 1.5rem;
    height: 2rem;
    background-position: center;
}

.source-header-wrapper {
    position: relative;
    overflow: visible;
}

.historia-filter {
    position: absolute;
    top: 0;

    /*
     * Verschiebt die Sidebar vom Inhaltscontainer
     * bis an den rechten Rand des Browserfensters.
     */
    right: calc((100% - 100vw) / 2);

    z-index: 10;
    box-sizing: border-box;

    width: 220px;
    padding: 1rem;

    background: #ffffff;
    border: 1px solid #d1d5db;
    border-right: 0;
    border-radius: 8px 0 0 8px;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.historia-filter__option {
    display: block;
    margin: 0.5rem 0;
    cursor: pointer;
}

.historia-filter__option input {
    margin-right: 0.4rem;
}

.historia-filter__submit,
.historia-filter__submit:link,
.historia-filter__submit:visited,
.historia-filter__submit:hover,
.historia-filter__submit:focus,
.historia-filter__submit:active {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;

    margin-top: 1rem;
    padding: 0.55rem 0.8rem;

    color: #ffffff !important;
    background-color: #1c1cbe !important;

    text-align: center;
    text-decoration: none !important;

    border: 0;
    border-radius: 4px;

    opacity: 1;
    cursor: pointer;
}

.historia-filter__logo {
    display: inline-block;
    flex: 0 0 auto;

    transform: translateY(0.5px);

    width: 78px;
    height: auto;

    background: transparent;
    vertical-align: middle;
}

.historia-filter__submit.is-disabled,
.historia-filter__submit.is-disabled:link,
.historia-filter__submit.is-disabled:visited,
.historia-filter__submit.is-disabled:hover,
.historia-filter__submit.is-disabled:focus,
.historia-filter__submit.is-disabled:active {
    color: #ffffff !important;
    background-color: #1c1cbe !important;

    text-decoration: none !important;

    opacity: 1;
    cursor: not-allowed;
}

@media (max-width: 1100px) {

    .historia-filter {
        position: static;

        width: auto;
        margin: 1rem 0;

        border-right: 1px solid #d1d5db;
        border-radius: 8px;
    }
}

.historia-filter__logo {
    display: inline-block;
    flex: 0 0 auto;
    transform: translateY(0.5px);
    width: 78px;
    height: auto;
    background: transparent;
    vertical-align: middle;
}

.historia-filter__external-icon {
    display: block;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    margin-left: auto;
}

/*Startseite Zitate und Blogbeitraege*/

.edition-access { margin-top: 2rem; }
.edition-access__title { text-align: center; margin-bottom: .5rem; }
.edition-access__intro { text-align: center; max-width: 70ch; margin: 0 auto 2rem auto; }
.edition-access__quote { margin-bottom: 2rem; }

.access-tile {
	display: block;
	background: #ffffff;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.access-tile:hover {
	transform: translateY(-6px);
	box-shadow: 0 10px 28px rgba(0,0,0,0.10);
}

.access-tile__media { position: relative; }
.access-tile__img { display: block; width: 100%; height: auto; }

/* Typografie + Abstände wie in News (sehr groß) */
.access-tile__body { padding: 2.5rem; }
.access-tile__title { margin: 0; font-size: 3rem; line-height: 1.15; }
.access-tile__text { margin: 1.5rem 0 0 0; font-size: 1.6rem; line-height: 1.6; }

/* News-Kachel: News-Partial bringt eigenes Styling mit */
.access-tile--news .access-tile__body { padding: 0; }

/* Responsive: Kacheln untereinander */
@media (max-width: 768px) {
	.edition-access__tiles .six.columns { width: 100% !important; margin-left: 0 !important; }
	.edition-access__tiles .six.columns + .six.columns { margin-top: 2rem; }
}

.news-inner { width: 100%; }

.news-cards{
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
}

/* Gesamte Kachel ist klickbar */
.news-card{
	display: flex;
	align-items: stretch;        /* wichtig: Bild/Content gleiche Höhe */
	background: #ffffff;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.news-card:hover{
	transform: translateY(-6px);
	box-shadow: 0 10px 28px rgba(0,0,0,0.10);
}

/* Linke Textspalte */
.news-content{
	flex: 1 1 60%;
	padding: 2.5rem;
	min-width: 0;                /* verhindert Überlauf in Flex-Layouts */
}
.news-content h3{
	margin: 0;
	font-size: 3rem;
	line-height: 1.15;
}
.news-content p{
	margin: 1.5rem 0 0 0;
	font-size: 1.6rem;
	line-height: 1.6;
	overflow-wrap: anywhere;     /* bricht lange Wörter/URLs zuverlässig */
	word-break: normal;
}

/* Rechte Bildspalte */
.news-media{
	flex: 0 0 40%;
	position: relative;
}
.news-media img{
	width: 100%;
	height: 100%;                /* füllt die Kachel-Höhe */
	object-fit: cover;           /* kein Verzerren, sondern Beschnitt */
	display: block;
}

/* Mobil: untereinander (Bild oben) */
@media (max-width: 768px){
	.news-card{ flex-direction: column; }
	.news-media{ flex-basis: auto; }
	.news-media img{ height: auto; object-fit: cover; }
	.news-content{ padding: 2.25rem; }
}

/* staticSearch */

#staticSearch {
    margin-top: 3rem;
}

.ssFeatFilters, .ssDateFilters {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 1px auto;
    padding: 0;
}

div.ssFeatFilters fieldset {
	padding: 0.25em;
	margin: 0;
}


.ssDateFilters fieldset.ssFieldset > span {
	background-color: unset;
	border: none;
	margin: 0.2em;
	padding: 0;
}

.ssResultPagination {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    row-gap: 10px;
    width: 100%;
    font-size: small;
}

.ssResultPageSummary {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
}

.ssResultPageSize {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
}

.ssResultPageNav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
}

.ssResultPageButton {
    border: none;
    background: none;
    box-shadow: none;
    padding: 0.25rem 0.5rem;
    font: inherit;
    color: inherit;
    cursor: pointer;
    font-size: medium;
     margin: 0 0.25rem;
}

.ssResultPageNav .ssResultPageButton.current {
    background: #edeef1;
}

span.ssQueryAndButton {
    width: 75%;
}

#ssForm .ssDescFilters {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.latin-gt {
    font-family: Inter, Arial, sans-serif;
}

.gbSearchResults .ssResultRow {
    cursor: pointer;
}

.gbSearchResults .ssResultRow:focus-visible {
    outline: 0.2rem solid #1c1cbe;
    outline-offset: -0.2rem;
}

/* Status facet
__________________________________________________ */

.status-facet-fieldset {
    margin-top: 1rem;
}

.status-facet {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    margin: 0 auto 2.5rem;
}


/* Checkbox bleibt für staticSearch und Tastaturbedienung vorhanden,
   wird aber nicht sichtbar dargestellt. */

.status-facet-checkbox {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
}


/* Das Label ist das sichtbare Bedienelement. */

.status-facet-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    margin: 0;
    cursor: pointer;
}


/* Icons zunächst schwarz / inaktiv. */

.status-facet-icon img {
    width: 2rem;
    height: 2rem;

    filter:
        invert(0%)
        sepia(1%)
        saturate(0%)
        hue-rotate(209deg)
        brightness(100%)
        contrast(101%);
}


/* Ausgewählter Status: grün. */

.status-facet-checkbox:checked + .status-facet-icon img {
    filter:
        invert(29%)
        sepia(98%)
        saturate(1530%)
        hue-rotate(77deg)
        brightness(96%)
        contrast(105%);
}


/* Tastaturfokus sichtbar machen. */

.status-facet-checkbox:focus-visible + .status-facet-icon {
    outline: 0.2rem solid #1c1cbe;
    outline-offset: 0.3rem;
}


/* Nur für Screenreader sichtbare Beschriftung. */

.status-facet-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.status-facet-fallback {
    font-size: 1.2rem;
}

.ssResultNumber,
.ssResultStatus {
    white-space: nowrap;
}

.ssResultStatus span {
    display: inline-block;
    margin-right: 0.3rem;
}

.ssResultStatus span:last-child {
    margin-right: 0;
}
