
msDescription {
  display: block;
  font-family: Garamond;
  padding-left: 25pt;
  padding-right: 15pt;
  padding-top: 15pt;
  font-size: 12pt;
  line-height: 16pt;
  text-align: left;
}

p {
 display: block;
 margin-left: 1em; 
}

msDescription>msIdentifier {
  text-align: left;
  display: block;
  margin-bottom: 10pt;
  font-weight: bold;
  font-size: 160%;
  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;
 background-color: yellow;
  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: bold;
  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: bold;
  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: bold;
  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: bold;
  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: bold;
  font-size: 120%;
}

msItem {
  display: block;
  margin-left: 20pt;
}


msItem>msItem {
  display: block;
  margin-left: 30pt;
}


msItem[n]>locus:before {
  content: "(";
}

msItem[n]>locus:after {
  content: ")";
}

msItem>title {
  font-weight: bold;
  font-size: 100%;
}

msItem>title:after {
  content: ". ";
}

rubric:before {
  content: "Rubric: “";
}

rubric:after {
  content: "”. ";
}

incipit:before {
  display: block;
  content: "Incipit: “";
}

incipit:after {
  content: "”. ";
}

explicit:before {
  display: block;
  content: "Explicit: “";
}

explicit:after {
  content: "”. ";
}


incipit[defective="yes"]:before {
  content: "Begins defective with the words: “";
}

explicit[defective="yes"]:before {
  content: "Ends defective with the words: “";
}


rubric[type="final"]:before {
  content: "Final rubric: “";
}

rubric[type="final"]:after {
  content: "”. ";
}

colophon:before {
  content: "Colophon: “";
}

colophon:after {
  content: "”. ";
}

msItem>textLang:before {
  content: "Language of text: ";
}

msItem>textLang:after {
  content: ".";
}

physDesc, history, additional {
  margin-bottom: 10pt;
  display: block;
}

physDesc:before {
  content: "Physical description:";
  font-weight: bold;
  display: block;
  font-size: 120%;
}

history:before {
  content: "History:";
  display: block;
  font-weight: bold;
  font-size: 120%;
}

history origin {
  display: block;
}  

history origin:before {
  content: "Origin:";
  display: block;
  font-weight: bold;
}

history provenance:before {
  content: "Provenance: ";
  display: block;
  font-weight: bold;
}

history provenance {
  display: block;
}  

history acquisition:before {
  content: "Acquisition: ";
  display: block;
  font-weight: bold;
}

history acquisition {
  display: block;
}  

msItem>listBibl {
  display: block;
  list-style: none;
  margin-left: 20pt;
  margin-right: 20pt;
}

msItem>listBibl>bibl {
  display: list-item;
  margin-left: 30pt;
}

msItem>listBibl:before {
  content: "Text editions:";
  display: block;
  font-weight: bold;
}

msItem>bibl {
  display: block;
  margin-left: 20pt;
}

msItem>bibl:before {
  content: "Text edition: ";
  display: block;
  font-weight: bold;
}

msItem>listBibl>bibl:after {
  content: ".";
}

bibl>author:after {
  content: ", ";
  text-align: left;
}

bibl>editor:after {
  content: ", ";
  text-align: left;
}

bibl title {
  font-style: italic;
}

bibl title:after {
  content: ", ";
}

bibl title[level="s"] {
  font-style: normal;
}

bibl title[level="a"] {
  font-style: normal;
}

bibl title[level="a"]:before {
  content: " ”";
}

bibl title[level="a"]:after {
  content: "”, ";
}

bibl title[level="s"]:before {
  content: ", ";
}

bibl biblScope[type="pages"]:before {
  content: ", pp. ";
}

imprint:before {
  content: "(";
}

imprint:after {
  content: ")";
}

pubPlace:after {
  content: ",";
  text-align: right;
}

bibl idno:after {
 content: "  "
}

additional>listBibl>bibl>note:before {
  content: "(";
}

additional>listBibl>bibl>note:after {
  content: ")";
}

additional>listBibl>bibl:after {
  content: ".";
}

q {
  font-family: sans-serif;
  font-size: 90%;
}

q q:before {
  content: "‘";
}

q q:after {
  content: "’";
}

note:before {
  content: " [";
}

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;
}

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 height:after {
  content: " x ";
}

dimensions:after {
  content: " mm";
}

dimensions depth:before {
  content: " x ";
}


recordHist {
  display: block;
}

recordHist:before {
  content: "Record history: ";
  font-weight: bold;
}

recordHist bibl {
  font-style: italic;
}

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: outside;
  margin-left: 30pt;
}

surrogates {
  display: block;
}

surrogates:before {
  content: "Surrogates: ";
  font-weight: bold;
}

surrogates p bibl {
  display: list-item;
  list-style: outside;
  margin-left: 30pt;
}


accMat {
  display: block;
}

accMat:before {
  content: "Accompanying material: ";
  font-weight: bold;
}

additional:before {
  content: "Additional:";
  display: block;
  font-weight: bold;
  font-size: 120%;
}

additional>listBibl {
  display: block;
  list-style: none;
  margin-top: 10pt;
}

additional>listBibl:before {
  content: "Bibliography:";
  display: block;
  font-weight: bold;
  font-size: 110%;
}

additional>listBibl>bibl {
  text-align: left;
  display: list-item;
  margin-left: 30pt;
}

list {
  display: list;
}

list item {
  display: list-item;
  list-style: outside;
  margin-left: 30pt;
}

list item locus:after {
  content: ": ";
}

lb:before {
  content: "| ";
}

gap:before {
  content: " [...]";
}

expan {
  font-style: italic;
}

foreign {
  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;
}


ref {
 text-decoration: underline;
 color: blue;
}