/*
Theme Name: FlowingData Forums
Theme URI: http://forums.flowingdata.com
Description: Theme for the FlowingData forums
Version: 0.01 theta-beta
Author: Nathan Yau
Author URI: http://flowingdata.com
*/

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

.clear-line { clear:both }
* { margin: 0; padding: 0; }

body {
	margin-bottom: 50px;
	background-color: #fff;
	font: 12px Arial, 'Trebuchet MS', 'Lucida Grande', Verdana, Tahoma;
	color: #000;
}

a { color: #821122; text-decoration: none; }
a:hover { text-decoration:underline; }

.alt { background-color: #fff; }

pre, code { font: 11px Monaco, 'Courier New', monospace; }

p { margin-bottom: 1.0em; }

.left { float: left; }

.right { float: right; }

.meta { color: #808080; }

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

h1 { font-size: 2em; }

h2 { font-size: 1.5em; font-weight:bold; }

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

img.avatar { border: 1px solid #ddd; float:left; margin-right:13px; }

.bozo { background-color: #eeee88; }

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

.deleted { background-color: #ee8888; }

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

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

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

#header {
	/*background: url('images/page_header_bblogo.png') no-repeat bottom right;*/ /* Remove to get rid of bb emblem. */
	margin: 5px auto 10px auto;
	width: 878px;
	height: 78px;
	position: relative;
	border-bottom: 1px solid #e2e2e2;
}

#header a img {
    border:none;
    margin-top: 5px;
}

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

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

#header p { margin-bottom: 0; }

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

#main {
	font-size: 1.0em;
	width: 880px;
	margin: 0 auto 25px;
	position: relative;
}

#main p { line-height: 1.5em; }

.bbcrumb {
	/*text-transform: uppercase;*/
	font-family: Arial, Helvetica;
	font-size: 12px;
	letter-spacing: 1px;
	padding: 5px 0 10px;
    margin-bottom: 20px;
}

.bbcrumb a { color: #821122; }
.bbcrumb a:hover { color: #821122; }

#footer {
	clear: both;
	/*position: relative;
	background-repeat: repeat-x;*/
	padding: 8px 0 20px 0;
	margin: 0 auto;
	margin-top: 30px;
	text-align:left;
	font-size: 11px;
	border-top: 1px solid #CCC;
	width: 920px;
}

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


/* Navigation Bar
=================================== */

#navbar-container {
    border-bottom: 2px solid #821423;
    background: #000;
}

#navbar {
    width:880px;
    margin: 0 auto;
    background: #000;
    padding: 3px 4px 4px 4px;
}

#navbar ul {
    margin-left: 0;
    padding-left: 0;
    width:920px;
}

#navbar ul li { 
    list-style-type:none;
    font-size: 11px;
    display: inline;
	font-weight: bold;
}

#navbar a:visited, #navbar a:link {
    color: #fff;
    text-decoration: none;
    padding:3px 8px;
    background: #000;
    font-weight: bold;
}

#navbar a.out:visited, #navbar a.out:link {
    background: #333;
}

#navbar li.current_page_item a {
    color: #000;
    background-color: #fff;
    padding:3px 8px 7px 8px;
}

#navbar li a:hover {
    color: #000;
    background-color: #fff;
}


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

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

p.login {
    bottom: 35px;
    margin-right: 10px;
}

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

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

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

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

form.login input#submit {
	float: left;
	margin-top: 0px;
	margin-bottom: -10px;
	display: block;
	-moz-border-radius: 4px;
	-khtml-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	color: #333;
}

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 #left_column {
    margin-top: 15px;
    width: 340px;
    float:left;
    margin-right: 40px;
}

#front-page #introduction {
    line-height: 1.5em;
    font-size: 16px;
    font-weight: bold;
    color: #808080;
    margin-bottom: 10px;
}

#front-page #hottags {
	/*width: 150px;*/
	overflow: hidden;
}

#front-page #discussions {
	margin-top: 15px;
	float:left;
	width: 500px;
}

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

#front-page #main h2, #forum-page #main h2 {
	color: #333;
	font-size: 18px;
	margin: 0 0 10px;
	padding: 0 0 3px;
	font-weight: bold;
}

#userlogin, #currentfavorites, #register {
    color: #333;
	border-bottom: 1px solid #ddd;
	margin: 0 0 10px;
	padding: 0 0 3px;
	font-weight: bold;
}

h2#userlogin { font-size: 25px; }

#front-page h2 {
    font-size: 14px;
}

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

.sticky { font-weight: bold }
.sticky big { font-size: 12px }

#front-page .inputButton {
    border: 1px solid #999;
	padding: 2px;
	font-size: 14px;
	margin: 0;
	color: #808080;
    background-color: #e0e0e0;
    -moz-border-radius: 4px;
	-khtml-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	color: #333;
}

#front-page .search_input {
    width: 230px;
    font-size: 14px;
    padding: 2px;
}


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

#main-topic-column {
    float:left;
    width: 700px;
}

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

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

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

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

#topic-sidebar {
    float:right;
    width: 140px;
    border-left: 1px solid #e2e2e2;
    padding-left: 20px;
    margin-top: 0px;
}

