/*
-----------------------------------------------
CodePost CSS code
http://www.codepost.org/
----------------------------------------------- */


/* BASIC ELEMENTS
----------------------------------------------- */

body {
	font: 75% Verdana, sans-serif;
	color: #333;
	text-align: center;
	padding: 0;
	margin: 0;
	background-color: #ddc;
}

a {
	color: #333;
}

a:hover {
	text-decoration: none;
}

img {
	border: 0;
}

table {
	font-size: 100%; /* IE 5 fix */
}

input {
	color: #333;
	font-weight: normal;
}

.hide {
	display: none;
}

#wrap {
	position: relative;
	top: 18px;
	width: 760px;
	text-align: left;
	margin: 0 auto 36px;
	background: #fff url(/images/bg_wrap.png) repeat-y;
}

#norightcol #wrap {
	background-image: url(/images/bg_wrap_norightcol.png);
}


/* HEADER
----------------------------------------------- */

#header {
	height: 92px;
	background: url(/images/bg_header.png) no-repeat;
}

#header_inner {
	position: relative;
	top: 17px;
	left: 12px;
	width: 736px;
	height: 75px;
	background: #48c url(/images/bg_header_inner.png) 25px 50px no-repeat;
}

#logo {
	float: left;
	margin: 9px 0 0 12px;
}

#nav_header {
	float: right;
	list-style-type: none;
	padding: 0;
	margin: 0 5px;
}

#nav_header li {
	color: #fff;
	float: left;
	padding: 0 5px;
	border-left: 1px solid #7be;
}

#nav_header li.first {
	border-left: 0;
}

#nav_header a {
	color: #eed;
	text-decoration: none;
	padding-bottom: 2px;
}

#nav_header a:hover {
	color: #adf;
}

#nav_header ul {
	display: none;
	z-index: 1;
	position: absolute;
	list-style-type: none;
	padding: 0;
	margin: 0 0 0 -6px;
	background-color: #fff;
	border: 1px solid #776;
}

#nav_header_browse:hover ul, #nav_header_post:hover ul {
	display: block;
}

#nav_header ul li {
	float: none;
	padding: 0;
	border-left: 0;
}

#nav_header ul li a {
	color: #333;
	display: block;
	width: 5em;
	padding: .25em 10px .25em 5px;
}

#nav_header ul li a:hover {
	color: #fff;
	background-color: #998;
}

#search {
	position: absolute;
	bottom: 10px;
	right: 10px;
	margin: 0;
}

#search .textfield {
	width: 200px;
	border: 1px solid #469;
}

#search .button {
	background-color: #def;
	border: 1px solid #469;
}


/* MAIN CONTENT (left column)
----------------------------------------------- */

#main {
	display: inline;
	float: left;
	width: 491px;
	padding-bottom: 1em;
	margin-left: 12px;
	border-top: 5px solid #fff;
}

#norightcol #main {
	width: 736px;
}

#main h2 {
	font-size: 100%;
	color: #fff;
	padding: .4em 10px;
	margin: 0 0 1em;
	background-color: #b30;
}

#main h2 a {
	color: #fff;
	text-decoration: none;
}

#main h2 a:hover {
	color: #fee;
}

#main dt {
	font-size: 150%;
	padding: 0;
	margin: 0 0 .5em 0;
}

#main dd {
	padding: 0;
	margin: 0 0 2em 0;
}

#main .overview {
	width: 100%;
	margin-bottom: 2em;
	border-collapse: collapse;
}

#main .overview th {
	color: #554;
	text-align: left;
	padding: .4em 1px;
	background-color: #ddc;
}

#main .overview td {
	padding: 2px 1px;
	border-bottom: 1px solid #ccb;
}

#main .overview tr.new td {
	background-color: #ffe;
}

#main .ruser {
	color: #469;
	font-weight: normal;
	border-bottom: 1px dotted #469;
}

#main .auser {
	font-weight: normal;
	color: #48c;
}


