/*
Theme Name: Hastings Resource Centre
Theme URI: http://hastings-wellbeing.org.uk/forums/
Description: The Hastings Resource Centre forums.
Version: 1.0
Author: Louise Close, Catsys Creative
Author URI: http://www.catsyscreative.co.uk
*/

/* Globals 
=================================== */

* { margin: 0; padding: 0; }

body {
	/*margin-bottom: 50px;*/
	font-family: Tahoma, Verdana, Helvetica, "sans serif";
	font-size:90%; /* Resets 1em */
	background-color:#97bacc;
	color:#003366;
}

a {
 /*font-weight:bold;*/
 color:#cc3300;
 text-decoration: none;
}

a:hover {
	color:#ff3300;
}

a:active {
	color:#000000;
}

a:visited {
	color:#990033;
}

.alt { background-color: #fff; }

pre, code { font: 1.0em Monaco, 'Courier New', monospace; }

p { margin-bottom: 1.0em; }

.left { float: left; }

.right { float: right; }

.delete:hover {
	background-color: #c00;
	color: #fff;
}

h1 { font-size: 2em; }

h2 { font-size: 1.5em; }

fieldset {
	border-width: 0;
	padding: 0;
	margin: 0;
}

img.avatar { border: 1px solid #ddd; }

.bozo { background-color: #eeee88; }

.alt.bozo { background-color: #ffff99; }

.deleted { background-color: #ee8888; }

.alt.deleted { background-color: #ff9999; }

/* Structure
=================================== */

#container {
	width: 95%;
	margin: 0 auto;
	background-color:#ffffff;
	/*background-image: url(images/menubg.gif); */
	background-repeat: repeat-y;
	border: 1px solid gray;
	/*line-height: 130%;*/
}

#header {
	padding: 0;
	background-color: aliceblue;
	/*background-image: url(images/headerbg.jpg);
	background-repeat: repeat-x;*/
	/* background: url('images/page_header_bblogo.png') no-repeat bottom right;  Remove to get rid of bb emblem. */
	border-bottom: 1px solid gray;
	height:90px;
}

#logo {
	/*filter:alpha(opacity=55);
	-moz-opacity:0.55;
	opacity:0.55; */
	background-color:aliceblue;
	width:250px;
	/*border-right: 1px dashed gray;*/
	float:right;
	margin-top:0;
}

#leftnav {
	float: left;
	width: 150px;
	margin: 0;
	padding: 1em;
}

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

#navcontainer li {
	margin: 0 0 0.2em 0;
}

#navcontainer a {
	display: block;
	color: #ffffff;
	background-color: #003366;
	width: 120px;
	padding: 0.2em 0.8em;
	text-decoration: none;
	font-weight:normal;
}

#navcontainer li li a
{
display: block;
color: #ffffff;
background-color: #003366;
width: 121px;
padding: 3px 3px 3px 20px;
margin-top:0.2em;
text-decoration: none;
}

#navcontainer a:hover {
	background-color: #336699;
	color: #ffffff;
}

#content {
	margin-left: 165px;
	/*border-left: 1px solid gray;*/
	padding: 1em;
	text-align:justify;
}

#footer {
	clear: both;
	margin: 0;
	padding: 0.5em;
	color: #333333;
	background-color: #dddddd;
	border-top: 1px solid gray;
	text-align:center;
	font-size:0.85em;
}

#leftnav p {
	margin: 0 0 1em 0;
}

#footer p {
	margin: 0 0 0.5em 0;
}

.stats {
	text-align:center;
	font-weight:bold;;
}

h1,h2,h3,h4,h5,h6 {
	margin: 0 0 0.5em 0;
	border-bottom: 1px dashed gray;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	text-decoration:none;
}

h1 {
	font-size:1.6em;
}

h2 {
	font-size:1.35em;
}

h3 {
	font-size:1.25em;
}

h4 {
	font-size:1.1em;
}

h5 {
	font-size:1em;
}

h6 {
	font-size:0.95em;
}

#header h1 {
	margin: 0 0 0.5em 0.5em;
	font-style: italic;
	font-size:3em;
	border-bottom:0;
}



/* #header h1 {
	font-family: Georgia;
	font-style: italic;
	overflow: auto;
	position: absolute;
	display: block;
	color: #444;
	text-align: right;
	letter-spacing: -1px;
	right: 53px;
	bottom: 26px;
	padding: 6px;
	z-index: 2;
} */

#header p.description {
	font-size: 1.2em;
	font-family: Georgia;
	font-style: italic;
	overflow: auto;
	position: absolute;
	display: block;
	color: #666;
	text-align: right;
	right: 53px;
	bottom: 13px;
	padding: 6px;
	z-index: 2;
}

#header p { margin-bottom: 0; }

img {
	border:0;
}

