/****************************************************************************
/* General settings
/***************************************************************************/
body {
    font-family: Tahoma, sans-serif;
    font-size: 14px;
    line-height: 1.3;
    color: #333333;
    background: #ffffff url('/images/site/bg.png') repeat-x 0 0;
    background-attachment: fixed;
}

textarea {
    font-family: Tahoma, sans-serif; /* Matches body font */
    font-size: 0.9em; /* Textarea font sizes are a bit too big */
}

/****************************************************************************
/* Layout
/***************************************************************************/
/* Container */
#container-cap-top {
    width: 930px;
    height: 10px;
    margin: 20px auto 0;
    background: url('/images/site/container-cap.png') no-repeat 0 0;
}

#container-cap-bottom {
    width: 930px;
    height: 10px;
    margin: 0 auto 10px;
    background: url('/images/site/container-cap.png') no-repeat 0 0;
}

#header-container {
    width: 900px;
    padding: 5px 15px;
    margin: 0 auto;
    background: url('/images/site/container-bg.png') repeat-y 0 0;
}

#container {
    width: 890px;
    padding: 0px 20px 10px;
    margin: 0 auto;
    background: url('/images/site/container-bg.png') repeat-y 0 0;
}

/* Header */
#header {
    width: 890px;
    height: 175px;
    padding: 5px;
    background: url('/images/site/header-bg.jpg') no-repeat 0 0;
}

#logo {
    display: block;
    width: 215px;
    height: 155px;
    position: relative;
    top: 5px;
    left: 5px;
    background: url('/images/site/logo.png') no-repeat 0 0;
}

#logo:hover {
    background-position: 0 -155px;
}

#logo span {
    display: none;
}

/* Sidebar */
#sidebar {
    width: 220px;
    margin: 0 10px 0 0;
    float: left;
}

/* Navigation */
#sidebar ul {
    margin-bottom: 20px;
    list-style: none;
}

#sidebar ul li {
    margin-bottom: 1px;
    background-color: #b4dc8d;
}

#sidebar ul li.active-branch {
    background-color: #578e22;
}

#sidebar ul li a {
    display: block;
    width: 200px;
    padding: 7px 10px;
    color: #333333;
    text-decoration: none;
}

#sidebar ul li.active-branch a {
    color: #ffffff;
}

#sidebar ul li.active-branch > a {
    color: #fffc23;
}

#sidebar ul li a.active,
#sidebar ul li a:hover {
    background-color: #578e22;
    color: #fffc23;
}

#sidebar ul ul {
    margin-bottom: 0;
}

#sidebar ul li ul li {
    background: transparent;
}

#sidebar ul li ul li a {
    width: 185px;
    padding: 3px 10px 8px 25px;
    font-size: 0.9em;
}

/* Content */
#content {
    width: 640px;
    padding: 10px;
    float: left;
}

/* Footer */
#footer {
    width: 910px;
    margin: 0 auto 20px;
    text-align: right;
    color: #666666;
}

#footer a {
    color: #666666;
    text-decoration: underline;
}

#footer a:hover {
    color: #333333;
}

#copyright {
    float: left;
}

/****************************************************************************
/* Typography
/***************************************************************************/
/* Headings */
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
    color: #578e22;
    font-weight: bold;
}

#content h1 {
    font-size: 1.97em;
    margin-bottom: 0.50em;
}

#content h2 {
    font-size: 1.4em;
    margin-bottom: 0.45em;
}

#content h3 {
    font-size: 1.2em;
    margin-bottom: 0.41em;
}

#content h3.past-project {
    color: #333333;
}

#content h4 {
    font-size: 1.1em;
    margin-bottom: 0.37em;
}

#content h5 {
    font-size: 1em;
    margin-bottom: 0.33em;
}

#content h6 {
    font-size: 1em;
    margin-bottom: 0.30em;
}

/* Paragraphs */
#content p {
    margin-bottom: 1.3em;
}

/* Lists */
#content ul,
#content ol {
    padding-left: 1.3em;
    margin-bottom: 1.3em;
}

/* Links */
#content a {
    color: #0000ff;
    text-decoration: none;
}

#content a:hover {
    text-decoration: underline;
}

/* Images */
#content img {
    display: block;
    height: auto;
    margin: 0 auto 1.3em;
}

#content img.full {
    width: 640px;
}

#content img.half {
    width: 310px;
}

#content img.one-third {
    width: 200px;
}

#content img.one-quarter {
    width: 145px;
}

#content img.left {
    float: left;
    margin: 0 20px 20px 0;
}

#content img.right {
    float: right;
    margin: 0 0 20px 20px;
}

/* Tables (e.g. for displaying Business Sponsor logos) */
#content table td {
    vertical-align: middle;
}

/****************************************************************************
/* Committee page
/***************************************************************************/
#content div.committee-member {
    width: 310px;
    float: left;
    margin: 20px 20px 20px 0;
}

#content div.committee-member.last {
    margin-right: 0;
}

#content div.committee-member img {
    width: 120px;
    margin: 0 20px 0 0;
    float: left;
    border: 1px solid #333333;
}

#content div.committee-member div.committee-details {
    width: 168px;
    float: left;
}