/* FORMS
----------------------------------------------- */

.textfield {
	padding-left: .2em;
}

.smallform {
	font-weight: bold;
	padding: 1em 0;
	margin: 0;
}

.smallform li {
	font-weight: normal;
}

.smallform table {
	width: 100%;
	border: 0;
}

.smallform .textfield {
	border: 1px solid #bba;
}

.smallform input:hover {
	border-color: #887;
}

.smallform input:focus {
	background-color: #ffe;
	border-color: #887;
}

.smallform .button {
	margin-top: .5em;
	background-color: #eed;
	border: 1px solid #bba;
}

.bigform {
	font-weight: bold;
	padding: 0;
	margin: 0;
}

.bigform .textfield {
	border: 1px solid #bba;
}

.bigform .textfield:focus {
	background-color: #ffe;
}

.bigform .button {
	background-color: #ffe;
	border: 1px solid #bba;
}

.bigform .button:focus {
	background-color: #eed;
}

.bigform .textarea {
	width: 100%;
	color: #554;
	margin: .5em 0;
	border: 1px solid #bba;
}

.bigform input:hover, .bigform input:focus, .bigform textarea:hover, .bigform textarea:focus {
	border-color: #887;
}

.formtext {
	font-weight: normal;
}

.info {
	font-size: 90%;
	font-weight: normal;
}

.formerror {
	color: #d00;
	font-weight: bold;
	margin-bottom: .5em;
}

.formerror a {
	color: #d00;
}


/* POSTS
----------------------------------------------- */

h2#nav_post {
	color: #cde;
	margin-bottom: 10px;
	background-color: #469;
}

h2#nav_post a:hover {
	color: #def;
}

h2#nav_post span {
	float: right;
	font-weight: normal;
}

h2#post_header {
	font-size: 175%;
	padding: .5em 10px 0;
	margin-bottom: .5em;
	background-color: #b30;
}

h2#post_header #skiptocomments {
	float: right;
	font-size: 50%;
	padding-left: 10px;
	background: url(/images/downarrow.png) left center no-repeat;
}

h2#post_header #skiptocomments:hover {
	color: #eed;
	background-image: url(/images/downarrow_hover.png);
}

#post_info {
	display: block;
	color: #fff;
	font-size: 50%;
	font-weight: normal;
	padding: 2px 0;
	margin-top: .5em;
	border-top: 1px dotted #fff;
}

#post_info .ruser {
	color: #ccb;
	border-bottom: 1px dotted #ccb;
}

#post_info .auser {
	color: #ddc;
	border-bottom: 0;	
}

#post_actions {
	float: right;
	color: #eed;
}

h2#post_header #post_actions a {
	color: #eed;
	text-decoration: underline;
}

h2#post_header #post_actions a:hover {
	text-decoration: none;
}

.codeblock {
	font-family: "Courier New", Courier, monospace;
	padding: 1em;
	background-color: #f7f7f7;
	border: 1px dotted #777;
	border-top: 0;
}

.lang {
	color: #fff;
	font-size: 85%;
	padding: .2em 1em;
	margin-top: 5px;
	background-color: #777;
}


/* COMMENTS
----------------------------------------------- */

h2#comments {
	font-size: 150%;
	margin-top: 1.5em;
}

h2#comments a {
	position: relative;
	top: -1.5em;
	float: right;
	color: #eed;
	font-size: 75%;
	margin: 0 5px 0 -1.5em;
}

h2#comments a:hover {
	color: #fff;
}

.comment_dark, .comment_light {
	padding: .2em 1em 2em;
	margin: 0 10px 1.5em;
}

.comment_dark {
	background-color: #ddc;
}

.comment_light {
	background-color: #eed;
}

.comment_header {
	font-size: 100%;
	font-weight: normal;
	padding-bottom: .5em;
	border-bottom: 1px dotted #fff;
}

.comment_number {
	font-size: 200%;
	text-decoration: none;
	vertical-align: middle;
	padding-right: .2em;
	border-right: 1px solid #aa9;
}

