
$DOCUMENT {
 
}

$COMMENT {
  display: block;
  color: purple;
  white-space: pre;
}

$PROCINS {
  color: black;
  background-color: #c0c0c0;
}

msDescription {
  display: block;
  font-family: Times New Roman;
  margin-left: 25pt;
  margin-right: 15pt;
  margin-top: 15pt;
  font-size: 13pt;
  line-height: 16pt;
  text-align: left;
}

msDescription>msIdentifier {
  display: block;
  margin-bottom: 10pt;
  font-size: 25pt;
  line-height: 28pt;
  color: #ad1010;
}

msIdentifier country {
  display: none;
}

msIdentifier settlement:after {
  content: ", ";
}

msIdentifier repository:after {
  content: ", ";
}

msIdentifier>idno {
  display: block;
  padding-top: 5pt;
}

altName[type="nickname"] {
  display: block;
  padding-top: 5pt;
}

altName[type="nickname"]:before {
  content: "(“";
}

altName[type="nickname"]:after {
  content: "”)";
}

msHeading {
  display: block;
  margin-bottom: 10pt;
  font-size: 130%;
}

msHeading title {
  font-style: italic;
}

msHeading>title:after {
  content: ". ";
}

msHeading>origPlace:after {
  content: ", ";
}

msHeading>origDate:after {
  content: ".";
}

msHeading>textLang:after {
  content: ".";
}

msHeading note {
  display: block;
  font-size: 80%;
  margin-top: 10pt;
}

msContents { 
  display: block;
  margin-bottom: 10pt;
}

msItem[n]:before {
  font-weight: 600;
  content: counter(i, upper-roman) ". ";
  counter-increment: i;  /* Add 1 to i */
  counter-reset: si;      /* Set si to 0 */
}

msItem>msItem[n]:before {
  font-weight: 600;
  content: counter(si, upper-alpha) ". ";
  counter-increment: si; /* Add 1 to si */
  counter-reset: ssi;      /* Set ssi to 0 */
}

msItem>msItem>msItem[n]:before {
  font-weight: 600;
  content: counter(ssi, lower-roman) ". ";
  counter-increment: ssi; /* Add 1 to ssi */
  counter-reset: sssi;      /* Set sssi to 0 */
}

msItem>msItem>msItem>msItem[n]:before {
  font-weight: 600;
  content: counter(sssi, lower-alpha) ". ";
  counter-increment: sssi; /* Add 1 to sssi */
  counter-reset: ssssi;      /* Set ssssi to 0 */
}

msContents:before {
  content: "Contents:";
  font-weight: 600;
  font-variant: small-caps;
  font-size: 120%;
}

msItem {
  display: block;
  margin-left: 10pt;
}

msItem>msItem {
  display: block;
  margin-left: 15pt;
}

msItem[n]>locus:before {
  content: "(";
}

msItem[n]>locus:after {
  content: ")";
}

msItem>title {
  font-weight: 600;
  font-size: 100%;
  letter-spacing: 1px;
}

msItem>title:after {
  content: ". ";
}

rubric {
  display: block;
}

rubric:before {
  content: "Rubric: “";
}

rubric:after {
  content: "” ";
}

incipit {
  display: block;
}

incipit:before {
  content: "Incipit: “";
}

incipit:after {
  content: "” ";
}

explicit {
  display: block;
}

explicit:before {
  content: "Explicit: “";
}

explicit:after {
  content: "” ";
}

incipit[defective="yes"]:before {
  content: "Begins: “";
}

explicit[defective="yes"]:before {
  content: "Ends: “";
}

rubric[type="final"]:before {
  content: "Final rubric: “";
}

rubric[type="final"]:after {
  content: "” ";
}

colophon {
  display: block;
}

colophon:before {
  content: "Colophon: “";
}

colophon:after {
  content: "” ";
}

msItem>textLang {
  display: block;
}

msItem>textLang:before {
  content: "Language of text: ";
}

msItem>textLang:after {
  content: ".";
}

physDesc, history, additional {
  margin-bottom: 10pt;
  display: block;
}

physDesc:before {
  content: "Physical description:";
  display: block;
  font-weight: 600;
  font-variant: small-caps;
  font-size: 120%;
}

history:before {
  content: "History:";
  display: block;
  font-weight: 600;
  font-variant: small-caps;
  font-size: 120%;
}

history origin {
  display: block;
}  

history origin:before {
  content: "Origin:";
  font-weight: bold;
}

history provenance:before {
  content: "Provenance: ";
  font-weight: bold;
}

history provenance {
  display: block;
}  

history acquisition:before {
  content: "Acquisition: ";
  font-weight: bold;
}

history acquisition {
  display: block;
}  

msItem>listBibl {
  display: block;
  list-style-type: none;
  margin-left: 20pt;
}

msItem>listBibl>bibl {
  display: list-item;
  margin-left: 30pt;
}

msItem>listBibl:before {
  content: "Text editions:";
  display: block;
  font-weight: 600;
}

msItem>bibl {
  display: block;
  margin-left: 20pt;
}

msItem>bibl:before {
  content: "Text edition: ";
  font-weight: 600;
}

msItem>listBibl>bibl:after {
  content: ".";
}

author:after {
  content: ", ";
}

bibl>editor:after {
  content: ", ";
  text-align: left;
}

bibl title[level="m"] {
  font-style: italic;
  font-weight: normal;
  font-size: 100%;
}

