/*
.grid_1, .grid_2, .grid_3, .grid_4, .grid_5, .grid_6, .grid_7, .grid_8, .grid_9, .grid_10 {
  margin-left: $grid-margin;
  margin-right: $grid-margin;
  float: left;
}

.grid_1  { width:  $grid1-width; }
.grid_2  { width:  $grid2-width; }
.grid_3  { width:  $grid3-width; }
.grid_4  { width:  $grid4-width; }
.grid_5  { width:  $grid5-width; }
.grid_6  { width:  $grid6-width; }
.grid_7  { width:  $grid7-width; }
.grid_8  { width:  $grid8-width; }
.grid_9  { width:  $grid9-width; }
.grid_10 { width: $grid10-width; }

.container_10 {
  margin-left: auto;
  margin-right: auto;
  width: 1010px;
}

.clearfix {
  zoom: 1;
}

.clearfix::before, .clearfix::after {
  content: ' 0020';
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
}

.clearfix::after {
  clear: both;
}
*/
/* Start: Left-align text in logo with text on page */
.maincontent, #globalactions, #footer {
  margin-left: 0;
  margin-right: 0;
}

#quicksearchwrapper {
  margin: 8px 0 0 0;
}

a, a:active, .link, .link:active {
  color: #202122;
}

#globalnav ul li a, #globalnav ul li a:visited, #orgnav ul li a, #orgnav ul li a:visited {
  color: #202122;
  background: white;
}

.sectionnav a, .sectionnav a:visited {
  color: #202122;
}

#globalnav ul li a:hover, #globalnav ul li a:focus, #orgnav ul li a:hover, #orgnav ul li a:focus, .sectionnav a:hover, .sectionnav a:focus {
  background: #202122;
  color: white;
}

.pagenav ul li a:hover, .pagenav ul li a:focus {
  /* interaction style for prev/next nav */
  background: #202122;
  color: white;
}

#searchnav li a:hover, #browsenav li a:hover, #xcollsearchtabs li a:hover {
  background: #202122;
  /* White border around hover looks better -- rendering of rounded
     buttons with background and colored bordered is pixelated in 
     firefox */
  border: 1px solid white;
  border-bottom: 0;
  color: white;
}

#format-buttons a, #zoom a {
  background: #fff;
}
#format-buttons a:hover, #zoom a:hover {
  background: #202122;
  border-color: #202122;
  color: #fff;
}
#format-buttons a.current, #format-buttons a.current:hover, #zoom a.current, #zoom a.current:hover {
  background: #ddd;
  color: #202122;
  border-right: 1px solid #444;
  border-bottom: 1px solid #444;
  background: #bbb;
}
#format-buttons a, #format-buttons a.current:hover, #zoom a, #zoom a.current:hover {
  border: 1px solid #aaa;
}

#wrapper {
  margin-top: 8px;
  width: 100%;
}

.maincontent {
  padding: 47px 150px 0 58px;
  min-height: 448px;
  font-size: 13px;
}

.maincontent, #site-footer {
  margin-bottom: 8px;
}

/* Hidden for acls (since want header to match humanitiesebook.org) */
#quicksearchwrapper, #globalactions {
  display: none;
}

/* Misc hide */
#linktotop {
  display: none;
}

#wrapper, .pageviewwrapper {
  max-width: 1010px;
}

#masthead, .maincontent {
  margin-left: 206px;
  margin-bottom: 0px;
}

#cover-image-wrapper img {
  border: 1px solid #98999a;
  margin-top: 5px;
  max-height: 200px;
}

#toc {
  margin-top: 0px;
}

#viewer #searchresultsbar {
  margin-top: 0px;
  margin-bottom: 0px;
}

#toc #searchresultsbar {
  margin-top: 0px;
  margin-bottom: 0px;
}

#header {
  padding-bottom: 0;
}

#header #toc-and-license div, #header #publisher-and-year div {
  display: inline;
  display: inline-block;
}

#header #publisher-and-year div {
  display: inline;
}

#header #toc-and-license div {
  margin-right: 5px;
}
#header #toc-and-license div:last-child {
  margin-right: 0;
}

#header .pod, .reslist-items .item .pod {
  width: 84px;
  height: 29px;
  float: right;
  margin: 0 10px 10px 10px;
}

#header h1.title, .reference .h1 {
  font-size: 20px;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

