/* CSS styles for TEI 2017 abstract rendering (HTML documents). */

body{
    background-image: url(../../images/internalBg.jpg);
    background-size: cover;  
}

main#contentContainer{
    margin: 0.5em 5%;
}

div{
    margin-top: 1em;
}

div.abstract{
    background-color: #ffffff;
    padding: 6%;
    border: solid 1px gray;
    max-width: 60em;
    margin-left: auto;
    margin-right: auto;
}

/* Paragraphs are numbered with an offset number in the margin.*/
div.p{
    overflow: visible;
    text-indent: 0;
    line-height: 2.0;
}
div.p span.paraNum{
    display: inline-block;
    width: 5%;
    position: relative;
    margin-left: -5%;
    font-style: italic;
}

/* Paras in notes are handled with lbs. */
lb.paraDivider{
    line-height: 1.5;
}

/* Bibliography */
ul.listBibl{
    list-style-type: none;
}

ul.listBibl li{
    margin-top: 0.5em;
}

a.noteMarker{
    display: inline-block;
    padding: 0 0.5em;
    vertical-align: super;
    cursor: pointer;
    text-decoration: none;
    color: #000000;
    border: solid 1px #999999;
    background-color: #cccccc;
}

span.mjTitle{
    font-style: italic;
}

a.xmlLink{
    display: block;
    float: left;
    text-align: left;
    font-size: 90%;
    margin: 0;
    max-width: 20%;
}

p.scheduleSlot{
    text-align: right;
    font-size: 90%;
    width: 100%;
}

a.showAffil, a.scheduleSlotLink, a.xmlLink{
    display: inline-block;
    padding: 0.25em;
    color: black;
    text-decoration: none;
    cursor: pointer;
    border: dotted 1pt gray;
    margin-left: 0.2em;
}

span.affiliation{
    display: none;
}

span.affiliation:before{
    content: " (";
}

span.affiliation:after{
    content: ")";
}

span.affiliation:target{
    display: block;
    padding: 1em;
}

/* The following two rulesets are used for the popup footnote
   feature taken from the TEI GL popupFootnotes.js. */
div#footnotePopup{
  box-shadow: 6px 6px 3px #808080;
  display: none;
  margin-right: 0;
  max-height: 50%;
  overflow: auto;
  padding: 0.5em;
  position: fixed;
  right: 2%;
  top: 25%;
  width: 25%;
  background-color: #F6F6F6;
  border: 1px solid #2277BB;
}

div.footnotePopupCloser{
  border-style: solid;
  border-width: 1px;
  cursor: pointer;
  float: right;
  text-align: center;
  vertical-align: middle;
  width: 1em;
  background-color: #C0C0C0;
  margin: auto auto 0.5em 0.5em;
}

div.abstract a[href^="#"], div.abstract a[onclick]{
    color: #990000;
    text-decoration-style: dotted;
}

div.abstract a::after,
div#footnotePopupContent a::after{
    content: "\2009\2197";
}

/* We want to distinguish external links. */
div.abstract a[href^="#"]::after, 
div.abstract a[onclick]::after, 
div.abstract a[href^="javascript"]::after,
div#footnotePopupContent a[href^="#"]::after, 
div#footnotePopupContent a[onclick]::after, 
div#footnotePopupContent a[href^="javascript"]::after{
    content: "";
}


div.blockquoteRef{
    margin-top: 0;
    margin-bottom: 0;
}

table.bordered, table.bordered td{
    border: solid 1pt gray;
    margin: 0;
}

table.bordered thead td{
    text-align: center;
    font-weight: bold;
}

figure img{
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

figcaption{
    font-weight: bold;
}

table.bordered td{
    padding: 0.5em;
}

/* Program schedule tables. */
/* table for abstract listings */
table.schedule{
    border-collapse: collapse;
    border: solid 1pt gray;
}

table.schedule td{
    border: solid 1pt darkgray;
    padding: 0.25em;
}

table.schedule td{
	font-family: 'Roboto', serif;
	font-size: 0.8rem;
	font-weight: 300;
    border-width: 0;
    margin: 0;
    padding: 0.5em;
    vertical-align: top;
}

table.schedule thead td{
    text-align: center;
    font-weight: bold;
    border-bottom: solid 1px black;
    border-top: solid 1px black;
    vertical-align: middle;
}
table.schedule tbody tr:nth-child(even) {background: #CCC}
table.schedule tbody tr:nth-child(odd) {background: #FFF}

div.egXML{
    font-family: monospace;
}

span.xml{
    font-family: monospace;
}

span.egXML_tag{
    color: #000096;
}

span.egXML_attribute_name{
    color: #f5844c;
}

span.egXML_attribute_value{
    color: #993300;   
}