/*
Theme Name: Kakumei
Theme URI: http://bbpress.org/
Description: The "revolutionized" new face of bbPress.
Version: 1.0
Author: <a href="http://avalonstar.com">Bryan Veloso</a> with updates by <a href="http://unlettered.org">Sam Bauers</a>
Author URI: 
*/

* {
	-moz-transition-property:background-color, border-color, color, opacity, margin, width, height;  
 	-moz-transition-duration:0.20s;  
 	-moz-transition-timing-function:linear;
 	
 	-webkit-transition-property:background-color, border-color, color, opacity, margin, width, height;  
 	-webkit-transition-duration:0.20s;  
 	-webkit-transition-timing-function:linear; 
 	
 	-o-transition-property:background-color, border-color, color, opacity, margin, width, height;  
 	-o-transition-duration:0.20s;  
 	-o-transition-timing-function:linear; 
}

label#forumSelection {
	background:#FFDADA;
    padding: 20px 20px 15px;
    width: 240px;
}

.nest {text-indent: 10px;}
.nest .nest {text-indent: 20px;}

#postform select {padding: 3px 0; margin-bottom: 5px;}

#resolution-flipper img {margin: 5px 0 0;}

#postQuizStuff {float: right; color: red; margin-top: 2px; }
#postQuizStuff input {border: 1px solid red; background: #fff9f9; padding: 2px; text-align: center; border-radius: 3px;}
#subscription_checkbox {margin-top: 2px;}

