/*  
Theme Name: QWB
Theme URI: http://www.qwellbeing.com
Description: Wordpress theme
Version: 1.0
Author: Mats Lofgen
Author URI: http://www.lofgren.co.uk/

The CSS, XHTML and design is released under GPL:
http://www.opensource.org/licenses/gpl-license.php

This theme was initially based on the brilliant Mimbo 2.2 theme by Darren Hoyt (http://www.darrenhoyt.com/).

/* HTML Elements */

* {
	margin:0;
	padding:0;
}

body,html {
	min-height:101%;
}
	
body {
	background: #efeddf url(images/qwb_bg_body.gif) top right repeat-x;
	color: #363636;
	padding: 25px 0 25px 0;
}

body, select, input, textarea {
	font: 100% Arial, Verdana, Sans-Serif;
}
	
p {	
	margin: 15px 0 5px 0;
}

a:link, a:visited {
	color: #0c4da2;
	text-decoration:none
}

a:hover, a:active {
	color:#333;
	text-decoration:underline;
}

a {
	outline-style:none;
	outline-width:0;
}


hr {
	display: block;
	height:1px;
	background:#333;
	border:0;
}

.clear {
	clear: both;
}

small, #tags {
	display: block;
	margin: 4px 0 8px 0;
	font-size: 0.95em;
	border-top: 1px solid #e6e3d0;
	border-bottom: 1px solid #e6e3d0;
	padding:3px 6px;
}

img, a:link img, a:visited img {
	border:0
}


a:visited img.bdr, a:link img.bdr {
	border: 3px solid #fff;
}

a:hover img.bdr {
	border: 3px solid #7f34a7;
}

#nodisplay {
	display: none;
}

/* Structure */

#wrapper {
	width:960px;
	margin:0 auto;
	padding: 0;
}

#page {
	width:930px;
	margin:0 auto;
	font-size:0.7em;
	background:#FFF top right no-repeat;
	padding: 10px 25px 15px 15px;
}

#branding {
	width:300px;
	padding: 0;
	margin: 0;
}

#branding .topheader {
	background: url(images/qwb_logo.gif) top left no-repeat;
	width: 300px;
	height: 60px;
	text-indent: -9000px;
	padding: 0;
	margin: 8px 0 12px 8px;
}

#branding .topheader a {
	display: block;
	width: 300px;
	height: 100px;
}
	

.left {
	float:left;
	}

.right {
	float:right;
	}

#sidebar {
	width: 320px;
	float: right;
	}

.leftcol {
	width:303px;
	padding-right:12px;
	}

.midcol {
	width:303px;
	padding-right:12px;
	}

.leftcol, .midcol, .rightcol {
	float:left;
	width:305px;
	}	

.rightcol .feature {
	padding-left: 15px;
}

/*Subnav */

.subnav li {
	list-style:none;
	border-bottom:1px solid #FFF;
	}

.subnav li a:link, .subnav li a:visited {
	background:#eee;
	display:block;
	padding:4px 4px 4px 8px;
	border-left:4px solid #ccc;
	}
		
.subnav li a:hover, .subnav li a:active {
	background:#ccc;
	text-decoration:none;
	color: #222;
	}

.subnav li li a:link, .subnav li li a:visited {
	border-left:none
	}
		
	 
	
	
/*	Headers */

h1 {
	font:60px Arial, sans-serif;
	font-weight:bold;
	letter-spacing:-0.01em;
	margin-top: 22px;
	margin-left: 22px
	}
	
h2 {
	font: 2.5em Georgia, Arial, sans-serif;
	font-style: italic;
	padding-bottom:8px;
	margin: 15px 0 5px 0;
	color: #0C4DA2;
	}

h3, #sidebar h2 {
	font: 1.2em Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	margin-bottom: 4px;
	font-weight: bold;
	color: #0c4da2;
	}

.feature h3 {
	margin-bottom: 8px;
	}
	
#sidebar h1 {
	font: 1.6em Georgia, "Times New Roman", Times, serif;
	padding-bottom:8px;
	margin: 20px 0;
	}

#sidebar h3, #sidebar h2 {
	font-family: Arial, Helvetica, sans-serif;
	letter-spacing: 0.25em;
	border-bottom:1px solid #BBB;
	padding:6px 0 6px 2px;
	margin:25px 0 15px 0;
	font-size:1.2em;
	}
	
