/* 
	Random Acts of Kindness - Main Stylesheet
	July 2008
	Atomic Crayon / karen / SMRT
*/


/* COLOURS
#d8e6f3 - light blue - page background
#a8b6c4 - dull blue - form and table borders
#a0bbcf - medium blue - top and footer background
#004c94 - dark blue - page text
#98cb5c - light green - sub-nav hover
#7cbd15 - green - sidebar background
#4c9603 - medium green - links
#5c8910 - dark green - submit buttons
*/


/* Sections flagged with =
	GENERIC
	TOP
	WRAPPER
	BRAND
	ACCESSIBILITY
	CONTENT
	SIDEBAR
	NAVIGATION
	FOOTER
	SECTION-SPECIFIC
*/


/* =GENERIC
----------------------------------------------------*/

body, html { /* ie6.css */
	margin: 0;
	padding: 0;
	min-width: 990px;
	height: 100%; /* footer-stick-alt - http://www.themaninblue.com/writing/perspective/2005/08/29/ */
}

body {
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size: 76%;
	background-color: #d7e5f2;
	background-image: url(/images/bk-main.jpg);
	background-position: 0 23px;
	background-repeat: no-repeat;
	color: #004c94;
}

h1, h2, h3, h4 {
	font-weight: normal;
}

a:link, a:visited {
	color: #4C9603;
	text-decoration: underline;
}

a:focus, a:hover, a:active {
	text-decoration: none;
	overflow: hidden;
}

.right {
	float: right;
	margin: 0 0 1.5em 1.5em;
}

.left {
	float: left;
	margin: 0 1.5em 1.5em 0;
}

.plain {
	float: none;
	border: none !important;
	padding: 0 !important;
}

.clear {
	clear: both;
}



/* =TOP
----------------------------------------------------*/

#top {
	background-color: #a0bbcf;
	height: 21px;
	border-bottom: 2px solid #d7e5f2;
}


/* =WRAPPER
----------------------------------------------------*/

#wrapper {
	background-image: url(/images/bk-left-repeating.jpg);
	background-position: top left;
	background-repeat: repeat-y;
	position: relative;
	width: 100%;
	min-height: 100%; /* footer-stick-alt */
	
}

/* =WRAPPER-2
----------------------------------------------------*/


#wrapper-2 { /* ie6.css */
	width: 990px;
	padding: 1px 0; /* fixes Firefox problem with margins */
}



/* =BRAND
----------------------------------------------------*/

#brand {
	width: 990px;
	height: 349px;
	background-image: url(/images/bk-main.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	padding: 1px 0; /* fixes Firefox problem with margins */
}

#brand a { /* ie6.css */
	display: block;
	width: 285px;
	height: 100px;
	position: absolute;
	top: 40px;
	left: 215px;
	text-indent: -9999px;
}

#brand #tagline {
	text-indent: -9999px;
}

#brand #print-logo {
	display: none;
}



/* =ACCESSIBILITY
----------------------------------------------------*/

#accessibility {
	position: absolute;
	top: 0px;
	left: 700px;
}	


#accessibility #skip-links a:link, #accessibility #skip-links a:visited, #accessibility #skip-links a:hover {
	position: absolute;
	width: 1px;
	height: 1px;
	left: 0;
	top: -500px;
	display: block;
}

#accessibility #skip-links a:focus, #accessibility #skip-links a:active {
	position: static;
	width: auto;
	height: auto;
	color: #000;
	background-color: #fff;
	font-weight: bold;
	padding: .2em;
	font-size: 1.2em;
	border: solid 1px #f00;
}

/* =INSIDE
----------------------------------------------------*/

#inside {
	padding-bottom: 60px; /* footer-stick-alt */
}


/* =CONTENT
----------------------------------------------------*/

#content-wrapper {
	float: left;
	width: 100%;
}

#content {
	margin: 0 230px 0 167px;
	padding: 50px 5em 0 4em;
	position: relative;
}


