body {
       color: black;
       background: white;
       margin: 1em;
       line-height: 1.5;
       font-family: "Trebuchet MS", Arial, "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", sans-serif;
       quotes: none;
}

div, p, ul {
             margin: 0;
             padding: 0;
}

ul {
     list-style-type: none;
}

h1, h2, h3, h4, h5, h6 {
                         margin: 1em 0 1em 0;
                         padding: 0;
}

a img {
        border: none;
        max-width: 38em;
}

a {
    text-decoration: none;
    color: black;
}


/************************************************************************
 *
 *   Site header
 *
 ************************************************************************/

div#site-nav {
               line-height: 1;
}

div#home-nav {
                   text-align:center;
                   font-family: "Trebuchet MS", Arial, "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", sans-serif;
}

div#home-nav-banner {
                   margin-right: 20em;
                   text-align:center;
                   width: 100%;
}

ul#site-nav-list {
                   display: none;
}

div#site-header-logo img {
                   display: block;
}

/***********************************************************************
 *
 * Metadata section
 *
 ***********************************************************************/

#quick-search,
#browse-navigation {
                     display: none;
}

div#metadata-section {
                       width: 20em;
                       color: #003366;
                       background: white;
                       line-height: normal;
                       font-size: small;
                       margin: 0 0 2em 0;
                       padding: 0.5em 0.5em 0 0.5em;
}

div#metadata-section h2 {
                          font-family: "Trebuchet MS", Arial, "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", sans-serif;
                 text-transform: uppercase;
                 font-size: small;
                 font-style: normal;
                          text-align: center;
                          padding: 0.2em;
                          margin: 0 0 0.5em 0em;
                          clear: both;
}

div#format-list,
div#metadata {
               margin-top: 1em;
}

#metadata p { 
              padding: 0.5em 0.5em 0.5em 0;
}

#metadata p.title { 
              border-top:0px;
              padding: 0em 0.5em 0.5em 0;
}

#metadata p.cover {
              border-top: none;
              float: right;
              padding: 0.5em 0em 0.5em 1em;
}

#metadata img.cover {
              border:1px solid black;
}


#metadata ul,
#format-list ul {  
                  margin: 0 0 0.5em 0;
}

#metadata li {
               clear: left;
               padding: 0 1em 0 1.5em;
}

#metadata li p.image { 
                       float: left;
                       margin: 0 0.5em 1em 0;
}


/***********************************************************************
 *
 * Content section
 *
 ***********************************************************************/

div#content {
              font-family: "Bookman Old Style", "Georgia", "New Century Schoolbook", serif;
              max-width: 38em;
              margin-left: 8em;
}

/* Headings */
div#content h1, h2, h3, h4, h5, h6 {
                   font-family: "Trebuchet MS", Arial, "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", sans-serif;
                                     font-size: large;
                                     font-weight: bold;
                                     font-style: italic;
}

div#content h1.pagetitle {
  font-family: "Trebuchet MS", Arial, "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", sans-serif;
  font-size:x-large;
  font-weight:normal;
  line-height: 1.2;
  margin: 0.5em;
}

div#content h1.pagesubhead {
  font-family: "Trebuchet MS", Arial, "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", sans-serif;
}

div#content h1 {
                 font-size: larger;
                 text-align: center;
                 text-transform: uppercase;
                 font-style: normal;
}

div#content span.h1,
div#content span.h2,
div#content span.h3,
div#content span.h4,
div#content span.h5,
div#content span.h6 {
                      /* "run-in" headings implemented this way
                         because of a sad lack of browser support for
                         display: run-in */
                      font-size: medium;
                      font-weight: bold;
                      font-style: italic;
}

/* Text-level navigation */
div.menu {
  margin: 0.5em 0 0.5em 0;
  text-align: center;
}

p.text-nav, p.menubar {
             clear: left;
             display: inline;
             padding: 0.5em;             
             font-family: "Trebuchet MS", Arial, "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", sans-serif;
             font-size: small;
             line-height: 2.5;
}

  /* Paragraphs */
