body {
  background: #fff url(/images/bg.png) repeat-x;
  font: 90%/1.5 Constantia, Palatino, "Book Antiqua", "Palatino Linotype", serif;
  text-align: center; }

#wrapper {
  position: relative;
  margin: 46px auto;
  text-align: left;
  width: 960px; }

#header h1 {
  height: 89px;
  width: 471px; }
  #header h1 a {
    background: url(/images/CATE-logo.png) no-repeat;
    display: block;
    height: 89px;
    overflow: hidden;
    text-indent: -9999px;
    width: 471px; }

#navigation {
  position: absolute;
  right: 0;
  top: 0;
  width: 480px; }
  #navigation ul {
    list-style: none;
    margin: 15px 0 0;
    padding: 0;
    text-align: center; }
    #navigation ul li {
      display: inline; }
      #navigation ul li a {
        font-size: 1.1em;
        line-height: 2em;
        padding-left: .75em;
        padding-right: .75em;
        text-transform: uppercase; }
        #navigation ul li a:link, #navigation ul li a:visited {
          color: #999;
          text-decoration: none; }

#content {
  padding: 1em 0; }
  #content #content-main {
    float: left;
    width: 580px; }
  #content #content-sub {
    float: right;
    width: 360px; }

#footer {
  background: #ccc;
  clear: both;
  font-size: .9em;
  line-height: 1.3;
  margin: 2em 0;
  padding: .5em 1.5em;
  text-align: right; }
  #footer p {
    color: #555;
    margin: 1em 0; }

h2 {
  font-size: 1.5em;
  margin: 0 0 1em; }

hr {
  clear: both;
  height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  visibility: hidden; }

a:link, a:visited {
  color: #900;
  text-decoration: none; }
a:hover, a:active {
  color: #c00;
  text-decoration: underline; }

#welcome {
  font-size: 1.35em;
  margin: 0 0 1em; }
  #welcome h4, #welcome p {
    margin: 0; }

/* == Petition == */
#petition {
  background: #eee url(/images/petition_bg.jpg) no-repeat;
  border: 2px solid #ccc;
  padding: 1.5em; }
  #petition h3 {
    margin: 0;
    text-transform: uppercase; }
  #petition p {
    margin: 0 0 1em; }

/* === NEWS === */
#story-title {
  margin: 0 0 1.25em; }
  #story-title h2, #story-title h3 {
    margin: 0; }

p.dateline {
  color: #777;
  font: .9em/1.3 "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", Verdana, "Verdana Ref", sans-serif;
  margin: 1.25em 0; }

.article_summary {
  margin: 1em 0 1.5em; }
  .article_summary h3, .article_summary p, .article_summary .meta {
    margin: .15em 0; }
  .article_summary h3 {
    font-size: 1.2em; }
  .article_summary .meta {
    font-style: italic; }

/* === RSS Button === */
body.posts #article-title {
  position: relative; }

.rss {
  position: absolute;
  right: 0;
  top: 0; }
  .rss a {
    display: block;
    height: 21px;
    overflow: hidden;
    text-indent: -9999px;
    width: 86px; }
    .rss a:link, .rss a:visited {
      background: url(/images/rss.png) 0 0; }
    .rss a:hover, .rss a:active {
      background: url(/images/rss.png) 0 -21px; }

/* === FORMS === */
form label {
  font: .9em "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", Verdana, "Verdana Ref", sans-serif;
  text-transform: uppercase; }
form table {
  border-collapse: collapse;
  width: 100%; }
  form table th, form table td {
    padding: 4px 5px 4px 0;
    vertical-align: top; }
  form table .submit div#input {
    width: auto; }

/* == Misc. == */
.required {
  color: #c00; }

/* === SITE ADMIN === */
#administration {
  background: #333;
  border-bottom: 1px solid #000;
  left: 0;
  position: absolute;
  text-align: center;
  top: 0;
  width: 100%;
  z-index: 1000; }
  #administration h4 {
    color: #fff;
    display: inline;
    margin: 0;
    padding: 0 2em; }
  #administration ul {
    display: inline;
    list-style: none;
    margin: 0;
    padding: 0; }
    #administration ul li {
      display: inline;
      margin: 0;
      padding: 0 1em; }
      #administration ul li a {
        color: #cc9;
        font-size: .9em;
        line-height: 2em; }

table.admin {
  border-collapse: collapse; }
  table.admin th, table.admin td {
    border: 1px solid #ccc;
    margin: 0;
    padding: 5px;
    vertical-align: top; }
  table.admin label {
    font-family: Calibri, Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: normal; }

/* === FLASH MESSAGES === */
#flash-notice, #flash-error {
  color: white;
  font-size: 1.2em;
  margin: 1em 0;
  padding: 7px 10px;
  position: relative;
  left: -30px;
  top: -30px;
  width: 620px; }

body.home #flash-notice, body.home #flash-error {
  left: 0;
  top: 0; }

#flash-notice {
  background: #060; }

#flash-error {
  background: #600; }

/* === Rails Form Validations === */
.fieldWithErrors input {
  border: 2px solid red; }

#errorExplanation {
  width: 400px;
  border: 2px solid red;
  padding: 7px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  background-color: #f0f0f0; }

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: -7px;
  background-color: #c00;
  color: #fff; }

#errorExplanation p {
  color: #333;
  margin: 1em 0;
  padding: 5px; }

#errorExplanation ul {
  margin: 1em; }

#errorExplanation ul li {
  font-size: 12px;
  list-style: square; }