#content h1, #content h2, #content h3, #content h4 {
	margin: 1.5em 0 0 0;
	padding: 0;
	font-size: 1.4em;
	font-weight: bold;
}

#content h3 {
	font-size: 1.2em;
}


#content h4 {
	font-size: 1em;
}

#content h1#headline { /* background image set in header of each page */
	margin: 0;
	font-weight: bold;
	background-image: url(/images/headline-about-us.png);
	background-repeat: no-repeat;
	height: 136px;
	width: 239px;
	text-indent: -9999px;
	position: absolute;
	top: -57px;
	left: -7px;
}

#content a.skip:link, #content a.skip:visited, #content a.skip:hover {
	position: absolute;
	width: 1px;
	height: 1px;
	left: 0;
	top: -9999px;
}

#content a.skip:focus, #content a.skip:active {
	position: static;
	width: auto;
	height: auto;
	color: #282828;
	background-color: #fff;
	font-weight: bold;
	padding: .2em;
	font-size: 1.2em;
	border: solid 1px #f00;
}


#content p {
	line-height: 1.8;
	margin: 0 0 1em 0;
}

#content p.quotation {
	border-top: solid 1px #a8b6c4;
	padding-top: 1.5em;
	margin: 1.5em 0 0 0;
}

#content p.quotation img {
	border: solid 1px 
}

#content li {
	margin-top: 0;
	margin-bottom: .5em;
	line-height: 1.3;
}

#content ol ol {
	list-style-type: lower-alpha;
}

#content table {
	border-collapse: collapse;
	border-style: solid;
	border-color: #a8b6c4;
	border-spacing: 0;
	border-width: 1px;
	margin: .5em 0;
}

#content table td, #content table th {
	padding: .5em;
	line-height: 1.2;
	border-collapse: collapse;
	border-color: #a8b6c4;
	border-spacing: 0;
	border-width: 1px;
	border-style: solid;
	vertical-align: top;
}


#content table th, #content table td.header {
	background-color: #a8b6c4;
}

#content table th, #content table td h2, #content table td h3, #content table td h4 {
	margin: 0;
	text-transform: uppercase;
	text-align: left;
}

#content table p {
	margin: 0;
	line-height: 1.2;
}

/* plain tables -- no styling */

#content table.plain {
	border-collapse: collapse;
	border-style: solid;
	border-color: #fff;
	border-spacing: 0;
	border-width: 0;
	margin: .5em 0;
}

#content table.plain td, #content table.plain th {
	line-height: 1.2;
	border-collapse: collapse;
	border-color: #fff;
	border-spacing: 0;
	border-width: 0;
	border-style: solid;
}


#content table.plain tr:hover td, #content table.plain tr:hover th {
/* usability enhancement -- not supported in ie6 */
	background-color: transparent;
}

#content table.plain th {
	background-color: transparent;
}

#content table th, #content table td h2, #content table td h3, #content table td h4 {
	margin: 0;
	text-transform: uppercase;
	text-align: left;
}

#content table p {
	margin: 0;
	line-height: 1.2;
}

/* Forms */

#content fieldset {
	margin: 0 0 2em 0;
	padding: 0;
	border: none;
}

#content label {
	font-weight: bold;
}

#content label .note {
	font-weight: normal;
	font-size: .9em;
}

#content input.text, #content textarea, #content select {
	border: solid 1px #a8b6c4;
	/*padding: 2px;*/
	text-align: left;
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size: 1em;
}

#content .submit { /* ie6.css */
	font-family: Arial, Verdana, Helvetica, sans-serif;
	color: #fff;
	background-color: #5c8910;
	border: solid 1px #fff;
	padding: .2em .4em;
	cursor: pointer;
}

#content .required {
	display: none;
}

#content .error {
	color: #f00;
	font-weight: bold;
}

#content .error .text {
	border-color: #f00;
}

#content .error .required {
	display: inline;
}

/* =SIDEBAR
----------------------------------------------------*/

