/*
Theme Name: NZ Pain Society
Author: Avatar :: PBS
Version: 1.0
*/
body, html {
	margin:0;
	padding:0;
	font-family:Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
	font-size:12px;
	color:#333;
	background:url(images/bg.jpg) repeat-x #fff;
}
div#bg {
	background:url(images/bg.jpg) repeat-x #fff;
}
div#bg-footer {
	height:100%;
	background:url(images/bg-footer.jpg) repeat-x bottom;
}
div.clear {
	clear:both;
	height:0px;
	font-size:0px;
	line-height:0px;
}
a img {
	border:0;
}
p {
	padding: 8px 0;
	margin:0;
	line-height:18px;
}
a {
	color:#b0243e;
}
a:hover {
	color:#0E87A1;
	text-decoration: none;
}
h1, div.componentheading {
	padding:0 0 5px 0;
	margin:0 0 8px 0;
	font-size:23px;
	font-weight:bold;
	color:#0e87a1;
	border-bottom:1px dotted #BDB9B6;
}
h2, td.contentheading {
	margin:0;
	padding:7px 0;
	font-size:18px;
	font-weight:bold;
	color:#b0243e;
}
td.contentheading a {
	text-decoration: none;
}
h3 {
	margin:0;
	padding:14px 0 0 0;
	font-size:15px;
	font-weight:bold;
	font-style: italic;
	color:#000;
}
h3.seo {
	margin:0;
	padding:14px 0 8px 0;
	font-size:12px;
	font-weight:normal;
	text-align: center;
	color:#666;
}
#content ul {
	list-style-type:none;
}
#content ul li {
	background:url(images/arrow.gif) no-repeat left 6px;
	margin:0;
	padding:3px 0 3px 20px;
}
img.alignright {
	float:right;
	padding:0 10px 20px 20px;
}
img.alignleft {
	float:right;
	padding:0 20px 20px 0;
}
div.line {
	clear:both;
	height:0px;
	font-size:0px;
	line-height:0px;
	border-bottom:1px dotted #BDB9B6;
	margin:8px 0;
}
table.contentpaneopen {
	width:100%;
}
div.btt {
	border-top:1px solid #d6dcdd;
	padding:5px 0;
	margin:10px 0 0 0;
	text-align:right;
}
span.small, .createdate {
	color:#666;
	font-size:11px;
}
/* ------------------------------------------------- */

