/**
 * Theme Name: HVN
 * Theme URI: http://hearing-voices.org/
 * Description: A custom site for Hearing Voices Network's website based on the Hybrid Framework, designed by Rachel Waddingham.
 * Version: 1.0
 * Author: Rachel Waddingham
 * Author URI: http://madnotbad.co.uk/
 * Tags: Two column
 * Template: hybrid
 */

/* Get base CSS */

html,body,div,span,object,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td {
	margin:0;padding:0;vertical-align:baseline;outline:none;font-size:100%;background:transparent;border:none;text-decoration:none
	}
	
b,i,hr,u,center,menu,layer,s,strike,font,xmp {
	margin:0;
	padding:0;
	vertical-align:baseline;
	outline:none;
	font-size:100%;
	font-weight:normal;
	font-style:normal;
	background:transparent;
	border:none;
	text-decoration:none;
}

center{
	text-align:left}
	
body{
color:#222;
background:#fff;
}

h1,h2,h3,h4,h5,h6{
	font-style:normal;
	font-weight:normal;
	margin:0 0 21px 0;
}

h1 {font-size:1.6em} 
h2 {font-size:1.6em}
h3 {font-size:1.4em; font-weight: bold;}
h4 {font-size:1.2em; color: #639;}
h5{font-size:1.1em}
h6{font-size:1.15em}
p{margin:0 0 21px 0}
h3.cpt_item_title {font-size: 1.0em; font-weight: normal; margin-bottom: 0px;}

ol,ul{list-style:none}
ul{ list-style:disc;
	margin:0 0 21px 2.5em}
ol{ list-style-type:decimal;
	margin:0 0 21px 3em}
ol ol{list-style:upper-roman}
ol ol ol{list-style:lower-roman}
ol ol ol ol{list-style:upper-alpha}
ol ol ol ol ol{list-style:lower-alpha}
ul ul,ol ol,ul ol,ol ul{margin-bottom:0}

dl{margin:0 0 18px 3px}
dl dt{font-weight:bold;
	margin:12px 0 0 0}
dl dd{margin:6px 0 0 1.5em}

strong{font-weight:bold}
strong strong{font-weight:normal}
em,cite{font-style:italic}
em em,cite cite{font-style:normal}
abbr{cursor:help}
acronym{text-transform:uppercase;border-bottom:1px dashed #666;cursor:help}
big{font-size:120%}
small,sup,sub{font-size:80%}
sup{vertical-align:baseline;position:relative;bottom:0.3em}
sub{vertical-align:baseline;position:relative;top:0.3em}
address{font-style:italic;margin:0 0 21px 0}
li address,dd address{margin:0}
blockquote{margin:0 2em;font-style:normal}
blockquote em,blockquote cite{font-style:italic}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}
a{cursor:pointer}
a img{border:none}
pre{overflow:auto;font:.9em Monaco,monospace,Courier,"Courier New";line-height:1.1em;margin-bottom:21px;padding:9px}
code{font:.9em Monaco,monospace,Courier,"Courier New"}
pre code{font-size:1em}
ins,dfn{font-style:italic;text-decoration:none;border-bottom:1px solid #666}
del{text-decoration:line-through}object{margin-bottom:21px}
input,textarea{font-size:1em;padding:3px}
:focus{outline:none}
form label{cursor:pointer}
option{padding:1px 3px}
table{border-collapse:collapse;border-spacing:0;margin-bottom:21px}
th,td{text-align:left}
hr{margin-bottom:21px}
img.wp-smiley{max-height:12px;margin:0;padding:0;border:none}
.gallery{display:block;text-align:center;margin-bottom:21px !important}
.alignleft,.left{float:left;margin-right:15px}
.alignright,.right{float:right;margin-left:15px}
.aligncenter,.center{display:block;margin:0 auto 21px auto}
.alignnone,.block{clear:both;margin:0 0 21px 0}
.clear{clear:both}img.alignleft,img.alignright{display:inline}
blockquote.alignleft,blockquote .alignright{width:33%}

/* Get layout CSS */
#body-container{overflow:hidden;width:960px;margin:0 auto}
#container{overflow:hidden;float:left;width:960px}
.content{overflow:hidden;float:left;width:600px}
.no-widgets .content,.no-default-widgets .content{width:960px}
#primary{position:relative;float:right;width:300px}
#secondary{position:relative;clear:right;float:right;width:300px}
#subsidiary{overflow:hidden}
#subsidiary .widget{overflow:hidden;float:left;width:300px;margin:0 20px 0 0}
#footer-container{clear:both;overflow:hidden}
#footer{clear:both;overflow:hidden}

/* Get drop-downs CSS */
#page-nav ul{margin:0;padding:0;list-style:none}#page-nav ul{line-height:1.0}#page-nav .menu ul{position:absolute;top:-999em;width:10em}#page-nav ul ul li{width:100%}#page-nav li:hover{visibility:inherit}#page-nav li{float:left;position:relative}#page-nav a{display:block;position:relative}#page-nav li:hover ul,li.sfHover ul{left:0;top:2em;z-index:99}#page-nav li:hover li ul,li.sfHover li ul{top:-999em}#page-nav li li:hover ul,li li.sfHover ul{left:10em;top:0}#page-nav li li:hover li ul,li li.sfHover li ul{top:-999em}#page-nav li li li:hover ul,li li li.sfHover ul{left:10em;top:0}#cat-nav ul{margin:0;padding:0;list-style:none}#cat-nav ul{line-height:1.0}#cat-nav .menu ul{position:absolute;top:-999em;width:10em}#cat-nav ul ul li{width:100%}#cat-nav li:hover{visibility:inherit}#cat-nav li{float:left;position:relative}#cat-nav a{display:block;position:relative}#cat-nav li:hover ul,li.sfHover ul{left:0;top:2em;z-index:99}#cat-nav li:hover li ul,li.sfHover li ul{top:-999em}#cat-nav li li:hover ul,li li.sfHover ul{left:10em;top:0}#cat-nav li li:hover li ul,li li.sfHover li ul{top:-999em}#cat-nav li li li:hover ul,li li li.sfHover ul{left:10em;top:0}div.menu ul{margin:0;padding:0;list-style:none;line-height:1.0}div.menu ul ul{position:absolute;top:-999em;width:10em}div.menu ul ul li{width:100%}div.menu li:hover{visibility:inherit}div.menu li{float:left;position:relative}div.menu a{display:block;position:relative}div.menu li:hover ul,li.sfHover ul{left:0;top:2em;z-index:99}div.menu li:hover li ul,li.sfHover li ul{top:-999em}div.menu li li:hover ul,li li.sfHover ul{left:10em;top:0}div.menu li li:hover li ul,li li.sfHover li ul{top:-999em}div.menu li li li:hover ul,li li li.sfHover ul{left:10em;top:0}

/* Get gallery CSS */
.gallery{display:block;clear:both;overflow:hidden;margin:0 auto}.gallery .gallery-row{display:block;clear:both;overflow:hidden;margin:0}.gallery .gallery-item{overflow:hidden;float:left;margin:0;text-align:center;list-style:none;padding:0}.gallery .gallery-item img,.gallery .gallery-item img.thumbnail{max-width:89%;height:auto;padding:1%;margin:0 auto}.gallery-caption{margin-left:0}.col-0{width:100%}.col-1{width:100%}.col-2{width:50%}.col-3{width:33.33%}.col-4{width:25%}.col-5{width:20%}.col-6{width:16.66%}.col-7{width:14.28%}.col-8{width:12.5%}.col-9{width:11.11%}.col-10{width:10%}.col-11{width:9.09%}.col-12{width:8.33%}.col-13{width:7.69%}.col-14{width:7.14%}.col-15{width:6.66%}.col-16{width:6.25%}.col-17{width:5.88%}.col-18{width:5.55%}.col-19{width:5.26%}.col-20{width:5%}.col-21{width:4.76%}.col-22{width:4.54%}.col-23{width:4.34%}.col-24{width:4.16%}.col-25{width:4%}.col-26{width:3.84%}.col-27{width:3.7%}.col-28{width:3.57%}.col-29{width:3.44%}.col-30{width:3.33%}

/* WP.org theme repository requirements. */
.sticky, .bypostauthor {}

/* Body */
body {
	font: 15px/21px Tahoma, sans-serif;
	}

/* Body container */
#body-container {
	margin: 21px auto 21px auto;
	}


/* Links - General */
.new-wrapper .entry-title a, a {
	color: #639;
	text-decoration: none;
	}
.new-wrapper .entry-title a:visited, a:visited {
	color: #639;
	}
.new-wrapper .entry-title a:hover, a:hover, .new-wrapper a:active .entry-title, a:active {
	color: #639;
	text-decoration: underline;
	}

/* Links - Read more link */
a.more-link {
	color: #663399;
}

/* Styling the links on list of posts */
a.postlist {
	font-weight:bold
}

/* Automatically add a pdf logo to link*/

#content a[href$=".PDF"], a[href$=".pdf"] {
	display: inline-block;
	padding-left: 35px;
	line-height: 40px;
	background: url(library/images/icon_pdf.png) center left no-repeat;

}

