/* CSS Document */

/*   
Theme Name: BCCEAS
Theme URI: http://sweetsolas.com/
Description: Accessible and compliant Wordpress theme for BCCEAS.
Author: Mosa
Author URI: http://sweetsolas.com/
Version: 1.0
Tags: Comma-separated tags that describe your theme
.
This theme is copyrighted to the British Columbia Centre for Elder Advocacy Support, 2009.
.
*/

INPUT, SELECT, TH, TD, HTML {font-size:1em}

body {
	margin: 0;
	padding: 0;
	background-color: #a0b1b1;
	font-family: "Trebuchet MS",Tahoma,Verdana,Arial,Helvetica,sans-serif;
	font-size: 14px;
}

/* slightly enhanced, universal clearfix hack */
.clearfix:after {
     visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;
     }
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */

p {
	font-size: 1em;
	line-height: 160%;
	padding: 0 0 .8em 0;
	margin: 0;
}

a,
a:active,
a:link {
	color: #355440;
	text-decoration: none;
	cursor: pointer;
}

a:hover {
	text-decoration: none;
	color: #339900;
}

h1 {
	font-size:2.4em;
	color: #9c8565;
	font-weight: normal;
}

h2 {
	font-weight: normal;
	font-size: 1.8em;
	color: #355440;
}

h3 {
	font-size: 1.5em;
	font-weight: normal;
	color: #355440;
}

h4 {
	font-size: 1.2em;
	font-weight: normal;
	color: #7d7d7d;
	margin: 0;
	padding: 0;
}

h5 {
	font-size: 1.1em;

}

h6 {
	font-size: 1em;
}

strong {
	color: #355440;
}

small {
	color: #7d7d7d;
}

ul {
	margin: .2em 0;
}

img a {
	border: none;
}

textarea {
	max-width: 350px;
}

.moreinfo {
	text-align:right;
}

/* page layout */

#page-wrapper {
	width: 100%;
	padding: 2em 0 1em 0;
	position: relative;
	font-size: 1em;
}

#page {
	width: 780px;
	margin: auto;
	position: relative;
}

#page .rounded-top {
	width: 780px;
	height: 20px;
	background-image: url(images/page_top_rounded.png);
	background-repeat: no-repeat;
}

#page .rounded-bottom {
	width: 780px;
	height: 20px;
	background-image: url(images/page_btm_rounded.png);
	background-repeat: no-repeat;
}

#page-navigation {
	width: 740px;
	height: 80px;
	padding: 0 10px 0 30px;
	background-color: #FFF;
}

#page-navigation ul {
	list-style-type: none;
	padding:0;
	margin:0;
}

#page-navigation ul li {
	display:inline;
	width: 19%;
	float: left;
	background-image: url(images/primary_nav_bullet.png);
	background-repeat:no-repeat;
	background-position: 0 .3em; 
	padding-left: 1.8em;
	padding-right: .9em;
}

#page-navigation .link {
	padding:0;
	margin:0;
	font-family:"Times New Roman", Times, serif;
	font-size: 1.8em;
	color: #355440;
	float: left;
	clear: both;
}

#page-navigation .link:hover {
	text-decoration: underline;
}


#page-navigation .description {
	padding: 0;
	line-height: 120%;
	font-size: 1em;
	margin: 0;
	float: left;	
}

#page-navigation .description a,
#page-navigation .description a:active,
#page-navigation .description a:link {	/* Fixes a problem with IE */
	text-decoration: none;
}

#page-navigation ul li:hover{
	background-image: url(images/primary_nav_bullet_over.png);
	background-repeat:no-repeat;
}

#page-navigation a,
#page-navigation a:active,
#page-navigation a:link {
	color: #355440;
}

#page-navigation a:hover {
	color: #999999;
}

#header {
	width: 780px;
	background-color: #FFF;
}

#header .logo {
	background-image: url(images/bcceas_logo.png);
	background-repeat: no-repeat;
	background-position: 0 .8em; 
	height: 190px;
	margin: auto;
	width: 705px;
	border-top: 1px solid #cebca6;
	border-bottom: 1px solid #cebca6;
	padding: 10px 0 10px 0;
}

#header .logo a { 	/* This style sets width, height and display to make the header logo link to the homepage */
	height: 190px;
	margin: auto;
	width: 705px;
	display: block;
}

#header h1 {			/* This style included the h1 content, used to identity titles in screen readers, to not be visible to visitors using regular browsers */
   font-size: 0;
   text-indent: -1000px;
}

#slogan p {
	padding: .2em 0 0 0;
	color: #355440;
	text-align: center;
	font-size: 1.55em;
	font-family:"Times New Roman", Times, serif;
}

#preface {
	padding-top: 1em;
	width: 780px;
	background-color: #FFF;
	clear: both;
}

#preface .rounded-top {
	margin:auto;
	width: 724px;
	height: 18px;
	background-image: url(images/preface_top_rounded.png);
	background-repeat: no-repeat;
}