bibl title[level="j"] {
  font-style: italic;
  font-weight: normal;
  font-size: 100%;
}

bibl title[level="s"] {
  font-style: normal;
  font-weight: normal;
  font-size: 100%;
}

bibl title[level="a"] {
  font-style: normal;
  font-weight: normal;
  font-size: 100%;
}

bibl title[level="a"]:before {
  content: " “";
}

bibl title[level="a"]:after {
  content: "”, ";
}

bibl title[level="s"]:before {
  content: ", ";
}

msItem bibl title {
  font-style: italic;
}

biblScope[type="pages"]:before {
  content: ", pp. ";
}

imprint:before {
  content: "(";
}

imprint:after {
  content: ")";
}

pubPlace:after {
  content: ",";
}

bibl>note:before {
  content: " (";
}

bibl>note:after {
  content: ")";
}

additional>listBibl>bibl:after {
  content: ".";
}

q:before {
  content: "“";
}

q:after {
  content: "”";
}

q q:before {
  content: "‘";
}

q q:after {
  content: "’";
}

msItem note:before {
  content: " (";
}

msItem note:after {
  content: ")";
}

form {
  display: block;
}

form:before {
  content: "Form: ";
  font-weight: bold;
}

support {
  display: block;
}

support:before {
  content: "Support: ";
  font-weight: bold;
}

extent {
  display: block;
}

extent:before {
  content: "No. of leaves: ";
  font-weight: bold;
  display: block;
}

collation {
  display: block;
}

collation:before {
  content: "Collation: ";
  font-weight: bold;
}

layout {
  display: block;
}

layout:before {
  content: "Layout: ";
  font-weight: bold;
}

msWriting {
  display: block;
}

msWriting:before {
  content: "Script: ";
  font-weight: bold;
}

musicNotation {
  display: block;
}

musicNotation:before {
  content: "Musical notation: ";
  font-weight: bold;
}

decoration {
  display: block;
}

decoration:before {
  content: "Decoration: ";
  font-weight: bold;
}

decoNote {
  diplay: list-item;
}

bindingDesc {
  display: block;
}

bindingDesc:before {
  content: "Binding: ";
  font-weight: bold;
}

foliation {
  display: block;
}

foliation:before {
  content: "Foliation: ";
  font-weight: bold;
}

additions {
  display: block;
}

additions:before {
  content: "Additions: ";
  font-weight: bold;
}

condition {
  display: block;
}

condition:before {
  content: "Condition: ";
  font-weight: bold;
}

dimensions[type="leaf"] {
  display: block;
}

dimensions[type="leaf"]:before {
  content: "Size of leaves: ";
  font-weight: bold;
  display: block;
}

dimensions height:after {
  content: " x ";
}

dimensions:after {
  content: " mm.";
}

dimensions depth:before {
  content: " x ";
}

recordHist {
  display: none;
}

availability {
  display: block;
}

availability:before {
  content: "Availability: ";
  font-weight: bold;
}

custodialHist {
  display: block;
}

custodialHist:before {
  content: "Custodial history: ";
  font-weight: bold;
}

custEvent {
  display: list-item;
  list-style-type: none;
  margin-left: 30pt;
}

surrogates {
  display: block;
}

surrogates:before {
  content: "Surrogates: ";
  font-weight: bold;
}

surrogates>p>listBibl {
  display: list;
  list-style-type: none;
}

surrogates>p>listBibl>bibl {
  display: list-item;
  margin-left: 30pt;
}

title[type="gmd"]:before {
  content: "Format: ";
}

title[type="gmd"]:after {
  content: ". ";
}

surrogates idno:before {
  content: "ID no.: ";
}

surrogates idno:after {
  content: ". ";
}

surrogates bibl date:before {
  content: "Date created: ";
}

accMat {
  display: block;
}

accMat:before {
  content: "Accompanying material: ";
  font-weight: bold;
}

additional:before {
  content: "Additional:";
  display: block;
  font-weight: 600;
  font-variant: small-caps;
  font-size: 120%;
}

additional>listBibl {
  display: block;
  list-style-type: none;
  margin-top: 10pt;
}

additional>listBibl:before {
  content: "Bibliography:";
  display: block;
  font-weight: 600;
  font-variant: small-caps;
  font-size: 120%;
}

additional>listBibl>bibl {
  text-align: left;
  display: list-item;
  margin-left: 30pt;
}

list {
  display: list;
}

list item {
  display: list-item;
  margin-left: 30pt;
}

item locus:after {
  content: ": ";
}

lb:before {
  content: "| ";
}

gap:before {
  content: " [...]";
}

expan {
  font-style: italic;
}

foreign {
  font-style: italic;
}

ref {
  font-style: italic;
}

hi[rend="sup"] {
   font-size: .83em;
   vertical-align: super;
}

hi[rend="underline"] {
   text-decoration: underline;
}

del[rend="overstrike"] {
   text-decoration: line-through;
}

note>title {
  font-style: italic;
}

p { 
  display: block;
}

p>p { 
  display: block;
  margin-left: 15pt;
  margin-right: 15pt;
  margin-top: 2pt;
  margin-bottom: 2pt;
  font-style: normal;
  font-size: 12pt;
  line-height: 13pt;
}


lg { 
  display: block;
  margin-bottom: 10pt;
}

l { 
  display: block;
}