label > em {color: #aaa; margin-bottom: 20px; display: block;}

#postQuizStuff {display: none;}

.socialButton {display: inline-block; float: right; margin-left: 10px;}

#newThemeAd {float: right; width:30%;}
#newThemeAd img {width: 100%;}

#customLink,
#themeShopLink {background: #3D77D0; color: #fff; padding:0 8px; margin: 0; border-radius: 3px; font-family: sans-serif; display: inline-block; line-height: 22px;}
#customLink:hover,
#themeShopLink:hover {background: #222;}

.search-results strong {color:#D51B1B; font-style: italic;}

.themePreviews {margin:0 auto 10px; width: 760px; clear: both;

	width: auto;
}
.themePreviews a {display: inline-block; width: 244px; height: 124px; margin-left: 10px; box-shadow: 0 0 1px rgba(0,0,0,.15); overflow: hidden;

	width: 274px;
	height: 139px;
	border-radius: 3px;
	position: relative;
}
.themePreviews a:first-child {margin-left: 0;}
.themePreviews a:first-child::before {
	background-color: #282828;
    background-color: rgba(0, 0, 0, 0.65);
    border-radius: 0 0 0 3px;
    color: #fff;
    content: "LATEST THEME";
    font-size: 10px;
    padding: 5px 10px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}
.themePreviews a img {width: 244px; height: auto; display: block; margin: 0;

	width: 274px;
}
.themePreviews a:hover img {width: 590px; height: auto; margin-top: -60px; margin-left: -60px;}

.themePreviews a.vysual_preview:hover img {margin-top: -50px; margin-left: 0px;}
.themePreviews a.kitchen_preview:hover img {margin-top:-40px; margin-left: -10px;}
.themePreviews a.misc_preview:hover img {margin-top: 0px; margin-left: 0px;}
.themePreviews a.panels_preview:hover img {margin-top: -90px; margin-left: -270px;}
.themePreviews a.nocturnal_preview:hover img {margin-top: -120px; margin-left: -70px;}
.themePreviews a.dailypress_preview:hover img {margin-top: -70px; margin-left: -230px;}
.themePreviews a.pharm_preview:hover img {margin-top: -70px; margin-left: -300px;}
.themePreviews a.aid_preview:hover img {margin-top: 0px; margin-left: -195px;}
.themePreviews a.maitred_preview:hover img {margin-top: -150px; margin-left: -280px;}
.themePreviews a.aid_preview:hover img {margin-top: -30px; margin-left: -60px;}
.themePreviews a.politico_preview:hover img {margin-top: 0px; margin-left: -180px;}
.themePreviews a.zoom_preview:hover img {margin-top: -50px; margin-left: 0px;}
.themePreviews a.university_preview:hover img {margin-left: -170px; margin-top: -30px;}


#footerPreview {margin:15px auto;}

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

#front-page #forumlist {width: 18%; float: left; width: 20.5%}
#front-page #forumlist td {padding:3px 10px;}
#front-page #latest {width: 76%; float: right; width: 78%}


#verifyInfo ol { margin: 10px 0 20px 30px;}
#verifyInfo ol li {margin-bottom: 5px;}

.columnTwo {width: 380px; float: left;}

.makeMeRed {color: #D51B1B;}
.makeMeGreen {color: green}

td > img {height: 9px !important; width: 9px !important; margin-top: 3px; margin-right: 8px !important}

fieldset ul li {list-style: inside; margin-left: 17px;}

div.ads {text-align:center; margin:-15px 0 10px;}
/*div.ads > a {float:left;}*/
div.ads > a#adone {margin-right: 20px;}
div.ads > a#adthree {float: right;}
div.ads > a > img {border: none;}

span.special,
p.login a.new-topic {color: #d51b1b;

	background: #3D77D0;
    border-radius: 3px;
    color: #FFFFFF;
    padding: 4px 8px;
}
p.login a:hover span.special,
p.login a.new-topic:hover  {
	background: #000 ;
}

p.login img {vertical-align: baseline; margin-right: 6px;}

.post ul {margin-bottom:15px;}

.admin form {display:inline; float:right; color: #333;}
.admin {font-size: 11px; margin-top: 5px; color: #FCFCFC;}
.admin li {list-style: none; margin: 5px 0 0}

#twitter_update_list {list-style: none;}

big {font-size: 14px;}

#viewdiv {display:none;}

* { margin: 0; padding: 0; }

body {
	/*margin-bottom: 50px;*/
	background-color: #fcfcfc;
	background: #fcfcfc url('images/page_header_tile2.png') repeat-x 0px -15px;
	color: #333;
	font: 10px 'Trebuchet MS', 'Lucida Grande', Verdana, Tahoma, Arial;
	
	background: #fff url('images/page_header_tile2.png') repeat-x 0px -15px;
	overflow-x: hidden;
}

a { color: #3D77D0; text-decoration: none; }
a:hover { color: #1B94D5; }

#latest a.new-topic {color:#fff; float:right;}

.alt { background-color: #fdfdfd; 

	background: #fbfbfb;
}

#topic-page .alt {background-color: #f3f3f3; border-radius: 6px; border:1px solid #e3e3e3; position: relative;

	background-color: #FCFCFC;
    border: 1px solid #F8F8F8;
    
    padding: 20px 0;
    border-radius: 0;
    border:1px solid #F8F8F8;
    border-width: 1px 0;
    
    border-style: double;
    border-color: #eee;
    border-width: 4px 0;
    background: none;
    
    border: none;
    background: #fafafa;
}
/*
#topic-page .alt:before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	right: 100%;
	width: 100px;
	background: #fcfcfc;
	display: block;
	
	border:1px solid #F8F8F8;
    border-width: 1px 0;
    top: -1px;
    bottom: -1px;
}
#topic-page .alt:after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 100%;
	width: 100px;
	background: #fcfcfc;
	display: block;
	
	border:1px solid #F8F8F8;
    border-width: 1px 0;
    top: -1px;
    bottom: -1px;
}
*/

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

pre {padding: 30px; background: #fafafa; border: 1px dashed #d8d8d8; overflow: auto; margin-top: 15px;}

.alt pre {background: #fff;}

pre, 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.3em; }
.alignright {float:right;}
h3.alignright {float:right; padding:5px 0 0; margin:0;}

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

img.avatar { border: 1px solid #ddd; border: none; margin-bottom: 3px; float: left; margin: 0 8px 0 0; width: auto !important; height: 30px !important;}

.bozo { background-color: #eeee88; }

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

.deleted { background-color: #ee8888; }

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

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

#wrapper {
	width: 760px;
	margin: 0 auto;
	
	width: 850px;
}

#header {
	background: url('images/logo-trans2.png') no-repeat 0 22px; /* Remove to get rid of bb emblem. */
	height: 90px; /*116px;*/
	position: relative;
}

#header h1 a {
	font-family: Georgia;
	font-style: italic;
	position: absolute;
	display: block;
	color: #444;
	left: 0px;
	bottom: 36px;
	padding: 6px;
	z-index: 2;
	text-indent:-9999px;
	width:400px;
	overflow:hidden;
}

#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;
	margin: -8px auto 25px;
	position: relative;
}

.bbcrumb {
	text-transform: uppercase;
	font-size: 10px;
	padding: 5px 0;
	margin-bottom: 20px;
	font-weight: bold;
	font-style: italic;
	
	margin-bottom: 0;
}
#register-page .bbcrumb {display: none;}

#notice {
	font:normal 13px/1.3em serif;
	clear: both;
	text-align: justify;	
	padding: 20px;
	color: #888;
	margin-bottom: 10px;
    padding: 0;
}

#notice strong {color: #D51B1B;}

#footer {
	clear: both;
	border-top: 1px dotted #ccc;
	padding: 15px 0 50px;
	color: #666;
	font-size: 12px;
	font-weight:bold;
	clear: both;
	text-align: right;
	
	border:none;
}

#footer #backhome {float:left; line-height: 16px;}
#footer #backhome a img {border: none;}
#footer #backhome small {line-height: 16px; vertical-align: top}

#backhome .socialLink {
	border-radius: 3px 3px 3px 3px;
    color: #FFFFFF;
    display: inline-block;
    font-family: sans-serif;
    font-size: 11px;
    line-height: 22px;
    margin: 0;
    padding: 0 6px;
    
    height: 22px;
    width: 22px;
    overflow: hidden;
}
#backhome .socialLink:hover {background: #000 !important; }
#backhome .socialLink i {
	display: inline-block;
    font-size: 12px;
    margin-right: 5px;
    text-align: center;
    vertical-align: middle;
    width: 11px;
}

#backhome #fbLink {background: #6788CE;}
#backhome #tLink {background: #29C5F6;}
#backhome #yLink {background: #E74C3C;}

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

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


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

.notice p { margin-bottom: 0; }

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

.login {
	position: absolute;
	bottom: 49px;
	right: 0;
	text-align:right;
	font-weight: normal;
	color: #444;
	width: 370px;
	z-index: 1;
	font-size: 11px;
	text-transform: uppercase;
}

form.login {
	bottom: 42px;
}

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

.login label {
	display: block;
	float: left;
	padding-right: 10px;
	line-height: 14px;
	color: #888;
	font-size: 10px;
	text-transform: uppercase;
}

form.login input {
	border: 1px solid #000;
	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;
	width:112px;
}

form.login input.submit {
	background-color: #ddd;
		background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ddd));
		background: -moz-linear-gradient(top,  #fff,  #ddd);
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff', endColorstr='#ddd');
	float: right;
	font-size:10px;
	margin-top: 14px;
	margin-bottom: -10px;
	display: block;
	-moz-border-radius: 4px;
	-khtml-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	padding: 2px 4px;
	color: #555;
}

form.login input.submit:hover {
	background-color: #ccc;
	cursor:pointer;
	color: #000;
}

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

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

#front-page #discussions {
	margin-left: 0px;
	width: 100%;
}

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

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

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

