/* 
 * 
 * NOTE: This file is a modified version of the standard CSS for TEI
 * documentation, taken from:
 * 
 * http://www.tei-c.org/release/xml/tei/stylesheet/tei.css
 * 
 * along with odd.css from the same location.
 * 
 * Modifications by Martin Holmes, 2018
 * 
** Copyright 2015 TEI Consortium

This software is dual-licensed:

1. Distributed under a Creative Commons Attribution-ShareAlike 3.0
Unported License http://creativecommons.org/licenses/by-sa/3.0/ 

2. http://www.opensource.org/licenses/BSD-2-Clause
		
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

This software is provided by the copyright holders and contributors
"as is" and any express or implied warranties, including, but not
limited to, the implied warranties of merchantability and fitness for
a particular purpose are disclaimed. In no event shall the copyright
holder or contributors be liable for any direct, indirect, incidental,
special, exemplary, or consequential damages (including, but not
limited to, procurement of substitute goods or services; loss of use,
data, or profits; or business interruption) however caused and on any
theory of liability, whether in contract, strict liability, or tort
(including negligence or otherwise) arising in any way out of the use
of this software, even if advised of the possibility of such damage.

*/

/* main layout */
/*Begin content from odd.css. */

/* ODD reference display */
table.wovenodd{
    width: 100%;
    clear: both;
}
td.wovenodd-col1{
    width: 15%;
    vertical-align: top;
}
td.wovenodd-col2{
    width: 85%;
}
table.wovenodd tr td{
    border: 1px solid #555;
    padding: 1%;
}
table.wovenodd{
    border-spacing: 0px;
    border-collapse: collapse;
}
table.wovenodd tr td{
    border-spacing: 0px;
}
table.wovenodd tr{
    border-spacing: 0px;
    border-collapse: collapse;
}
table.wovenodd tr td table.elementList{
    border-spacing: 0px;
    border: none;
}
table.wovenodd tr td table.elementList tr{
    border-spacing: 0px;
    border: none;
}
table.wovenodd tr td table.elementList tr td{
    border-spacing: 0px;
    border: none;
}
table.classList{
    table-layout: fixed;
    width: 95%;
    margin: 0pt;
    margin-left: 1em;
    padding: 0pt;
}
table.classList td.odd_label{
    width: 20%;
    vertical-align: top;
    font-weight: normal;
}
table.elementList{
    table-layout: fixed;
    width: 95%;
    margin: 0pt;
    margin-left: 1em;
    padding: 0pt;
}
table.elementList td.odd_label{
    width: 15%;
    vertical-align: top;
    font-weight: normal;
}
table.elementList td.odd_label::before{
    content: "<";
}
table.elementList td.odd_label::after{
    content: ">";
}
table.wovenodd tr td table.attList{
    border-spacing: 0px;
    border: none;
}
table.wovenodd tr td table.attList tr{
    border-spacing: 0px;
    border: none;
}
table.wovenodd tr td table.attList tr td{
    border-spacing: 0px;
    border: none;
}
table.attList{
    table-layout: fixed;
    width: 100%;
    margin: 0pt;
    padding: 0pt;
}
td.odd_label{
    vertical-align: top;
    width: 15em;
    font-weight: bold;
}
td.odd_value{
    vertical-align: top;
    width: 90%;
}
table.attDef{
    table-layout: fixed;
    width: 100%;
}
table.attDef td.odd_label{
    min-width: 10%;
    vertical-align: top;
    font-weight: normal;
    padding-right: 0.5rem;
}
table.attDef td.odd_value{
    vertical-align: top;
    max-width: 90%;
}
table.attList td.odd_label::before{
    content: "@";
}
table.attDef td.odd_label::before{
    content: "";
}
table.valList td.odd_label::before{
    content: "";
}
table.valList{
    table-layout: fixed;
    width: 100%;
}
table.valList td.odd_label{
    width: 10%;
    vertical-align: top;
    font-style: normal;
    font-weight: normal;
}
table.valList td.odd_value{
    vertical-align: top;
    width: 90%;
}
table.specDesc td.Attribute{
    font-weight: bold;
    vertical-align: top;
}
table.specDesc{
    margin-left: 1em;
}
td p{
    margin-top: 0pt;
    margin-bottom: 2pt;
}

