/* 
Title:		Comox Valley Boys & Girls Club styles and ie/win fixes
Author: 	hello@ecoist.ca
*/

* {
	padding: 0;
    margin: 0;
	list-style: none;
}
body {
	font-family: "Lucida Grande", Verdana, sans-serif;
	color: #333;
	background: #e8eff7 url(images/water.jpg) no-repeat left bottom fixed;
	font-size: 62.5%;
	margin: 40px 0;
}
a {
	text-decoration: none;
	outline: none;
}
a:hover {
	text-decoration: none;
}
#wrapper {
	margin: 0 auto;
	padding-bottom: 40px;
	width: 790px;
	font-size:1.3em;
}
#header-wrapper, #footer-wrapper, #content-wrapper {
	float: left;
	width: 100%;
	clear: both;
	position: relative;
}
#footer, #content-sidebar {
	width: 740px;
	margin: 0 auto;
	text-align: left;
}
#header-wrapper {
	background: url(images/header.gif) no-repeat 0 56%;
	height: 145px;
}
hr, legend {
	display: none;
}
#top-menu {
	margin: 120px 15px 0 0;
	font-size: 95%;
	float: right;
}
#top-menu ul li {
	float: left;
}
#top-menu ul li a {
	float: left;
	padding: 6px 12px;
	display:block;
	color: #fff;
	border-right: 1px solid #062f58;
	background:url(images/top-menu-bg.gif) repeat-x top left;
}
#top-menu ul li a:hover {
	color: #fff;
	background: #073564;
}
#top-menu ul li.current_page_item a {
	color: #333;
	font-weight: bold;
	border-right: 1px solid #062f58;
	background: url(images/top-menu-bg-active.gif) repeat-x top left;
}
#top-menu ul li a.green {background: url(images/top-menu-bg-green.gif) repeat-x top left;}

#content-wrapper  {
	padding: 1.4em 0 1.4em 0;
	background: url(images/content-bg.gif) repeat-y top;
}
#content {
	float: right;
	width: 490px;
	margin: 0 auto;
	padding: 0 1.4em 1.4em 1.4em;
	text-align: left;
	background: #fff;
	border: 1px solid #d1dde8;
	line-height: 1.7em;
}
#content a {
	color: #1c5a8f;
	text-decoration: none;
}
#content a:hover {
	color: #ea8808;
	text-decoration: none;
}
#content h2 {
	font-size: 150%;
	font-weight: normal;
	font-family: Arial, Helvetica, sans-serif;
	color: #7e8528;
	background: url(images/h2-star.gif) no-repeat 0 2px;
	padding-left: 21px;
	margin-top: 1em;
	clear: both;
	line-height: 1.2em;
}
#content h3 {
	font-size: 120%;
	font-weight: bold;
	color: #7e8528;
	margin-top: 1em;
	clear: both;
	line-height: 1.2em;
}
#content h3#comments, #respond {
	margin-bottom: 1em;
	padding-left: 1.4em;
	background: url(images/comments.gif) no-repeat left center;
}
#respond {
	background-image: url(images/comment.gif);
}
small {
	font-size: 85%;
	line-height: 2.5em;
	color: #999;
}
#content p {
	margin: 0.8em 0 0.8em 0;
	padding: 0.2em 0 0.2em 0;
}
#content ul, ol {
	margin-bottom: 0.6em;
	margin-top: 0.6em;
	margin-left: 0.2em;
}
#content ul li {
	padding-left: 24px;
	background: url(images/li-icon.gif) no-repeat 5px 6px;
}
#content ol {
	padding-left: 1.6em;
}
#content ol li {
	list-style-type: decimal;
}
#content img, #content img a {
	background: #fff;
	border: 1px solid #d1dde8; 
	margin: 8px 10px 15px 0; 
	padding: 2px; 
	float: left;
}
#content .imgright {
	background: #fff;
	border: 1px solid #d1dde8; 
	margin: 8px 0 15px 0; 
	padding: 2px; 
	float: right;
	display:inline;
}
#content .document {
	padding-left: 22px;
	background: url(images/document-icon.gif) no-repeat 0 3px;
}
#content .pdf {
	padding-left: 22px;
	line-height:1.3em;
	background: url(images/pdf-icon.gif) no-repeat 0 0px;
}
#content .important {
	padding: 5px 5px 5px 30px;
	background: #e8eff7 url(images/important-icon.gif) no-repeat 8px 5px;
	border: 1px solid #d1dde8;
}
#content li.email {
	padding-left: 22px;
	background: url(images/email-icon.gif) no-repeat 0 2px;
}
#content .email {
	padding-left: 22px;
	background: url(images/email-icon.gif) no-repeat 0 2px;
}
#content .return {
	padding-left: 20px;
	background: url(images/return-icon.gif) no-repeat 0 6px;
}
#content .top {
	padding: 0 0 3px 20px;
	background: url(images/top-icon.gif) no-repeat 0 3px;
	border-bottom: 1px solid #d1dde8;
}

