
body {
    margin: 0;
    padding: 0;
    text-align: center;
    background: #b8cbd9 url(../img/global/background_gradient.png) repeat-x;
}

/* Global centered column */
#wrapper {
    width: 864px;
    margin: 0 auto;
    text-align: left;
}


/* ----- Logo header ----------------------------------------------------- */

#logo {
    height: 105px;
    overflow: hidden; /* Needed for background images */
    background: url(../img/global/header_bg.jpg) no-repeat 0 0;

}
#logo a {
    display: block;
    width: 327px;
    height: 0;
    overflow: hidden;
    margin: 14px 0 0 48px;
    padding-top: 77px;
}


/* ----- Main content area ----------------------------------------------- */

#main {
    background: url(../img/global/content_bg.png) repeat-y;
}
#mainInner {
    background: url(../img/global/content_bg_top.png) no-repeat 0 0;
}
#mainContent {
    background: url(../img/global/content_bg_bottom.png) no-repeat left bottom;
    padding: 4px 52px;
    min-height: 340px; /* Proper background images if very little content */
}


/* ----- Main navigation ------------------------------------------------- */

#navigation ul {
    display: block;
    margin: 0;
    padding: 0;
    overflow: hidden;
    width: 100%;
    background: url(../media/mainnav_bg.png) repeat-x 0 0;
}
#navigation li {
    display: block;
    margin: 0;
    padding: 0;
    float: left;
}
#navigation li a {
    display: block;
    height: 0;
    width: 0; /* Needs to be set per navigation item */
    overflow: hidden;
    padding: 54px 0 0;
    background: url(../media/mainnav.png) no-repeat 0 0;
}

/* Navigation items - normal state */

#navigation li.home a {
    width: 43px;
    background-position: 0 0;
}
#navigation li.about a {
    width: 102px;
    background-position: -43px 0;
}
#navigation li.services a {
    width: 116px;
    background-position: -146px 0;
}
#navigation li.news a {
    width: 75px;
    background-position: -262px 0;
}
#navigation li.faq a {
    width: 105px;
    background-position: -337px 0;
}
#navigation li.cases a {
    width: 125px;
    background-position: -443px 0;
}
#navigation li.donations a {
    width: 91px;
    background-position: -568px 0;
}
#navigation li.contact a {
    width: 79px;
    background-position: -659px 0;
}

/* Navigation items - hover state */

#navigation li.about a:hover {
    background-position: -43px -108px;
}
#navigation li.services a:hover {
    background-position: -146px -108px;
}
#navigation li.news a:hover {
    background-position: -262px -108px;
}
#navigation li.faq a:hover {
    background-position: -337px -108px;
}
#navigation li.cases a:hover {
    background-position: -443px -108px;
}
#navigation li.donations a:hover {
    background-position: -568px -108px;
}
#navigation li.contact a:hover {
    background-position: -659px -108px;
}

/* Navigation items - active state */

body.home #navigation li.home a {
    
}
body.about #navigation li.about a {
    background-position: -43px -108px;
}
body.services #navigation li.services a {
    background-position: -146px -108px;
}
body.news #navigation li.news a {
    background-position: -262px -108px;
}
body.faq #navigation li.faq a {
    background-position: -337px -108px;
}
body.cases #navigation li.cases a {
    background-position: -443px -108px;
}
body.donations #navigation li.donations a {
    background-position: -568px -108px;
}
body.contact #navigation li.contact a {
    background-position: -659px -108px;
}


/* ----- Generic column layout ------------------------------------------- */

#content {
    width: 100%;
    overflow: hidden; /* Clear floats */
}


/* ----- Home page: columns ---------------------------------------------- */

body.home .column {
    float: left;
}
body.home #feature .column {
    width: 380px;
}
body.home #content .column {
    padding: 10px 20px 0;
    width: 340px;
}
body.home .columnLeft {
    color: #333;
    background: url(../media/left_column_gradient.png) repeat-x;
}
body.home .columnRight {
    background: url(../media/right_column_gradient.png) repeat-x;   
}