div.cdata{
    white-space: pre;
    clear: both;
}

span.tag::before{

}
span.tag::after{

}
span.gi,
span.tag{
}
span.att{

}
span.att::before{
    content: "@";
}
span.ident,
span.ident-class,
span.ident-datatype,
span.ident-frag,
span.ident-ge,
span.ident-macro,
span.ident-module,
span.ident-pe,
span.ident-rng,
span.ident-schema{
    font-weight: bold;
}

span.ident-file,
span.ident-ns{
    font-style: italic;
}

button.displayRelaxButton{
    margin-right: 2px;
    margin-top: 2px;
    font-size: 70%;
    float: right;
    cursor: pointer;
}
pre.RNG_XML{
    display: none;
}

span.RNG_XML{
    display: none;
}

/* pretty printing of XML */
td.classSpec,
td.macroSpec{
    font-weight: bold;
}
a.link_odd_element:link,
a.link_odd_element:visited{
    /*     color: #006400; */
}
a.link_odd_macro:link,
a.link_odd_macro:visited{

}
a.link_odd_class:link,
a.link_odd_class:visited{

}
span.element{
    font-weight: bold;
    color: black;
}
td.elementSpec,
span.elementname{
    font-weight: bold;
    color: #222288;
}
span.highlightelementname{
    color: red;
}

span.attribute{
    color: #222288;
}
span.attributevalue{
    font-weight: normal;
    color: black;
}
span.comment{
    color: black;
    font-style: italic;
}
span.namespace{
    color: #222288;
}
/* pretty print rnc */
span.rnc_nc{
    color: #006400;
}
span.rnc_decl{
    color: green;
}
span.rnc_prefix{
    color: blue;
}
span.rnc_param{
    color: gray;
}
span.rnc_atom{
    color: yellow;
}
span.rnc_annot{
    color: #FF8040;
}
span.rnc_comment{
    color: #FF00FF;
}
span.rnc_annot{
    color: #00FFFF;
}
span.rnc_type{
    color: purple;
}
span.rnc_keyword{
    color: teal;
}
span.defaultVal{
    font-weight: bold;
}
span.required{
    font-weight: bold;
}
div.moduleSpec{
    padding: 1px;
    margin: 1px;
    background-color: #C0C0C0;
    color: inherit;
    clear: right;
}
span.moduleSpecHead{
    font-style: italic;
}
ul.specList li{
    list-style: none;
}
span.specList-macroSpec{
    font-weight: bold;
}
span.specList-elementSpec{
    font-weight: bold;
}
span.specList-elementSpec::before{
    content: "<";

}
span.specList-elementSpec::after{
    content: ">";

}
span.specList-classSpec{
    font-weight: bold;
}
span.specName{
    color: #223377;
    font-weight: bold;
}
/* A -Z Styles From http: //www.smileycat.com/miaow/archives/000211.php -styling the a to z */
#azindex{
    background-color: #ddd;
    color: inherit;
    display: block;
    margin: 0px;
    float: left;
    padding: 5px;
    width: 75%;
    border: 1px solid #999;
}
#azindex p{
    color: #fff;
    background-color: #000060;
    padding: 4px;
    display: block;
    margin: 0;
    border-bottom: 1px solid #333;
    font-size: 0.95em;
}
.index{
    font: bold 100% Verdana, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}
.index li{
    float: left;
    height: 1.5em;
    list-style-type: none;
    margin: 0.35em 0.15em;
    padding: 0;
    width: 1.5em;
}
.index a:link,
.index a:visited{
    background: #fff;
    color: navy;
    display: block;
    height: 1.5em;
    padding: 0.37em 0 0 0;
    text-align: center;
    text-decoration: none;
    width: 1.5em;
    border: 1px solid #999;
}
li.showall,
li.showall a:visited,
li.showall a:link{
    width: 10em;
}
* html .index li{
    margin: 0.2em 0.2em;
}
ul.index li a:hover{
    background-color: #93D1E4;
    color: #fff;
    text-decoration: underline;
}
div.atozwrapper{
    float: left;
    width: 70%;
}
div.atoz{
    clear: left;
    float: left;
}
#byMod{
    margin-top: 12px;
    clear: left;
}
ul.atoz{
    list-style: none;
    text-align: left;
    margin: 2px;
    padding: 2px;
    background-color: #eef;
    color: inherit;
}
.atoz li{
    padding: 0px;
    display: inline;
}

