/****************************************
 * 
	ALLGEMEIN
 *  
****************************************/
p {
	padding-left: 1.2rem;
	padding-top: 0.2rem;
	padding-bottom: 0.2rem;
	padding-right: 0.2rem;
	display: block;
}

#protokolldokument,
#abschnittdokument {
	margin-top: 1em;
}

#funktionsbuttonleiste {
	margin-top: 1em;
}

.highlight {
	font-style: oblique;
}

.linespace {
	display: block;
	height: 1em;
}

/****************************************
 * 
    GRUNDSTRUKTUR
 *  
****************************************/

#dokumententitel {
	font-size: 2rem;
	display: block;
	margin-top: 100px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

#dokumententitel a {
	font-size: inherit;
	text-decoration: none;
}

#dokumententitel span.registerlinkicon {
	font-size: 40%;
	padding-left: 2px;
	vertical-align: top;
}

#quellenart {
	font-size: 1.66em;
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	font-style: oblique;
}

.dokumentblock {
	padding-left: 1rem;
	padding-right: 4rem;
}

#nachweisblock {
	display: block;
	margin-top: 2rem;
	margin-bottom: 2rem;
}

#umschlagblock {
	display: block;
	margin-top: 2rem;
	margin-bottom: 2rem;
}

/****************************************
 * 
    KORRESPONDENZVERLAUF
 *  
****************************************/
#korrespondenzverlaufliste {
	max-height: 500px;
	overflow-y: scroll;
}

li.current {
	background-color: #1b3c59 !important;
	color: white;
}

li.current a {
	color: white;
}




/****************************************
 * 
    METADATENBLOCK
 *  
****************************************/

@media(max-width: 995px) {
	#metadatentabelle {
		width: 100% !important;	
	}
}

#metadatentabelle {
	width: 40%;
}
td.metadatenlabel {
	width: 20%;
}


#metadatentabelle td {
	line-height: 110%;
	font-size: 95% !important;
}

/****************************************
 * 
    KORRESPONDENZDATENBLOCK
 *  
****************************************/

@media(max-width: 995px) {
	#korrespondenzverlaufliste {
		width: 100% !important;	
	}
}

#korrespondenzverlaufblock {
	margin-top: 50px;
}

#korrespondenzverlaufliste {
	width: 50%;
}

#korrespondenzverlaufliste li:nth-of-type(even){
    background-color: rgba(0, 0, 0, 0.05);
}


/****************************************
 * 
    STRUKTUR BRIEFBLOCK
 *  
****************************************/

#briefblock {
	display: block;
	margin-top: 2rem;
	margin-bottom: 2rem;
}

#opener {
	display: block;
	padding-left: 1rem;
	font-size: 115% !important;
}

.argument {
	padding: 1rem 0rem;	
}
.argument p {
	padding: 0rem !important;
	margin: 0rem !important;
}

br.space {
	line-height: 0.66rem;
}

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

.zweitdatierung {
	font-style: italic;
}

.openersalute {
	display: block;
	margin-bottom: 1rem;
}

#briefkörper {
	display: block;
}

#briefkörper p {
	padding-left: 2rem;
}
#briefkörper ul {
	margin-left: 2rem;
}
#briefkörper ol  {
	margin-left: 2rem;
}

.freiblock {
	margin-left: 1rem;
}

#closer {
	display: block;
	padding-left: 1rem;
}

#closer .dateline {  
	text-align: left;
}

.closersalute {
	display: block;
}

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

/*  no_indent = nur bei Drucklogik */

#umschlagblock p {
	padding: 0rem 0rem;
	margin: 0rem;
	line-height: 110%;
	font-size: 95%;
}

#exekutionblock p {
	padding: 0rem 0rem;
	margin: 0rem;
	line-height: 110%;
	font-size: 95%;
}


p.center, p.aligncenter {
	text-align: center;
}
p.alignright {
	text-align: right;
}

/****************************************
 * 
	FUSSNOTEN
 *  
****************************************/

#fntable { 
	display: table; 
}

span.fnrow {
	display: table-row;  
}

span.fncell {
	display: table-cell; 
	padding: 0.2em 0;
}

span.notemarker {
	font-size: 0.6em;
	font-style: oblique;
	vertical-align: super;
}

span.notemarker.footnote {
	cursor: pointer;
	color: #1b3c59;
}

span.notemarker:hover {
	color: #cb9614;
}
span.notemarker.textcritic{
	font-weight: bold;
}

/*Geschütztes Leerzeichen um verweiste Fußnoten zu vermeiden*/
span.notemarker:before {
	content: "\00a0";
}

span.note,
span.notemarker {	
	background-color: #fff;
	-webkit-transition: background-color 0.5s ease-out;
	-moz-transition: background-color 0.5s ease-out;
	-o-transition: background-color 0.5s ease-out;
	transition: background-color 0.5s ease-out;
}