#sidebar {
	width: 230px;
	float: left;
	margin-left: -230px;
	margin-bottom: 2em;
}

#sidebar h1, #sidebar h2, #sidebar h3, #sidebar h4 {
	margin: 0;
	padding: 0;
	font-size: 1.4em;
}



/* =TESTIMONIALS
----------------------------------------------------*/

#testimonials {
	margin: 0 0 0 2px;
	width: 176px;
	background-image: url(/images/bk-testimonials.png);
	background-position: top left;
	background-repeat: repeat-y;
}

#testimonials h2 {
	width: 172px;
	height: 44px;
	margin-left: 2px;
	background-image: url(/images/text-testimonials.png);
	background-position: top left;
	background-repeat: repeat-x;
	text-indent: -9999px;
}

#testimonials ul, #testimonials li {
	margin: 0;
	padding: 0;
	list-style: none;
}

#testimonials .testimonial {
	width: 160px;
	margin: 0 3px;
	padding: 5px;
	background-image: url(/images/dotted-line-horizontal.png);
	background-position: bottom left;
	background-repeat: repeat-x;
	line-height: 1.5;
}

#testimonials .testimonial p {
	margin: 0 1em;
	padding-bottom: 1em;
}

/* =NAVIGATION
----------------------------------------------------*/

#navigation {
	width: 165px;
	float: left;
	margin: -200px 0 0 -990px;
}

#navigation h3 {
	position: absolute;
	top: -9999px;
}

#navigation ul {
	list-style: none;
	margin: 0;
	padding: 2px 0 0 0;
	background-image: url(/images/dotted-line-horizontal-green.png);
	background-position: top left;
	background-repeat: repeat-x;
}

#navigation li { /* ie6.css  */
	list-style: none;
	margin: 0;
	padding-bottom: 2px;
	background-image: url(/images/dotted-line-horizontal-green.png);
	background-position: bottom left;
	background-repeat: repeat-x;
	line-height: 1;
}

#navigation ul li a {
	display: block;
	height: 33px;
	background-image: url(/images/navigation.png);
	background-repeat: no-repeat;
	text-indent: -9999px;
}

/* Home */

#navigation ul li#home-nav a {
	background-position: 0 0;
}

#navigation ul li#home-nav a:focus, #navigation ul li#home-nav a:hover, #navigation ul li#home-nav a:active, #navigation ul li#home-nav.selected a {
	background-position: -165px 0;
}

/* About */

#navigation ul li#about-nav a {
	background-position: 0 -33px;
}

#navigation ul li#about-nav a:focus, #navigation ul li#about-nav a:hover, #navigation ul li#about-nav a:active, #navigation ul li#about-nav.selected a {
	background-position: -165px -33px;
}

/* Works */

#navigation ul li#works-nav a {
	background-position: 0 -66px;
}

#navigation ul li#works-nav a:focus, #navigation ul li#works-nav a:hover, #navigation ul li#works-nav a:active, #navigation ul li#works-nav.selected a {
	background-position: -165px -66px;
}

/* Donate */

#navigation ul li#donate-nav {
	background-image: none;
	margin-top: 10px;
}


#navigation ul li#donate-nav a {
	height: 51px;
	background-position: 0 -266px;
}

#navigation ul li#donate-nav a:focus, #navigation ul li#donate-nav a:hover, #navigation ul li#donate-nav a:active, #navigation ul li#donate-nav.selected a {
	background-position: -165px -266px;
}

/* Volunteering */

#navigation ul li#volunteering-nav a {
	background-position: 0 -132px;
}

#navigation ul li#volunteering-nav a:focus, #navigation ul li#volunteering-nav a:hover, #navigation ul li#volunteering-nav a:active, #navigation ul li#volunteering-nav.selected a {
	background-position: -165px -132px;
}

/* Counsellors */

#navigation ul li#counsellors-nav a {
	background-position: 0 -165px;
}

