/*
Theme Name: Tagul forum theme
Theme URI: http://tagul.com/
Description: Modified kakumei theme for Tagul
Version: 1.0
Author: Alex
Author URI: 
*/

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

/** { margin: 0; padding: 0; }*/

.forums {
	background-color: #fff;
	font: 1.2em 'Trebuchet MS', 'Lucida Grande', Verdana, Tahoma, Arial;
}

.forums a { color: #2e6e15; text-decoration: none; }
.forums a:hover { color: #006400; }

.forums .alt { background-color: #fff; }

.forums pre, .forumscode { font: 1.0em Monaco, 'Courier New', monospace; }

.forums pre, .forums p { margin-bottom: 1.0em; }

.forums .left { float: left; }

.forums .right { float: right; }

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

.forums h1 { font-size: 2em; }

.forums h2 { font-size: 1.3em; }

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

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

.forums .bozo { background-color: #eeee88; }

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

.forums .deleted { background-color: #ee8888; }

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

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

.forums #wrapper {
	background: #fff url('images/page_header_tile.png') repeat-x 0px -15px;
}

/*#header {
	background: url('images/page_header_bblogo.png') no-repeat bottom right;
	margin: 0 auto 10px;
	width: 760px;
	height: 116px;
	position: relative;
}

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

#header h1 a { color: #555; text-decoration: none; }
#header h1 a:hover { color: #666; }

#header div.search {
	float: right;
	padding: 4px;
	background-color: #aaa;
	-moz-border-radius-bottomleft: 4px;
	-khtml-border-bottom-left-radius: 4px;
	-webkit-border-bottom-left-radius: 4px;
	border-bottom-left-radius: 4px;
	-moz-border-radius-bottomright: 4px;
	-khtml-border-bottom-right-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;
	border-bottom-right-radius: 4px;
}

#header div.search input {
	border: 1px solid #999;
	background-color: #fdfdfd;
	padding: 2px;
	line-height: 14px;
	font-size: 12px;
	margin: 0;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

#header div.search input.submit {
	background-color: #ccc;
	line-height: 15px;
	-moz-border-radius: 4px;
	-khtml-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	padding: 2px 4px;
}

#header div.search input.submit:hover {
	background-color: #ddd;
	color: rgb(0, 100, 0);
}

#header div.search input.submit:active {
	border-color: rgb(0, 100, 0);
}

#main {
	font-size: 1.2em;
	width: 760px;
	margin: 0 auto 25px;
	position: relative;
}*/

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

/*#footer {
	font-family: Georgia;
	font-style: italic;
	border-top: 1px solid #ccc;
	margin: auto;
	color: #666;
	font-size: 1.0em;
	padding-top: 10px;
	clear: both;
	text-align: right;
	width: 760px;
}

#footer p.showoff {
	color: #888;
}*/

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

.forums .notice.error {
	border-color: #852424;
	background-color: #ca8a8a;
	color: #5d2424;
}

.forums .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: 0 0 8px; }

.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;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

form.login input.submit {
	background-color: #ccc;
	float: left;
	margin-top: 14px;
	margin-bottom: -10px;
	display: block;
	line-height: 15px;
	-moz-border-radius: 4px;
	-khtml-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	padding: 2px 4px;
}

form.login input.submit:hover {
	background-color: #ddd;
	color: rgb(0, 100, 0);
}

form.login input.submit:active {
	border-color: rgb(0, 100, 0);
}

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
=================================== */

.forums #front-page #hottags {
	position: absolute;
	top: 0;
	left: 0;
	width: 150px;
	overflow: hidden;
}

.forums #front-page #discussions {
	margin-left: 170px;
	width: 590px;
}

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

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

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

.forums .sticky { background-color: #a1d29a; }

/* Page navigation
=================================== */

.forums a.page-numbers,
.forums span.page-numbers {
	border-right: 1px solid #bbbbbb;
	border-bottom: 1px solid #bbbbbb;
	padding: 4px 4px 2px 5px;
	margin-left: 5px;
	background-image: url('images/page-links-background.gif');
	background-repeat: no-repeat;
	background-position: 0 0;
}

.forums span.page-numbers.current {
	color: #ffffff;
	background-position: 0 -100px;
}

.forums #latest a.page-numbers {
	font-size: 0.8em;
	padding: 3px 3px 1px 4px;
	margin-left: 3px;
}

.forums a.prev.page-numbers,
.forums a.next.page-numbers,
.forums span.page-numbers.dots {
	border-width: 0;
	padding: 0 4px;
	background-image: none;
}

.forums span.page-numbers.dots {
	padding: 0;
}

.forums a.page-numbers:hover {
	background-position: 0 -100px;
}

.forums a.prev.page-numbers:hover,
.forums a.next.page-numbers:hover {
	color: #006400;
}

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

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

.forums .infobox ul {
	margin: 10px 0 10px 20px;
	padding: 0;
	list-style-type: disc;
}

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

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

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

.forums #tag-form p {
	margin-bottom: 0;
}