div#content p,
div#content .p { 
                 margin: 0 0 1em 0;
}
blockquote {
             margin-left: 2em;
}

.lg .head {
            font-weight: bold;
            padding-left: 2em;
}

/* TEI rend attributes */
.italic { font-style: italic; }
.strikethrough { text-decoration: line-through; }
.underline { text-decoration: underline; }
.small-caps { font-variant: small-caps; }
.caps { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.lowercase-small-caps {
                        text-transform: lowercase;
                        font-variant: small-caps;
}
.hang { text-indent: -2em; padding-left: 2em; }
.indent { text-indent: 2em; }
.lg.indent { padding-left: 2em; }
.l.indent { padding-left: 2em; }
.center { text-align: center; }
.pad-left { padding-left: 2em; }
.right { text-align: right; }
.justify { text-align: justify; }

/* Textual changes */
span.gap {
	color: gray;
	background: inherit;
}
div.gap {
	color: inherit;
	background: #E2E6F0;
	padding-left: 2em;
	padding-right: 2em;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	margin-bottom: 1em;
}
div.gap span.head {
	font-weight: bold;
	display: block;
}
div.gap span.desc {
	display: block;
}
div.gap span.reason {
	display: block;
}
del {
      color: red;
      background: inherit;
}
ins {
      color: #006600;
      background: inherit;
      text-decoration: none;
}
.unclear {
           color: gray;
           background: inherit;
}
.sic-mark {
            color: gray;
            background: inherit;
            font-style: italic;
}
.sic-none {
            font-style: italic;
}
.glyph { white-space: pre; }

/* Abbreviations and acronyms */
abbr, acronym, span.topic-ref {
                                border-bottom: 1px dotted gray;
                                cursor: help;
}

/* Figures */
div.figure { 
             text-align: center;
             overflow: auto;
             margin: 2em auto 2em auto;
}

span.figure {
        text-align: center;
        display: block;
}

/* Figure captions */
p.figurehead {
               font-weight: bold;
               font-size: smaller;
}


/* Page breaks and page facsimiles */
span.page-facsimile,
span.pb {
          position: absolute;
          left: 1em; /* Matches the 1em body margin. */
          padding: 0;
          text-indent: 0;
          font-family: "Trebuchet MS", Arial, "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", sans-serif;
          font-size: small;
          text-transform: uppercase;
}

span.page-facsimile {
                      margin: 1.5em 0 0 0;
}
span.page-facsimile img {
                      max-height: 7em;
}
span.pb + span.pb { margin: 2em 0 0 0; }
span.page-facsimile a img {
    border-color:#000000;
    border-style:solid;
    border-width:1px 2px 2px 1px;
}

/* Page breaks and page facsimiles -- but only in corpus pages */
ul.covers li  {
          float: left;
}

ul.covers li span.page-facsimile {
          position: relative;
          text-align: left;
          font-family: "Bookman Old Style", "Georgia", "New Century Schoolbook", serif;
          font-size: small;
          text-transform: none;
          left: 0;
          width: 10em;
          min-height: 15em;
          margin-right: 1em;
}

/* Footnotes */
div.footnote {
               margin: 1em 0 1em 0;
               padding: 1em 2em 0 2em;
               line-height: normal;
               border-top: 1px solid black;
}
div.footnote + div.footnote {
                              border-top: none;
}
div.footnote.last {
                    border-bottom: thin solid black;
}

/* Notes */
.note { text-decoration: none; }
.note .resp { font-size: smaller; }

.note-float {
              float: right;
              padding: 0 0 0 0;
              margin: 0 -13em 0 0;
              width: 12em;
              font-size: smaller;
}

.place-left, .place-right,
.place-top, .place-bottom {
                            float: right;
                            padding: 0 0 0 0;
                            margin: -1.5em -13em 1.5em 0;
                            width: 12em;
}

.corresp {
           color: inherit;
           background: #E2E6F0;
           text-align: right;
}

/* Lists */
div#content ul { margin: 0.5em 0 0.5em 2em; }
ul.bulleted { list-style-type: square; }
ul.excerpt li { padding-bottom: 1em; }

/* Table of contents */
ul.toc {
         list-style-type: none;
         margin-left: 0;
         padding-left: 0;
}

ul.toc ul.toc {
                margin-left: 2em;
                padding-left: 1em;
                text-indent: -1em;
}

ul.toc li { margin-bottom: 1em; }

ul.toc ul.toc li { margin-bottom: 0; }

li.tei-front,
li.tei-back,
li.tei-body {
              margin: 0.5em 0 1em 0em;
}

li.untitled > ul.toc,
li.untitled > ul.toc,
li.untitled > ul.toc {
                       margin-left: 0;
                       padding-left: 0;
}

.toc-author {
              font-style: italic;
}

/* Search results */
.search-results-head {
                          clear: left;
}

ul#search-image-results {
                          clear: left;
                          margin-left: 0;
                          padding-left: 0;
}
ul#search-image-results li {
	display: block ;
	float: left;
	text-align: center;
	width: 10.5em;
	height: 12em;
        padding: 1.5em;
	margin-right: 0.5em;
}

