body {
  margin: 0;
  padding: 0;
  background: #617370;
  font-family: georgia, serif;
  text-align: center;
}

/* clearing */

.clear { display: inline-block; }
.clear:after {
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
}
* html .clear { height: 1%; }
.clear { display: block; }


/* general stuff */

h1 {
  background: #222;
  padding: 25px;
  margin: 0;
  text-align: center;
}

h1 a img {
  border: none;
}

abbr {
  font-size: 75%;
  letter-spacing: 0.1em;
}


/* bar */

#bar {
  background: #ededd8;
  color: #4B4B46;
  padding: 15px 0;
}

#bar .inner {
  width: 690px;
  margin: 0 auto;
  clear: both;
  text-align: left;
}

#bar a {
  color: #4B4B46;
}


#menu {
  float: left;
  font-size: 125%;
}

body.about #menu a.about,
body.books #menu a.books,
body.contest #menu a.contest {
  color: #222;
}


#cart_link {
  float: right;
  text-align: right;
}


#content {
  width: 690px;
  margin: 15px auto 0 auto;
  padding-bottom: 50px;
  color: #ededd8;
  text-align: left;
}

#content a {
  color: #D1D5C3;
}


h3 {
  font-weight: normal;
  font-size: 200%;
  margin: 15px 0 5px 0;
}


.about p big {
  font-size: 200%;
}


#covers {
  width: 700px;
  margin-right: -10px;
  margin-top: 10px;
  margin-bottom: 10px;
}

#covers a {
  background: #7d8b85;
  float: left;
  width: 90px;
  text-align: center;
  margin: 0 10px 10px 0;
}

#covers img {
  height: 90px;
  margin: 10px;
  border: none;
}


#titles {
  width: 720px;
  margin-right: -30px;
  margin-top: 0;
  margin-bottom: 10px;
}

#titles .list {
  list-style-type: none;
  padding: 0;
  width: 210px;
  margin: 0;
  margin-right: 30px;
  float: left;
  color: #B5BCAE;
}

#titles a {
  color: #ededd8;
  display: block;
}

#titles li {
  margin: 9px 0;
}


#authors {
  width: 720px;
  margin-right: -30px;
  margin-top: 0;
  margin-bottom: 10px;
}

#authors .list {
  width: 210px;
  margin-right: 30px;
  float: left;
}

#authors h4 {
  font-size: 100%;
  font-weight: normal;
  color: #ededd8;
  margin: 0;
  margin-top: 9px;
}

#authors ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  margin-bottom: 9px;
}

#authors li {
  margin: 0 0 0.5em 0;
}

#authors a, #authors li {
  color: #B5BCAE;
}


/* book */

body.book h2, body.book h3 {
  font-weight: normal;
}

body.book h2 {
  font-size: 200%;
  line-height: 100%;
}

body.book h3 {
  font-size: 150%;
  line-height: 100%;
}


body.book #title h2, body.book #title h3 {
  margin: 0.2em 0;
}

body.book #title {
  margin-bottom: 1em;
}

body.book #meta p {
  margin: 0.2em 0;
}


body.book #cover {
  float: left;
  width: 210px;
  margin-top: 5px;
}

body.book #cover cite {
  display: block;
  margin-top: 7px;
  font-size: 70%;
}


body.book #about {
  margin-left: 240px;
  line-height: 120%;
}

body.book .author, body.book .editor {
  font-size: 120%;
  line-height: 120%;
}

body.book .out_of_print {
  font-style: italic;
}


body.book #buy {
  background: #ededd8;
  color: #222;
  float: right;
  padding: 10px;
  margin: 0 0 10px 15px;
  text-align: center;
}

body.book #buy h3 {
  border: none;
  font-size: 200%;
  margin: 0;
}

body.book #buy a {
  color: #222;
  font-weight: normal;
  font-size: 100%;
}

body.book #buy.ordered {
  background: #222;
  color: #ededd8;
}

body.book #buy.ordered a {
  color: #ededd8;
}

body.book #buy form {
  margin: 0;
}

body.book #buy #add_to_cart {
  margin: 10px 0 0 0;
}


/* excerpt */

.excerpt {
  background: #ededd8;
}

.excerpt #content {
  width: 690px;
  color: #222;
}

.excerpt #source {
  background: #617370;
  color: #ededd8;
  padding: 15px 0;
}

.excerpt #source .inner {
  margin: 0 auto;
  width: 690px;
  text-align: left;
}

.excerpt #source a {
  color: #ededd8;
}

.excerpt h3 {
  padding: normal;
  border: none;
  font-weight: normal;
  font-family: inherit;
}

.excerpt .note {
  padding-left: 1.5em;
}

.excerpt blockquote {
  margin: 2em 0 0 0;
  padding: 0;
  line-height: 1.5;
}


/* shopping cart */

#cart {
  position: absolute;
  top: 75px;
  left: 50%;
  margin-left: -230px;
  width: 450px;
  background: #ededd8;
  color: #222;
  border: 5px solid #4B4B46;
}

#cart table, #cart h3, #cart_buttons {
  margin-left: 15px;
  margin-right: 15px;
}

#cart h3 {
  margin-top: 15px;
  text-align: center;
}

#cart a {
  color: #222;
}

#cart_buttons {
  margin-top: 15px;
  margin-bottom: 15px;
}

#cart_buttons button {
  float: right;
  font-size: 100%;
  font-family: georgia, serif;
  margin-left: 5px;
  background: #4B4B46;
  border-color: #4B4B46;
  color: #ededd8;
  padding: 5px 7px;
  cursor: pointer;
}

#cart table {
  width: 420px;
  margin-top: 10px;
}

#cart table .book {
  font-size: 90%;
  padding-left: 0;
}

#cart table .book h4 {
  font-weight: normal;
  margin: 0;
  font-size: 125%;
}

#cart td {
  padding: 0 0 10px 0;
}

#cart .remove {
  font-size: 90%;
}

#cart .quantity {
  text-align: right;
  font-size: 85%;
}

#cart .quantity input {
  width: 3em;
  text-align: center;
}

#cart .price {
  text-align: right;
  padding-right: 0;
}

#cart .total td {
  padding-top: 5;
  border-top: 1px solid #222;
  text-align: right;
  font-size: 125%;
}