#sidebar li.first h3 {
	margin:10px 0 15px 0;
	}

h3#respond {
	border-top:1px dotted #b6b6b6;
	margin-top:25px;
	padding-top:20px
	}

h3#comments {
	margin-top:32px
	}

h4 {
	font-size:1.6em;
	margin-bottom:6px;
	}
	

/* Content */

#content {
	width:580px;
	float:left;
	margin: 8px 0 0 10px;
	}
	
#home #content {
	width:940px;
	float:left;
	margin: 8px 0 0 0;
	}

.header {
	width: 952px;
}

.description {
	background: #dfdcc5;
	font-size: 18px;
	font-weight: bold; 
	font-style:italic;
	color:#545454;
	text-align: right;
	padding: 8px 12px 8px 8px;
	float: right;
	-moz-border-radius:2px;
	border-radius: 2px;
	}

#searchform #s {
	font-weight: normal;
	width: 200px;
	height: 23px;
}

#searchform #searchsubmit {
	background:transparent url(images/btn_search.gif) no-repeat scroll left top;
	border:0 none;
	cursor:pointer;
	height:28px;
	margin:0;
	padding:0;
	text-indent:-1000em;
	width:78px;
}

#ea {
	font-weight: normal;
	font-size: 1.5em;
	width: 140px;
}

#newslettersubmit {
	background:transparent url(images/btn_signup.gif) no-repeat scroll left top;
	border:0 none;
	cursor:pointer;
	height:23px;
	margin:0;
	padding:0;
	text-indent:-1000em;
	width:65px;
}

#faqsubmit {
	display: block;
	background:transparent url(images/btn_askquestion.gif) no-repeat scroll left top;
	border:0 none;
	cursor:pointer;
	height:23px;
	margin:12px 0;
	padding:0;
	text-indent:-1000em;
	width:95px;
}

.feature, .casestudies {
	background: #fff url(images/bg_feature.gif) 0 0 repeat-x;
	padding: 15px;
	border: 1px solid #d1dbeb;
	}

.mainfeature {
	background: #efeddf url(images/bg_subfeature.gif) 0 0 repeat-x;
	padding: 15px;
	border: 1px solid #c5c09b;
	margin-bottom: 15px;
	}

.subfeature {
	background: #dfe4ef url(images/bg_subsubfeature.gif) 0 0 repeat-x;
	padding: 15px;
	border: 1px solid #a7b3d3;
	margin-top: 15px;
	margin-bottom: 0;
	}

.subfeature h3 {
	margin-bottom: 10px;
	color: #224;
	background: url(images/bg_h3_subfeature.gif) 1px 2px no-repeat;
	padding-left: 16px;
	letter-spacing: 0.12em;
}

.subfeatureright {
	width: 270px;
	float: right;
}

.subfeatureleft {
	width: 290px;
	float: left;
	margin-right: 16px;
}

.subfeatureleft p,  .subfeatureright p {
	font-size: 1.2em;
}

.feature p, .mainfeature p {
	margin:0;
	font-size: 1.2em;
	}

.leftcol p, .rightcol p {
	margin: 3px 0;
	}

.feature img, .mainfeature img, .rightcol img {
	padding:1px;
	border:1px solid #000;
	}
			
#leadpic {
	float:left;
	margin: 0 18px 8px 0;
	}

#lead {
	margin-top:12px;
	margin-bottom:15px;
	}

.title {
	font-size:1.2em;
	font-weight:bold;
	line-height:115%;
	}
	
.feature#lead .title_header, .mainfeature .title_header {
	font:1.6em Arial, sans-serif;
	line-height:100%;
	display:block;
	padding-bottom:7px;
	padding-top: 5px;
	}
	
.feature#lead a.title_header, .mainfeature#lead a.title_header {
	color: #333;
	}

#leftcol .feature, #leftcol .mainfeature {
	margin-bottom: 5px;
	border-bottom:none;
	}

#rightcol img {
	float:left;
	margin:3px 10px 4px 0;
	}

#leftcol img {
	margin-bottom: 4px;
	display:block
	}
	
.leftcol .clearfloat, .rightcol .clearfloat, .midcol .clearfloat{
	padding:12px 15px;
	min-height: 265px;
	}	


.leftcol p, .rightcol p, .midcol p {
	margin: 6px 0;
	line-height: 135%;
}

p.date {
	margin: 6px 0 8px 0;
	font-size: 0.95em;
}