div.specChildren{
    margin: 0em;
    padding: 0em;
}
span.specChildModule{
    font-weight: bold;
}
div.specChild{
    margin-bottom: 4pt;
    margin-left: 25px;
    text-indent: -30px;
}
span.emptySlash::after{
    content: "/";
}
/* status notation */
.deprecated{
    border: solid red 2pt;
    font-weight: bold;
}
.unusedattribute{
    text-decoration: line-through;
    color: gray;
}
.unusedattribute::before{
    content: "@";
}
span.emptySlash::after{
    content: "/";
}
/* status notation */
.status_deprecated::after{
    content: " (deprecated)";
    color: red;
}
.status_changed::after{
    content: " (changed)";
    color: blue;
}
.status_unstable::after{
    content: " (unstable)";
    color: orange;
}
.status_deprecated{
    border: solid red 1pt;
}
.status_changed{
    border: solid blue 1pt;
}
.status_unstable{
    border: solid orange 1pt;
}

/* End content from odd.css. */

body.simple{
    max-width: 70em;
    margin: 1em auto 1em auto;
    color: #000000;
    background-color: #FFFFFF;
    line-height: 1.5;
    overflow-x: hidden;
}

body{
    color: #000000;
    background-color: #FFFFFF;
    margin: 10pt;
    padding: 0;
    font-family: Verdana, Tahoma, Geneva, Arial, Helvetica, sans-serif;
}

div.tei_body{
  max-width: 40em;
  margin-left: auto;
  margin-right: auto;
}

section{
  border-bottom: 1pt solid gray;
}

h1+section{
  border-top: 1pt solid gray;
}

body.pagetable{
    color: #000000;
    background-color: #FFFFFF;
}

/* 3 columns allowed for, or just a right and left */
#col1{
    width: 20%;
    background: #FFFFFF;
    margin: 0;
    margin-top: 10px;
    color: #000066;
    padding: 5px;
    position: absolute;
    float: left;
    border-style: solid;
    border-width: 1px;
    border-color: red;
}

#col2{
    background: #FFFFFF;
    color: #333333;
    border-style: solid;
    border-width: 1px;
    border-color: #000000;
    margin: 0;
    margin-top: 10px;
    padding: 5px;
    left: 22%;
    width: 51%;
    position: absolute;
}

#col3{
    width: 24%;
    left: 75%;
    color: #000066;
    background: #FFFFFF;
    border-style: solid;
    border-width: 1px;
    border-color: red;
    margin: 0;
    margin-top: 10px;
    padding: 5px;
    position: absolute;
    float: right;
}

#lh-col{
    width: 16%;
    color: #000000;
    margin-top: 2pt;
    margin-right: 10pt;
    padding: 5px;
    background-color: #FFFFFF;
    float: left;
    font-weight: normal;
}

#rh-col{
    background-color: #FFFFFF;
    color: #333333;
    margin: 2pt;
    padding: 5px;
    float: right;
    width: 75%;
    font-weight: normal;
}

/* now the layers of the header */

/* the main title */
div.stdheader{
    border-bottom: 1pt solid black;
}

#hdr{
    width: auto;
    margin: 0;
    background-repeat: no-repeat;
    overflow: inherit;
}

/* a navigation bar */
#hdr2{
    width: auto;
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    background-color: #99CCFF;
    padding-left: 5px;
    padding-bottom: 2px;
    padding-top: 2px;
    padding-right: 5px;
}

/* a breadcrumb trail */
#hdr3{
    width: auto;
    color: #000000;
    background-color: #AD06BC;
    padding-left: 5px;
    padding-bottom: 2px;
    padding-top: 2px;
    padding-right: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: smaller;
}