.bbcrumb {
	text-transform: uppercase;
	font-size: 0.9em;
	letter-spacing: 1px;
	padding: 5px 0 20px;
	text-decoration:none;
}

.notice {
	border: 2px solid #4c9545;
	background-color: #abd8a2;
	color: #4c9545;
	font-size: 1.1em;
	font-weight: bold;
	padding: 10px 15px;
	margin: 0 0 1.1em;
}

.notice p { margin-bottom: 0; }

/* Login Form
=================================== */

.login {
	/* position: absolute;
	bottom: 31px;
	left: 0;
	font-weight: normal; */
	color: #444;
	width: 100%;
	z-index: 1;
	font-size: 12px;
}

/* form.login {
	bottom: 15px;
} */

/*.login p { padding: 5px 0 4px 0; }*/

/*.login label {
	display: block;
	float: left;
	padding-right: 10px;
	line-height: 14px;
}*/

form.login input {
	border: 1px solid #999;
	padding: 2px;
	line-height: 14px;
	font-size: 12px;
	margin: 0;
}

/*form.login input#submit {
	float: left;
	margin-top: 14px;
	margin-bottom: -10px;
	display: block;
}*/

div.remember label {
	clear: both;
	padding: 0;
	margin: 6px 0 0 0;
	line-height: 12px;
}

form.login input#remember {
	border-width: 0;
	padding: 0;
	margin: 0;
	vertical-align: baseline;
}

/* Front Page
=================================== */

#front-page #hottags {
	float:right;
	width: 150px;
	overflow: hidden;
}

#front-page #discussions {
	margin-right: 170px;
	/*width: 590px;*/
}

.frontpageheatmap {
	font-weight: normal;
	line-height: 30px;
	padding-bottom: 10px;
}

#front-page #main h2, #forum-page #main h2, h2.post-form, #userlogin, #currentfavorites, #register {
	color: #333;
	border-bottom: 1px solid #ddd;
	margin: 0 0 10px;
	padding: 0 0 5px;
}

#front-page #discussions ul { padding: 0 0 0 14px; }

.sticky { background-color: #a0dbff; }

/* Topic Page
=================================== */

.infobox {
	border: 1px solid #ccc;
	border-width: 1px 0;
	padding: 1em;
}

.infobox ul {
	margin: 10px 0 10px 12px;
	padding: 0;
}

.infobox ul li { padding-bottom: 3px; }

#topic-info {
	float: left;
	padding: 0 1em 0 0;
}

#topic-tags {
	border-left: 1px solid #ccc;
	float: right;
	padding: 0 0 0 1em;
}

.nav {
	margin: 15px 0;
	padding: 12px 0;
}

.nav span { font-weight: bold; }

.nav span, .nav a { padding: 6px; }

#thread {
	list-style: none;
	margin: 0;
	padding: 0;
}

#thread li {
	line-height: 1.5em;
	clear: both;
	/* Hack to force padding on .threadauthor on IE */
	border-top: 1px solid #fff;
}

#thread li ol, #thread li ul { margin-left: 40px; }

#thread li ol li, #thread li ul li { padding: 0; }

.threadauthor {
	float: left;
	padding: 1em 1em 0 1em;
	width: 120px;
}

.threadauthor p { margin: 0; }

.threadauthor small { font: 11px Verdana, Arial, Helvetica, sans-serif; }

.threadpost {
	padding: 1.5em 1em;
	margin-left: 140px;
	background-color: #eee;
	-moz-border-radius: 6px;
	-khtml-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
}

#thread li.alt .threadpost { background-color: transparent; }

#thread li.deleted { background-color: transparent; }

#thread li.deleted .threadpost { background-color: #ee8888; }

#thread li.alt.deleted .threadpost { background-color: #ff9999; }

#thread .post {
	_height: 90px; /* Hack to fix broken .alt coloring in IE6 */
}

#thread .post blockquote {
	margin: 0 0 0 4ex;
	padding: 0 0 0 1ex;
	border-left: 5px solid #ccc;
}

.poststuff {
	clear:both;
	_clear: none; /* Hack to fix broken .alt coloring in IE6 */
	border-top: 1px dotted #ccc;
	margin: 10px 0 0;
	padding: 5px 0 0;
	font: 10px Verdana, Arial, Helvetica, sans-serif;
	text-transform: uppercase;
}

.num, #forumlist small {
	font: 11px Verdana,Arial,Helvetica,sans-serif;
	text-align: center;
}

.postform {
	background-color: #f0f0f0;
	padding: 1em;
	margin-bottom: 1em;
	-moz-border-radius: 6px;
	-khtml-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
		width: 730px;
}

.postform textarea {
	height: 12em;
	margin: 5px 0;
	padding: 5px;
	width: 720px;
	display: block;
}

.postform label { display: block; }