#sidelist li {
	list-style:none
	}
	
.bullets li {
	list-style:none;
	border-bottom:1px solid #FFF;
	}
	
#sidelist .bullets li {
	list-style:square;
	margin-bottom:8px;
	line-height:115%;
	margin-left:22px;
	font-size: 1.1em;
	}

#sidelist .children {
	background:#e4efd5;
	}
	
#sidelist .children li {
	list-style: square;
	margin-left:28px;
	border-bottom:1px solid #e4efd5;
	}
	
#sidelist .children li a, #sidelist .children li a:visited {
	padding:2px 2px 2px 0px;
	border:0;
	background:#e4efd5;
	color: #818d6f;
	}

#sidelist .children li a:hover, #sidelist .children li a:active	{				
	color:#465d23
	}

.postmetadata {
	margin: 30px 0;
	}

#writer {
	background:#e6e3d0;
	margin:10px 0 15px 0;
	padding:12px;
	}

#writer img {
	padding:1px;
	border:1px solid #d0c4be;
	float:left;
	width:80px;
	}

#writer span {
	display:block;
	padding-top:4px;
	border-top:1px solid #d0c4be;
	margin-top:12px;
	}

#writer p {
	margin:0;
	width:450px;
	}	

.entry {
	padding-bottom:28px;
	}

.entry p {
	margin: 5px 0 20px 0;
	font-size: 1.2em;
	line-height: 140%;
}





/*Post Formatting*/

.picleft {
	float:left;
	margin:3px 14px 10px 0;
	border:7px solid #f2f2f2;
	}

.picright {
	float:right;
	margin:3px 0 10px 14px;
	border:7px solid #f2f2f2;
	}	

.post blockquote {
	color:#76767a;
	background:#f2f2f2;
	padding:6px 14px;
	margin:18px 35px;
	border-right:1px solid #DDD;
	border-bottom:1px solid #DDD;
	}	

.post ul, .post ol{
	margin: 12px 0 16px 12px;
	}

.post ul li {
	list-style:square;
	margin-bottom:12px;
	line-height:135%;
	margin-left:42px;
	font-size: 1.2em;
	}

.post ol li {
	margin-bottom:12px;
	line-height:135%;
	margin-left:48px;
	}

.post dl{
	margin: 12px 0 16px 20px;
	font-size: 1.2em;
	}

.post dl dt{
	margin-top: 12px;
	font-weight: bold;
	}
	
.post dl dd{
	margin: 1px 0 3px 0;
	}

#tags {
	padding:5px 3px;
	border-bottom:1px solid #DDD;
	border-top:1px solid #DDD;
	}	
				

/* Form Elements */

select {
	background:#f2f2f2;
	border:1px solid #9c9c9c;
	width:100%
	}
	

.button {
	padding: 1px;
	background:#7d5847;
	color:#e7e7e7;
	border:none;
	}

.button:hover {
	background:#4f2a18;
	color:#FFF;
	text-decoration:none
	}

#commentform input {
	font-size: 1.3em;
	padding: 2px;
	width: 170px;
	margin: 5px 5px 1px 0;
	}
	
#commentform label {
	font-size: 1.3em;
	}

#commentform textarea {
	font-size: 1.3em;
	width: 100%;
	margin-top:5px;
	}



/* Comments*/

.commentlist {
	padding-left:30px;
	}
	
.commentlist li {
	margin: 15px 0 3px;
	padding: 8px 15px 10px 15px;
	background:#f2f2f2;
	border-top: 1px solid #ddd;
	}

#commentform small {
	background:#FFF;
	font-weight:bold;
	padding:0;
	}
	
.commentmetadata {
	display: block;
	}

.commentlist small {
	background:#e9e9e9
	}

.commentlist cite {
	font: 1.6em Georgia, "Times New Roman", Times, serif;
	font-weight:bold;
	letter-spacing:-0.05em;
	}	
	

/* Float Properties*/

.clearfloat:after {
	display:block;
	visibility:hidden;
	clear:both;
	height:0;
	content:".";
	}
	
.clearfloat {
	display:inline-block
	}

.clearfloat {
	display:block
	}

.alignright {
	float: right;
	margin: 0 0 10px 10px;
	}

#myGallery {
	width: 645px;
	height: 250px;
	overflow: hidden;
}


/* Footer*/