.forums input#tag {
	border: 1px solid #999;
	padding: 2px;
	line-height: 14px;
	font-size: 12px;
	margin: 0;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.forums input#tagformsub {
	border: 1px solid #999;
	line-height: 14px;
	font-size: 12px;
	margin: 0;
	line-height: 15px;
	-moz-border-radius: 4px;
	-khtml-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	padding: 2px 4px;
}

.forums input#tagformsub:hover {
	background-color: #ddd;
	color: rgb(0, 100, 0);
}

.forums input#tagformsub:active {
	border-color: rgb(0, 100, 0);
}

.forums .nav {
	margin: 15px 0;
	padding: 12px 0;
	text-align: center;
}

.forums #thread {
	list-style: none;
	margin: 2em 0 0 0;
	padding: 0;
}

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

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

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

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

.forums .threadauthor p { margin: 0; }

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

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

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

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

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

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

.forums #thread li .post-undelete-link, .forums #thread li.deleted .post-delete-link { display: none; }
.forums #thread li.deleted .post-undelete-link { display: inline; }

.forums #thread li.deleted .before-post-delete-link, #thread li .before-post-undelete-link { display: none; }
.forums #thread li.deleted span.before-post-undelete-link { display: inline; }
.forums #thread li.deleted div.before-post-undelete-link { display: block; }
.forums #thread li.deleted li.before-post-undelete-link { display: block; }

.forums #thread li.pingback {
	margin-left: 140px;
	margin-top: 2px;
	margin-bottom: 2px;
	background-color: #e4f3e1;
	-moz-border-radius: 6px;
	-khtml-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	border: 0.2em solid #e4f3e1;
}

.forums #thread li.pingback.alt {
	background-color: #fff;
}

.forums #thread li.pingback .threadpost {
	background-color: #e4f3e1;
}

.forums #thread li.pingback.alt .threadpost {
	background-color: #fff;
}

.forums #thread li.pingback .threadauthor {
	float: none;
	padding: 0.9em 0.9em 0;
	width: auto;
}

.forums #thread li.pingback .threadauthor strong {
	font-weight: normal;
}

.forums #thread li.pingback .threadauthor small {
	color: #333;
}

.forums #thread li.pingback .threadpost {
	margin-left: 0;
	padding: 0.5em 0.9em 1.5em;
}

.forums #thread li.pingback .post {
	font-style: italic;
	color: #333;
	margin: 0 0 0 2.4em;
	padding: 0 0 0 0.8em;
	border-left: 3px dotted #ccc;
}

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

.forums #thread .post blockquote {
	margin: 0 0 0 2.4em;
	padding: 0 0 0 0.8em;
	border-left: 3px solid #ccc;
}

.forums #thread .post li { clear:none; }

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

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

.forums h2.post-form {
	border-bottom-width: 0;
	margin-bottom: 2px;
}

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

.forums .postform textarea {
	height: 12em;
	margin: 5px 0;
	padding: 5px;
	width: 545px;
	max-width: 545px;
	border: 1px solid #ccc;
	display: block;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.forums .postform label { display: block; }

.forums .postform #topic,
.forums .postform #tags-input {
	margin: 5px 0;
	padding: 5px;
	width: 545px;
	border: 1px solid #ccc;
	display: block;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.forums .postform p#post-form-forum-container label span {
	font-weight: bold;
	font-style: italic;
}

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

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

.forums p.submit { text-align: right; }

.forums p.allowed { margin-bottom: 0; }

.forums .topiclink { display: block; }

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

.forums p.rss-link {
	text-align: right;
}

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

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

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

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

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

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

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

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

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

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

.forums #latest th, .forums #forumlist th, .forums #favorites th {
	text-align: left;
	background-color: rgb(102, 102, 102);
	font: 11px Verdana,Arial,Helvetica,sans-serif;
	font-weight: normal;
	padding: 5px 9px;
	color: rgb(255, 255, 255);
}

.forums #latest th a, .forums #forumlist th a, .forums #favorites th a {
	color: rgb(200, 200, 200);
	font-style: italic;
}