/* Automatically add a word logo to link*/

#content a[href$=".DOC"], a[href$=".doc"], a[href$=".DOCX"], a[href$=".docx"] {
	display: inline-block;
	padding-left: 35px;
	line-height: 40px;
	background: url(library/images/icon_word.png) center left no-repeat;
}

/* Automatically add a powerpoint logo to link*/

#content a[href$=".PPT"], a[href$=".ppt"], a[href$=".PPTX"], a[href$=".pptx"] {
	display: inline-block;
	padding-left: 35px;
	line-height: 40px;
	background: url(library/images/icon_ppt.png) center left no-repeat;
}

/* Lists */
ul {
	list-style: square;
	}

ul li {
	margin-bottom: 10px;
}

ol li {
	margin-bottom: 21px;
}

#groups-list li { /*nice spacing for the groups list */
	margin-top: 10px;
}

/* Blockquotes */
blockquote {
	font-style: italic;
	padding-left: 50px;
	background-image: url(library/images/quotes.jpg);
	background-repeat: no-repeat;
	}
blockquote blockquote {
	color: #777;
	}
	

blockquote em {
	font-style: normal;
	}

/* Emphasis (for use on group details page) */
.details {
	background-image: url(library/images/emphasis_purple.gif);
	background-repeat: repeat-y;
	padding-left: 16px;
}