#footer {
	text-align: left;
	margin: 0 auto;
	width: 920px;
	font-size:0.8em;
	padding-top:15px;
	color:#363636;
	}

#footer a {
	color:#0c4da2;
	}

#socicons li {
	display: inline;
	float: left;
}

#socicons a:link img, #socicons a:visited img {
	margin: 0 20px 10px 0;
	filter:alpha(opacity=50);
	-moz-opacity:.50;
	opacity:.50;
}

#socicons a:hover img {
	filter:alpha(opacity=100);
	-moz-opacity:1;
	opacity:1;
}

#socicons a:link img.last, #socicons a:visited img.last, #socicons a:hover img.last {
	margin: 0 0 10px 0;
}

#flickr {
	margin-left: 10px;
}

#flickr img {
			border: 2px solid #fff;
			margin: 3px 9px 0 0;
		}

#flickr a:hover img {
			border: 2px solid #8035a9;
		}

#constant-contact form{
	background:#f0edca;
	border:1px solid #c7c39b;
	padding: 6px;
	margin-bottom: 4px;
}

#constant-contact fieldset{
	border: none;
}

#constant-contact legend{
	display: none;
}

#constant-contact label{
	display: block;
	margin-bottom: 4px;
}

#constant-contact #ea{
	width: 170px;
	height: 16px;
	padding: 2px;
}

#constant-contact #go {
	width: 65px;
	height: 30px;
	margin: 0;
	padding: 0;
	border: 0;
	background: url(images/btn_send.gif) no-repeat left bottom;
	text-indent: -1000em;
	cursor: pointer; /* hand-shaped cursor */
}

#register {
	display: block;
	background:transparent url(images/btn_send.gif) no-repeat scroll left top;
	border:0 none;
	cursor:pointer;
	height:28px;
	margin:0;
	padding:0;
	width:65px;
	font-size: 0px;
	display:block;
	line-height: 0px;
}



    #tray ul {margin:0; list-style:none;}
    #tray li {display:inline;font-size: 1.1em;}
	#tray li a.navfirst {margin: 0 0 0 18px;}
    #tray li a {color: #fff; display:block; float:left; padding:17px 20px 18px 18px; text-decoration:none;}
    #tray li a:hover {color: #fff; background:url(images/bg_navbar_hover.gif);}
    #tray li#tray-active a {background:url(images/bg_navbar_active.gif);}

    #tray {position:relative; margin: 5px 0 0 0; width:940px; height:45px; background: url(images/bg_navbar.gif) 0 0 repeat-x; overflow:hidden; font:bold 100%/1 arial,sans-serif; color: #fff;}

.sideimg {
	margin-top: 12px;
}

ul.beige {
	padding: 0;
	margin: 0;
	list-style: none;
}

ul.beige li {
	margin: 0;
}

ul.beige li a {
	display: block;
	text-decoration: none;
	color: #321;
	padding: 8px 15px 0 0;
	margin: 0 0 -2px 0;
	font: 900 13px "Arial", Helvetica, sans-serif;
	height: 32px;
	background: url("images/bg_nav_beige_off.png") no-repeat top right;
}

ul.beige li a span {
	float: left;
	padding-right: 15px;
	display: block;
	margin-top: -8px;
	height: 32px;
	background: url("images/bg_nav_beige_off.png") no-repeat top left;
}

ul.beige li a:hover, ul.beige li a.current {
	background: url("images/bg_nav_beige_on.png") no-repeat top right;
}

ul.beige li a:hover span, ul.beige li a.current span {
	background: url("images/bg_nav_beige_on.png") no-repeat top left;
}


ul.blue {
	padding: 0;
	margin: 0;
	list-style: none;
}

ul.blue li {
	margin: 0;
}

ul.blue li a {
	display: block;
	text-decoration: none;
	color: #321;
	padding: 8px 15px 0 0;
	margin: 0 0 -2px 0;
	font: 900 13px "Arial", Helvetica, sans-serif;
	height: 32px;
	background: url("images/bg_nav_beige_off.png") no-repeat top right;
}

ul.blue li a span {
	float: left;
	padding-right: 15px;
	display: block;
	margin-top: -8px;
	height: 32px;
	background: url("images/bg_nav_beige_off.png") no-repeat top left;
}

ul.blue li a:hover, ul.blue li a.current {
	background: url("images/bg_nav_beige_on.png") no-repeat top right;
}