#topic-sidebar h3 {
    text-transform: uppercase;
    /*border-bottom: 1px solid #CCC;*/
    padding-bottom: 3px;
    margin-bottom: 8px;
    font-size: 12px;
}

#topic-sidebar p {
    font-size: 11px;
}

ul.topicmeta {
    margin: 0;
    list-style-type: none;
}

ul.topicmeta li {
    margin-bottom:10px;
    font-size: 11px;
}

#topic-tags {
    margin-top: 30px;
	/*border-left: 1px solid #ccc;
	float: right;
	padding: 0 0 0 1em;*/
}

#topic-tags ul {
    list-style-type: none;
    margin: 0;
    font-size: 11px;
}

#topic-tags ul li {
    margin: 0 0 4px 0;
}

#topic-tags input {
    background-color: #e0e0e0;
    border: 1px solid #CCC;
    padding: 3px;
    -moz-border-radius: 4px;
	-khtml-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

#topic-tags #tag-form {
    margin-top: 10px;
}

#topic-tags input#tagformsub {
    margin-top: 3px;
    padding: 2px;
}

.nav {
	margin: 0px 0 0px 0;
	padding: 12px 0 0 0;
    font-size: 13px;
}

.nav span { font-weight: bold; }

.nav span, .nav a { padding: 6px;font-weight:bold }

#thread {
    float:left;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 700px;
}

#thread li {
	line-height: 1.5em;
	clear: both;
	padding-top: .6em;
	padding-bottom: 1.8em;
	border-bottom: 1px solid #e2e2e2;
	/* 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 0em;
	width: 180px;
	line-height: 1.3em;
}

.threadauthor .postinfo {
    margin-top:2px;
}

.threadauthor p { margin: 0; }

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

.threadpost {
	padding: 1em 1em 1.5em 1em;
	/*margin-left: 240px;*/
	width: 470px;
	margin-left: 10px;
	float:left;
	
	/*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;
}

#thread .post p { margin-bottom: 16px; }
#thread .post img { max-width: 485px;}
#thread .post a img { border: none; }
#thread .post h3 { font-size: 12px; margin-bottom:8px }
#thread .post ul { margin-bottom: 16px }
#thread .post ol { margin-bottom: 16px }
#thread .post li { border: none; margin-bottom: 5px; }
#thread .post pre { margin-bottom: 16px; }

.poststuff {
	/*_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 Arial, Verdana, Helvetica, sans-serif;
	text-transform: uppercase;
}

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

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

h2.post-form {
    font-size: 14px;
    margin: 10px 0;
}

.postform label { font-weight: bold }
.postform textarea {
	height: 12em;
	margin: 5px 0;
	padding: 5px;
	width: 500px;
	display: block;
}
.postform h3 {
   font-size: 12px;
    margin-bottom: 8px;
}
.postform input {
    margin-bottom: 5px;
}

.postform label { display: block; }

.indent h3 {
    margin-bottom: 10px;
}
.indent ol {
    margin: 10px 0 20px 30px;
}
.indent ol li {
    margin-bottom: 5px;
}
.indent input {
    margin: 0px 0 5px 0;
}

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

#currentfavorites { margin-top: 10px;}
#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 Arial,Verdana,Helvetica,sans-serif;
	padding: 5px 10px;
	text-transform: uppercase;
}

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




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

#search-page .inputButton {
    border: 1px solid #999;
	padding: 2px;
	font-size: 18px;
	margin: 0;
	color: #808080;
    background-color: #e0e0e0;
    -moz-border-radius: 4px;
	-khtml-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	color: #333;
}

#search-page .search_input {
    width: 350px;
    font-size: 20px;
    padding: 2px;
}

#search-page .results {
    margin-top: 30px;
    margin-left: 20px;
}
#search-page .results li {
    margin-bottom: 30px;
}
#search-page .results h3 { font-size: 16px; margin-bottom: 4px;}


/* 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.0em;
	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;
}

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

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

#profile_replies h3, #user-threads h3 {
    margin-bottom: 15px;
}

#profile_replies ol, #profile_replies p, #user-threads ol, #user-threads p {
    margin-top: 0;
}

#profile_replies ol, #user-threads ol { margin-left:18px;}


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

#useractivity { margin: 30px 0 10px; }

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

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

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


/* Sponsor
=================================== */

#sponsor {
    font-size: 11px;
    line-height: 1.3em;
}

#sponsor p { margin-bottom: 2px;}
#sponsor a {
    text-decoration:none;
    font-weight: bold;
}
#sponsor a:hover {
    text-decoration:none;
}
#sponsor a:link img, #sponsor a:visited img, #sponsor a:hover img {
    border: none;
}

#left_column #sponsor {
	border-top: 1px dotted #CCC;
	padding-top: 5px;
	padding-bottom: 10px;
	border-bottom: 1px dotted #CCC;
	margin-bottom: 20px;

}

#left_column #sponsor img {
	float:left;
	padding-right: 10px;
}


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

#login-page fieldset,
#register-page fieldset,
#profile-page fieldset {
	border-top: 1px solid #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;
}