/* Code */
pre {
	padding: 9px;
	background: #f9f9f9;
	border: 1px solid #ccc;
	}
code {
	padding: 0 3px;
	background: #eee;
	}
pre code {
	background: transparent;
	}

/* Tables */
table {
	width: 100%;
	border-collapse: separate;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	}
caption {
	font-size: .9em;
	font-style: italic;
	text-align: right;
	}
td, th {
	padding: 3px 6px;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
	}
th {
	background: #eee;
	}

/* Decoration */
.bold {
	font-weight: bold;
}

/* Drop caps */
.drop-cap {
	float: left;
	margin: 3px 3px 0 0;
	font: normal normal normal 47px/35px "Warnock Pro", "Goudy Old Style", Palatino,"Book Antiqua", Georgia, serif;
	color: #333;
	}

/* Notes */
.note {
	padding: 6px 9px;
	background: #eee;
	border: 1px solid #ccc;
	}

/* Warnings/Alerts */
.warning, .alert {
	padding: 6px 9px;
	background: #fffbbc;
	border: 1px solid #E6DB55;
	}

/* Errors */
.error {
	padding: 6px 9px;
	background: #ffebe8;
	border: 1px solid #C00;
	}

/* Downloads */
.download {
	padding: 6px 9px;
	background: #e7f7d3;
	border: 1px solid #6c3;
	}

