html {
   height: 100%;
   margin-bottom: 1px;
}

/* Normal, standard links. */
a:link, a:visited {
   color: #00628B;
   text-decoration: none;
}

a:hover {
   text-decoration: underline;
}

/* Navigation links - for the link tree. */
.nav, .nav:link, .nav:visited {
   color: #000000;
   text-decoration: none;
}

a.nav:hover {
   color: #cc3333;
   text-decoration: underline;
}

/* Tables should show empty cells. */
table {
   empty-cells: show;
}

/* By default (td, body..) use verdana in black. */
body, td, th , tr {
   color: #3F3B3B;
   font-size: 12px;
   line-height: 140%;
   font-family: tahoma, sans-serif;
}

/* The main body of the entire forum. */
body {
   background-color: #252525;
   margin: 0;
   padding: 0;
}

/* Input boxes - just a bit smaller than normal so they align well. */
input, textarea, button {
   color: #000000;
   font-family: verdana, sans-serif;
}

input, button {
   font-size: 90%;
}

textarea {
   font-size: 100%;
   color: #000000;
   font-family: verdana, sans-serif;
}

/* All input elements that are checkboxes or radio buttons. */
input.check {}

/* Selects are a bit smaller, because it makes them look even better 8). */
select {
   font-size: 90%;
   font-weight: normal;
   color: #000000;
   font-family: verdana, sans-serif;
}

/* Standard horizontal rule.. ([hr], etc.) */
hr, .hrcolor {
   height: 1px;
   border: 0;
   color: #bbb;
   background-color: #bababa;
}

/* No image should have a border when linked */
a img {
   border: 0;
}

/* A quote, perhaps from another post. */
.quote {
   color: #5c5c5c;
   background-color: #fff;
   border: 1px solid #dddcd5;
   margin: 1px;
   padding: 5px;
   font-size: 11px;
   line-height: 1.4em;
}

/* A code block - maybe even PHP ;). */
.code {
   color: #525252;
   background-color: #d8d6cb;
   font-family: "courier new", "times new roman", monospace;
   font-size: 11px;
   line-height: 1.3em;
   /* Put a nice border around it. */
   border-top: 2px solid #bebcb1;
   border-bottom: 2px solid #bebcb1;
   margin: 1px auto 1px auto;
   padding: 1px;
   width: 99%;
   /* Don't wrap its contents, and show scrollbars. */
   white-space: nowrap;
   overflow: auto;
   /* Stop after about 24 lines, and just show a scrollbar. */
   max-height: 24em;
}

/* The "Quote:" and "Code:" header parts... */

.quoteheader, .codeheader {
   color: #3f3f3b;
   text-decoration: none;
   font-style: normal;
   font-weight: bold;
   font-size: 11px;
   line-height: 1.2em;
}

/* Generally, those [?] icons.  This makes your cursor a help icon. */
.help {
   cursor: help;
}

/* /me uses this a lot. (emote, try typing /me in a post.) */
.meaction {
   color: red;
}

/* The main post box - this makes it as wide as possible. */
.editor {
   width: 96%;
}

/* Highlighted text - such as search results. */
.highlight {
   background-color: blue;
   font-weight: blue;
   color: black;
}

/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg, .windowbg2, .windowbg3, #preview_body {
   background: #f5f4ed url(images/custom/windowbg.png) 0 0 repeat-x;
}

.windowbg2 {
   color: #5b5b5b;
}

.windowbg4 {
   background: #e3e1d6 url(images/custom/windowbg9.png) 0 0 repeat-x;
   border: solid 1px #bebdb2; 
   margin-bottom: 2px;
   padding: 4px;
   text-align: center;
   color: #3f3f3f;
   width: 94%;
}

/* the today container in calendar */
.calendar_today {
   background-color: #fff;
}

/* These are used primarily for titles, but also for headers (the row that says what everything in the table is.) */
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td {
   color: white;
   font-size: 11px;
   font-style: normal;
   background: #4d4d4d url(images/custom/titlebg.png) repeat-x;
   border-bottom: 1px solid #2d2d2d;
   border-top: 1px solid #626262;
}

