/*
Theme Name: IT
Theme URI: http://dabrook.org/
Description: For the ITGS Forum
Version: 0.9
Author: Zac Gordon
Author URI: http://zgordon.org
*/

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

* { margin: 0; padding: 0; }

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

a { color: #4560AC; text-decoration: none; }
a:hover {text-decoration: underline;}
.alt { background-color: #fff; }
a.register-now {color: #65D15A;}
a.new-topic {font-size: 1.8em; float: right; color: #65D15A; font-weight: bold; display: block; clear:both;}
pre, code { font: 1.0em Monaco, 'Courier New', monospace; }

p { margin-bottom: 1em;}

.left { float: left; }

.right { float: right; }

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

h1 { font-size: 2.8em; }

h2 { font-size: 1.5em; }
h2.closed-notice,
#main h2.post-form {
	background-color: #2D406A;
	color:#fff;
	padding: 10px 15px;
	margin: 10px 0;
	clear: both;
}

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 {
	margin: 10px auto 0px;
	width: 760px;
	position: relative;
}

#mascot a {
	float: left;
	clear: none;
	display: block;
	width: 300px;
	height: 250px;
	background: url(images/robot-crowd.jpg) no-repeat;
}
#forum-page #mascot a {
	background: url(images/robot-detective.jpg) no-repeat;
}
#topic-page #mascot a {
	background: url(images/robot-pointing.jpg) no-repeat;
}
#tag-page #mascot a {
	background: url(images/robot-holding-sign-tags.png) no-repeat;
}
#profile-page #mascot a {
	background: url(images/robot-reclined.jpg) no-repeat;
}
#siteinfo {
	float: right;
	clear: none;
	width: 420px;
	margin-top: 140px;
	font-size: 1.2em;
}
p#sitename {
	font-size: 2.8em;
	margin: 0;
}

#main {
	font-size: 1.2em;
	float: left;
	clear: both;
	width: 100%;
	position: relative;
}

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

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

.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: #444;
	float: left;
	clear: both;
}

form.login {
	bottom: 15px;
}
#register-login {
	position: absolute;
	top: 0;
	right: 0;
	padding: 10px 0;
	width: 420px;
}
#register-login a {
	font-size: 1.2em;
}
#register-login p.register,
p.welcome {
	font-size: 2.0em;
	text-transform: capitalize;
}

a.login {font-size: 1.6em; float: right; clear: none; display: block;}
a.login {margin-left: 10px;}
.login p { padding: 0 0 4px; text-align: left }

.login label {
	display: block;
	float: left;
	clear: none;
	padding: 2px;
}
form.login input {
	border: 1px solid #999;
	padding: 2px;
	line-height: 14px;
	font-size: 12px;
	float: left;
	clear: none;
	margin-right: 5px;	
}
form#postform input#topic {
	float: left;
	display: block;
	clear: left;
}
form#postform label {clear: both;}
form.login input#submit {
	float: left;
	display: block;
	padding: 1px 0;
	margin-left: 10px;
	color: #2D406A;
	background-color: #ededed;
	border: 1px #2D406A solid;
}

div.remember label {
	clear: none;
	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
=================================== */

table {border-collapse:collapse; clear: both;}

#front-page #discussions,
#maincontent {
	float: left;
	clear: both;
	margin-top: 50px;
	width: 100%;
}

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

h2, #userlogin, #currentfavorites, #register, #passwordrecovery {
	color: #333;
	margin: 10px 0;
	padding-bottom: 5px;
}

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

tr.sticky { 
	background: #FFFFDA; 
}
table tbody tr.sticky td h2 {
	display: block;
	padding: 5px 0 5px 50px;
	background: url(images/icons/rocket.png) no-repeat; 	
}

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

#hottags a { margin: 10px; display: block; float: left; clear: none;}

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

#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: 10px Verdana, Arial, Helvetica, sans-serif;
	text-transform: uppercase;
}

.num, #forumlist small {
	font: 1.2em Verdana,Arial,Helvetica,sans-serif;
}

.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;
}
#forumlist thead th,
#favorites thead th,
#latest thead th {background-color: #2D406A; color: #fff; border: 1px #fff solid; font-size: 1.5em; text-align: left;}

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

#latest th, #forumlist th, #favorites th {
	font-size: 1.4em;
	color: #403B33;
	padding: 5px 10px;
}

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

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

#profile-menu li {
	list-style-type: circle;
	list-style-position: inside;
	float: left;
	margin: 10px 10px 0 0;
	padding-left: 0px;
	font-size: 1.2em;
}


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

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

.hidden {
	display: none;
}