.comment_dark .comment_number {
	color: #a11;
}

.comment_light .comment_number {
	color: #469;
}

.comment_actions {
	float: right;
	color: #711;
	font-size: 85%;
}

.comment_actions a {
	color: #711;
}

#addcomment {
	margin: 3em 10px 1em;
	background-color: #ddc;
}

#addcomment h2 {
	font-size: 125%;
	background-color: #aa9;
}

#addcomment table {
	margin: 0 10px 1em;
}

#formattingtags {
	float: right;
	color: #554;
	font-weight: normal;
	text-decoration: underline;
}

#formattingtags:hover {
	text-decoration: none;
}


/* RIGHT COLUMN
----------------------------------------------- */

#rightcolumn {
	display: inline;
	float: right;
	width: 240px;
	padding-bottom: 1em;
	margin-right: 12px;
	border-top: 5px solid #fff;
}

#rightcolumn h2 {
	font-size: 100%;
	color: #544;
	padding: .4em 10px;
	margin: 0;
	background: #cbb right bottom no-repeat;
}

#rightcolumn div div {
	padding: 5px 10px;
	margin: 0;
/*	background-color: #edd;
	background-position: right top;
	background-repeat: no-repeat;*/
	background: #edd right top no-repeat;
}

#rightcolumn ul {
	list-style-type: square;
	padding: 0 0 0 1.2em;
	margin: 0;
}

#rightcolumn li {
	margin-bottom: .5em;
}

#rightcolumn .ruser {
	color: #822;
	border-bottom: 1px dotted #822;
}

#rightcolumn .auser {
	color: #c44;
}

#rc_note h2 {
	background-image: url(/images/bg_note_h2.png);
}

div#rc_note div {
	background-image: url(/images/bg_note_div.png);
}

#rc_more h2 {
	background-image: url(/images/bg_more_h2.png);
}

div#rc_more div {
	background-image: url(/images/bg_more_div.png);
}

#rc_about h2 {
	color: #445;
	background-color: #8ac;
	background-image: url(/images/bg_about_h2.png);
}

div#rc_about div {
	background-color: #ace;
	background-image: url(/images/bg_about_div.png);
}

#rc_about a {
	display: block;
	color: #fff;
	text-decoration: none;
	margin-top: 5px;
}

#rc_about a:hover {
	color: #def;
}

#rc_snippet {
	color: #877;
}

#rc_snippet h2 {
	background-image: url(/images/bg_snippet_h2.png);
	border-top: 5px solid #fff;
}

div#rc_snippet div {
	background-image: url(/images/bg_snippet_div.png);
}

#rc_image h2 {
	background-image: url(/images/bg_image_h2.png);
	border-top: 5px solid #fff;
}

div#rc_image div {
	background-image: url(/images/bg_image_div.png);
	text-align: center;
}

#rc_image img {
	margin: 5px 0;
}

#rc_notregistered h2 {
	background-image: url(/images/bg_notregistered_h2.png);
}

div#rc_notregistered div {
	background-image: url(/images/bg_notregistered_div.png);
}

#rc_browse h2 {
	background-image: url(/images/bg_browse_h2.png);
}

div#rc_browse div {
	padding: 5px 10px;
	background-image: url(/images/bg_browse_div.png);
}
	

/* FOOTER
----------------------------------------------- */

#footer {
	clear: both;
	height: 52px;
	background: url(/images/bg_footer.png) left bottom no-repeat;
}

#footer_inner {
	position: relative;
	left: 12px;
	width: 736px;
	height: 35px;
	background: #469 url(/images/bg_footer_inner.png) repeat-x;
}

#footer a {
	color: #eed;
	text-decoration: none;
}

#footer a:hover {
	color: #adf;
}

#backtotop {
	position: absolute;
	left: 10px;
	bottom: 0;
}

#nav_footer {
	color: #8ac;
	position: absolute;
	right: 10px;
	bottom: 0;
}