ul#search-results {
                    clear: left;
                    margin-left: 0;
                    padding-left: 0;
}

#in-page-links ul {
                    list-style-type: none;
                    margin-left: 0;
                    padding-left: 0;
}

ul#author-works, ul#external-links, ul#topic-mentions,
ul#topic-list {
                list-style-type: none;
                margin-left: 0;
                padding-left: 0;
}

#content h2.list-section {
                           border-bottom: 1px solid #CCCC99;
}

div#works ul, div#authors ul {
               list-style-type: none;
               margin-left: 0;
}

div#initials {
               text-align: center;
}

div#works h2, div#authors h2 {
                         margin: 2em 0 0;
                         border-bottom: 2px dotted #CCCC99;
}

div#works h3, div#authors h3 {
                         margin: 1em 0 0;
}

div#works ul ul.authors li {
                             font-style: italic;
                             padding-top: 0;
                             margin-top: 0;
}
div#works ul ul.corpora li {
                             padding-top: 0;
                             margin-top: 0;
}

div#content li.work-list-element {
  padding: 0 0 0.5em 0;
}

div#content li.work-list-element ul {
  margin: 0 0 0 2em;
}

/* Tables */
td {
     vertical-align: top;
}
td > p:first-child {
                     margin-top: 0;
                     padding-top: 0;
}
td.center {
            text-align: center;
}
td.right {
           text-align: right;
}

div.project {
              margin-bottom: 2em;
}

div.project p {
                padding-left: 2em;
}

/* Centre all title pages */
div.titlePage, div.halftitle, div.series, div.half {
                               text-align: center;
}

p.dateline { text-align: right; }

/* Arguments (for chapters, etc) */
.argument {
            margin: 0 auto 0 auto;
            width: 80%;
            font-size: small;
}

/* Epigraphs (for chapters, etc) */
.epigraph {
            margin: 0 auto 0 auto;
            width: 80%;
}

/* Speakers */
div.sp div.speaker { 
                     font-style: italic;
                     margin: 1em 0 0 0;
                     padding: 0;
}

/* Speech contents */
div.sp * {
           padding-left: 2em;
           margin-top: 0;
           padding-top: 0;
}

/* Leave rendering of citations to more specific styles. */
cite { font-style: inherit; }
p.cite {
	margin-right: 2em;
}

.index-item {
              display: inline;
              float: right;
              padding: 0 0 0 0;
              margin: 0 -15em 0 0;
              width: 13em;
}

/***********************************************************************
 *
 * Site footer
 *
 ***********************************************************************/

div#site-footer-section {
                          text-align: center;
                          font-size: small;
                          border-top: 1px solid #003366;
                          margin: 1.5em auto 0 auto;
                          padding: 1em 0 0 0;
                          clear: both;
}

#site-footer-section a:hover {
                               color: #663333;
                               background: #E2E6F0;
}

p#site-footer-nav {
                    color: #003366;
}