#header.short h1 {
  /*margin-top: 20px;*/
  margin-top: 15px;
  margin-bottom: 0;
  line-height: 16px;
}
#header.short h1 .title {
  font-size: 16px;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}
#header.short h1 .authors {
  color: #222;
  text-transform: none;
  font-size: 14px;
  margin-top: 1em;
  margin-bottom: 0;
}
#header.short #toc-and-license {
  margin-top: .65em;
}

#toc #icons {
  padding-bottom: 5px;
}

#icons {
  text-align: right;
  margin-top: -35px;
  margin-right: 5px;
  height: 23px;
}
#icons .icon {
  margin-left: .5em;
}
#icons span {
  display: inline-block;
  line-height: 23px;
  vertical-align: top;
  margin-left: 7px;
  text-transform: uppercase;
}

#searchresultsbar #matchingtermsbox {
  padding: 0;
  margin-right: 0;
  margin-top: 4px;
}
#searchresultsbar #toggle-highlighting-checkbox {
  vertical-align: middle;
}
#searchresultsbar #toggle-highlighting-button {
  color: #98999a;
}
#searchresultsbar #toggle-highlighting-button, #searchresultsbar #toggle-highlighting-button:hover {
  background-color: transparent;
}
#searchresultsbar #toggle-highlighting-button:hover {
  color: #d2242b;
}

#header #login {
  float: right;
  margin-bottom: 1.5em;
}
#header #login strong {
  color: #d2242b;
}

#header .not-authenticated {
  margin-top: 1.5em;
}

#header .not-authorized {
  margin-top: 2.5em;
}
#header .not-authorized .message {
  font-style: italic;
}

#searchbody, #search, #resultsbody, #results, #picklistbody {
  margin: 0;
  padding: 0;
  border: none;
  min-width: auto;
}

#header-clear {
  clear: right;
}

#header .pod, .reslist-items .item .pod {
  width: 84px;
  height: 29px;
  float: right;
}

#toccontents .bibl-chapter:before, #results .bibl-chapter:before {
  /* content: 'Chapter ' */
}
#toccontents .bibl-chapter:after, #results .bibl-chapter:after {
  content: ': ';
}
#toccontents .bibl-para, #toccontents .bibl-para a, #results .bibl-para, #results .bibl-para a {
  text-decoration: none;
}
#toccontents .bibl-para:before, #results .bibl-para:before {
  content: ' [';
}
#toccontents .bibl-para:after, #results .bibl-para:after {
  content: ']';
}
#toccontents .bibl-outside-head:before, #results .bibl-outside-head:before {
  content: ' (';
}
#toccontents .bibl-outside-head:after, #results .bibl-outside-head:after {
  content: ')';
}

.catalog-record th {
  width: 8em;
  text-align: right;
  background-color: transparent;
}
.catalog-record th:after {
  content: ": ";
}
.catalog-record h3 {
  font-size: 15px;
  padding: 0;
  margin-bottom: 5px;
}

#searchform {
  width: 334px;
}

#searchtip {
  width: 250px;
  margin-left: 8px;
}

#search fieldset .selectmenu {
  max-width: 290px;
}

.prevent-overflow .selectmenu {
  width: 290px;
}

#searchform .field input {
  width: 190px;
}

#search fieldset + .submit {
  margin-top: 40px;
  margin-left: 20px;
}

#browse {
  margin-top: 0;
}

#resultssummary {
  background-color: transparent;
  border: none;
  padding: 0;
}
#resultssummary .smallcaps {
  display: none;
}

.browse-nav {
  text-align: center;
  margin-bottom: 2em;
  margin-top: 0;
}
.browse-nav .alpha {
  margin-right: 6px;
}
.browse-nav .alpha.selected {
  font-weight: bold;
}

.browse-subjects li {
  margin-top: 1em;
}

.icon-key {
  text-align: right;
}
.icon-key li {
  font-size: 13px;
  line-height: 13px;
  display: inline;
  display: inline-block;
  padding-right: 2em;
  padding-left: 2px;
}
.icon-key li:last-child {
  padding-right: 5px;
}
.icon-key li img {
  height: auto;
  width: 13px;
  vertical-align: top;
}

#browse h1 {
  margin-bottom: .5em;
}