.titlebg, .titlebg a:link, .titlebg a:visited {
   font-weight: blue;
   color: white;
   font-style: normal;
}

.titlebg2 a:link, .titlebg2 a:visited {
   color: white;
   font-style: normal;
   text-decoration: underline;
}

.titlebg a:hover, .titlebg2 a:hover {
   text-decoration: underline;
}

/* This is used for categories, page indexes, and several other areas in the forum.
.catbg and .catbg2 is for boardindex, while .catbg3 is for messageindex and display headers*/
.catbg , tr.catbg td , .catbg3 , tr.catbg3 td {
   background: #d8d6cb url(images/custom/catbg.png) repeat-x;
   color: #474747;
   border-bottom: 1px solid #fff;
}

.catbg2 , tr.catbg2 td {
   background: #d8d6cb url(images/custom/catbg.png) repeat-x;
   color: #474747;
   border-bottom: 1px solid #fff;
}

.catbg, .catbg2, .catbg3 {}

.catbg, .catbg2, .catbg3 {
   font-size: 14px;
   font-weight: normal;
}

.catbg3, tr.catbg3 td, .catbg3 a:link, .catbg3 a:visited {
   color: #383838;
   text-decoration: none;
   font-weight: bold;
}

.catbg a:link, .catbg a:visited , .catbg2 a:link, .catbg2 a:visited {
   color: #474747;
   text-decoration: none;
}

.catbg a:hover, .catbg2 a:hover, .catbg3 a:hover {
   color: #00628B;
}

/* This is used for tables that have a grid/border background color (such as the topic listing.) */
.bordercolor {
   padding: 1px;
   border: 1px solid #ececec;
}

/* This is used on tables that should just have a border around them. */
.tborder {
   padding: 1px;
   border: 1px solid #ececec;
}

/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext {
   font-size: 11px;
   font-family: tahoma, sans-serif;
}

.middletext { 
   line-height: 18px;
   text-indent: 10px;
}

.normaltext {
   font-size: 16px;
}

.largetext {
   font-size: 18px;
}

/* Posts and personal messages displayed throughout the forum. */
.post, .personalmessage {
   width: 100%;
   overflow: auto;
   line-height: 1.3em;
}

/* All the signatures used in the forum.  If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */
.signature {
   width: 100%;
   overflow: auto;
   padding-bottom: 3px;
   line-height: 1.3em;
}

/* Sometimes there will be an error when you post */
.error {
   color: red;
}

/* definitions for the main tab, active means the tab reflects which page is displayed */
.maintab_first, .maintab_back, .maintab_last, .maintab_active_first, .maintab_active_back, .maintab_active_last, .mirrortab_first, .mirrortab_back, .mirrortab_last, .mirrortab_active_first, .mirrortab_active_back, .mirrortab_active_last {
   vertical-align: top;
   text-transform: uppercase;
}

.maintab_back, .maintab_active_back, .mirrortab_back, .mirrortab_active_back {
   text-decoration: none;
   font-size: 11px;
   padding: 5px;
}

.maintab_first,.mirrortab_first {
    display: none;
}

.maintab_back,.mirrortab_back {}

.maintab_last,.mirrortab_last {
   display: none;
}

.maintab_active_first, .mirrortab_active_first {
   display: none;
}

.maintab_active_back, .mirrortab_active_back {
   text-decoration: overline;
}

.maintab_active_last, .mirrortab_active_last {
   display: none;
}

/* how links behave in main tab. */
.maintab_back a:link, .maintab_back a:visited, .mirrortab_back a:link, .mirrortab_back a:visited {
   color: #222;
   text-decoration: none;
}

.maintab_active_back a:link, .maintab_active_back a:visited, .mirrortab_active_back a:link, .mirrortab_active_back a:visited {
   color: #282828;
   text-decoration: none;
   font-weight: bold;
}

.maintab_back a:hover, .maintab_active_back a:hover, .mirrortab_back a:hover, .mirrortab_active_back a:hover {
   color: #00628B;
   text-decoration: overline;
}