#content div.committee-member p.committee-name {
    margin-bottom: 0.3em;
    font-size: 1.2em;
    font-weight: bold;
    color: #578e22;
}

/****************************************************************************
/* Partners page
/***************************************************************************/
#content div.partner {
    width: 640px;
    padding: 20px 0;
}

#content div.partner div.partner-logo {
    width: 145px;
    float: left;
    margin-right: 20px;
    padding-top: 5px; /* Gives better visual alignment of name and logo */
}

#content div.partner div.partner-logo img {
    width: auto;
    margin: 0 auto;
}

#content div.partner div.partner-details {
    width: 475px;
    float: left;
}

#content div.partner div.partner-details p.partner-name {
    margin-bottom: 0.3em;
    font-size: 1.2em;
    font-weight: bold;
    color: #578e22;
}

/****************************************************************************
/* Contact pages
/***************************************************************************/
div.contact-details {
    width: 310px;
    float: left;
    margin-right: 20px;
}

div.contact-details.last {
    margin-right: 0;
}

.captcha {
    display: none;
}

#content table.contact {
    width: 640px;
    margin-bottom: 1.3em;
}

#content table.contact td {
    padding: 5px 0;
    vertical-align: baseline;
}

#content table.contact td.label {
    width: 145px;
    padding-right: 20px;
    vertical-align: top;
}

#content table.contact label {
    font-weight: bold;
}

#content table.contact input.text {
    width: 304px;
    vertical-align: baseline;
}

#content table.contact textarea.textarea-small {
    width: 304px;
    vertical-align: baseline;
}

#content table.contact textarea.textarea {
    width: 469px;
    vertical-align: baseline;
}

.captcha {
    display: none;
}

/* Error messages */
div.error {
    padding: 1.3em 1.3em 0 1.3em;
    margin-bottom: 1.3em;
    border: 1px solid #fffb23;
    background-color: #fffec4;
}

/****************************************************************************
/* Home page
/***************************************************************************/
#content a.home-link {
    display: block;
    float: left;
    width: 133px;
    height: 25px;
    line-height: 25px;
    padding: 117px 6px 3px;
    margin: 10px 20px 10px 0;
    background-image: url('/images/site/home-links-bg.jpg');
    background-repeat: no-repeat;
    text-decoration: none;
    text-align: center;
    color: #333333;
    font-size: 0.8em;
}

#content a.home-link.last {
    margin-right: 0;
}

#content a.home-link:hover {
    color: #578e22;
}

#content #home-link-projects {
    background-position: 0 0;
}

#content #home-link-projects:hover {
    background-position: 0 -145px;
}

#content #home-link-business {
    background-position: -145px 0;
}

#content #home-link-business:hover {
    background-position: -145px -145px;
}

#content #home-link-individual {
    background-position: -290px 0;
}

#content #home-link-individual:hover {
    background-position: -290px -145px;
}

#content #home-link-blog {
    background-position: -435px 0;
}

#content #home-link-blog:hover {
    background-position: -435px -145px;
}

/****************************************************************************
/* Planting Sites page
/***************************************************************************/
#content table.planting-sites td.number {
    width: 30px;
}

#content table.planting-sites td.name {
    width: 280px;
}

#content table.planting-sites td.spacer {
    width: 20px;
}

/****************************************************************************
/* Sidebar banners
/***************************************************************************/
#sidebar a.banner {
    display: block;
    margin-bottom: 20px;
    text-decoration: none;
    color: #333333;
    background: url('/images/site/sidebar-banner-bg.png') no-repeat 0 0;
}

#sidebar a.banner span.bg {
    display: block;
    padding: 6px;
    background: url('/images/site/sidebar-banner-bg-bottom.png') no-repeat 0 100%;
}

#sidebar a.banner span.image {
    display: block;
    width: 208px;
    margin-bottom: 0.3em;
}

#sidebar a.banner span.image-corners {
    display: block;
    width: 208px;
    height: 20px;
    background: url('/images/site/sidebar-banner-image-corners.png') no-repeat 0 0;
}

#sidebar a.banner span.title {
    display: block;
    margin-bottom: 0.1em;
    padding: 0 3px;
    font-size: 1.2em;
    color: #578e22;
    font-weight: bold;
}

#sidebar a.banner span.description {
    display: block;
    margin-bottom: 0.3em;
    padding: 0 3px;
}

#sidebar a.banner:hover {
    background-position: -220px 0;
}

#sidebar a.banner:hover span.bg {
    background-position: -220px 100%;
}

#sidebar a.banner:hover span.image-corners {
    background-position: -208px 0;
}

/* Blog */
div.blog-post {
    margin-bottom: 1.3em;
    border-bottom: 1px dotted #cccccc;
}

div.blog-post.last {
    border-bottom: none;
}

p.blog-post-meta {
    color: #999999;
    font-style: italic;
}

#content h2.blog-title {
    font-size: 1.97em;
    margin: 0 0 0.50em 0;
}

#content h2.blog-title a {
    color: #578e22;
}

div.page-nav {
    font-weight: bold;
    padding-top: 1.3em;
    border-top: 1px solid #cccccc;
}

p.page-nav-prev {
    float: left;
}

p.page-nav-next {
    float: right;
}