.reslist-items .item, .browse-items .item {
  padding-bottom: 18px;
  border-bottom: 1px solid #D3D3D3;
  margin-bottom: 20px;
}
.reslist-items .item:last-child, .browse-items .item:last-child {
  border-bottom: none;
}
.reslist-items .item .pod, .browse-items .item .pod {
  margin: -3px 7px 10px 10px;
}
.reslist-items .item h2, .browse-items .item h2 {
  font-size: 16px;
}
.reslist-items .item table, .browse-items .item table {
  border: none;
}
.reslist-items .item th, .reslist-items .item td, .browse-items .item th, .browse-items .item td {
  background-color: transparent;
  padding: 0;
}
.reslist-items .item th, .browse-items .item th {
  padding-right: 12px;
  font-weight: normal;
  font-style: italic;
}
.reslist-items .item th:after, .browse-items .item th:after {
  content: ":";
  font-style: normal;
}
.reslist-items .item .icons, .browse-items .item .icons {
  width: 23px;
  float: right;
}
.reslist-items .item .more.count, .browse-items .item .more.count {
  font-size: .85em;
  margin-left: .75em;
}

.reslist-items .item .number + .contents h2, .reslist-items .item .number + .contents table {
  margin-left: 35px;
}
.reslist-items .item .number {
  float: left;
}
.reslist-items .item .number:after {
  content: '.';
}

#pagination {
  width: 27em;
}
#pagination select {
  max-width: 5em;
}

.pagination .shorttab {
  margin-right: 2px;
}

.pagination .hilite {
  display: inline-block;
  padding: 0 2px;
}

.pagination .smallcaps {
  font-size: 1em;
  font-variant: normal;
}

#pageactions {
  height: 24px;
}

#pageactions .clear {
  display: none;
  clear: none;
}

#pdfFrame {
  margin-top: 3em;
  display: block;
}

#pvdoccontent pre {
  white-space: pre-wrap;
}

#viewer #pagenav {
  /* margin-top: 3em; */
  margin-top: 2em;
  margin-bottom: .5em;
}

body.viewer .maincontent {
  padding-top: 10px;
}

body.text .maincontent {
  padding-top: 10px;
}

#viewer #pagenav input#submit-pageview {
  display: none;
}

.prev-next-links {
  margin-left: .35em;
}

.prev-next-links a {
  display: inline-block;
  margin: 0 .5em;
  text-decoration: none;
}

.prev-next-links a + a {
  margin-left: 0;
}

#results .kwic:before {
  /* Bullet + space */
  content: '\2022 \0020';
}

#results .kwic {
  margin: .5em 0 1em 3em;
}

#results .page {
  margin-left: 1em;
}

#results .div {
  margin-left: 1em;
}

#results .head {
  font-weight: bold;
  font-size: 1em;
  margin: 0;
}

#results .details-section:first-child {
  margin-top: 0;
}

#acls-masthead {
  background-color: #98999a;
  height: 83px;
  padding-top: 10px;
  width: 800px;
}

#acls-masthead #site-name {
  width: 417px;
  height: 26px;
  margin: 0 26px 10px 26px;
  background: url("/a/acls/graphics/humanitiesebook.org/header-title.png") no-repeat left top;
  text-indent: -9999px;
}

#acls-masthead .nav {
  display: block;
  padding: 0;
  padding-left: 14px;
  margin: 5px 0 17px;
  height: 30px;
  background: url("/a/acls/graphics/humanitiesebook.org/nav-bg.png") repeat-x top;
}

#acls-masthead .nav > ul.top {
  display: inline-block;
  float: left;
  margin: 0;
}
#acls-masthead .nav > ul.top li {
  margin: 0;
  padding: 0;
  float: left;
  position: relative;
  list-style: none;
  background: none;
}
#acls-masthead .nav > ul.top li a {
  display: block;
  text-decoration: none;
  height: 30px;
  padding: 5px 10px;
  text-transform: uppercase;
  color: #202122;
  font-size: 12px;
  border-bottom-color: #98999a;
  line-height: 18px;
}
#acls-masthead .nav > ul.top a.current, #acls-masthead .nav > ul.top li:hover > a, #acls-masthead .nav > ul.top a:focus, #acls-masthead .nav > ul.top a:active {
  border: none;
  background-color: transparent !important;
  background: url("/a/acls/graphics/humanitiesebook.org/nav-current-bg.png") repeat-x top;
}
#acls-masthead .nav > ul.top a:focus, #acls-masthead .nav > ul.top a:active {
  background-color: transparent;
}
#acls-masthead .nav > ul.top ul {
  display: none;
  margin: 0;
  padding: 0;
  width: 180px;
  position: absolute;
  top: 30px;
  left: 0;
  background: lightGrey;
  border-top: solid 2px #98999a;
  -webkit-box-shadow: 5px 5px 7px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 5px 5px 7px rgba(0, 0, 0, 0.3);
  box-shadow: 5px 5px 7px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}