/* Breadcrumb */
.breadcrumb {
	margin: 0 0 21px 0;
	font-size: .9em;
	font-style: italic;
	color: #555;
	display:none;
	}

.breadcrumb a, .breadcrumb a:visited {
	text-decoration: none;
	color: #555;
	}
.breadcrumb a:hover {
	color: #555;
	text-decoration: underline;
	}
.breadcrumb a:active {
	color: #555;
	text-decoration: none;
}

.breadcrumb-title {
	color: #663399;
}

/* Images */
.hentry img {
	max-width: 600px; /*Width of content */
	height: auto;
	padding: 4px;
	}
	
.no-widgets .hentry img {
	max-width: 950px;
	}
img.alignleft, img.alignright {
	margin-bottom: 10px;
	}

img.thumbnail {
	float: left;
	width: 80px;
	height: 80px;
	margin: 0px 15px 0px 0px;
	padding: 0px;
	}

/* Smiley */
img.wp-smiley {
	max-width: 12px;
	padding: 0;
	background: transparent;
	border: none;
	}

/* Captions [caption] */
.wp-caption {
	max-width: 616px;
	margin-top: 6px;
	padding: 6px 1px 3px 1px;
	border: 1px solid #ccc;
	text-align: center;
	}
.wp-caption .wp-caption-text {
	margin: 0;
	padding: 0 5px;
	text-align: right;
	font-size: .9em;
	font-style: italic;
	color: #666;
	}
.wp-caption img {
	max-width: 604px;
	margin: 0 auto;
	padding: 0;
	border: 1px solid #666;
	}
.no-widgets .wp-caption {
	max-width: 956px;
	}
.no-widgets .wp-caption img {
	max-width: 946px;
	}

/* Gallery [gallery] */
.gallery img {
	border: 1px solid #ccc;
	}

/* Avatars */
.avatar {
	float: left;
	width: 100px;
	height: 100px;
	margin: 5px 15px 0 0;
	padding: 4px;
	border: 1px solid #ccc;
	}

/* Headers */
#header {
	margin: 0 0 10px 0;
	height: 220px;
	}

/* Blog title */
#site-title {
	margin: 0 0 10px 0;
	width: 960px;
	height: 125px;
	float: left;
	}
#site-title a {
	display: block;
	width: 960px;
	height: 220px;
	text-indent: -9999em;
	background-image: url(library/images/header.jpg);
	background-repeat: no-repeat;
	background-position: top left;
}

/* Blog description */
#site-description {
	display: none;
	}

/* Page headers */
.entry-title, .page-title, .archive-title, .search-title {
	background-image: url(library/images/entry_header.jpg);
	background-repeat: no-repeat;
	padding: 15px 10px 15px 60px;
	line-height: 1.1em;
	color: #FFFFFF;
}

.entry-title a {
	color: #FFF;
	text-decoration: none;
	}
.entry-title a:visited {
	color: #FFF;
	}
.entry-title a:hover, .entry-title a:active {
	color: #FFF;
	text-decoration: underline;
	}

/*Entry Title for pages which already have a page title - using subheader background */
body.taxonomy-area .entry-title, 
body.taxonomy-targetgroup .entry-title, 
body.search .entry-title, 
body.page-template-findagroup h2, 
body.page-template-custom-query .entry-title, 
body.page-template-custom-query-excerpts .entry-title, 
body.blog .entry-title, 
body.archive .entry-title {
	font-size: 1.3em;
	color: #FFF;
	padding: 6px;
	background-image: url(library/images/subheader_bground.jpg);
	background-repeat: no-repeat;
}

/* Navigation */
#primary-menu, #navigation {
	overflow: visible;
	height: 34px;
	font-size: 1.05em;
	margin: 0 0 10px 0;
	z-index: 100;
	}

#primary-menu li li, #page-nav li li {
	margin-right: 0;
	}
