
/*
all generic selectors come first, then they are listed in (roughly) presentational order
generic selectors may be moved into a 'common.css'
*/

body {
background: #d00 url(/static/images/bg_dither.png) repeat-y 50% 0;
/* background: #d00 url(/static/images/bg_vertical_gradient.png) repeat-x 0 0; */
color: #000;
font: normal 75% arial, helvetica, sans-serif;
margin: 0;
padding: 0;
text-align: center;
}


h1, h2, h3, h4, h5, h6 {
color: #34508f;
margin: 1em 0 0 0;
padding: 0;
}

h1 {font-size: 150%;}
h2 {font-size: 140%;}
h3 {font-size: 130%;}
h4, h5, h6 {font-size: 120%;}

a {
color: #d00;
text-decoration: none;
}

a:hover {
color: #f00;
text-decoration: underline;
}

img {
border: 0;
}

hr {
clear: both;
display: block;
visibility: hidden;
}

ul {
list-style-image: url(/static/images/bullet.png);
list-style-type: circle;
}

/* table styles */

table {
margin-top: 10px;
border: 1px solid #ccc;
border-collapse: collapse;
}

th {
background-color: #efefef;
color: #666;
padding: 4px;
}

td {
border: 1px solid #ccc;
padding: 4px;
}

tr.highlight {
background-color: #fdd;
color: #000;
font-weight: bold;
}

/* form styles */

input, textarea, select {
    margin: 5px 0 0 10px;
}

label {
    display: block;
    float: left;
    width: 150px;
    text-align: right;
    margin: 5px;
}

blockquote {
    margin: 5px;
    padding: 5px;
    color: #1b305e;
    font-size: 110%;
    font-style: italic;
}

/* site-title */

div#site-title {
background-color: #000;
clear: both;
color: #fff;
margin-bottom: 10px;
}

div#site-title h1 a {
color: #fff;
}

/* wraps around the whole page - used to center align content */

div#page-wrapper {
background-color: #000;
border: 1px solid #000;
margin: 0 auto;
padding: 0;
text-align: left;
width: 1000px;
}

/* primary navigation (left column) */

div#primary-navigation {
float: left;
width: 160px;
}

div#primary-navigation ul {
list-style-image: none;
list-style-type: none;
margin: 0;
padding: 0;
width: 160px;
}

div#primary-navigation li {
border-bottom: 1px solid #fff;
width: 159px;
}

div#primary-navigation li.last {
border-bottom: 0;
}

div#primary-navigation li a {
background: #d00 url(/static/images/bg_primary-navigation_item.png) repeat-x 0 100%;
color: #fff;
display: block;
font-weight: bold;
padding: 6px 4px;
zoom: 1;
}

div#primary-navigation ul li a:hover {
background-color: #d3c5c5;
color: #000;
text-decoration: none;
}


/* content wrapper - wraps around the two content columns*/

div#content-wrapper {
background-color: #fff;
float: left;
line-height: 150%;
margin: 0;
padding: 0 10px 12em 10px;
width: 680px;
}

div#user {
text-align: right;
}

/* content columns */

div#content-a,
div#content-b {
width: 334px;
}

div#content-a {
float: left;
}

div#content-b {
float: right;
}


/* article teaser */

div.teaser {
border-bottom: 1px dotted #ccc;
clear: both;
display: block;
padding: 1em 0;
float: left;
width: 100%;
}

div.teaser h2 {
margin-bottom: 1em;
}

div.teaser h3 {
margin: 0 0 8px 0;
padding: 0;
}

div.teaser h3 a {
color: #34508f;
}

div.teaser img, div.hometeaser img {
border: 1px solid #ccc;
float: left;
margin-right: 10px;
}

div.teaser p {
margin: 0;
padding: 0;
}

a.read-more {
background: url(/static/images/bullet.png) no-repeat 100% 60%;
color: #d00;
padding-right: 8px;
}

p.clear {
clear: both;
display: block;
}


/* article styles */
/* may well wrap the article page in a container div */

div#content-wrapper h1 {
margin: 1em 0 0 0 ;
padding: 0;
}

div.meta {
background-color: #efefef;
border-bottom: 1px dotted #ccc;
color: #666;
clear: both;
display: block;
padding: 2px;
}

div.article-image {
background-color: #efefef;
border: 1px solid #ccc;
float: right;
margin: 10px 0 10px 10px;
padding: 10px 10px 0 10px;
text-align: center;
}

div.article-image img {
border: 1px solid #ccc;
}

div.article-image p {
color: #666;
font-weight: bold;
margin: 4px 0;
padding: 0;
}

div.label {
clear: both;
}

/* column-b (right column) */

div#column-b {
color: #fff;
float: right;
text-align: center;
width: 140px;
}

/* footer */
div#footer {
color: #fff;
text-align: center;
}