#acls-masthead .nav > ul.top ul li {
  float: none;
  margin: 0;
  padding: 0;
  border-bottom: solid 1px #98999a;
}
#acls-masthead .nav > ul.top ul:last-child {
  float: none;
  margin: 0;
  border-bottom: none;
}
#acls-masthead .nav > ul.top ul a {
  text-transform: none;
  margin: 0;
  height: auto;
  border: none;
  padding-left: 20px;
}
#acls-masthead .nav > ul.top ul a:hover {
  background: none #e9e9e9;
}
#acls-masthead .nav > ul.top ul ul {
  left: 180px;
  top: -5px;
}
#acls-masthead .nav > ul.top li:hover > ul {
  display: block;
  border-top: solid 2px #98999a;
  background: lightgrey;
}

#masthead {
  height: 93px;
}

#staticcontent, #masthead, #globalactions, #fromsearch, #pageviewer, .pagenav, .sectionnav, #pageimage, #article, #avail, #footer, #search, #browse, #picklist, #toc, #staticcontent, #searchbody, #resultsbody, #searchbody, #browsebody, #picklistbody, #searchresults, #browselist, #breadcrumbs, #pagenav, #linktotop {
  clear: none;
}

#sidebar {
  width: 202px;
  margin-top: -93px;
  float: left;
}

#site-header-top-left {
  background: url("/a/acls/graphics/humanitiesebook.org/header-top-left.png") no-repeat;
}

#sidebar-logo a {
  display: block;
  border: none;
  background: url("/a/acls/graphics/humanitiesebook.org/logo.png") no-repeat;
  text-indent: -9999px;
}
#sidebar-logo a:active, #sidebar-logo a:focus {
  border: 2px solid #ffc;
}

#site-header-top-left, #sidebar-logo {
  float: left;
  margin-bottom: 8px;
}

#sidebar-nav {
  clear: both;
  min-height: 420px;
  background-color: #98999a;
  border-radius: 0 0 0 77px;
  -moz-border-radius: 0 0 0 77px;
  -webkit-border-radius: 0 0 0 77px;
}
#sidebar-nav .nav {
  background: #98999a;
  padding: 39px 0;
  min-height: 420px;
  position: relative;
  -webkit-border-bottom-left-radius: 77px;
  -moz-border-radius-bottomleft: 77px;
  border-bottom-left-radius: 77px;
}
#sidebar-nav .nav ul, #sidebar-nav .nav ul li, #sidebar-nav .nav ul ul {
  padding: 0;
  margin: 0;
  background: white;
}
#sidebar-nav .nav ul {
  padding-top: 1px;
}
#sidebar-nav .nav ul + ul {
  margin-top: 50px;
}
#sidebar-nav .nav a {
  display: block;
  padding: 0 13px;
  font-size: 12px;
  text-decoration: none;
  background: #bfbfc0;
  font-weight: normal;
  line-height: 28px;
  color: #202122;
  text-transform: capitalize;
  border-color: white;
  border-bottom: solid 1px white;
}
#sidebar-nav .nav a.current {
  font-weight: 600;
  border-radius: 0 16px 0 0;
  -moz-border-radius: 0 16px 0 0;
  -webkit-border-radius: 0 16px 0 0;
}
#sidebar-nav .nav a.current, #sidebar-nav .nav a:hover {
  background: url("/a/acls/graphics/humanitiesebook.org/sidebar-nav-selected.png") repeat-y scroll left top #bfbfc0;
  border-color: white;
}

#sidebar-nav ul ul {
  display: none;
}

#sidebar-nav ul a.current + ul {
  display: block;
}

#sidebar-nav .nav ul ul li a {
  font-size: 11px;
  background: #DFDFDF;
  line-height: 18px;
  padding: 6px 3px 6px 12px;
}

#sidebar-nav .nav ul ul a.current, #sidebar-nav .nav ul ul a:hover {
  border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  background: url("/a/acls/graphics/humanitiesebook.org/sidebar-nav-selected-deep.png") repeat-y scroll left top #dfdfdf;
}

#sidebar-logo, #sidebar-logo a, #site-header-top-left {
  height: 93px;
}

table.insert[BORDER='1'] td {
  border: none;
}

