/* Cargo-culting of Bulletproof Web Design */
@import url(/stylesheets/bpwd.css);

.sidequote {
  float: right; width: 40%; max-width: 200px; font-size: smaller;
}

.sidequote blockquote {
  padding: 0 10px; margin:0; border: 1px solid #888; margin-bottom: 20px;
  text-align: justify;
}

#flash {
  width: 90%; /* FIXME: This isn't really the right thing, I think I need a margin instead. */
  background-color: #eee; /* FIXME: Colour tweak */
  border: 1px solid #999;
  padding: 0 20px;
}
#flash .flash-notice { color: #0f0; }
#flash .flash-error  { color: #f00; font-weight: bold; }

#authors { list-style: none; padding-left: 0;}

/* Prettify block quotes with CSS.  FIXME: Doesn't work on IE 6. :-/ */
blockquote p:before {content: '"'; padding-left: 2em;}
blockquote p.last:after {content: '"';}
blockquote p.attribution:before { content: ''; }
blockquote p.attribution { font-weight: bold; }

/* But don't mess up code samples.  OK, of which there's only one! */
p.code:before {content: ""; padding-left: inherit;}
p.code {text-align: left;}

/* Format tables */
#content table, #contentwide table {
  font-size: smaller;
  border-top: 1px solid #999;
  border-left: 1px solid #999;
  border-collapse: collapse;
}

#content th, #contentwide th, #content td, #contentwide td {
  padding: 5px;
  border-right: 1px solid #999;
  border-bottom: 1px solid #999;
}

#content thead th, #contentwide thead th {
/*  background-color: #ff3333;*/
}

#content tfoot, #contentwide tfoot {
/*  background-color: #ffff33;*/
}

/* Image alignment, nicked from the K2 wordpress theme */
img.centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img.alignright {
  padding: 4px;
  margin: 0 0 2px 7px;
  display: inline;
}

img.alignleft {
  padding: 4px;
  margin: 0 7px 2px 0;
  display: inline;
}

.alignright {
  float: right;
}

.alignleft {
  float: left
}

h1 a, h2 a, h3 a, h4 a, h5 a {
  text-decoration: none;
}

h3.article-title {
  clear: left;
}

label {
  font-weight: bold;
}
h3 label {
  font-weight: inherit;
}

.small {
  font-size: smaller; margin:0;padding:0;
}
.breaking-news-title {
  padding:0;margin:0;
}

.breaking-news {
  border: 1px solid #999;
  padding: 5px;
  margin-bottom: 20px;
}

.pagination { clear: both; }

#footer img {
  padding: 10px 20px;
  border: 0;
}

#footer a {
  background: none !important;
}