/* ----- Home page: news ------------------------------------------------- */

body.home #content p.more {
    margin-top: 1em;
}


/* ----- Home page: feature ---------------------------------------------- */

#feature {
    display: none; /* Not shown by default */
}
body.home #feature {
    display: block; /* Only explicitly show on home page (just in case) */
    height: 203px;
}
/* #feature #featureImage { */
/*     background: url(../media/feature.png) no-repeat 0 0; */
/* } */
body.home #featureImage {
    height: 100%;
    background: url(../media/feature.png);
    position: relative;
}
body.home #featureImage .shadow {
    position: absolute;
    height: 4px;
    width: 100%;
    bottom: 0;
    background: url(../media/feature-shadow.png) repeat-x;
}

body.home #feature .subtitle {
    display: block;
    height: 100%;
    background: url(../media/subtitle.png);
    text-indent: -9999px;
}


/* ----- Section page: columns ------------------------------------------- */

body.section #content {
    background: url(../img/global/subnav_shadow.png) repeat-y 0 0;
}
body.section #content .columnLeft {
    float: left;
    width: 160px;
    padding: 20px 10px;
    min-height: 241px;
    background: url(../img/global/subnav_bg.png) repeat-x 0 0;
}
body.section #content .columnRight {
    margin: 0 0 0 180px;
    padding: 14px 18px;
    background: url(../img/global/content_top_shadow.png) repeat-x 0 0;
}


/* ----- Section page: subnavigation ------------------------------------- */

body.section #content .columnLeft h3 {
    margin: 0;
    font-size: 14px;
}
body.section .columnLeft ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
body.section .columnLeft li {
    margin: 0 0 5px;
/*     background: #e3e8ed; */
    background: #d7dfe6;
    color: #036;
}
body.section .columnLeft li a {
    display: block;
    padding: 2px 8px;
    text-decoration: none;
}


/* ----- Footer ---------------------------------------------------------- */

#footer {
    height: 38px;
    padding: 10px 48px 0;
    background: url(../img/global/footer_bg.png) no-repeat left top;
    color: #50779d;
    text-align: center;
    font-size: 10px;
}


/* ----- News Items ------------------------------------------------------ */

#content ul.newsitems {
    list-style: none;
    margin: 0;
    padding: 0;
} 
#content ul.newsitems li h3 {
    font-size: 14px;
}
#content ul.newsitems li h4 {
    margin: 0;
}


/* ----- Contact form ---------------------------------------------------- */

body.contact form .row {
    margin: 1em 0;
}
body.contact form .help {
    font-size: 10px;
    color: #666;
}
body.contact form input, body.contact form textarea {
    border: 1px solid #C2CCD7;
}
body.contact form input {
    width: 300px;
    font-size: 14px;
    padding: 3px 5px;
}
body.contact form .invalid input {
    border: 1px solid red;
}
body.contact form textarea {
    width: 400px;
    height: 150px;
}
body.contact form input.submit {
    width: auto;
    border: auto;
}
/* body.contact form table {
    width: 100%;
    border-collapse: collapse;
}
body.contact form td, body.contact form th {
    padding: 0 0 1em;
    vertical-align: top;
}
*/
body.contact form .errorlist {
/*  float: right; */
/*  width: 280px; */
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: bold;
    color: #C30202;
/*  background: #6A7399; */
}
body.contact form table .errorlist li {
    margin: 0;
    padding: 0;
}


/* ----- Debugging background colors ------------------------------------- */

/**
body {
    background: #412C99;
}
#wrapper {
    background: #445A48;
}
#navigation ul {
    background: #6B7099;
}
#subnav {
    background: #BFDCE4;
}
#content-inner {
    background: #DBD3E9;
}
#content {
    background: #B2DBB7;
}
#footer {
    background: #759977;
}
/**/