.bannerright{
    float: right;
    color: #FFFFFF;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8em;
    font-weight: bold;
    text-decoration: none;
}

/* section headings */
#hdr h1{
    color: red;
}
h1{
    font-weight: bold;
    font-size: 1.8em;
    margin-bottom: 0.8em;
}

h2{
    font-size: 1.3em;
    margin-bottom: 0.7em;
    font-weight: bold;
    margin-left: -3em;
}

div.tei_toc>h2{
  margin-left: 0;
}

h3{
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 0.5em;
    font-style: italic;
    margin-left: -2em;
}

h1.maintitle{
    margin-left: 100px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    bottom: 5px;
}

h1.title{
    margin-left: 100px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    bottom: 5px;
}

h2.institution{
    margin-left: 100px;
    font-family: Arial, Helvetica, sans-serif;
}

h2.department{
    margin-left: 100px;
    font-family: Arial, Helvetica, sans-serif;
}

h2.subtitle{
    margin-left: 100px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

.footer{
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8em;
}


/* components of the breadcrumb trail */
a.breadcrumb{
    color: #FFFFFF;
    text-decoration: none;
    padding-right: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 0.8em;
}

ul.breadcrumb
{
    display: inline;
    font-size: 1.1em;
}

li.breadcrumb::before{
    content: "▶";
}
li.breadcrumb-first::before{
    content: "▶";
}
li.breadcrumb
{
    padding-left: 12px;
    padding-right: 5px;
    display: inline;
    color: #000000;
}
li.breadcrumb-first
{
    padding-left: 12px;
    padding-right: 5px;
    display: inline;
    color: #000000;
}

div.breadcrumb{
    display: inline;
}

.skiplinks{
    font-family: arial, sans-serif;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 0.8em;
    text-decoration: none;
    padding-right: 15px;
}

.tocontent{
    color: #000066;
    display: none;
}

.hide{
    display: none;
}

a:hover
{
    text-decoration: underline;
}

a.navbar:link
{
    color: #FFFFFF;
    text-decoration: none;
}

a.navbar:visited
{
    color: #FFFFFF;
    text-decoration: none;
}

a.navbar:hover{
    color: #FFFFFF;
    text-decoration: underline;
}


/* an inner <text>, eg inside a <q> */
div.innertext{
    margin: 6pt;
    border: 1pt solid red;
}
/* literal code */

div.cdata{
    white-space: pre;
    clear: both;
}

pre,
div.pre,
div.pre_eg,
pre.eg,
div.eg{
    clear: both;
    margin-top: 1em;
    margin-bottom: 1em;
    border-top-width: 4px;
    border-bottom-width: 4px;
    border-left-width: 2px;
    border-right-width: 2px;
    border-style: solid;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    color: #000000;
    line-height: 1.1em;
    font-family: monospace;
    font-size: 10pt;
    white-space: pre;
    background-color: silver;
}

div.pre{
  white-space: pre-line;
}

div.egXML_valid{
    background-color: #f7f9f6;
    border-color: #c5d8bb;
}
div.egXML_feasible{
    background-color: #fff9f3;
    border-color: #ffe1ad;
}
div.egXML_invalid{
    border-color: #ffe7e8;
    background-color: #fdbbac;
}

/* table of contents */
ul.toc{
    list-style-type: none;
}
li.toc{
    list-style-type: none;
}

li.toc.clixpandable>span.headingNumber{
  cursor: pointer;
}

li.toc>span.headingNumber{
  margin-left: 1em;
}

li.toc.clixpandable>span.headingNumber{
  margin-left: 0;
}

li.toc.clixpandable>span.headingNumber::before{
  /*content: "⏵";*/
  content: "+";
  font-weight: bold;
}

li.toc.clixpandable.expanded>span.headingNumber::before{
  /*content: "⏷";*/
  content: "-";
  font-weight: bold;
}

li.toc.clixpandable>ul{
  display: none;
}

li.toc.clixpandable.expanded>ul{
  display: block;
}

/* table of contents links */

a.inlinetoc:link,
a.inlinetoc:visited
{
    color: #7A7A7A;
    font-size: smaller;
    text-decoration: none;
}

a.inlinetoc-this:visited,
a.inlinetoc-this:link
{
    font-size: smaller;
    color: #000000;
    font-weight: bold;
    text-decoration: underline;
}

a.inlinetoc-sub:visited,
a.inlinetoc-sub:link
{
    text-decoration: none;
    color: #000000;
    font-weight: normal;
    font-size: smaller;
}

span.toclist{
    font-size: smaller;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

p.toclist0{
    margin-left: 0.5em;
    margin-top: 1pt;
    margin-bottom: 3pt;
    text-indent: -0.5em;
    font-size: small;
}

p.toclist1{
    margin-left: 1em;
    margin-top: 1pt;
    margin-bottom: 2pt;
    text-indent: -0.7em;
    font-size: small;
}

p.toclist2{
    margin-left: 1.5em;
    text-indent: -1em;
    font-size: small;
}

p.toclist3{
    margin-left: 2em;
    text-indent: -1.5em;
    font-size: small;
}

span.toclist-this{
    color: red;
}

a.toclist:visited,
a.toclist:link
{
    font-weight: bold;
    color: #000000;
    text-decoration: none;
}

/* notes */
div.noteHeading{
    margin-top: 9pt;
    border: 0;
    border-top: 1pt;
    border-style: solid;
    padding-top: 6pt;
    font-size: larger;
    font-weight: bold;
}
div.noteBody{
    display: inline;
}

div.note{
    margin-left: 2em;
    margin-right: 2em;
    margin-bottom: 3pt;
    margin-top: 3pt;
    text-indent: -1em;
}

span.noteLabel{
    vertical-align: super;
    font-size: smaller;
    font-style: italic;
}
span.note::before{
    content: " [";
}
span.note::after{
    content: "] ";
}

span.note{
    font-size: smaller;
}
/* images */
img.display{
    margin-top: 10pt;
    margin-bottom: 10pt;
    display: block;
}

.floatimage{
    float: left;
    margin-right: 6px;
    vertical-align: top;
}
/* specialized divs */
div.letter{
    margin-left: 2em;
    margin-right: 2em;
    margin-top: 6pt;
    margin-bottom: 6pt;
    border-top: 1pt solid green;
    border-bottom: 1pt solid green;
}
/* title page */
div.titlePage,
div.titlepage{
    border-top: 2pt solid #000000;
    border-bottom: 2pt solid #000000;
    padding-top: 6pt;
    padding-bottom: 6pt;
    font-size: larger;
    text-align: center;
}
div.docImprint{
    margin-top: 6pt;
    display: block;
    font-style: italic;
}
div.docDate{
    font-style: italic;
}
div.docTitle{
    display: block;
    margin-top: 6pt;
    font-weight: bold;
    margin-bottom: 18pt;
}
div.docAuthor{
    font-style: italic;
}

div.byline{
    display: block;
}

div.dateline{
    text-align: right;
}

/* paragraphs */
p,
span.p,
div.p{
    margin-top: 0.3em;
}
span.p{
    display: block;
}
div.p blockquote p{
    margin-top: 0.0em;
}
p.box{
    border: 1pt solid #000000;
}

/* verse */
div.lg{
    margin-left: 10px;
    margin-bottom: 10px;
}
div.l{
    text-align: left;
    margin-left: 1em;
}
/* misc */
div.epigraph{
    margin: 20pt;
}
div.numbering{
    float: left;
    font-size: smaller;
    width: 2em;
}

div.linenumber{
}

div.signed{
    text-align: left;
}
div.salute{
    text-align: left;
}
div.indent1{
    margin-left: 1em;
}
div.indent2{
    margin-left: 2em;
}
div.indent3{
    margin-left: 3em;
}
div.indent4{
    margin-left: 4em;
}
div.indent5{
    margin-left: 5em;
}
div.indent6{
    margin-left: 6em;
}

td.label{
    font-weight: bold;
    background-color: #AAAAAA;
}
tr.label td{
    font-weight: bold;
    background-color: #AAAAAA;
}

span.label{
    font-weight: bold;
}

h5{
    font-size: 100%;
}
h6{
    font-size: 100%;
}

div.tocFront{
    border-bottom: 1pt solid #000000;
}
div.tocBack{
    border-bottom: 1pt solid #000000;
}
div.tocBody{
    border-bottom: 1pt solid #000000;
}
/* a listBibl rend='labels' */
div.listBibl{
    margin-top: 6pt;
    margin-bottom: 6pt;
}
span.bibl{
    font-style: italic;
}
div.bibl{
    margin-left: 0.5em;
    text-indent: -0.5em;
}
div.biblfree{
    font-size: smaller;
    margin-left: 0.5em;
    text-indent: -0.5em;
    margin-bottom: 6pt;
}

span.biblLabel{
    font-weight: bold;
    margin-right: 1em;
}

/* a <bibl> inside a <cit> */
div.citbibl::before{
    content: "(";
}
div.citbibl::after{
    content: ")";
}
div.citbibl{
    font-style: italic;
    font-size: smaller;
}
/* a <quote> inside a <cit> */
div.citquote{
    margin-left: 10pt;
    margin-right: 10pt;
}

/* gloss lists with bold labels */
dt{
    font-weight: bold;
}
/* quotation */
div.blockquote
{
    margin-top: 10pt;
    margin-bottom: 10pt;
    margin-left: 40px;
    margin-right: 40px;
}
/* opener */
div.opener
{
    margin: 10pt;
}
div.q{
    margin: 10pt;
}
/* figures */
.figure{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 1em 0;
    padding: 0.25em;
    border: solid 1pt #c0c0c0;
}
.caption{
    margin-top: 6pt;
    display: block;
    font-style: italic;
}
figure img{
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* inline quote */
span.q{
}

/* from drama */
/* speeches in drama */
.p-in-sp{
    margin-left: 1em;
}
div.sp{
    margin-top: 4pt;
}
div.spProse{
    text-indent: -1em;
    margin-left: 1em;
}
div.speaker{
    font-style: italic;
}
span.speaker{
    font-style: italic;
}

span.actor{
    font-style: italic;
}
span.camera{
    font-style: italic;
}
span.role{
    font-style: italic;
}
span.set{
    font-style: italic;
}
span.sound{
    font-style: italic;
}
span.stage{
    font-style: italic;
}
span.tech{
    font-style: italic;
}
span.view{
    font-style: italic;
}
span.nextLink{
    font-style: italic;
}
span.previousLink{
    font-style: italic;
}
span.upLink{
    font-style: italic;
}
/* bibl */
span.titlem{
    font-style: italic;
}
span.titlej{
    font-style: italic;
}
span.titleu{
}
span.titles{
}

aside,
span.notemargin,
span.notemarginOuter,
span.notemarginLeft,
span.notemarginRight,
span.notemargin,
div.notemargin{
    display: block;
    font-size: smaller;
    clear: right;
    padding: 4pt;
    font-style: italic;
    width: 10%;
    border: solid green 1pt;
    margin: 6pt;
}
span.notemargin,
span.notemarginOuter,
span.notemarginRight,
span.notemargin,
div.notemargin{
    float: right;
}
span.notemarginLeft{
    float: left;
}

div.floatingText_back{
    border-top: solid black 1pt;
}
div.floatingText_front{
    border-top: solid black 1pt;
}
div.floatingText{
    margin: 6pt;
    border: solid black 1pt;
}
div.pagebreak,
span.pagebreak{
    display: block;
    color: grey;
    float: right;
}
span.element{
    font-weight: bold;
    color: black;
}
span.unclear{
    font-style: italic;
}
span.wordtypeNN,
span.wordtypeNNS{
    color: green;
}
span.wordtypeVVD,
span.wordtypeVVN,
span.wordtypeVVN,
span.wordtypeVVZ,
span.wordtypeVVG,
span.wordtypeVV{
    color: red;
}

li.headless{
    display: none;
}

div.footer{
    border-top: solid black 1pt;
}

div.stdfooter{
    clear: both;
    border-top: solid black 1pt;
    border-bottom: solid black 1pt;
}

div.altfigure{
    border-top: solid black 1pt;
    border-bottom: solid black 1pt;
}

table.table,
table.table tr,
table.table td{
    border: solid black 1pt;
}
table.table td{
    padding: 1ex 1ex 1ex 1ex;
}
p.mainAuthor{
    display: block;
    margin: 1ex 0ex 1ex 0ex;
}
p.mainEditor{
    display: block;
    margin: 1ex 0ex 1ex 0ex;
}

/* general purpose block aligns */
.centerbold{
    text-align: center;
    font-weight: bold;
}
.center{
    text-align: center;
}
.right{
    text-align: right;
}
.left{
    text-align: left;
}

/* <hi> rend values */
span.typewriter{
    font-family: monospace;
}
span.normalweight{
    font-weight: normal;
}
span.smallcaps{
    font-variant: small-caps;
}
span.bold{
    font-weight: bold;
}
span.italic{
    font-style: italic;
}
span.allcaps{
    text-transform: uppercase;
}
span.strikethrough{
    text-decoration: line-through;
}
span.doublestrikethrough{
    text-decoration: line-through;
}
span.underline{
    text-decoration: underline;
}
span.wavyunderline{
    text-decoration-line: underline;
    text-decoration-style: wavy;
}
span.doubleunderline{
    text-decoration: underline;
}
span.superscript{
    vertical-align: super;
    font-size: smaller;
}
span.subscript{
    vertical-align: bottom;
    font-size: smaller;
}
span.numberParagraph::before{
    content: "[";
}
span.numberParagraph::after{
    content: "] ";
}
span.numberParagraph{
    font-size: smaller;
    color: grey;
}

/* misc inline*/

span.foreign{
    font-style: italic;
}

/* generic rendition */
.plain{
    text-decoration: none;
}

.small{
    font-size: small;
}
.term{
    font-style: italic;
}
.hi{
    font-style: italic;
}
.emph{
    font-weight: bold;
}
.label{
    font-weight: bold;
}
.mentioned{
    font-style: italic;
}

/* transcription */

div.sourceDoc{
}

div.surfaceGrp{
    border-bottom-width: 1pt;
    border-bottom-color: green;
    border-bottom-style: solid;
    clear: both;
}

div.surface{
    clear: both;
    border-width: 1pt;
    border-style: solid;
    border-color: grey;
    margin-bottom: 1ex;
}

div.zone{
    border-width: 1pt;
    border-style: solid;
    border-color: lightgrey;
    margin-bottom: 0.5ex;
}

div.line{
}

div.facsimage{
    float: right;
}
div.facsimage img{
    max-height: 100%;
    width: auto
}

span.damage{
    border-bottom: 1px dashed red;
}
/* app crit */
div.appcrit{
    border-top: solid black 1pt;
    margin-top: 2pt;
    padding-top: 2pt;
    margin-bottom: 2pt;
    margin-left: 1em;
}
div.app{
    margin-top: 1pt;
    font-size: smaller;
}
span.lemma{
}
span.lemmawitness{
    font-weight: bold;
}
span.listhead{
    display: block;
    margin-top: 0em;
    margin-right: 1em;
    padding-left: 3px;
    padding-right: 3px;
    font-weight: bold;
}
table.border td{
    vertical-align: top;
    border: 1px solid black;
    padding: 2px;
}
table.border td.norules{
    border-width: 0px;
    padding-top: 6px;
}
table.border{
    border-collapse: collapse;
    border-spacing: 0;
}
.del{
    text-decoration: line-through;
}
.red{
    color: red;
}
.green{
    color: green;
}
.orange{
    color: orange;
}

ul li{
  margin-top: 0.5em;
}

/* When we get this deep into things, we don't 
 * need to show heading numbers.*/
div#taxonomyListing div span.headingNumber{
  display: none;
}

div#taxonomyListing>p>a[href='#taxonomies']{
  display: none;
}

div#taxonomyListing:target>p>a[href='#taxonomies']{
  display: inline;
}