.forums #latest th a:hover, .forums #forumlist th a:hover, .forums #favorites th a:hover {
	color: rgb(255, 255, 255);
}

.forums tr.bb-category td {
	background-color: #ddd;
}

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

.forums #latest, .forums #forumlist {
	margin-top: -0.9em;
}

.forums #discussions .nav {
	margin-top: -2em;
	margin-bottom: 1em;
}

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

.forums #profile-menu {
	list-style: none;
	position: absolute;
	right: 0;
}

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

.forums #profile-menu li a {
	font-size: 1.1em;
	background-color: #ddd;
	padding: 4px 7px;
	border-top: 3px double #9e9e9e;
	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;
}

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

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

.forums #useravatar { margin-bottom: 1em; }

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

.forums #userinfo { margin-top: 10px; }

.forums #userinfo dt { font-weight: bold; }

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

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

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

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

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

/* Search
=================================== */

.forums #topic-search-form 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;
}

.forums #topic-search-form div {
	clear: both;
}

.forums #topic-search-form div label {
	display: block;
	float: left;
	padding: 5px;
	text-align: right;
	width: 20%;
	vertical-align: top;
	padding-right: 1em;
	font-weight: bold;
}

.forums #topic-search-form div div {
	display: block;
	float: left;
	clear: none;
	padding: 5px;
}

.forums #topic-search-form div div input {
	width: 280px;
	border: 1px solid #ccc;
	padding: 2px;
	line-height: 14px;
	font-size: 12px;
	margin: 0;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.forums #search-for { margin: 15px 0 5px; }

.forums .search-results { margin: 0 0 10px; }

.forums .search-results ol { margin: 5px 0 0 28px; }

.forums .search-results ol li { margin: 0 0 3px; }

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

.forums #login-page fieldset,
.forums #register-page fieldset,
.forums #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;
}

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

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

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

.forums #login-page fieldset table tr.error th em,
.forums #register-page fieldset table tr.error th em,
.forums #profile-page fieldset table tr.error th em {
	position: absolute;
	/* fieldset:padding-left + table:margin-left + table:width + td:padding-left + input:width + input:padding-right */
	left: 458px; /* 10 + 15 + 20% * ( 95% * (760 - 10)  ) + 5 + 280 + 5 */
	margin-left: 1em; /* th:padding-right = 1em */
	color: red;
	font-style: normal;
}

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

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

.forums #login-page fieldset input[type=text],
.forums #register-page fieldset input[type=text],
.forums #profile-page fieldset input[type=text],
.forums #login-page fieldset input[type=password],
.forums #profile-page fieldset input[type=password] {
	width: 280px;
	border: 1px solid #ccc;
	padding: 2px;
	line-height: 14px;
	font-size: 12px;
	margin: 0;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

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

.forums #login-page tr.form-required label:before,
.forums #register-page tr.form-required label:before,
.forums #profile-page tr.form-required label:before,
.forums p.required-message:before {
	content: ' * ';
	color: red;
	vertical-align: 10%;
}

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

.forums .form-invalid input {
	padding: 1px;
	border: 1px solid #c00 !important;
}

.forums .hidden {
	display: none;
}

.forums #pass-strength-result {
	padding: 2px;
	text-align: center;
	width: 280px;
	border: 1px solid #ccc;
	background-color: #e3e3e3;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.forums #pass-strength-result.bad {
	background-color: #ffeff7;
	border-color: #c69;
}

.forums #pass-strength-result.good {
	background-color: #effff4;
	border-color: #66cc87;
}

.forums #pass-strength-result.short {
	background-color: #e3e3e3;
}

.forums #pass-strength-result.strong {
	background-color: #59ef86;
	border-color: #319f52;
}

.forums p.submit input {
	background-color: #ccc;
	border: 1px solid #999;
	padding: 2px 4px;
	line-height: 14px;
	font-size: 12px;
	margin: 0;
	line-height: 15px;
	-moz-border-radius: 4px;
	-khtml-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

.forums p.submit input:hover {
	background-color: #ddd;
	color: rgb(0, 100, 0);
}

.forums p.submit input:active {
	border-color: rgb(0, 100, 0);
}

/* Tagul adjustments */
.forums {
	margin: 0 auto;
	padding: 30px 40px;
	width: 580px;
	float: left;
}

.forums h2 {
	margin: 5px 0px 10px 0;
	padding: 0;
	font-size: 2em;
}

.forums ol li {
	list-style-type: none;
}

.forums a {
	border-bottom: none;
}

.forums #topic_posts a {
	font-size: 8px;
}