/* The AJAX notifier */
#ajax_in_progress
{
   background: #32CD32;
   color: white;
   text-align: center;
   font-weight: bold;
   font-size: 18pt;
   padding: 3px;
   width: 100%;
   position: fixed;
   top: 0;
   left: 0;
}

#toparea {
   background: url(images/custom/toparea-bg.png) 0 0 repeat-x;
   padding-top: 10px;
}

#toolbar-wrap, #head-wrap, #user-wrap, #body-wrap, #foot-wrap {
   width: 950px;
   margin: 0 auto;
   padding: 0;
   clear: both;
}

#toolbar {
   background: #504f4f url(images/custom/toolbar-bg.png) 0 0 repeat-x;
   height: 40px;
}

#time {
   font-size: 11px;
   float: right;
   padding: 10px 15px 0 0;
   color: #FFFFFF;
}

#header {
   background: url(images/custom/header-bg.png) repeat-x;
   height: 150px;
}

#logo {
   background: url(images/custom/logo.png) 50% 0 no-repeat;
   margin: 0 auto;
   width: 950px;
   height: 150px;
   cursor: pointer;
}

#userbar {
   background: #242424 url(images/custom/userbar-bg.png) repeat-x;
   height: 44px;
}

#userarea {
   padding: 0 0 0 5px;
   font-size: 11px;
   width: 400px;
   height: 43px;
   color: #efefef;
}

#userarea a:link, #userarea a:visited {
   color: #6599FF;
}

#ds-usernme {
   background: url(images/custom/usernmebox.png) 0 0 no-repeat;
   width: 154px;
   height: 32px;
   float: left;
   margin-top: 4px;
   margin-right: 10px;
}

#ds-passwrd {
   background: url(images/custom/passwrdbox.png) 0 0 no-repeat;
   width: 154px;
   height: 32px;
   float: left;
   margin-top: 4px;
   margin-right: 10px;
}

#ds-usernme input#usrnme, #ds-passwrd input#psswrd {
   background: #504f4f;
   color: #efefef;
   padding: 4px 3px 0;
   border: none;
   margin: 5px 10px 0 28px;
   width: 112px;
   height: 17px;
   font-size: 11px;
}

#loginbutton {
   background: url(images/custom/loginbutton.png) no-repeat;
   width: 68px;
   height: 32px;
   border: none;
   padding: 0;
   margin: 4px 0 0;
   cursor: pointer;
}

#searcharea {
   float: right;
   margin: 4px 5px 0 0;
   height: 32px;
   width: 154px;
   background: url(images/custom/searchbox.png) no-repeat;
   overflow: hidden;
}

#searcharea .searchbox {
   background: #504f4f;
   color: #ccc;
   padding: 4px 3px 0;
   border: none;
   margin: 5px 0 0 27px;
   width: 112px;
   height: 17px;
   font-size: 11px;
}

#bodyarea {
   background: #fff url(images/custom/body-top.png) 0 0 repeat-x;
   padding: 10px 0 20px;
}

.pathway-wrap {
   margin: 0;
   padding: 10px 10px 10px 0;
}

span.ds-pathway {
   color: #3f3f3f;
   margin: 0 3px 0 0;
   font-size: 11px;
}

span.pathway {
   color: #8b8b8b;
   font-size: 11px;
   text-transform: uppercase;
}

span.pathway img {
   margin: 6px 5px 8px 5px;
   border: 0;
   width: 10px;
   height: 10px;
   vertical-align: middle;
}

span.pathway a:link, span.pathway a:visited {
   color: #00628B;
}

span.pathway a:hover {
   text-decoration: underline;
}

#footer {
   background: url(images/custom/footer.png) 0 0 repeat-x;
   height: 114px;
}

#footerarea {
   color: #fff;
   padding: 40px 0 0;
   font-size: 12px;
}

#footerarea .foot-right {
   float: right;
}

#footerarea .foot-left {
   float: left;
}

#footerarea a:link, #footerarea a:visited {
   color: #ccc;
}

.clr {
   clear: both;
}