/* ADDED BY PHILIP 7 June 2010 to correct centring in Internet Explorer in the Cave */
td div.tborder,  td #quickModForm, td table.bordercolor
{
	 text-align: left;
}
/* ADDITION ENDED */

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

/* Navigation links - for the link tree. */
.nav
{
	 font-size: 10px;
}
.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 Tahoma in black. */
body, td, th
{
	 color: #000000;
	 font-size: 11px;
	 font-family: Verdana, sans-serif;
}

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

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

/* All input elements that are checkboxes or radio buttons. */
input.check
{
	 background-color: #F0F0F0;
}

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

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

/* A quote, perhaps from another post. */
.quote
{
	 color: #000000;
	 background-color: #ECF5E4;
	 border: 1px solid #000000;
	 margin: 1px;
	 padding: 1px;
	 font-size: x-small;
	 line-height: 1.4em;
}

/* A code block - maybe even PHP ;). */

pre { line-height:2em; }

.code
{
	 color: #000000;
	 background-color: #ccc;
	 font-family: "courier new", "times new roman", monospace;
	 font-size: x-small;
	 line-height: 2em;
	 /* Put a nice border around it. */
	 border: 1px solid #000000;
	 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... */
.bbc_standard_quote
{
	 background-color: #fffff0;
	 padding: 5px;
	 margin: 0px;
	 border: 1px solid #ccc;
}

.bbc_u {
  text-decoration: underline;
}

.quoteheader, .codeheader
{
	 color: #000000;
	 background-color: #fffff0;
	 padding: 5px;
	 text-decoration: none;
	 font-style: normal;
	 font-weight: bold;
	 font-size: x-small;
	 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: yellow;
	 font-weight: bold;
	 color: black;
}

/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg, .windowbg3
{
	 color: #000000;
	 background-color: #F0F0F0;
}
.windowbg2
{
	 color: #000000;
	 background-color: #F8F8F8 ;
}

/* 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, .titlebg a:link, .titlebg a:visited
{
	 color: #000000;
	 font-weight: bold;
}
.titlebg a:hover
{
	 color: #dfdfdf;
}

.catbg, .catbg2, .catbg3
{
	 font-weight: bold;
	 background-color: #EEEEEE;
	 color: #000000;
}

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

/* This is used on tables that should just have a border around them. */
.tborder
{
	 border: 1px solid #D0D0D0;
	 background-color: #FFFFFF;
	 padding: 0px;
}

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

/* This is the main area of the forum, the part that's gray. */
#bodyarea
{
	 background-color: #D4D4D4;
}

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

/* ###!!!CSS CODE ADDED FOR SAF!!!### */

/* The main table of the entire forum. */

.maintable
{
	 max-width:800px;
	 background-color: white;
	 margin: 0px;
	 padding: 0px 0px 0px 0px;
	 border: #D0D0D0;
	 border-style: solid;
	 border-left-width: 1px;
	 border-top-width: 0px;
	 border-right-width: 1px;
	 border-bottom-width: 0px;
}

/* The main table of the entire forum. */

.bodytd
{
	 padding: 0px 8px 0px 8px;
	 text-align: left;
}

/* The header part of the forum. */
.header
{
	 background-image: url(images/top_bg.gif);
	 background-color: #AAB965;
	 background-repeat: no-repeat;
	 background-position: right;
	 padding: 0px 8px 0px 8px;
	 width: 900px;
	 height: 47px;
	 text-align: left;
	 font-family: Verdana, Arial, sans-serif;
	 font-size: 24px;
	 color: white;
	 font-weight: bold;
}

/* The header part of the forum. */

.headerdown
{
	 background-color: #F5F5F5;
	 padding: 4px 0px 4px 8px;
	 border: #D0D0D0;
	 border-style: solid;
	 border-left-width: 0px;
	 border-top-width: 1px;
	 border-right-width: 0px;
	 border-bottom-width: 1px;
	 font-size: 10px;
}

/* The menu */

#navmenu
{
	 margin: 15px 0px 8px 0px;
	 padding: 0;
	 text-align: center;
}
#navmenu ul
{
	 text-transform: uppercase;
	 margin: 0px;
	 padding: 0;
}
#navmenu li
{
	 display: inline;
	 margin: 0px;
	 padding: 0;
}
#navmenu a
{
	 padding: 1px 10px 1px 10px;
	 margin: 0px 3px 0px 3px;
	 background-color: #FBFBFB;
	 border-top: #DADADA 1px solid;
	 border-left: #AAB965 2px solid;
	 border-bottom: #DADADA 1px solid;
	 border-right: #AAB965 2px solid;
	 font-family: Arial, sans-serif;
	 font-weight: bold;
	 color: #757575;
	 font-size: 11px;
}
#navmenu a:hover
{
	 background-color: #FFFFFF;
	 color: #000;
	 text-decoration: none;
}
#navmenu .active
{
	 background-color: #FFFFFF;
	 color: #000;
	 text-decoration: none;
}

/* Other buttons */

.btns
{
	 margin: 0;
	 padding: 0;
}
.btns ul
{
	 margin: 0;
	 padding: 0;
}
.btns li
{
	 display: inline;
	 margin: 0;
	 padding: 0;
}
.btns a:link, .btns a:visited
{
	 padding: 1px 10px 1px 10px;
	 margin: 0px 0px 0px 3px;
	 background-color: #FBFBFB;
	 border-top: #DADADA 1px solid;
	 border-left: #AAB965 2px solid;
	 border-bottom: #DADADA 1px solid;
	 border-right: #DADADA 1px solid;
	 font-family: Arial, sans-serif;
	 font-weight: bold;
	 color: #757575;
	 font-size: 11px;
	 text-transform: uppercase;
}
.btns a:hover
{
	 background-color: #FFFFFF;
	 color: #000;
	 text-decoration: none;
}

/* Message Mod Buttons */

.msgmod
{
	 margin: 20px 0px 20px 0px;
	 padding: 0;
	 text-align: left;
}
.msgmod ul
{
	 margin: 0;
	 padding: 0;
}
.msgmod li
{
	 display: inline;
	 margin: 0;
	 padding: 0;
}
.msgmod a:link, .msgmod a:visited
{
	 padding: 1px 10px 1px 10px;
	 margin: 0px 3px 0px 0px;
	 background-color: #FBFBFB;
	 border-top: #DADADA 1px solid;
	 border-left: #AAB965 2px solid;
	 border-bottom: #DADADA 1px solid;
	 border-right: #DADADA 1px solid;
	 font-family: Verdana, sans-serif;
	 font-weight: bold;
	 color: #757575;
	 font-size: 8px;
	 text-transform: uppercase;
}
.msgmod a:hover
{
	 background-color: #FFFFFF;
	 color: #000;
	 text-decoration: none;
}

/* The new icon */

.newicon a:link, .newicon a:visited
{
	 padding: 0px 4px 1px 4px;
	 margin: 2px;
	 background-color: #FFFFFF;
	 border: #DADADA 1px solid;
	 font-weight: bold;
	 color: #757575;
	 font-size: 8px;
	 text-transform: lowercase;
}

.newicon a:hover
{
	 text-decoration: none;
}

/* The footer part of the forum. */

.footer
{
	 background-color: #AAB965;
	 width: 100%;
	 border: #D0D0D0;
	 border-style: solid;
	 border-left-width: 0px;
	 border-top-width: 1px;
	 border-right-width: 0px;
	 border-bottom-width: 0px;
}

/* We use this to adjust the color of the copyright. */

.copyright, .copyright a:link, .copyright a:visited, .copyright a:hover
{
	 color: #FBFBFB;
}

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

body.contentpane {
	 width: 840px!important;
	 margin: 0 auto!important;
}
/* add Tables Plus BBCode */
.table_bbc  { border-spacing: 2px; background: #88A6C0 url(images/catbg.jpg) repeat-x }
.table_bbc td	{ padding: 5px; background: #E9F0F6 url(images/titlebg.jpg) repeat-x 0 -17px }


/* The quick buttons */
div.quickbuttons_wrap
{
	 padding: 0.2em 0;
	 width: 100%;
	 float: left;
}

ul.quickbuttons
{
	 margin: 0.9em 11px 0 0;
	 clear: right;
	 float: right;
	 text-align: right;
	 font: bold 0.85em arial, sans-serif;
}
ul.quickbuttons li
{
	 float: left;
	 display: inline;
	 margin: 0 2px 0 11px !important;
}
ul.quickbuttons li a
{
	 padding: 0 0 0 20px;
	 display: block;
	 height: 20px;
	 line-height: 18px;
	 float: left;
	 font-size: 10px;
}
ul.quickbuttons a:hover
{
	 color: #a70;
}
ul.quickbuttons li.quote_button
{
	 background: url(images/theme/quickbuttons.png) no-repeat 0 0;
}
ul.quickbuttons li.remove_button
{
	 background: url(images/theme/quickbuttons.png) no-repeat 0 -30px;
}
ul.quickbuttons li.modify_button
{
	 background: url(images/theme/quickbuttons.png) no-repeat 0 -60px;
}
ul.quickbuttons li.approve_button
{
	 background: url(images/theme/quickbuttons.png) no-repeat 0 -90px;
}
ul.quickbuttons li.restore_button
{
	 background: url(images/theme/quickbuttons.png) no-repeat 0 -120px;
}
ul.quickbuttons li.split_button
{
	 background: url(images/theme/quickbuttons.png) no-repeat 0 -150px;
}
ul.quickbuttons li.reply_button
{
	 background: url(images/theme/quickbuttons.png) no-repeat 0 -180px;
}
ul.quickbuttons li.reply_all_button
{
	 background: url(images/theme/quickbuttons.png) no-repeat 0 -180px;
}
ul.quickbuttons li.notify_button
{
	 background: url(images/theme/quickbuttons.png) no-repeat 0 -210px;
}
ul.quickbuttons li.inline_mod_check
{
	 margin: 0 0 0 5px;
}
.auto_suggest_div
{
	 border: 1px solid #000;
	 position: absolute;
	 visibility: hidden;
}
.auto_suggest_item
{
	 background-color: #ddd;
}
.auto_suggest_item_hover
{
	 background-color: #888;
	 cursor: pointer;
	 color: #eee;
}

/* Add shadow to avatars */
img.avatar {
  box-shadow: 6px 6px 6px #aaa;
  border: 1px solid silver;
}
div.avatar_box {
  overflow: auto;
  width: 100%;
  height: 90px;
  padding: 3px;
  margin: 0;
  width: 100px;
}