div#wrapper {
	width:960px;
	margin:auto;
}
div#header {
	height:155px;
}
div#logo {
	width:222px;
	height:127px;
	float:left;
	padding:14px 0 0 15px;
}
div#ctbg {
	background:url(images/bg-main.jpg) repeat-x top;
	padding:10px;
}
div#nav {
	height:40px;
	background:url(images/bg-menu.jpg) repeat-x center center;
	font-size:14px;
	position:relative;
}
#nav ul {
	display:block;
	list-style:none;
	margin:0;
	padding:0;
	font-weight:bold;
}
#nav ul li {
	display: block;
	margin: 0;
	padding:0;
	float: left;
}
#nav a {
	display:block;
	color:#fff;
	padding:11px 9px;
	text-align:center;
	text-decoration:none;
}
#nav a:hover {
	background:url(images/bg-menu-o.jpg) repeat-x center center #127286;
}
div#search {
	position:absolute;
	top:8px;
	right:8px;
	background:url(images/bg-search.gif) no-repeat;
	height:24px;
	width:160px;
	padding:0 0 0 5px;
}
#search input {
	border:0;
	color:#666666;
	font-size:11px;
	width:135px;
	padding:5px 0;
	height:15px;
	background:none;
	float: left;
}
#search input.button {
    background: none repeat scroll 0 0 transparent;
    border: none;
    float: right;
    height: 24px;
    margin: 0;
	padding: 0;
    width: 24px;
	text-indent: -9999px;
}
div#main {
	background:#fff;
	padding:5px;
}
div#bnrimg {
	display:block;
	float:left;
	width:619px;
	height:321px;
}
div#latestnews {
	background:url(images/matt.jpg) repeat;
	border:1px solid #e2d5cd;
	float:right;
	width:294px;
	height:308px;
	padding:5px;
	font-size:11px;
	line-height: 14px;
	_line-height: 11px;
}
#latestnews h3 {
	padding:8px;
	background:#b0243e;
	color:#fff;
	margin:0;
}
#latestnews h4 {
	font-weight:bold;
	color:#b0243e;
	padding:0 0 3px 0;
	margin:0;
	font-size: 12px;
}
#latestnews h4 a {
	text-decoration: none;
}
#lnpadd {
	padding:10px;
}
#latestnews p {
	padding:1px 0;
}
div#content {
	padding:20px 20px 0px 20px;
	width: 890px;
	float: left;
}
div#ctas {
	padding:8px 0;
}
#ctas a {
	display:block;
	width:293px;
	height:100px;
	float:left;
	margin:0 5px 0 0;
}
a.membership {
	background:url(images/cta-membership.jpg) no-repeat top right;
}
a.membership:hover {
	background:url(images/cta-membership.jpg) no-repeat bottom right;
}
a.ngau-mamae {
	background:url(images/cta-ngau-mamae.jpg) no-repeat top right;
}
a.ngau-mamae:hover {
	background:url(images/cta-ngau-mamae.jpg) no-repeat bottom right;
}
a.facebook {
	background:url(images/cta-facebook.jpg) no-repeat top right;
	margin:0!important;
}
a.facebook:hover {
	background:url(images/cta-facebook.jpg) no-repeat bottom right;
}
a.news {
	background:url(images/b-news.jpg) no-repeat top right;
}
a.events {
	background:url(images/b-events.jpg) no-repeat top right;
}
a.discussion {
	background:url(images/b-discussion.jpg) no-repeat top right;
	margin:0!important;
}
a.news:hover {
	background:url(images/b-news.jpg) no-repeat bottom right;
}
a.events:hover {
	background:url(images/b-events.jpg) no-repeat bottom right;
}
a.discussion:hover {
	background:url(images/b-discussion.jpg) no-repeat bottom right;
}
div#footer {
	background:url(images/bg-f.gif) repeat-x center center;
	padding:50px 10px 13px 10px;
	color:#fff;
	font-size:11px;
}
#fmenu {
	float:right;
	display:block;
}
#fmenu a {
	color:#fff;
	text-decoration:none;
}
#fmenu a:hover {
	text-decoration:underline;
}
div#siteby {
	text-align:right;
	color:#c66f7f;
	font-size:11px;
	padding:5px 0 0 0;
}
#siteby a {
	color:#c66f7f;
	text-decoration:none;
}
#siteby a:hover {
	text-decoration:underline;
}
/* ------------ LOGIN AREA ------------ */

div#loginarea {
	width:298px;
	float:right;
	display: inline;
	padding:32px 17px 0 0;
}
#loginarea a {
	text-decoration:none;
}
fieldset.input {
	border:0;
	background:none;
	padding:0;
	margin:0;
}
fieldset.input p {
	padding:2px 0;
}
#loginarea .inputbox {
	background:url(images/fs-input.gif) no-repeat;
	width:192px;
	height:26px;
	float:right;
	display: inline;
	border:0;
	padding:2px 10px;
	padding-top : 7px\9; /* IE8 and below */
	font-size:11px;
	margin: 0 0 5px 0;
}
span#mod_login_usernametext, span#mod_login_passwordtext {
	float: left;
	display: inline;
	width: 77px;
	text-align: right;
	clear: both;
	padding-top: 6px;
}
span#mod_login_passwordtext {
	*padding-top: 17px;
}
a.mod_login {
	width:145px;
	float:right;
	display: inline;
	padding:2px 0;
	color:#b0243e;
	text-align: right;
}
div.mod_login_rememberme {
	width:115px;
	float:left;
	display: inline;
	margin: 0 0 0 84px;
}
span.cbLoginButtonSpan input.button {
	width:45px;
	height: 19px;
	float:right;
	display: block;
	text-indent: -1000px;
	overflow: hidden;
	line-height:0;
	border: none;
	cursor: pointer;
	background:url(images/btn-login.gif) no-repeat;
}

/* ------------ MENU ------------ */

