body { background-color: #d1d0c3; font-family: sans-serif; font-size: 13px; }

/* Layout */
@media screen {
#page_wrapper { margin: 0px auto -100px; min-height: 100%; position: relative; }
#top_border { background-color: #3d5185; height: 5px; }
#header { height: 88px; margin: 0px auto 4px; width: 976px; }
#user_info { color: #797965; float: right; font-size: 12px; padding: 5px 0px 3px; text-align: right; }
#search { background-color: #ffffff; clear: right; float: right; margin-top: 34px; padding: 1px 4px; -moz-border-radius: 3px; }
#logo { margin: 8px 0px 0px; }
#messages { background: url('/images/layout/messages_top.png') top center no-repeat; clear: both; color: #ffffff; font-weight: bold; margin: 12px auto 0px; padding: 16px 24px 2px 24px; width: 976px; }
#messages ul { margin: 0px 16px 0px; }
#messages ul li { height: 20px; }
#messages_end { background: url('/images/layout/messages_bottom.png') bottom center no-repeat; clear: both; height: 14px; margin: 0px auto 12px; width: 976px; }
#page { background: url('/images/layout/page_ends.png') #e9e9df 0px -13px no-repeat; margin: 0px auto; padding: 13px 8px 0px 8px; width: 960px; }
#page_end { background: url('/images/layout/page_ends.png') #e9e9df 0px 0px no-repeat; clear: both; height: 13px; margin: 0px auto; width: 976px; }
#navigation { background-color: #bcbcab; font-family: 'Trebuchet MS',sans-serif; }
#navigation2 { background-color: #3d5185; border-bottom: 1px solid #2d3c63; font-family: 'Trebuchet MS',sans-serif; min-height: 6px; }
#main { background: url('/images/layout/page_inside_top.png') #ffffff top center repeat-x; padding: 16px; }
#clearfooter { clear: both; height: 100px; }
#footer { background-color: #232f4e; bottom: 0px; height: 100px; position: relative; }
}

/* Hide for print */
@media print {
#top_border, #header, #navigation, #navigation2, #footer { display: none; }
.noprint, ul.link-blocks, table.form { display: none; }
}

/* Navigation */
#navigation ul { height: 40px; margin: 0px; padding: 0px; padding-top: 6px; }
#navigation ul li { float: left; font-size: 20px; font-weight: bold; height: 40px; letter-spacing: 0.3px; list-style-type: none; margin-left: 24px; }
#navigation li.active { background: url('/images/layout/nav_pointer.png') bottom center no-repeat;  }
#navigation a { color: #4b4b2c; }
#navigation a:hover { color: #e9e9df; text-decoration: none; }
#navigation li.active a { color: #3d5185; }
#navigation2 ul { height: 18px; margin: 0px; padding: 6px 0px 4px 8px; }
#navigation2 ul li { border-right: 1px solid #1d2b50; float: left; font-size: 14px; font-weight: bold; height: 18px; letter-spacing: 0.3px; line-height: 125%; list-style-type: none; margin-left: 0px; padding: 0px 10px; }
#navigation2 ul li.last { border-right: none; }
#navigation2 a { color: #ffffff; }
#navigation2 a:hover { text-decoration: underline; }

/* Header stuff */
#user_tab a { color: #ffffff; }
#user_tab a.new_messages { background: url('/images/icons/24x24/yellow_mail.png') 0px -3px no-repeat; padding-left: 28px; }
#search input.text { border: none; padding-left: 3px; width: 200px; }
#search input.button { padding-left: 2px; vertical-align: middle; }
#logo a, #logo a:hover { color: #3d5185; text-decoration: none; }

/* Footer */
#footer a:hover { text-decoration: underline; }
#footer1 { background-color: #d1d0c3; color: #797965; margin: 0px auto; padding-bottom: 8px; }
#footer1 ul { margin-bottom: 0px; padding: 12px 0px 4px 0px; text-align: center; }
#footer1 ul li { border-right: 1px solid #797965; display: inline; font-size: 12px; list-style-type: none; margin-left: 0px; padding: 0px 8px; }
#footer1 ul li.last { border: none; }
#footer1 a { color: #797965; }
#footer2 { border-top: 3px solid #19223a; color: #c0c0c0; }
#footer2 a { color: #c0c0c0; }
#footer2_inside { margin: 0px auto; font-size: 11px; padding-top: 8px; width: 976px; }
#footer2_inside div { margin-bottom: 6px; }
#footer2_inside img { margin: 0px; }
#footer2 .line_header { border-right: 1px solid #909090; clear: left; float: left; margin-right: 8px; padding-right: 8px; text-align: right; width: 90px; }

/* Form fields */
form input.text, textarea { background-color: #ffffff; border: 1px solid #c0c0c0; font-size: 12px; padding: 3px; -moz-border-radius: 5px; }
form input.text { width: 460px; }
form input.short { width: 200px; }
form textarea { height: 180px; width: 480px; }
.col25 form input.text, .col25 textarea { width: 216px; }
textarea.required { height: 300px; width: 96%; }

/* Block columns */
#main div.two-col div.left { float: left; padding-right: 8px; width: 456px; }
#main div.two-col div.right { float: left; padding-left: 8px; width: 456px; }
#main div.three-col { background: url('/images/layout/3col_bg.png') top center repeat-y; }
#main div.three-col div.left { float: left; padding-right: 12px; width: 293px; }
#main div.three-col div.center { float: left; padding: 0px 12px; width: 294px; }
#main div.three-col div.right { float: left; padding-left: 12px; width: 293px; }

/* Sidebar */
div.sidebar .block { margin-bottom: 32px; }

/* Select list */
div.select_list { background-color: #f7f7f7; border-bottom: 1px solid #e7e7e7; border-top: 1px solid #e7e7e7; }
div.select_list a.remove { color: #ff3030; padding-right: 8px; }
div.select_list ul { margin: 6px 0px; }
div.select_list li { list-style-type: none; padding: 6px 0px 6px 20px; margin: 0px }
div.select_list li.selected { background: url('/images/layout/list_pointer.png') #ffffff 4px center no-repeat; border-bottom: 1px solid #e7e7e7; border-top: 1px solid #e7e7e7; font-weight: bold; }
div.select_list hr { border: none; border-top: 1px dashed #d7d7d7; height: 1px; margin: 0px auto; width: 90%; }

/* Link blocks */
ul li.icon { background-position: 0px 4px; background-repeat: no-repeat; list-style-type: none; padding: 2px 0px 0px 22px; }
ul.link-blocks { min-height: 28px; }
ul.link-blocks li { padding: 4px 0px; white-space: nowrap; }
ul.link-blocks li a { background-color: #f7f7f7; border: 1px solid #e8e8e8; padding: 6px 8px 5px; }
ul.link-blocks li a.icon { background-image: url('/images/icons/sprite.png'); background-repeat: no-repeat; padding-left: 29px; }
ul.link-blocks li a:hover { background-color: #f0f0f0; border: 1px solid #e0e0e0; text-decoration: none; }
ul.link-blocks li.selected a { border-width: 2px; font-weight: bold; }

/* Images */
img.float-left { margin: 0px 12px 12px 0px; }
img.float-right { margin: 0px 0px 12px 12px; }

/* Private messages */
.message { margin-bottom: 16px; overflow: auto; }
.message .action_links { margin: 8px 0px 4px; }

/* Captures */
.capture { padding: 16px 12px; }
.capture h3 { clear: left; margin-bottom: 2px; }
.capture .byline { color: #909090; font-size: 11px; margin-bottom: 8px; padding: 4px 0px; }
.capture p { margin: 0px auto 12px; }
.capture table.small { margin-bottom: 12px; }
.capture table.small td { padding: 0px; }
.capture ul { margin-bottom: 0px }
.capture ul.free-float li { margin-bottom: 0px; }

/* Forums */
div.breadcrumbs { font-size: 14px; font-weight: bold; margin-bottom: 12px; }
table.forum_list { margin-bottom: 16px; width: 928px; }
table.forum_list tr { background-color: #f4f4f4; }
table.forum_list tr.header td { background-color: #bcbcab; color: #4b4b2c; font-weight: bold; padding: 4px 8px; }
table.forum_list tr.odd { background-color: #fafafa; }
table.forum_list th { padding-left: 38px; }
table.forum_list td.new_posts { background-image: url('/images/icons/32x32/new.png'); background-position: 2px center; background-repeat: no-repeat; padding-left: 36px; }
table.forum_list td.sticky a { background: url('/images/icons/16x16/pin.png') left center no-repeat; padding-left: 20px; }
table.forum_list td.locked a { background: url('/images/icons/16x16/lock.png') left center no-repeat; padding-left: 20px; }
table.thread { clear: both; margin-bottom: 16px; table-layout: fixed; }
table.thread td { border-bottom: 2px solid #c0c0c0; clear: both; padding: 4px 0px 32px; vertical-align: top; }
table.thread tr.preview td { background-color: #c8efca; border-top: 1px solid #e8e8e8; }
table.thread tr.last td { border-bottom: none; }
table.thread td.author { width: 144px; }
table.thread td.author img { margin: 4px 0px; }
table.thread div.body { padding-right: 16px; }
table.thread p { text-align: left; }

/* Library */
.item { margin-bottom: 24px; }
.item h3 { margin: 2px 0px; }
.item img { border: 1px solid #c0c0c0; margin: 12px; }
.item .description { font-size: 12px;  margin: 4px; }

/* Bookshelf */
img.bookcover { float: left; margin: 0px 18px 24px 0px; }

/* Wiki */
a.absent { color: #c94714; }
a.external { background: url('/images/icons/misc/external.png') top right no-repeat; padding-right: 13px; }
div.flag { background: url('/images/icons/32x32/red_flag.png') #e9e9df 8px 4px no-repeat; border-bottom: 2px solid #bcbcab; border-top: 2px solid #bcbcab; margin: 4px auto 16px; padding: 2px 8px 0px 44px; width: 70%; }
div.flag h3 { clear: left; margin-top: 10px; }
div.flag .comment { border-top: 1px solid #bcbcab; margin-bottom: 12px; padding-top: 8px; }
div.flag .delete { margin-top: 2px; }
h1.locked { background: url('/images/icons/24x24/lock.png') center right no-repeat; }

/* Search */
.search_form { margin: 24px auto; width: 568px; }
.search_form input { margin-bottom: 12px; }
.search_form ul { margin-top: 8px; }
.search_form ul li { float: left; list-style-type: none; margin-left: 16px; width: 126px; }
.search_result div.stats { color: #c0c0c0; }
#quick_search_results { border: 1px solid #bcbcab; margin-top: 12px; padding: 0px; height: 400px; overflow: auto; }
#quick_search_results h3 { font-size: 12px; height: 16px; padding-bottom: 3px; padding-top: 5px; }

/* Pagination */
div.paginator { margin-bottom: 16px; text-align: center; }
div.paginator ul { margin-bottom: 0px; padding: 4px; }
div.paginator ul li { border-right: 1px solid #797965; display: inline; font-size: 12px; list-style-type: none; margin-left: 0px; padding: 0px 12px; }
div.paginator ul li.last { border: none; }
div.paginator p { margin: 0px; padding: 6px 0px 0px 0px; text-align: center; }
div.paginator div.prev a { background: url('/images/icons/48x48/back.png') top left no-repeat; float: left; height: 34px; padding-left: 52px; padding-top: 14px; text-decoration: none; }
div.paginator div.next a { background: url('/images/icons/48x48/next.png') top right no-repeat; float: right; height: 34px; padding-right: 52px; padding-top: 14px; text-decoration: none; }

/* Forms */
form input.required, form textarea.required { border: 2px solid #c0c0c0; }
table.form { background-color: #f0f0f0; margin: 0px auto; padding: 8px; width: 100%; -moz-border-radius: 7px; }
table.form th { font-weight: normal; padding-right: 12px; padding-top: 10px; text-align: right; vertical-align: top; width: 20%; }
table.form td.buttons { text-align: center; }
table.form td.buttons input { margin-left: 12px; margin-right: 12px; padding-left: 12px; padding-right: 12px; }
ul.errorlist { margin-bottom: 4px; }
ul.errorlist li { background: url('/images/icons/16x16/warning.png') 0px 4px no-repeat; font-weight: bold; list-style-type: none; margin-left: 4px; padding: 2px 0px 0px 22px; text-align: left; }
.help_text { color: #606060; font-size: 11px; margin: 0px auto; text-align: left; }

/* Syntax */
pre em { background-color: #fdff7b; font-style: normal; }
pre ins { color: #c0c0c0; font-style: italic; text-decoration: none; }

/* Ads */
div.ad { margin: 24px auto 28px; }

/* Miscellaneous */
a.toggle_bullet { background: url('/images/icons/silk/bullet_arrow_down.png') left center no-repeat; padding-left: 16px; }
div.header-block { background-color: #f0f0f0; border: 1px solid #e0e0e0; color: #232f4e; margin-bottom: 4px; padding: 4px 6px; text-decoration: none; }
div.preview { background-color: #c8efca; border: 2px solid #8db890; padding: 12px; margin-bottom: 16px; }
img.float-left { display: block; margin-right: 24px; }
img.float-right { display: block; margin-left: 24px; }
input._hide_initial { color: #c0c0c0; }
ul.bloglist { margin: 16px 0px 0px 16px; }
ul.bloglist li { list-style-type: none; margin-left: 12px; padding: 6px 0px; }