input, select, textarea {
	padding: 3px;
	border: 1px solid #e5ecf2;
	background: #fff;
}
input:hover, textarea:hover {
	background: #f8fafc;
	border: 1px solid #c5cbd0;
}
input:focus, textarea:focus {
	background: #f8fafc;
	border: 1px solid #c5cbd0;
}
input[type=submit], input[type=reset] {
	font-size: 95%;
	text-transform: uppercase;
	color: #333;
	font-weight: bold;
}
#sidebar {
	float: left;
	width: 200px;
}
#sidebar ul li {
	margin-bottom: 1.4em;
	background: #4475c4;
	border: 1px solid #d1dde8;
	padding: 0.8em;
}
#sidebar ul h2 {
	font-size: 105%;
	color: #fff;
	background: url(images/h2-sidebar.gif) no-repeat 0 0;
	padding-left: 21px;
	text-transform: uppercase;
	font-weight: bold;
	margin-bottom: 0.8em;
}
#sidebar ul li ul li {
	margin-bottom: 0;
	background: none;
	border: none;
	padding: 0;
}
#sidebar ul.children a {
	text-indent: 1em;
	background: url(images/submenu-bullet.gif) no-repeat 10px 12px;
}
#sidebar ul li ul li a {
	font-size: 95%;
	display: block;
	padding: 0.7em;
	border-bottom: 1px solid #e5ecf6;
	background: #fff;
}
#sidebar ul  li a:link, #sidebar ul  li a:visited {
	color: #4075a1;
	text-decoration: none;
}
#sidebar ul li a:hover {
	color: #4075a1;
	background: #e2eaf8 url(images/sidebar-arrow-hover.gif) no-repeat right center;
}
.recentcomments {
	font-size: 95%;
	padding: 0.7em!important;
	padding-left: 0.7em!important;
	padding-right: 0.7em!important;
	border-bottom: 1px solid #e5ecf2!important;
	background: #fff!important;
}
#footer-wrapper {
	background: url(images/footer-bg.gif) no-repeat left bottom;
	height: 51px;
}
#footer {
	color: #1a3957;	
	text-align: center;
}
#footer p {
	font-size: 90%;
	color: #fff;
	padding-top: 11px;
}
#footer a {
	color: #ea8808;
	text-decoration: none;
}
#footer a:hover {
	color: #fff;
}
div.spacer {
	clear: both;
}
.postmetadata {
	color: #999;
	clear: left;
	border-bottom: 1px solid #e5ecf2;
	padding-bottom: 1em!important;
}
.navigation {
	padding-top: 2em;
}

/* 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;
	}
.center_noborder {
	display:block;
	margin-left:auto;
	margin-right:auto;
	border:none;
	padding:0;
}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	float:right;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}
img.noborder, .noborder {border:1px solid #fff;}

.alignright {display:inline; padding:4px; margin:0 0 2px 7px; float:right;}

.alignleft {float:left}
/* End Images */

/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}
#calendar_wrap {
	border-bottom: 0px solid #e5ecf2;
	background: #fff;
}


#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	margin-top: 10px;
	color: #333;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar tr td a:hover {
	background: none;
	color: #ea8808;
}
#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background: #fff; }
/* End Calendar */

acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px solid #e5ecf2;
	}

blockquote {
	margin:20px 0 10px 0;
	padding:10px;
	background:#57ad01;
	text-align:center;
	border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; -ms-border-radius:5px;
	border-top:2px solid #777; border-right:1px solid #d1dde8; border-bottom:1px solid #d1dde8; border-left:1px solid #d1dde8;
	}
blockquote:hover,
blockquote:focus {background:#66cc00; border-top:2px solid #999;}

a.white-text {color:#fff;}

code {
	margin: 0 30px 0 10px;
	padding: 20px;
	background: #e6f3ff;
	display: block;
	color: #555;
	font-size: 1.0em;
	font-family: "Lucida Grande", Verdana, sans-serif;
	font-style:italic;
}
blockquote cite {
	margin: 5px 0 0;
	display: block;
}
.textwidget {
	border-bottom: 1px solid #e5ecf2;
	background: #fff;
	font-size: 95%;
	padding: .7em;
}

/* Comments Styling */ 
#commentform {
/*margin: 1em 0;*/
background: #fff;
width: 100%;
}
#commentform textarea {
	font-family: "Lucida Grande", Verdana, sans-serif;
	font-size: 100%;
	color: #333;	
	width: 380px;
}
#commentform #email, #commentform #author, #commentform #url, #commentform #mcspvalue, #commentform #email:hover, #commentform #author:hover, #commentform #url:hover, #commentform #mcspvalue:hover, #commentform #email:focus, #commentform #author:focus, #commentform #url:focus, #commentform #mcspvalue:focus {
	width: 260px;
	color: #333;
}
#commentform input{
	margin-bottom: 3px;
}
#commentform , .commentlist   {
	margin-top: 1em;
}
#commentform  p {
	margin: 0!important;
}
/* Begin Comments*/
.alt {
	
}
.commentlist {	
	padding: 0!important;
	margin: 0!important;
	background: #f8fbff;	
	padding-bottom: 1em!important;
}
.commentlist span {
	padding: .2em;
	padding-left: .6em;
	display: block;
	clear: both;
	background: #f0f7ff;
	border-bottom: 1px solid #e5ecf2;
}
.commentlist p {
	margin: 1em!important;
	margin: 0!important;
	/*margin-bottom: 2em!important;*/
	padding: .6em!important;
}
.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
}
.commentmetadata {
	margin: 0;
	/*display: block;*/
	}
/* End Comments */

#s {
	width: 95%;
	color: #4075a1;
}