div#taxonomyListing>p>a[href='#taxonomyListing']{
  display: inline;
}

div#taxonomyListing:target>p>a[href='#taxonomyListing']{
  display: none;
}



div#taxonomyListing>div{
  display: none;
}

div#taxonomyListing:target>div{
  display: block;
}

div#taxonomyListing *{
  line-height: 1.0;
  margin-top: 0.1em;
  margin-bottom: 0.1em;
}

div#taxonomyListing div{
  margin-left: 1em;
  margin-bottom: 0.2em;
  margin-top: 0.5em;
}

div#taxonomyListing p{
  margin-left: 1em;
}

#currencyTable table, #codeTemplatesTable table, #keystrokesTable table, #interestingThings table, div.table table, section[id$="AbbrsTagged"] table{
  border-collapse: collapse;
  border: solid 1pt gray;
  margin: 1em auto;
}

#currencyTable table, #codeTemplatesTable table td, #keystrokesTable table td, #interestingThings table td, div.table table td, *[id$="AbbrsTagged"] table td{
  border: solid 1pt gray;
  padding: 0.25em;
}

/* Special rules to create a printable cheat sheet. */
/* It's for printing, so don't force a narrow width. */
body.cheatSheet{
  padding: 1em;
  font-size: 90%;
}
body.cheatSheet, body.cheatSheet div.tei_body{
  max-width: none;
  width: auto;
}
body.cheatSheet h2,
body.cheatSheet h3{
  margin-left: 0;
}