table.insert[BORDER='1'] tr:first-child, table.insert[BORDER='1'] tr:last-child, table.insert[BORDER='1'] tbody {
  border: 1px solid #222;
}

table.insert[BORDER='1'] {
  margin: 20px 0px;
}

span.align-center {
  display: block;
  padding: 2px 0 2px 0;
  text-align: center;
}

.align-center {
  text-align: center;
}

.align-right {
  display: block;
  text-align: right;
}

.p-wrapper .pnum {
  display: block;
  float: left;
  min-width: 34px;
  text-align: right;
  padding-right: 6px;
}
.p-wrapper .textbody {
  margin-left: 40px;
}

#site-footer {
  padding: 0 13px;
  color: #5b5c5d;
  border-top: solid 1px #98999a;
  border-bottom: solid 1px #98999a;
  margin-top: 20px;
}

#site-footer > * {
  line-height: 16px;
}

#site-footer .contact {
  padding: 10px 0;
  font-size: 11px;
}
#site-footer .contact a {
  color: #5b5c5d;
  margin-left: 36px;
  text-decoration: none;
  padding: 0;
  border-bottom: 1px solid #5b5c5d;
}

#site-footer .nav {
  float: right;
  text-align: right;
}

#site-footer .nav a, #site-legal {
  font-size: 11px;
}

#site-footer .nav a {
  display: block;
  text-decoration: none;
  float: left;
  padding: 10px 12px 9px;
  color: #5b5c5d;
  border-bottom-color: transparent;
}

#site-legal {
  color: #98999a;
  padding-bottom: 40px;
}

.popup #related .content-top {
  display: none;
}
.popup #related .historiography {
  color: #777;
  margin-top: 1em;
  margin-bottom: 1em;
  font-style: italic;
}
.popup #related .relatedTitle {
  font-style: italic;
}
.popup #related h1 {
  color: #222;
  text-transform: none;
  font-size: 1.2em;
  font-weight: bold;
}
.popup #related .reference {
  padding: 1em 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  font-size: 1.2em;
  font-style: bold;
  margin-bottom: 1.5em;
}
.popup #related .reference .author {
  margin-top: 1em;
}

body.popup {
  margin: 0;
  min-width: 650px;
  width: 650px;
  overflow-x: hidden;
  overflow-y: auto;
}
body.popup #sidebar, body.popup #acls-masthead, body.popup #masthead, body.popup #site-footer, body.popup #site-legal {
  display: none;
}
body.popup .maincontent {
  margin: 0;
  padding: 10px;
  width: 630px;
  min-height: 0;
}
body.popup #wrapper {
  margin: 0;
  width: auto;
  max-width: auto;
  min-width: auto;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
}

h1, .h1 {
  font-size: 2em;
  font-weight: 400;
  font-variant: normal;
  color: #d2242b;
  line-height: 1.2em;
  text-transform: uppercase;
  margin-top: 0;
}

h2 {
  margin-top: 2em;
}

.content-top {
  margin-bottom: 1em;
}

.content-top + h2 {
  margin-top: 1em;
}

a:hover {
  color: #d2242b;
}

.l1-head {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-size: 90%;
  font-family: verdana, arial, helvetica, sans-serif;
  font-weight: bold;
}

.head {
  font-weight: bold;
  margin-top: 1.0em;
  margin-bottom: 0.5em;
}

.pnum {
  font-size: 10pt;
  color: #999;
  font-weight: bold;
}

.pblabel {
  font-weight: bold;
}

.q1 {
  font-style: inherit;
  padding-left: 2.2em;
  padding-right: 2.2em;
  padding-bottom: 1em;
  padding-top: 1em;
  font-size: 95%;
}

.textindentlevelx {
  display: block;
  margin-bottom: 1px;
  margin-top: 5px;
  padding-bottom: 0px;
  padding-top: 0px;
  margin-left: 1.0em;
}

#closeWindow {
  text-align: center;
}
#closeWindow, #closeWindow a {
  color: #98999a;
  text-decoration: none;
}

.sectionnav {
  padding: 2em 0 1em 0;
}

.resindentlevelx {
  margin-left: 1em;
}

.ancestors {
  margin: 1.75em 0 1em 0;
  font-size: .9em;
  color: #999;
}
.ancestors .resindentlevelx .head {
  /*
  &:before {
    content: "\21b3  ";
    color: #bbb;
    font-weight: normal;
  }
  */
  margin: 0 0 .25em 0;
}