#nav li ul {
	display: none;
	width: 146px; /* Width to help Opera out */
	background:#4195a6;
	font-size:12px;
	z-index:998;
}
#nav li ul li {
	float:none;
	margin:0 0 0 0;
}
#nav li ul li a {
	padding:8px 0 8px 8px;
	width:138px;
}
ul.children {
}
#nav li:hover ul, #menu li.hover ul {
	display: block;
	position: absolute;
	margin: 0;
	padding: 0;
}
#nav li:hover li, #menu li.hover li {
	float: none;
	padding-bottom:1px;
}
#nav li:hover li a, #menu li.hover li a {
	text-align:left;
	color: #fff;
	border:none;
	margin:0 0 0 0;
	background:none;
}
#nav li:hover li a:hover, #menu li.hover li a:hover {
	background-color: #0d6f83;
	color:#fff;
	border:none;
}
#nav li:hover ul li a, #menu li.hover ul li a {
}
/* #menu ul li ul li ul{margin:5px 0; padding:0; position:relative!important;}
#menu ul li ul li ul li{margin:0; padding:0; border:none!important; list-style-type:disc;}
#menu ul li ul li ul li a{margin:0; padding:8px 8px 8px 35px!important; border:none!important; font-size:11px; min-height:15px; height:auto!important; height:15px;}*/

/*
	We've turned off the header in the config but it still outputs the table which takes up space.
	This also hides an icon that's embedded in that table that we don't want to see.
 */
#jevents_header {
	display: none;
}

.fb_credits { /* Hide forum credits */
	display: none !important;
}
#Kunena a:link, #Kunena a:visited {
    color: #0E87A1;
}
#Kunena a:hover {
    color: #b0243e;
}
#Kunena .fb_title, #Kunena a.fb_title {
    color: #FFFFFF;
}

/* Blog */
article {
	margin-bottom:25px;
}

article h2 a {
	text-decoration:none;
}

article .entry-meta {
    color: #666666;
    font-size: 11px;
}

#reg-form  .subscription {
border: 1px solid #DDDDDD;
    float: none;
    margin: 0 0 20px;
    overflow: hidden;
    padding: 10px;
    width: 488px;
}

/* BBPRESS STYLES */

#content table.bbp-forums th, table.bbp-topics th, table.bbp-topic th, table.bbp-replies th {
    background-color: #4C7A87;
	color:#fff;
	padding:8px;
}

#content table.bbp-forums th, table.bbp-topics th, table.bbp-topic th, table.bbp-replies th {
    background-color: #4C7A87 !important;
}

#content table.bbp-forums th a:hover,
table.bbp-topics th a:hover,
table.bbp-topic th a:hover,
table.bbp-replies th a:hover {
    color: #fff !important;
}

#content table tbody tr.odd td {
    background-color: #F2F1EE !important;
}

#content table.bbp-forums tfoot td, #content table.bbp-topics tfoot td, #content table.bbp-topic tfoot td, #content table.bbp-replies tfoot td, #content table.bbp-replies tr.bbp-reply-header td, #content table.bbp-topic tr.bbp-topic-header td {
    background-color: #8EBACC !important;
    color: #000 !important;
    font-family: 'Helvetica Neue',Arial,Helvetica,'Nimbus Sans L',sans-serif;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 10px;
}

html span.bbp-admin-links a {
    color: #000000;
    font-size: 10px;
    font-weight: normal;
    text-decoration: none;
    text-transform: uppercase;
}

html span.bbp-admin-links {
    color: #000;
    float: right;
}

html a.bbp-topic-permalink, a.bbp-reply-permalink {
    color: #000 !important;
}

#content table tbody tr.odd td {
    padding: 9px !important;
}
#content table tbody tr.even td {
    padding: 9px !important;
}

.captcha {
	margin: 8px 0;
}

#content #bbpress-forums ul li {
    background: none;
    margin: 0;
    padding: 0;
}

#subscription-toggle {
	float: right;
	margin-top: 10px;
}

/*Research Articles*/
.underline {text-decoration:underline;}
.entry-research-articles  {padding:0 10px 10px; margin:0 0 10px;}
.entry-research-articles h2 a {padding:7px 0 0; font-size:16px; text-decoration:none; }
.entry-research-articles p  {padding:0 0 8px;}
.entry-research-articles:nth-child(even)    { background-color:#EFEFEF; }
.entry-research-articles .edit  {float:right;}
.research-crumbs,.articles-search  {float:right; margin:0 0 8px;}
.research-crumbs li  {float:left; background:0 !important;}
.single-research-article-nav  {width:100%; margin:10px 0;}
.single-research-article-nav .nav-previous {float:left;}
.single-research-article-nav .nav-next {float:right;}

/*Blog*/
#commentform label  {vertical-align:top; margin-right:20px;}

#recaptcha_privacy { display: none; }

/*Membership*/
#wpmem_reg label.checkbox { line-height: 1 !important; }