.sticky td:first-child a {font-size: 12px;}
.sticky td:first-child a:first-child:before {
    color: orange;
    content: "★";
    padding-right: 10px;
    margin-left: -2px;
}
#header a {color: #fff;}

#front-page h2.post-form {display: none;}

/* Front Page LOGGED OUT
=================================== */
#front-page.loggedOut #discussions .nav,
#front-page.loggedOut #discussions #latest tr,
#front-page.loggedOut #discussions #forumlist {display:none;}
#front-page.loggedOut #discussions #latest {width: 100%;}
#front-page.loggedOut #discussions #latest tr:first-child,
#front-page.loggedOut #discussions #latest tr.sticky {display: table-row;}

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

a.page-numbers,
span.page-numbers {
	
	padding: 5px 10px;
	margin-left: 8px;
	/*
	border-right: 1px solid #bbbbbb;
	border-bottom: 1px solid #bbbbbb;
	background-image: url('images/page-links-background.gif');
	background-repeat: no-repeat;
	background-position: 0 0;
	*/
	border: 1px solid #fff;
	background: #eee;
	background: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#e8e8e8));
	background: -moz-linear-gradient(top,  #f8f8f8,  #e8e8e8);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8', endColorstr='#e8e8e8');
	-webkit-box-shadow: 0px 0px 1px rgba(0,0,0,.5);
	-moz-box-shadow: 0px 0px 1px rgba(0,0,0,.5);
	box-shadow: 0px 0px 1px rgba(0,0,0,.5);
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px; 
	border-radius: 5px;
	text-shadow: 1px 1px 1px rgba(255,255,255,1);
	
	background: none;
	border: none;
	box-shadow: none;
	padding: 5px 3px;
}

span.page-numbers.current {
	color: #999;
	background: #e8e8e8;
	border-color: #e8e8e8;
	
	/*
	background-position: 0 -100px;
	*/
	
	background: none;
	color: #ccc;
}

#front-page .nav .page-numbers {
	display: none;
}
#front-page .nav .next,
#front-page .nav .prev {
	display: inline;
}



#latest a.page-numbers {
	font-size: 0.8em;
	padding: 2px 8px;
	margin-left: 5px;
}

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

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

a.page-numbers:hover {
	/*
	background-position: 0 -100px;
	*/
	background: #e8e8e8;
	background: -webkit-gradient(linear, left top, left bottom, from(#e8e8e8), to(#f8f8f8));
	background: -moz-linear-gradient(top,  #e8e8e8,  #f8f8f8);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e8e8e8', endColorstr='#f8f8f8');
}

a.prev.page-numbers:hover,
a.next.page-numbers:hover {
	color: #135e86;
	background: none;
}

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

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

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

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

#topic-info {
	float: left;
	padding: 0;
	width: 100%;
}

#topic-info h2, #topic-info p {padding-bottom: 0;}

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

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

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

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

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

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

.nav {
	margin: 15px 0;
	padding: 12px 0;
	text-align: center;
	
	height: 30px;
	clear: both;
}
body#front-page .nav {
	text-align: right;
	padding: 0;
}

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

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

#thread > li {
	margin-bottom: 20px;
	
	padding: 20px 40px !important;
	border-radius: 5px !important;
}

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

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

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