#navigation ul li#counsellors-nav a:focus, #navigation ul li#counsellors-nav a:hover, #navigation ul li#counsellors-nav a:active, #navigation ul li#counsellors-nav.selected a {
	background-position: -165px -165px;
}

/* Contact */

#navigation ul li#contact-nav a {
	background-position: 0 -198px;
}

#navigation ul li#contact-nav a:focus, #navigation ul li#contact-nav a:hover, #navigation ul li#contact-nav a:active, #navigation ul li#contact-nav.selected a {
	background-position: -165px -198px;
}

/* Resources */

#navigation ul li#resources-nav a {
	background-position: 0 -231px;
}

#navigation ul li#resources-nav a:focus, #navigation ul li#resources-nav a:hover, #navigation ul li#resources-nav a:active, #navigation ul li#resources-nav.selected a {
	background-position: -165px -231px;
}

/* second level */

#navigation ul li ul {
	list-style: disc inside;
	background-image: none;
	background-color: #98cb5c;
	padding: 6px 18px 1px 24px;
}

#navigation ul li ul li { /* ie6.css */
	list-style: disc inside;
	background-image: none;
	color: #466219;
	text-align: right;
	margin-bottom: 5px;
	line-height: 1.2;
}

#navigation ul li ul li.selected {
	color: #fff;
}

#navigation ul li ul li a {
	display: inline;
	background-image: none;
	color: #466219;
	text-decoration: none;
	text-indent: 0;
}

#navigation ul li ul li a:focus, #navigation ul li ul li a:hover, #navigation ul li ul li a:active {
	text-decoration: underline;
}

#navigation ul li ul li.selected a {
	color: #fff;
}

/* =FOOTER
----------------------------------------------------*/

#footer {
	background-color: #a0bbcf;
	border-top: 2px solid #d7e5f2;
	height: 30px;
	padding: 15px 0 5px 0;
	text-align: center;
	color: #fff;
	width: 100%;
	position: relative; /* footer-stick-alt */
	margin-top: -52px;
}

#footer p {
	margin: 0;
	padding: 0;
}

#footer a {
	color: #fff;
	text-transform: uppercase;
}


/* =SECTION-SPECIFIC
----------------------------------------------------*/

/* =Home */

.page-home {
	background-image: url(/images/bk-home.jpg);
}

.page-home #brand {
	width: 990px;
	height: 787px;
	background-image: url(/images/bk-home.jpg);
	background-repeat: no-repeat;
	background-position: left top;
/*border: solid 1px red;*/
}

.page-home #inside {
}

.page-home #content {
	float: none;
	position: absolute;
	top: 310px;
	left: 0;
	margin: 0 0 0 230px;
	padding: 0;
	width: 300px;
	font-size: 12px;
}

.page-home #donate-now a {
	display: block;
	width: 150px;
	height: 50px;
	position: absolute;
	left: 695px;
	top: 555px;
	text-indent: -9999px;
}

.page-home #content h1#headline {
	height: auto;
	width: auto;
	background-image: none;
	text-indent: -9999px;
	top: 0;
	left: 0;
}

.page-home #navigation {
	float: none;
	margin: 0;
	position: absolute;
	top: 175px;
	left: 0;
}


.page-home #sidebar {
	width: 758px;
	float: none;
	margin: 10px 0 2em 220px;
	background-image: url(/images/dotted-line-horizontal.png);
	background-position: bottom left;
	background-repeat: repeat-x;
}

.page-home #testimonials {
	margin: 0;
	width: 758px;
	background-image: url(/images/bk-testimonials-home.png);
	background-position: top left;
	background-repeat: repeat-y;
}

.page-home #testimonials h2 {
	width: 758px;
	height: 48px;
	margin-left: 0;
	background-image: url(/images/text-testimonials-home.png);
	background-position: top left;
	background-repeat: repeat-x;
	text-indent: -9999px;
}