#primary-menu li a, #page-nav li a {
	padding: 8px 8px 8px 8px;
	color: #000;
	border-right: 1px solid #3f220f;
	}

/* Drop-downs style */
#primary-menu li:hover ul, #primary-menu li.sfHover ul, #page-nav li:hover ul, #page-nav li.sfHover ul 			{
	top: 32px;
	}
#primary-menu li li a, #page-nav li li a {
	border-top: none;
	margin-right: 0;
	}
#primary-menu li ul, #page-nav li ul {
	background: #fff;
	border-top: 1px solid #ccc;
	}
#primary-menu li li:hover ul, #primary-menu li li.sfHover ul, #primary-menu li li li:hover ul, #primary-menu li li li.sfHover ul, 
#page-nav li li:hover ul, #page-nav li li.sfHover ul , #page-nav li li li:hover ul, #page-nav li li li.sfHover ul  {
	top: -1px;
	}
#primary-menu li li li, #page-nav li li li {
	margin-left: -1px;
	}
ul.sub-menu li { /* makes sure sub menu has borders */
	border: 1px solid #3f220f;
}

/* Container (wraps content, primary, and secondary) */
#container {
	margin-bottom: 21px;
	}

/* Main content */
.content {
	margin: 0 0 21px 0;
	border: 1px solid #000000;
	padding: 21px;
	}
.no-widgets .content, .page-template-no-widgets .content {
	width: 960px;
	}

/* Posts */
.hentry {
	overflow: hidden;
	margin: 0 0 10px 0;
	}
.singular .hentry {
	margin: 0;
	}

/* Archive information */
.loop-meta {
	overflow: hidden;
	margin: 0px;
	}
/*.loop-title {
	font: normal normal bold 24px/24px Arial, Verdana, sans-serif;
	}*/

/* Byline */
.byline {
	margin: 0 0 10px 0;
	color: #555;
	}

.archive .byline, .search .byline {
	margin: 0 0 5px 0;
	}

/* Entry content */
.entry-content {
	margin: 0 0 10px 0;
	}

/* Entry metadata */
.entry-meta {
	clear: both;
	color: #555;
	}

.entry-meta .before {
	font-weight: bold;
}

/* Page links (multiple-paged posts) */
p.page-links, .comment-pagination {
	clear: both;
	}
.comment-pagination {
	margin-bottom: 21px;
	}
p.page-links a, .comment-pagination .page-numbers {
	margin: 0 3px;
	padding: 3px 9px 3px 9px;
	border: 1px solid #ccc;
	}

/* Navigation links */
.navigation-links {
	margin-bottom: 21px;
	font-style: italic;
	}
.navigation-links .previous {
	float: left;
	max-width: 50%;
	}
.navigation-links .next {
	float: right;
	max-width: 50%;
	text-align: right;
	}
.navigation-attachment {
	overflow: hidden;
	}

/* Cart66 Store and Product Pages */

body.page-template-products .product-item {
	margin-left: 150px;
}

body.page-template-products .product-item p {
	margin-bottom: 0px;
}

body.page-template-products .entry-content img {
	width: 120px;
	height: 120px;
}

.Cart66CartButton {
	margin-left: 150px;
	margin-bottom: 30px;
}

body.singular-page-274 .Cart66CartButton {
	margin-left: 0px;
}

.store-section {
	float: left;
	margin-left: 50px;
	text-align: center;
	font-size: 1.2em;
}

.store-section img{
	margin-top: 21px;
	border: 1px solid #222;
}
	
/* Widgets */
#primary {
	border: 1px solid #000000;
}

.widget {
	overflow: hidden;
	margin: 15px;
	}
.widget a {
	text-decoration: none;
	color: #222;
	}
.widget a:hover {
	text-decoration: underline;
	color: #639;
	}

/* Widget titles */
.widget-title {
	font-size: 18px;
	color: #FFF;
	background-image: url(library/images/sidebar_header.jpg);
	padding: 5px;
	}