#manage-tags {
	margin: 10px 0;
	list-style: none;
}

#manage-tags li {
	float: left;
	width: 200px;
	padding-bottom: 10px;
}

.submit { text-align: right; }

.topiclink { display: block; }

.topictitle {
	font-size: 26px;
	font-weight: normal;
	display: inline;
}

.rss-link {
	display: block;
	padding: 6px 0;
	text-indent: 20px;
	background-image: url('images/feed-icon-16x16.gif');
	background-repeat: no-repeat;
	background-position: 0 50%;
}

#topic-move { margin-top: 1em; }

/* Other
=================================== */

#content .frontpageheatmap a {
	font-weight: normal;
	text-decoration: none;
}

#content .infobox li { margin-bottom: 2px; }

#content .nav a {
	border: 1px solid #ccc;
	font-weight: normal;
}
#content .nav a:hover {
	border: 1px solid #999;
}
#content a:visited {
	font-weight: normal;
}

#front-search {
	float: right;
	margin-top: -8px;
}

#latest td, #forumlist td, #favorites td { padding: 5px 10px; }

#forumlist tr td div.nest {
	padding-left: 2.5ex;
}

#latest tr:hover, #forumlist tr:hover, #favorites tr:hover { background-color: #e4f3e1; }

#latest th, #forumlist th, #favorites th {
	border-bottom: 1px solid #aaa;
	background-color: #ddd;
	font: 11px Verdana,Arial,Helvetica,sans-serif;
	padding: 5px 10px;
	text-transform: uppercase;
}

#latest, #forumlist, #favorites {
	background-color: #f7f7f7;
	margin-bottom: 2em;
	width: 100%;
}

/* Profile Page
=================================== */

#profile-menu {
	list-style: none;
	position: absolute;
	right: 2.6%;
	padding-right:1em;
	background-color:#ffffff;
}

#profile-menu li {
	display: inline;
	margin-left: 3px;
}

#profile-menu li a {
	font-size: 1em;
	background-color: #ddd;
	padding: 4px 7px;
	border-top: 1px solid #9e9e9e;
	position: relative;
	top: -8px;
	-moz-border-radius-bottomleft: 6px;
	-khtml-border-bottom-left-radius: 6px;
	-webkit-border-bottom-left-radius: 6px;
	border-bottom-left-radius: 6px;
	-moz-border-radius-bottomright: 6px;
	-khtml-border-bottom-right-radius: 6px;
	-webkit-border-bottom-right-radius: 6px;
	border-bottom-right-radius: 6px;
}

#profile-menu li.current a {
	background-color: #bbb;
	border-top: 1px solid #9e9e9e;
}

#profile-menu li a:hover {
	background-color: #e4f3e1;
}

#useravatar { margin-bottom: 1em; }

#useravatar img { display: block; border-width: 3px; border-style: double; }

#userinfo { margin-top: 10px; }

#userinfo dt { font-weight: bold; }

#userinfo dd { margin: 0 0 5px; } 

#useractivity { margin: 15px 0 5px; }

.user-recent { margin: 0 0 10px; }

.user-recent ol { margin: 5px 0 0 28px; }

.user-recent ol li { margin: 0 0 3px; }

/* Login, Register, Profile Edit
=================================== */

#login-page fieldset,
#register-page fieldset,
#profile-page fieldset {
	border-top: 3px double #ccc;
	border-bottom: 1px solid #ccc;
	border-left: none;
	border-right: none;
	padding: 10px 0 10px 10px;
	margin-bottom: 15px;
	background-color: #f6f6f6;
}

#login-page legend,
#register-page legend,
#profile-page legend {
	font-weight: bold;
	padding: 0 15px;
}

#login-page fieldset table,
#register-page fieldset table,
#profile-page fieldset table {
	text-align: left;
	margin: 0 15px;
	width: 95%;
	border-collapse: collapse;
}

#login-page fieldset table th,
#register-page fieldset table th,
#profile-page fieldset table th {
	padding: 5px;
	text-align: right;
	width: 20%;
	vertical-align: top;
	padding-right: 1em;
}

#login-page fieldset table td,
#register-page fieldset table td,
#profile-page fieldset table td {
	padding: 5px;
}

#login-page fieldset table td p,
#register-page fieldset table td p,
#profile-page fieldset table td p{
	margin: 5px 0;
}

#login-page fieldset p,
#register-page fieldset p,
#profile-page fieldset p {
	font-size: 11px;
	margin: 10px 16px;
}

#login-page sup.required,
#register-page sup.required,
#profile-page sup.required {
	color: red;
}

.form-invalid {
	background-color: #ffebe8 !important;
}

.form-invalid input {
	border-color: #c00 !important;
}

.form-table input, .form-table textarea {
	border-color: #c6d9e9;
}
