/* =LAYOUT
 * ======================================== */
body {
  background: #000000 url(graphics/back_body.png) center top no-repeat;
}

#container {
  margin: 25px auto;
  width: 960px;
  padding: 18px 20px;
  background: url(graphics/back_container.png) center top repeat-y;
}


#content {
  display: inline;
  float: left;
  width: 720px;
  padding-bottom: 20px;
  background: #ffffff;
}

#content_secondary {
  /* override grid layout for background */
  margin-left: 0;
  padding-left: 35px;
  min-height: 160px;
  background: url(graphics/back_content_secondary.gif) left top no-repeat;
}

#footer {
  clear: both;
  padding-top: 5px;
  padding-right: 20px;
  font-size: 10px;
  text-align: right;
  color: #ffffff;
}

/* =NAV AND LOGO
 * ======================================== */
#logo {
  display: block;
  float: right;
  padding-bottom: 10px;
  width: 100px;
  height: 35px;
  background: url(graphics/logo.png) left top no-repeat;
}

#branding .nav {
  clear: both;
  padding-top: 5px;
}
#branding .nav li {
  display: block;
  float: right;
  height: 30px;
  width: 170px;
  text-align: right;
  color: #ffffff;
}
#branding .nav a {
  display: block;
  float: right;
  height: 30px;
  width: 170px;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 24px;
}
#branding .nav a.selected {
  color: #beb797;
}

/* =ARTICLES
 * ======================================== */
#content_primary,
#content_secondary {
  padding-top: 25px;
}

#content_secondary {
  font-size: 11px;
  line-height: 18px;
}

#article_image {
  float: left;
  padding: 0;
}

.article {
  margin-bottom: 1.5em;
}
.article .header {
  margin-bottom: 1.5em;
}
.article li {
  padding-left: 20px;
  background-image: url(graphics/bullet.gif);
  background-repeat: no-repeat;
  background-position: left 3px;
}

.home_links li {
  margin-bottom: 1.5em;
}

.home_links.omega {
  padding-left: 24px;
  border-left: 1px solid #eeeeee;
}

a:link,
a:visited {
  color: #10a4ea;
  text-decoration: none;
}

a:hover,
a:active {
  color: #10a4ea;
}

/* =SIDEBAR
 * ======================================== */
#header_books {
  padding-top: 25px;
  width: 170px;
  background-image: url(graphics/header_books.gif);
  background-repeat: no-repeat;
  background-position: left top;
}
#header_books h3 {
  display: block;
  color: #000000;
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
#header_books h3 span {
  display: block;
  color: #cc1d3c;
  font-size: 18px;
  font-weight: bold;
}

/* =UTILITY CLASSES
 * ======================================== */
.top {
  margin-top: 0;
  padding-top: 0;
}

.bottom {
  margin-bottom: 0;
  padding-bottom: 0;
}

hr {
  border: 0 #ccc solid;
  border-top-width: 1px;
  clear: both;
  height: 0;
}

/* http://sonspring.com/journal/clearing-floats */
.clear {
  clear: both;
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
}

/* http://perishablepress.com/press/2008/02/05/lessons-learned-concerning-the-clearfix-css-hack */
.clearfix:after {
  clear: both;
  content: ' ';
  display: block;
  font-size: 0;
  line-height: 0;
  visibility: hidden;
  width: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

* html .clearfix {
  height: 1%;
}

.clearfix {
  display: block;
}

