/* 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: #660000;
}

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

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

#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: #660000;
  color: white;
}

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

#searchnav li a:hover, #browsenav li a:hover, #xcollsearchtabs li a:hover {
  background: #660000;
  /* 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: #660000;
  border-color: #660000;
  color: #fff;
}
#format-buttons a.current, #format-buttons a.current:hover, #zoom a.current, #zoom a.current:hover {
  background: #ddd;
  color: #660000;
  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;
}

/* Start: Left-align text in logo with text on page */
.maincontent, #globalactions, #footer {
  margin-left: 76px;
  margin-right: 76px;
}

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

html body {
  font-family: 'New Athena Unicode', 'Lucida Sans Unicode', serif;
}

a, .link {
  text-decoration: none !important;
}

#quicksearchwrapper {
  margin-top: 35px;
}

#purchase-link {
  width: 15em;
}

.home-button {
  width: 19em;
  font-size: 0.95em;
}

.home-button, #purchase-link {
  padding: 0.5em 1em;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  display: block;
  border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  background: #e3d7d7;
}
.home-button span, #purchase-link span {
  font-weight: normal;
  font-size: 0.8em;
}

/* Add space between two buttons */
.home-button + .home-button {
  margin-top: 0.75em;
}

.home-button:hover {
  background: #660000;
  color: #e3d7d7;
}

#purchase-link {
  margin-top: 15px;
  margin-left: auto;
  margin-right: auto;
}

#staticcontent .contentright.download-volume {
  margin-bottom: 0;
}

#staticcontent .contentleft {
  width: 33em;
}

#reprint-cover {
  display: block;
  float: left;
  margin-bottom: 3em;
  margin-right: 1em;
}

#staticcontent th {
  width: auto;
  background: inherit;
  font-style: italic;
}

#staticcontent th, #staticcontent td {
  border: 1px solid #e5e5e5;
}

#reprint-wrapper {
  margin-left: 232px;
}

.home #logo {
  width: 100%;
  text-align: center;
}

.home #logo img {
  display: inline;
}

.home #quicksearchwrapper {
  display: none;
}

#picklistbody {
  border-top: 0;
}

/*#orgnav {
  font-size: 1em; 
  ul li a {
    &:visited, &:link, &:hover {
      display: block;
      font-weight: bold;
      background: $highlight-bg;
      padding: 10px;
      width: 12em;
      text-align: center;
      margin-top: -1em;
      color: $dark_red;
    }
  }
}*/
#download-font {
  clear: both;
  float: right;
  display: block;
  font-weight: bold;
  background: #e3d7d7;
  padding: 10px;
  width: 12em;
  text-align: center;
  color: #660000;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  margin-top: 0.75em;
}

.custom-note {
  /*background: $highlight-bg;*/
  background: #ddd;
  border-color: #777;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}
.custom-note:before {
  color: #555;
  font-style: italic;
}

span + li {
  margin-top: 1em;
}

li, #article ul.special-notes li {
  margin-bottom: 1em;
}

#extras li {
  margin-bottom: 0;
}

li > p {
  margin-bottom: 0.5em;
}

li > p:last-child {
  margin-bottom: 0;
}

p.note, .q1-block {
  font-size: 0.85em;
}

tr.rend-b td, tr.rend-bold td {
  font-weight: bold;
}

tr.rend-i td, tr.rend-italic td, tr.rend-italics td, tr.rend-ital td {
  font-style: italic;
}

tr.rend-bolditalic td {
  font-style: italic;
  font-weight: bold;
}