#preface .inner {
	margin:auto;
	width: 724px;
	background-color: #f1f3f2;
	position: relative;
}

#preface .inner-left {
	width: 45%;
	float: left;
	margin: 0 10px 0 20px;
}

#preface .inner-right {
	width: 45%;
	float: right;
	margin: 0 20px 0 10px;
}

#preface .rounded-btm {
	margin:auto;
	width: 724px;
	height: 18px;
	background-image: url(images/preface_btm_rounded.png);
	background-repeat: no-repeat;
}

#preface a {
	text-decoration: underline;
}

#preface p {
	padding:0;
}

#preface h3 {
	color: #355440;
	padding:0 0 .3em 0;
	margin:0;
}

#preface h5 {
	padding:0;
	margin: .3em 0 .3em 0;
	color: #355440;
}

#preface a,
#preface a:active,
#preface a:link {
	color: #355440;
}

#preface a:hover {
	color: #999999;
}

#main {
	margin:auto;
	width: 780px;
	background-color: #FFF;
	position: relative;
	padding-bottom: 1em;
}

#main .sidebar {
	width: 300px;
	float: left;
	margin: 20px 0 0 35px;
	border-right: 1px solid #cebca6;
}

#main .sidebar ul {
	list-style-type: none;
	padding:0;
	margin:0;
}

#main .sidebar ul li.legal {
	float: left;
	background-repeat:no-repeat;
	background-image: url(images/nav_legal.png);
	background-position: .3em 1em; 
	padding: .5em .2em .5em 60px;
	border-top: 1px solid #FFF;
	border-bottom: 1px solid #FFF;
}

#main .sidebar ul li.legal:hover {
	background-color: #F1F3F2;
	border-top: 1px solid #355440;
	border-bottom: 1px solid #355440;
}

#main .sidebar ul li.community {
	float: left;
	background-image: url(images/nav_community.png);
	background-repeat:no-repeat;
	background-position: .3em 1em; 
	padding: .5em .2em .5em 60px;
	border-top: 1px solid #FFF;
	border-bottom: 1px solid #FFF;
}

#main .sidebar ul li.community:hover {
	background-color: #F1F3F2;
	border-top: 1px solid #355440;
	border-bottom: 1px solid #355440;
}

#main .sidebar ul li.resources {
	float: left;
	background-image: url(images/nav_resources.png);
	background-repeat:no-repeat;
	background-position: .3em 1em; 
	padding: .5em .2em .5em 60px;
	border-top: 1px solid #FFF;
	border-bottom: 1px solid #FFF;
}

#main .sidebar ul li.resources:hover {
	background-color: #F1F3F2;
	border-top: 1px solid #355440;
	border-bottom: 1px solid #355440;
}

#main .sidebar ul li.faq {
	float: left;
	background-image: url(images/nav_faq.png);
	background-repeat:no-repeat;
	background-position: .3em 1em; 
	padding: .5em .2em .5em 60px;
	border-top: 1px solid #FFF;
	border-bottom: 1px solid #FFF;
}

#main .sidebar ul li.faq:hover {
	background-color: #F1F3F2;
	border-top: 1px solid #355440;
	border-bottom: 1px solid #355440;
}

#main .sidebar ul li {
	float: left;
	padding-left: 2em;
	width: 225px;
}

#main .sidebar ul li .link {
	padding:0;
	margin:0;
	font-family:"Times New Roman", Times, serif;
	font-size: 1.6em;
	color: #355440;
	float: left;
	clear: both;
	width: 100%;
}

#main .sidebar ul li .link a:hover {
	color: #355440;
}

#main .sidebar ul li .description {
	font-size: 1em;
	color: #355440;
	margin: 0;
	clear: both;
}

#main .sidebar ul li .description a:hover {
	color: #355440;
}

#main .sidebar ul li ul {
	list-style-position:inside;
	list-style-type: none;
}

#main .sidebar ul li ul li {
	background: none;
	clear: both;
	padding: 1em 0 0 0;
	border: none;
	width: 100%;
}

#main .sidebar ul li ul li:hover{
	background: none;
}

#main .sidebar ul li ul li ul li {
	padding: 0 0 0 .5em;
}

#main .sidebar a,
#main .sidebar a:active,
#main .sidebar a:link {
	text-decoration: none;
	color: #355440;
}

#main .sidebar a:hover {
	color: #999999;
}

#main .sidebar h3 {
	margin: 0;
	color: #355440;
}

#main .sidebar li:hover h3 {
	text-decoration: none;
}


#main .sidebar img {
	float: left;
	border: 1px solid #cebca6;
	margin-right: .4em;
	margin-top: .2em;
}

#main .content {
	width: 410px;
	float: right;
	margin: 20px 25px 0 0;
}

#main .content a {
	text-decoration: underline;
}

#main .content h1 {
	margin: 0 0 .3em 0;
	padding-top: 0;
	font-family:"Times New Roman", Times, serif;
	clear: both;	
}

