/*
Theme Name: K2 for bbPress
Theme URI: http://www.linickx.com/blog/archives/253/k2-for-bbpress/
Description: A port of the famous k2 to bbpress
Version: 0.02 updated for bbPress 0.9.0.1
Author: Nick [LINICKX] Bettison
Author URI: http://www.linickx.com
*/

/*
Derrived from Bryan Veloso orriginal style sheet that ships with bbpress, added 
a little style from the sheet availble from http://getk2.com, copyright of that 
to the people at http://binarybonsai.com !
*/


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

* { margin: 0; padding: 0; }

html	{
	padding: 0;
	margin: 0;
	background: #0e2b4f url('./images/back.jpg') center 242px repeat-y;
	}

body {
	font: 62.5% 'Lucida Grande', Verdana, Arial, Sans-Serif; /* 62.5% sets 1em to about 10px */
}

a { color: #27d; text-decoration: none; }
a:hover { color: #27d; text-decoration: underline; }
.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
=================================== */

#wrapper {

	background: transparent url('./images/top.jpg') top center no-repeat;
	margin: 0 auto;
	text-align: left;
	height: 250px;

}

#header {
}


h1, h2, h3, h4 {
	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
        font-weight: bold;
}

#header h1 { 
        color: #fff;
	font-size: 3.7em;
	font-weight: bold;
	letter-spacing: -1px;
        text-align: left;

	width: 900px;
	margin: 0 auto 0;
	position: relative;
}
#header p { margin-bottom: 0; }

#header h1 a, #header h1 a:visited { color: #fff; text-decoration: none; }
#header h1 a:hover, #header h1 a:active{ text-decoration: none; }

#header .description { 
         color: #fff; 
         font-size: 1.4em; 
         
	width: 900px;
	margin: 0 auto 25px;
	position: relative;
}

#main {
	width: 900px;
	font-size: 1.2em;
	margin: 30px auto 25px;
	position: relative;
        padding-left: 20px;
}

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

#footer { 
	margin: auto;
	color: #666;
	font-size: 1.0em;
	letter-spacing: 2px;
	text-transform: uppercase;
	padding-top: 20px;
	clear: both; 
	text-align: center;
	width: 760px; 
}

#footer a:link, #footer a:visited { /* more link link color fixes for nav & admin stuff */
	color: #777;
	text-decoration: none;
	font-weight: bold;
	}

#footer a:hover, #footer a:active {
	color: #000;
	text-decoration: underline;
	font-weight: bold;
	}	
.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 {
	color: #000;
        font-size: 1.3em;
        padding: 40px;
        padding-top: 50px;
	padding-left: 60px;

	margin: 0 0 0 350px;
	position: relative;
	}

	.login a, .login a:visited { color: #27d; text-decoration: none; }
	.login a:hover, .login h1 a:active{ #27d; text-decoration: underline; }


	form.login {
		bottom: 15px;
	}

	.login p { padding: 0 0 4px; }

	.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 {
		position: absolute;
		margin-left: 20px;
		top: 0;
		left: 0;
		width: 200px;
		overflow: hidden;
	}

	#front-page #discussions {
		margin-left: 200px;
		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: #EDEDED; }

	/* 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 {
		background: #eee;
		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;
	}

	.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;
	}


	.search {
                float: right;
                padding-right: 100px;
		margin: 0 300px 0 0;
		position: relative;
	}

	#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: #cbd9e4; }

	#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: 0;
	}

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

	#profile-menu li a {
		font-size: 1.1em;
		padding: 4px 7px;
		position: relative;
		top: -10px;
		-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 {
		font-weight:bold;
	}

	/*
	#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: 90%;
	}

	#login-page fieldset table th,
	#register-page fieldset table th,
	#profile-page fieldset table th {
		padding: 2px;
		text-align: right;
		width: 20%;
	}

	#login-page fieldset table td,
	#register-page fieldset table td,
	#profile-page fieldset table td {
		padding: 2px 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;
	}