/* Suppress the TOC and the appendix. */
body.cheatSheet div.tei_front,
body.cheatSheet div.tei_back,
body.cheatSheet div.stdfooter,
body.cheatSheet button,
body.cheatSheet div.tei_toc2{
  display: none;
}

/* Hide all sections by default. */
body.cheatSheet div.tei_body section{
  display: none;
}

/* Hide all children of sections by default. */
body.cheatSheet div.tei_body section>*{
  display: none;
}

/* Show sections we want to show. */
body.cheatSheet div.tei_body section#subversion, 
body.cheatSheet div.tei_body section#oxygen{
  display: block;
}

/* Show subsections we want to show. */
body.cheatSheet div#subversion_daily,
body.cheatSheet div#oxygenCodeTemplates
{
  display: block;
}

/* Hide heading numbers. */
body.cheatSheet span.headingNumber{
  display: none;
}

/* Rendering of TEI code inline. */
span.val, span.att, a.link_ref, code{
  font-weight: bold;
  font-family: monospace;
  font-size: 1.2em;
}
span.val::before{
  content: "“";
}

span.val::after{
  content: "”";
}

/* Showing and hiding the menu when scrolled. */
button.btnMenu{
  display: block;
  position: fixed;
  left: 1rem;
  top: 1rem;
  box-shadow: 0.1rem 0.1rem;
}