.page-home #testimonials .testimonial {
	float: left;
	width: 346px;
	margin: 0 3px;
	padding: 15px 10px 5px 15px;
	background-image: none;
}

.page-home #testimonials .testimonial img {
	display: block;
	float: left;
	margin: 0 .5em 0 0;
}

/* =Donate */

.section-donate .submit {
	margin: .5em 0;
}

.section-donate #content #donate-link {
	display: block;
	width: 143px;
	height: 41px;
/*	float: right;
	margin: 0 0 1em 1em;*/
	background-image: url(/images/button-donate.png);
	background-repeat: no-repeat;
	text-indent: -9999px;
}

.section-donate #content .donate-form {
	width: 80%;
	margin-bottom: 1em;
}

.section-donate #content .donate-form div {
	clear: both;
	padding-bottom: 1em;
}

.section-donate #content .donate-form label {
	display: block;
}

.section-donate #content .donate-form .text {
	width: 100%;
}

.section-donate #content .donate-form select {
	width: 100%;
	margin-bottom: 1em;
}

.section-donate #content .donate-form #identify {
	font-weight: bold;
}

.section-donate #content .donate-form #identify label {
	display: inline;
	font-weight: normal;
	margin-right: .5em;
}


.section-donate #content .donate-form textarea {
	width: 100%;
	height: 10em;
}

.section-donate #content .donate-form .submit {
	float: right;
}




/* =Counsellors */

.section-counsellors #log-out {
	position: absolute;
	top: 40px;
	left: 841px;
}

.section-counsellors #log-out a {
	display: block;
	width: 63px;
	height: 23px;
	background-image: url(/images/button-log-out.png);
	background-repeat: no-repeat;
	text-indent: -9999px;
}

.section-counsellors #content .login {
	width: 15em;
}

.section-counsellors #content .login div {
	clear: both;
	padding-bottom: 1em;
}

.section-counsellors #content .login label {
	display: block;
}

.section-counsellors #content .login .text {
	width: 100%;
}

.section-counsellors #content .login .submit {
	float: right;
}

/* Funding Form */

.section-counsellors #content .funding-form {
	width: 100%;
}


.section-counsellors #content .funding-form div {
	clear: both;
	padding-bottom: 1em;
}

.section-counsellors #content .funding-form label {
	display: block;
}

.section-counsellors #content .funding-form .text {
	width: 30em;
}

.section-counsellors #content .funding-form td .text {
	width: 12em;
}

.section-counsellors #content .funding-form td .number {
	width: 5em;
	text-align: right;
}


.section-counsellors #content .funding-form .submit {
	float: right;
}


.section-counsellors #content .funding-form .additional .text {
	width: 10em;
}

.section-counsellors #content .funding-form .additional #gender-div, .section-counsellors #content .funding-form .additional #dob-div, .section-counsellors #content .funding-form .additional #marital-div, .section-counsellors #content .funding-form .additional #children-div {
	width: 15em;
	float: left;
	clear: none;
}

.section-counsellors #content .funding-form .additional #gender-div, .section-counsellors #content .funding-form .additional #marital-div  {
	margin-right: 8em;
}

.section-counsellors #content .funding-form textarea {
	width: 30em;
	height: 10em;
}

.section-counsellors #content .funding-form .attest {
	font-weight: bold;
}

.section-counsellors #content .funding-form .attest label {
	display: inline;
	font-weight: normal;
	margin-right: .5em;
}

/* =Contact Us */

.section-contact #content .contact-form {
	width: 25em;
	margin-bottom: 1em;
}

.section-contact #content .contact-form div {
	clear: both;
	padding-bottom: 1em;
}

.section-contact #content .contact-form label {
	display: block;
}

.section-contact #content .contact-form .text {
	width: 100%;
}

.section-contact #content .contact-form select {
	width: 100%;
	margin-bottom: 1em;
}

.section-contact #content .contact-form textarea {
	width: 100%;
	height: 10em;
}

.section-contact #content .contact-form .submit {
	float: right;
}