.threadauthor p { margin: 0; line-height: 1em; margin-top: 5px;}

.threadauthor small { font: 8px Verdana, Arial, Helvetica, sans-serif; font-style: italic; text-transform: uppercase;}

.threadpost {
	padding: 1.5em 1em;
	margin-left: 140px;
	-moz-border-radius: 6px;
	-khtml-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	
	padding: 25px 20px;
	
	margin-left: 180px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

#thread .post li { clear:none; }

.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: 9px Verdana, Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	color: #bbb;
	
	margin: 50px 0 0;
	padding: 0;
	border: none;
	font-style: italic;
}

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

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

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

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

.postform label { display: block; }

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

.postform #topic {width: 350px; overflow: hidden;}

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

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

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

p.submit { text-align: right; float: right; margin-left: 10px;}

p.allowed { margin-bottom: 0; }

.topiclink { display: block; }

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

p.rss-link {
	text-align: right;
	float: right;
	padding: 5px 0 0;
}

a.rss-link {
	padding: 2px 8px;
	line-height: 16px;
	width:16px;
	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;
}

.infobox {margin-bottom: 15px;}
#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: 0;
}

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

}
#latest tr:hover a:hover, #forumlist tr:hover a:hover, #favorites tr:hover a:hover{ text-decoration:underline;}


#latest th, #forumlist th, #favorites th {
	text-align: left;
	font: 11px Verdana,Arial,Helvetica,sans-serif;
	font-weight: normal;
	padding: 5px 9px;
	color: rgb(255, 255, 255);
	border: 1px solid #555;
	text-shadow: 1px 1px 1px rgba(0,0,0,.5);

	background: #1A1A1A;
	border: 1px solid #000;
	border-radius: 3px;
}

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

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

tr.bb-category td {
	background-color: #e8e8e8;
}
tr.bb-category td a {color: #666;}

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

#latest, #forumlist {
	margin-top: 0;
}

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

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

#profile-menu {
	list-style: none;
	position: absolute;
	right: 0;
	margin: 10px 0 0;
}

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

#profile-menu li a {
	font-size: 1.1em;
	background-color: #ddd;
	padding: 4px 7px;
	position: relative;
	top: -18px;
	-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;
	color: #fff;
}

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

#useravatar { margin-bottom: 1em; }

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

#userinfo { margin-top: 10px; }

#userinfo dt { font-weight: bold; width: 160px; background: #f8f8f8; clear: left; float: left; padding: 10px;}

#userinfo dd { margin: 0 0 5px; width: 550px; float: left; padding: 10px; background:#f3f3f3;} 

#useractivity { padding: 15px 0; clear: both;}

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

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

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

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

body#front-page form.search-form {width: 300px; float: left; margin-top: -15px;}
body#front-page form.search-form input[type="text"] {width: 220px; border: 1px solid #bbb; background: #fff; padding: 3px;}

#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;
	
	text-align: center;
	padding: 40px 0 ;
}

#topic-search-form div {
	clear: both;
	
	clear: none;
	display: inline-block;
}

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

	width: auto;
	padding: 5px;
	line-height: 20px;
	text-align: left;
	float: none;
	display: inline-block;
}

#topic-search-form div select {padding: 3px; margin-right: 40px;}

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

#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;
	
	width: 130px;
}

#topic-search-form div div input#search {margin-right: 40px;}

#topic-search-form div.submit label {display: none;}

input[type="submit"] {
	background-color: #ddd;
		background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ddd));
		background: -moz-linear-gradient(top,  #fff,  #ddd);
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff', endColorstr='#ddd');
			cursor: pointer;

	border: 1px solid #999;
    border-radius: 4px;
    padding:0 3px;
}
input[type="submit"]:hover {background: #ddd;}

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

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

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

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

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

.regQuiz label:before {
    color: red;
    content: " * ";
    vertical-align: 10%;
}

#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: 25%;
	vertical-align: top;
	padding-right: 1em;
}

#login-page fieldset table tr.error th em,
#register-page fieldset table tr.error th em,
#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;
}

#register-page fieldset {padding: 45px 0 40px 10px; margin:20px 0 40px;}
#register-page fieldset table tr.error th em {margin: 28px 0 0 -225px;}

#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 input[type=text],
#register-page fieldset input[type=text],
#profile-page fieldset input[type=text],
#login-page fieldset input[type=password],
#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;
}

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

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

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

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

.hidden {
	display: none;
}

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

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

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

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

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

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

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

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