#main .content h2 {
	margin: 0 0 .3em 0;
	padding-top: 0;
}

#main .content h2 a,
#main .content h2 a:link,
#main .content h2 a:active {
	text-decoration: none;
}

#main .content h4 {
	margin: 0 0 .3em 0;
	padding-top: 0;
}

#main .content ul {
	list-style-type: disc;
	list-style-position: outside;
	margin-left: 1.5em;
	padding-left: 0;
}

#main .content li {
	margin: 0 0 1em 0;
	line-height:160%;
}

#main .content .fontsize {
	text-align: right;
	background-color: #F1F3F2;
	padding: .2em .5em .2em 0;
}

#main .content .breadcrumb {
	padding: 1em 0 .5em 0;
}

#main .content .post-teaser-block {
	text-align: left;
	background-color: #F1F3F2;
	padding: .2em .5em .2em .5em;
	font-size: 1.1em;
	font-weight: bold;
}

#footer {
	width: 780px;
	padding-top: 1em;
	clear: both;
}

#footer .rounded-top {
	margin:auto;
	width: 724px;
	height: 18px;
	background-image: url(images/preface_top_rounded.png);
	background-repeat: no-repeat;
}

#footer .inner {
	margin:auto;
	width: 724px;
	background-color: #f1f3f2;
	position: relative;
}

#footer .inner-left {
	width: 45%;
	float: left;
	margin: 0 10px 0 20px;
}

#footer .inner-right {
	width: 45%;
	float: right;
	margin: 0 20px 0 10px;
}

#footer .rounded-btm {
	margin:auto;
	width: 724px;
	height: 18px;
	background-image: url(images/preface_btm_rounded.png);
	background-repeat: no-repeat;
}

#footer p {
	padding:0;
}

#footer h3 {
	color: #355440;
	padding:0 0 .3em 0;
	margin:0;
	font-family:"Times New Roman", Times, serif;
	font-size: 1.7em;
}

#footer h5 {
	padding:0;
	margin: .3em 0 0 0;
	color: #355440;
}

#footer a,
#footer a:active,
#footer a:link {
	color: #355440;
}

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

#colophon {
	color: #f1f3f2;
	font-size: .9em;
	text-align: right;
	padding: 1em;
}

#colophon a,
#colophon a:link,
#colophon a:active {
	color: #f1f3f2;
	text-decoration: none;
}

#colophon a:hover {
	color: #f1f3f2;
	text-decoration: underline;
}
/* BEGIN CUSTOM WORDPRESS & WIDGET SPECIFIC STYLES */

#preface #searchform {
	padding: 0;
	margin: 0 0 1em 0;
}

#main .sidebar .widget-container {
	padding: 1em .5em 1.5em 1em;
}

#main .sidebar ul li.pagenav {
	padding: 1em;
	margin-bottom: 1em;
	background-color: #f9f4ec;
	width: 80%;
}

#main .sidebar ul li.pagenav ul {
	list-style-type: disc;
	list-style-position: outside;
	margin-left: 1.5em;
}

#main .sidebar ul li.pagenav h3 {
	border-bottom: 1px solid #355440;
}

#main .sidebar ul li.pagenav .page_item {
	font-weight: bold;
}

#main .sidebar li.categories {
	padding: 1em;
	margin-bottom: 1em;
	background-color: #f9f4ec;
	width: 80%;
}

#main .sidebar li.categories .cat-item {
	font-weight: bold;
}

#main .sidebar li.categories ul {
	list-style-type: disc;
	list-style-position: outside;
	margin-left: 1.5em;
}

#main .sidebar li.categories h3 {
	border-bottom: 1px solid #355440;
}

#main .sidebar li.searchform {
	float: left;
	padding-left: 2em;
	margin-bottom: 2em;
}

#main .content .post {
	padding-bottom: 2em;
}

#main .content h3 {
	padding: .5em 0 .5em 0;
	margin: 0;
}

#main .content h3 a {
	text-decoration: none;
}

#main .content #searchform {
	padding: .5em;
	margin: 0;
	text-align: right;
	background-color: #F1F3F2;
}

/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}
	
.screen-reader-text {
     position: absolute;
     left: -1000em;
}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	text-align: center;
	margin-top: 0;
	margin-bottom: 20px;
	}
	
.formBuilderField {
	padding: 1em 0 1em 0;
}

.formBuilderLabelRequired {
	padding-bottom: .5em;
}

.formBuilderLabel {
	padding-bottom: .5em;
}

.formBuilderFailure {
	background-color: #FFCCCC;
	padding: .5em;
}

.formBuilderFailure h4{
	color: #B22222;
}

.formBuilderSuccess {
	line-height: 160%;
	background-color: #DFFFA5;
	padding: .5em;
}

/* End Various Tags & Classes*/



/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
	font-weight: bold;
}
/* End captions */

/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

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;
	}
/* End Images */