span.note a:hover {
	color: #cb8614;
}

span.note {
	/*display: block;  cf. table-row table-cell*/
	font-size: 0.9em;
	font-style: oblique;
	width: 80%;
	margin: 0.3em;
	padding: 0.2em;
}

span.notenumber {
	font-size: 0.8em;
	vertical-align: super;
	display: inline-block;
	margin-right: 0.66em;
}

/*Highlighting*/
span.openednote,
span.hovernote,
span.targetmarker {
	background: rgba(255, 255, 0, 0.4);
}

/*Pagebreak*/
span.pagebreak {
	display: inline-block;
	margin-left: 0.2em;
	margin-right: 0.2em;
	color: #3D87CC;
	font-weight: bolder;
}

/****************************************
 * 
	INHALTSVERZEICHNISS EDITIONSABSCHNITTE
 *  
****************************************/
a.inhalt_unterabschnitt {
	display: table;
	font-size: 1.1em;
	margin-top: 0.2em;
}

a.inhalt_textunterpunkt {
	display: table;
	padding-left: 1em;
}

a.inhalt_textunterunterpunkt {
	display: table;
	padding-left: 2em;
}


/****************************************
 * 
    LINKS
 *  
****************************************/


/****************************************
 * 
    TEXTBEARBEITUNGEN
 *  
****************************************/

/**** default underline setzt bei Unterlängen aus, diese auch unterstreichen! ***/
u {
	text-decoration-skip-ink: none;
} 


sup > span {
	font-size: inherit;
}

span.supplied::before {
	content: "[";
}

span.supplied::after {
	content: "]";
}

span.supplied.concealed::before,
span.supplied.concealed::after {
	content: "";
}
/*  Randeinfug + underline != text-decoration */
span.randeinfug {
	border-bottom: 2px  dotted black;
}

span.writerunderlinesingle {
	text-decoration: underline;
}

span.writerunderlinedouble {
	text-decoration: underline;
	text-decoration-style: double;
}

span.recipientunderline {
	text-decoration: underline;
	text-decoration-style: dashed;
	text-decoration-skip-ink: none;
}

span.wavyunderline {
	text-decoration: underline;
	text-decoration-style: wavy;
}
span.doubleunderline {
	text-decoration: underline;
	border-bottom: 1px solid black;
}

span.italic {
	font-style: italic;
}


span.bold {
	font-weight: bold;
}

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

span.printed {
	font-family: 'Courier New', Courier, monospace
}

span.empfaengereinfug {
	text-decoration: underline;
}


/****************************************
 * 
    LISTEN
 *  
****************************************/


.listStyleNone {
	list-style-type: none;
	}
ul {
	padding: 0 0 0 3rem;
}
li {
	text-indent: 0rem;
}




.

/****************************************
 * 
	ÜBERSCHRIFTEN EDITIONSABSCHNITTE
 *  
****************************************/
.unterabschnitt_header {
	font-size: 1.6em;
	font-weight: bold;
	text-align: center;
}

.textunterpunkt_header {
	font-size: 1.2em;
	font-style: oblique;
	text-align: center;
}

.textteilpunkt {
	margin-top: 1.5em;
}

.textteilpunkt_header {
	font-size: 1em;
}

.besprechungsabschnitt_header {
	font-size: 1.1em;
	font-style: oblique;

}


/****************************************
 * 
	TABELLEN
 *  
****************************************/
.dokumenttable {
	display: block;
	padding-left: 1em;
}

.dokumenttable td {
	padding-right: 1em;
}

/****************************************
 * 
	ZITIEREMPFEHLUNG
 *  
****************************************/
#zitierurl {
	display: block;
}

a.textzitierlink {
	display: inline-block;
	margin-left: 0.5em;
}

@media(max-width: 1080px) {

	.prevnextbuttontext,
	.funktionsbuttontext {
		display: none;
	}

	#prevnextbuttonleiste {
		display: block;
	}

	#funktionsbuttonleiste {
		display: block;
		margin-top: 40px;
		margin-bottom: 40px;
	}

	#kommentarbutton.aktiviert,
	#metadatenbutton.aktiviert,
	#korrespondenzverlaufbutton.aktiviert {
		color: #cb8614;
	}

}

/****************************************
 * 
		Mark.js Texthervorhebung (und manuelles Imitat für Id-basierte Markierungen)
 *  
****************************************/
mark,
.targethighlight {
	background-color: rgba(255, 255, 80, 0.8);
	font-size: inherit;
	font-variant: inherit;
	font-style: inherit;
	font-weight: inherit;
}

/****************************************
 * 
    EXPERIMENTELL
 *  
****************************************/

#anmerkungsblock {
	border-top: 1px dashed;
	padding-top: 1rem;
	
}

.highlighted,
.grouphighlighted {
	background-color: #ffd799;
	color: black !important;
}

#keinsachkommentar {
    font-style: italic;
}