.widget-title a {
	color: #FFF;
}

.widget-title a:hover {
	text-decoration: none;
	color: #B8B8B8;
}

/* Utility widget areas */
#utility-before-content, #utility-after-content, #utility-after-page, #utility-after-single {
	margin: 0 0 21px 0;
	padding: 20px 20px 0 20px;
	border: 1px solid #ccc;
	}

/* Widget Buttons */

#browsebuttons {
	padding-left: 0px;
	padding-right: 0px;
	margin: 10px 0px 0px 0px;
}

/* Tag Cloud */

p.term-cloud {
	line-height: 25px; /*Ensures largest font can fit in */
}



/* Comments template */
#comments-template {
	clear: both;
	}

/* Comment headers */
.comments-header {
	font-size: 1.2em;
	}

/* Remove 'comments are closed' */
.comments-closed {
	display: none;
	}


/* Comment list */
ol.comment-list, ol.comment-list ol.children {
	list-style: none;
	margin: 0 0 21px 0;
	}
li.comment, 
li li li.comment, 
li li li li li.comment, 
li li li li li li li.comment, 
li li li li li li li li li.comment, 
li.pingback, li.trackback {
	overflow: hidden;
	margin: 0 0 21px 0;
	padding: 21px 21px 0 21px;
	background: #fff;
	border: 1px solid #ccc;
	}
li li.comment, 
li li li li.comment, 
li li li li li li.comment, 
li li li li li li li li.comment, 
li li li li li li li li li li.comment {
	background: #FFFDE0;
	}

/* Avatar */
#comments-template .avatar {
	width: 40px;
	height: 40px;
	float: left;
	margin-right: 15px;
	padding: 0;
	border: 1px solid #666;
	}

/* Comment metadata */
.comment-meta {
	margin: 10px 0 21px 0;
	font-size: 13px;
	color: #555;
	}
.comment-author {
	font-size: 15px;
	color: #000;
	}
.comment-reply-link, .permalink, .comment-edit-link {
	font-style: italic;
	color: #555;
	}

/* Comment text */
.comment-text {
	clear: left;
	margin: 0 15px;
	}

/* Form */
.text-input {
	display: block;
	padding: 3px 6px;
	width: 97%;
	}
#comments-template label {
	font-size: .9em;
	}

/* Respond textarea */
textarea {
	width: 98%;
	}

/* Submit and rest buttons */
#submit {
	display: inline-block;
	margin-right: 15px;
	padding: 7px 15px 8px 15px;
	background: #fff;
	border: 1px solid #ccc;
	}
#submit:hover {
	cursor: pointer;
	background: #f9f9f9;
	}

/* Subsidiary */
#subsidiary {
	margin: 0 0 21px 0;
	}

/* Footer */

#footer-container {
	clear: both;
	background: url('../hvn/library/images/footer.jpg') no-repeat 0 top;
	margin: 0 0 21px 0;
	height: 100px;
}

#footer {
	color: #FFF;
	text-align: center;
	padding-top: 10px
	}
	
#footer .copyright {
	display: inline;
	}

/* Layout */
.content {
	float: left;
	width: 595px;
	}
#primary {
	float: right;
	width: 300px;
	}
	
#secondary {
	clear: right;
	float: right;
	width: 300px;
	}
.new-wrapper { 
	float: left; 
	width: 130px; 
	margin: 0px 16px 16px 0px;
	border: 1px solid #000000;
	}

.new-wrapper .entry-summary { 
	display: none;
	}
	
.new-wrapper .entry-meta { 
	display: none;
	}

.new-wrapper .byline { 
	display: none;
	}

.new-wrapper img { 
	height: 110px;
	width: 110px;
	padding: 10px 10px 0px 10px;
	}

.new-wrapper .entry-title { 
	color: #000;
	padding: 5px 10px 5px 10px;
	margin-bottom: 0px;
	float: left;
	background: none;
	}