body.showMenu button.btnMenu{
  box-shadow: 0 0;
}

div.tei_toc_2{
  display: none;
  position: fixed;
  font-size: 0.8rem;
  top: 3rem;
  left: 1rem;
  background-color: #f9f9f9;
  padding-right: 1rem;
  border: solid 1pt gray;
  max-width: 20rem;
  max-height: calc(100vh - 4rem);
  overflow-y: scroll;
}

div.tei_toc_2 h2{
  display: none;
}

body.showMenu div.tei_toc_2{
  display: block;
}

body.cheatSheet div.tei_toc_2{
  display: none;
}

/* Oxygen M-keys. */
span[class^='key_M']{
  font-size: 0;
}

body.notMac span.key_M1:after{
  content: "Ctrl";
  font-size: 1rem;
}
body.mac span.key_M1:after{
  content: "Cmd";
  font-size: 1rem;
}
span.key_M2:after{
  content: "Shift";
  font-size: 1rem;
}
body.notMac span.key_M3:after{
  content: "Alt";
  font-size: 1rem;
}
body.mac span.key_M3:after{
  content: "Option";
  font-size: 1rem;
}

div.tei_back h2, div.tei_back h3{
  margin-left: 0;
}

summary{
  cursor: pointer;
}

details ul li{
  margin-top: 0.1em;
  line-height: 1.0;
}