/* general page layout */


#doc-tree, #nav-top, #nav-right {
	font-size: 1rem;	
	line-height: 1.8rem;
	font-family: verajja, verdana, arial, helvetica, courier, sans-serif;
}

#doc-tree {
	color: #424242;			 
}

.TEI {	
	padding: 0rem 0;	
	margin: 0 auto;
	display: block; 
	position: relative;		
	border: 0px solid purple;				
} 

.teiHeader {											
	margin: 0 auto 0rem auto;
	padding: 2rem 0rem 0 0rem;
	font-size: 0.9rem;
	position: relative;				
	line-height: 1.4rem;
	/* display: flex; activated with navigation and javascript*/
	display: none; 	
	justify-content: center;							
	background-color: white;
	border: 10px solid rgb(240,240,240);
	
	top: 3.5rem;
	position: sticky;
	height: 30rem;
	
	overflow: auto; 	 
	z-index:3;	
							
} 

.teiHeader > * {
	padding: 0rem 1rem 0rem 1rem;
	display: block;
	max-width: 34rem;
}

._text {
	margin: auto;	 	 
 	display: block;
 	padding: 0 3.2rem;			
 	position: relative;
 	background-color: white;
 	border: 0px solid blue; 	 	
}

.front {
	text-align: center;
	position: relative;
	margin: auto;	
	display: flex;
	display: none;
	justify-content: center;	
	padding: 1rem 0;
	border-bottom: 1px solid lightgrey;	
}

._body {
	display: block;
	position: relative;	
	white-space: normal;	
	margin-bottom: 12rem;	
	border: 0px solid green;
}

.span-type-ref-ed-page, .span-type-ref-ed-line, .span-type-ref-unit  {
	display: block;
	position: absolute;  /* aligned correctly only if one of the parents is positioned relatively  */		
	width: 3rem;
	left: -3rem; 			/* aligned to _text within the margin of #doc-tree*/
	min-width: 3em;			
	font-size: 1rem; 		/*if we choose em size in note blocks is smaller;*/	
	text-align: left;
	font-style: normal;
	font-weight: normal;		
	text-indent: 0;
	/*background-color: white;*/
	white-space: normal;								
} 

/* tei-header declarations */ 

.teiHeader  {  
	white-space: normal;
	line-height: 1.7rem;
} 

.title {
	display: block; 
	font-size: 1.2em;
	padding-bottom: 0.75em;	
}

.title-type-subtitle {
	display: block;
	font-size: 1em;
	padding-bottom: 0em;
}

.publicationStmt {
	padding-top: 1em;
}

.span-type-ref-site {
	/*display: inline-block;*/
	/*padding-right: 0.3em;*/
}

.title-type-subtitle, .publicationStmt  {	
	margin-left: 1.4em;
	text-indent: -1.4em;
	display: inline-block;
}

.respStmt, .publicationStmt, .encodingDesc, .sourceDesc, .refsDecl  {
	display: block;
	font-size: 1em;
}

.bibl, .titlePart, .projectDesc, .titlePage, .editorialDecl, .date {
	display: block;
}

.resp::after {
	content: " "
}

.sourceDesc {
	margin-top: 1em;
}

.sourceDesc::before {
	display: block;
	content: "Sources";
	font-style: italic;
	padding-bottom: 0.25em;	
}

.encodingDesc, .titlePage, .editorialDecl {
	display: block;
	margin-top: 1em;
}

.bibl::before {
	content: "\2014\00A0"; /*mdash*/
}

.bibl {
	margin-left: 1.4em;
	text-indent: -1.4em;
	white-space: pre-wrap;
}

.teiHeader ._p {
	padding-top: 0em;	
}

.item::before {
	content: "\2014  ";	
}

.item {
	display: block;
}

.projectDesc::before {
	display: block;
	font-style: italic;
	padding-bottom: 0.25em;
	content: "Project description";	
}

.projectDesc .seg-type-history {
	text-indent: 0px;	
	text-indent: 1.5em;
	display: inline-block;
}

.item {
	display: block;
	margin-left: 3em;
	text-indent: -1.5em;
	white-space: pre-wrap;
}

.editorialDecl::before {	
	display: block;
	font-style: italic;
	padding-bottom: 0.25em;
	content: "Declaration of editorial principles";	
}

.editorialDecl .seg {
	display: inline;
} 

.editorialDecl .seg::after {
	content: " ";
} 

.editorialDecl .att::before {
	content: "@";
}


.ab-subtype-exclusion, .ab-subtype-selection, .ab-subtype-substitution, .ab-type-text-all, .ab-type-plain-text, .ab-type-transformations {
	display: block;
	/*margin-left: 3em;
	text-indent: -1.5em;*/
}

.refsDecl::before {
	display: block;
	padding-top: 1em;
	font-style: italic;
	content: "References";  	
	padding-bottom: 0.25em;	
}

.refsDecl::after {
	display: block;
	padding-top: 1em;
	content: "---";  	
	padding-bottom: 0.25em;	
}



.ab-type-plain-text .seg {
	display: inline;
	text-indent: 1em;
}

.ab-type-plain-text .seg::before {
	content: "#\00A0";
}
.gi {
  font-family: courier;
  font-weight: bold;
}

.att, .val {
	font-family: courier;
  /*color: #4070A0;*/
}

.att {
  font-weight: bold;
  font-style: italic;
}

.code {	
	font-weight: bold;
	font-family: courier;
}

.docTitle::before {
	content: " ";		
	margin-bottom: 1em;
	display: inline-block;
}

.date-type-modified {
	display: inline;
}



.editorialDecl, .editorialDecl::before, .projectDesc .seg-type-history {
	display: none;
}


.projectDesc .seg-type-thanks, .projectDesc .seg-type-project-specific, .projectDesc .seg-subtype-digital-edition { 
	text-indent: 0px;	
	text-indent: 1.5em;
	display: inline-block;
}

.span-type-organisation {
	font-style: italic;
}


.title-ana-actual, .seg-ana-actual, .seg-type-essential {	
	/*color: green;*/
}

.title-ana-potential, .seg-ana-potential {
	color: red;
	display: none;
}



/* declarations for all transformations */

a {
	color:#003366;
	text-decoration: none; 
}

a:hover {
	color:#003366;
	text-decoration: underline; 
}

 
.note-ana-accepted::before, .note-ana-accepted-addition-of-text::before  {
	content: "("
}

.note-ana-accepted::after, .note-ana-accepted-addition-of-text::after {
	content: ")"
}