ul.blue li a:hover span, ul.blue li a.current span {
	background: url("images/bg_nav_beige_on.png") no-repeat top left;
}


.post h3 {
	font: 1.6em Arial, Helvetica, sans-serif;
	text-transform: none;
	letter-spacing: normal;
	margin-top: 12px;
	margin-bottom: 0;
	font-weight: normal;
	color: #0c4da2;
}

.entry a {
	text-decoration: underline;
}

.entry a:hover {
	text-decoration: none;
}

.quoteblock {
	width: 590px;
	float: right;
}

.quoteblock blockquote {
	font-size: 1.5em;
	font-style: italic;
	font-weight: bold;
}

#mycarousel li img {
	margin: 0pt 0pt 10px 15px;
	float: right;
}


.intro_btn {
	border: 0;
	margin: 2px 2px 20px 0;
}

#side_blog, #side_events, #side_news {
	margin: 8px 0 0 0;
	padding: 0;
	width: 320px;
	height: 50px;
}

#side_blog p, #side_events p, #side_news p {
	padding: 12px 0 0 100px;
	margin: 0;
	color: #fff;
	font-size: 1.7em;
	font-family: georgia;
	font-weight: normal;
	font-style: italic;
}

#side_blog p a, #side_events p a, #side_news p a {
	color: #fff;
}

#side_blog {
	background: url(/wp-content/themes/qwb/images/s_blog.jpg) top left no-repeat;
}

#side_events {
	background: url(/wp-content/themes/qwb/images/s_events.jpg) top left no-repeat;
}

#side_news {
	background: url(/wp-content/themes/qwb/images/s_news.jpg) top left no-repeat;
}

.block_blog {
	width: 300px;
	float: left;
}

.padfifteen {
	padding-left: 15px;
	padding-right: 15px;
}

.leftcol .feature img, .midcol .feature img, .rightcol .feature img {
	margin-bottom: 12px;
}

.aipp {
	float: right;
	margin: 0 10px 0 0;
	border: 0;
}

#ccform {
	background: #f0f2f7;
	border: 1px solid #c8d1e5;
	padding: 8px 8px;
	width: 220px;
	margin-top: 8px;
}

#block_faqs {
	background: #f0f2f7;
	border: 1px solid #c8d1e5;
	padding: 8px 15px;
}

#block_faqs p {
	margin-top: 2px;
}

.faqs_more {
	padding-left: 15px;
}

.mmf label {
	display: block;
	margin-bottom: 4px;
	padding-left: 6px;
	font-size: 1.2em;
}

.mmf input, .mmf textarea {
	margin-bottom: 18px;
	font-size: 1.3em;
	padding: 2px 4px;
}

.mmf fieldset {
	border: 0;
}

.mmf legend {
	font: 1.6em Arial, Helvetica, sans-serif;
	text-transform: none;
	letter-spacing: normal;
	margin: 0;
	padding: 0;
	font-weight: normal;
	color: #0c4da2;
}

.ec3_schedule {
	font: 1.6em Arial, Helvetica, sans-serif;
	text-transform: none;
	letter-spacing: normal;
	margin: 0 0 8px 0;
	padding: 0;
	font-weight: normal;
	color: #0c4da2;
}

table {
	width: 90%;
}

table caption {
	display: none;
}

table th {
	text-align: left;
}

table .tkey {
	width: 50px;
}

table td, table th {
	padding: 3px 0;
	font-size: 1.2em;
}

.homeintro {
	float: right; margin: 10px 20px 0 0; width: 330px; height: 240px;
}

div.sociable {
	margin: 10px 0 0 0;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	padding:5px 0 2px 2px;
	}

.sociable span {
	display: block;
}
.sociable ul {
	display: inline;
	margin: 0 !important;
	padding: 0 !important;
	list-style-type: none;
}
.sociable ul li {
	font-size: 0.95em;
	background: none;
	display: inline !important;
	list-style-type: none;
	margin: 0;
	padding: 1px 4px 1px 1px;
	display: inline;
	float: left;
}
.sociable ul li:before { content: ""; }
.sociable img {
	float: none;
	width: 16px;
	height: 16px;
	border: 0;
	margin: 0;
	padding: 0;
}

.sociable-hovers {
	opacity: .4;
	-moz-opacity: .4;
	filter: alpha(opacity=40);
}
.sociable-hovers:hover {
	opacity: 1;
	-moz-opacity: 1;
	filter: alpha(opacity=100);
}