h1, h2, h3, h4, h5, h6, p, blockquote {
  margin: 0;
  padding: 10px;
  }

a {
  color: #215679;
  text-decoration: none;
  }

a:hover {
  color: #4C82A6;
  text-decoration: none;
  }

/* Reset Defaults Ends */

body {
  position: relative; /* Fixes browser resizing bug in IE6 */
  width: 950px;
  font-family: Trebuchet MS, sans-serif;
  text-align: center; /* IE Centering Technique */
  background: #000000 url('images/bg-forums.jpg') repeat-x top left; margin-left:auto; margin-right:auto; margin-top:0; margin-bottom:10px
  }

#wrapper {
  text-align: left; /* IE Centering Technique */
  }


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

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

/* By default (td, body..) use verdana in black. */
body, td, th, tr
{
	color: #000000;
	font-size: small;
	font-family: verdana, sans-serif;
}


/* 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: 0px none;
	color: #666666;
	background-color: #666666
}

/* No image should have a border when linked */
a img
{
	border: 0px none;
}
/* A quote, perhaps from another post. */
.quote
{
	color: #000000;
	background-color: #D7DAEC;
	border: 1px solid #000000;
	margin: 1px;
	padding: 1px;
	font-size: x-small;
	line-height: 1.4em;
}

/* A code block - maybe even PHP ;). */
.code
{
	color: #000000;
	background-color: #dddddd;
	font-family: "courier new", "times new roman", monospace;
	font-size: x-small;
	line-height: 1.3em;
	/* 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... */
.quoteheader, .codeheader
{
	color: #000000;
	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. */
.windowbg3
{
	color: #000000;
	background-color: #F6F6F6;
}
/* the today container in calendar */
.calendar_today
{
	background-color: #F6F6F6;
}

/* 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: black;
	font-style: normal;
	background: #FFFFFF url('images/titlebg.jpg') repeat-x;
	border-top: 1px solid #FFFFFF;
	padding-left: 10px;
	padding-right: 10px
}
.titlebg, .titlebg a:link, .titlebg a:visited
{
	font-weight: bold;
	color: black;
	font-style: normal;
}

.titlebg a:hover
{
	color: #404040;
}
/* same as titlebg, but used where bold text is not needed */
.titlebg2 a:link, .titlebg2 a:visited
{
	color: black;
	font-style: normal;
	text-decoration: underline;
}

.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: #3A7094 url('images/catbg.jpg') repeat-x;
	color: #ffffff;
	padding-left: 10px;
	padding-right: 10px
}
.catbg2, tr.catbg2 td
{
	background: #A1BFD9 url('images/catbg2.jpg') repeat-x;
	color: #ffffff;
	padding-left: 10px;
	padding-right: 10px
}
.catbg, .catbg2, .catbg3
{
	border-bottom: solid 1px #375576;
}
.catbg, .catbg2
{
	font-weight: bold;
}
.catbg3, tr.catbg3 td, .catbg3 a:link, .catbg3 a:visited
{
	font-size: 95%;
	color: white;
	text-decoration: none;
}
.catbg a:link, .catbg a:visited, .catbg2 a:link, .catbg2 a:visited
{
	color: white;
	text-decoration: none;
}
.catbg a:hover, .catbg2 a:hover, .catbg3 a:hover
{
	color: #e0e0ff;
}


/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext
{
	font-size: x-small;
	font-family: verdana, sans-serif;
}
.middletext
{
	font-size: 90%;
}
.normaltext
{
	font-size: small;
}
.largetext
{
	font-size: large;
}


/* 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 {
	color: #ccc;
	vertical-align: top;
}
.maintab_back, .maintab_active_back,
.mirrortab_back, .mirrortab_active_back {
	color: #ccc;
	text-decoration: none;
	font-size:  10px;
	font-family: verdana, sans-serif;
	padding: 5px 10px 5px 10px;
}

.maintab_first, .mirrortab_first {
	display: none;
}

.maintab_back, .mirrortab_back {
	background: url('images/catbg.jpg') repeat-x;
	color: #ccc
}

.maintab_last, .mirrortab_last {
	display: none;
}

.maintab_active_first, .mirrortab_active_first {
	display: none;
}

.maintab_active_back, .mirrortab_active_back {
	background: url('images/titlebg.jpg') repeat-x;
}

.maintab_active_last, .mirrortab_active_last {
	display: none;
}

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

.maintab_back a:hover, .maintab_active_back a:hover,
.mirrortab_back a:hover, .mirrortab_active_back a:hover {
	color: white;
	text-decoration: none;
}



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


.bottomcurve {
  margin: 0;
  height: 13px;
  background: url('images/bgbottom.gif') no-repeat left bottom;
  }

.bottomcurvewhite {
  margin: 0;
  height: 13px;
  background: url('images/bgbottomwhite.gif') no-repeat left bottom;
  }

#header {
  margin: 0;
  padding: 0 0 0 0; 
  }

#header .topright {
  float: right;
  position: relative;
  margin: 0;
  padding: 0;
  text-align: right;
  color: #fff;
  }
  
#header .topleft {
  float: left;
  position: relative;
  margin: 8px 0 0 0;
  padding: 0;
  text-align: left;
  color: #FFFFFF;
  }
  
#topsearchform {
  margin-left: 0;
  margin-top: 0;
  margin-right: 0;
  }

#topsearchform {
  margin-left: 5px;
  width: 213px;
  padding-top: 8px;
  height: 28px;
  background: url('images/search.gif') no-repeat left 3px;
  }

*:first-child+html #topsearchform { /* Filter for IE7 */
  padding: 6px 0;
  }

* html #topsearchform { /* Filter for IE6 */
  padding: 6px 0;
  }

#searchbox {
  margin-left: 5px;
  margin-bottom: 3px;
  width: 150px;
  background: none;
  border: none;
  }

#searchbutton {
  width: 50px;
  background: none;
  border: none;
  }

#searchbutton:hover {
  cursor: pointer;
  }

#underheader {
  clear: both;
  margin-top: 30px;
  padding: 0px;
  }


#underheader h1.sitename {
  padding: 15px 0 0 0;
  position: relative;
  font-size: 30pt;
  width: 600px;
  }

#underheader h1.sitename a {
  color: #fff;
  text-decoration: none;
  }

#underheader h1.sitename a:hover {
  color: #4C82A6;
  text-decoration: none;
  }

#underheader #toprss{
  color: #FFFFFF;
  float: right;
  position: relative;
  margin: 0;
  padding: 35px 0 0 0;
  width:400px;
  font-size: 11pt;
  text-align: right;
  }

#underheader #toprss a {
  color: #FFFFFF;
  text-decoration: underline;
  }

#underheader #toprss a:hover {
  color: #FFFFFF;
  text-decoration: none;
  }



/* Menu */

#menu {
  clear: both;
  margin: 0 0 0 0;
  }

#menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  }

#menu li {
  float: left;
  margin-right: 10px;
  }

* html #menu li a { /* Filter for IE6 to prevent li stacking */
  float: left;
  text-decoration: none;
  }

* html #menu li a span { /* Filter for IE6 to prevent li stacking */
  float: left;
  margin-left: 4px;
  text-decoration: none;
  }

#menu li a {
  display: block;
  height: 26px;
  background: url('images/bgtableft.gif') no-repeat left top;
  text-transform: lowercase;
  font-size: 10pt;
  text-decoration: none
  }

#menu li a span {
  display: block;
  margin-left: 6px;
  padding-left: 5px;
  padding-right: 12px;
  line-height: 26px;
  font-weight: bold;
  color: #FFF;
  background: url('images/bgtabright.gif') no-repeat right top;
  text-decoration: none
  }

#menu li a:hover {
  background-position: left -26px;
  text-decoration: none;
  cursor: pointer; /* For IE6 */
  }

#menu li a:hover span {
  background-position: right -26px;
  color: #000;
  }

#menu li.current_page a {
  background-position: left -26px;
  }

#menu li.current_page a span {
  background-position: right -26px;
  color: #000;
  }

/* Main content */

#mainarea {
  clear: both;
  width: 930px; /* Overrides miscalculation in IE6; ignored by other browsers. */
  margin: 0;
  padding: 0 10px 15px 10px;
  background: #fff;
  }

/* Footer */

#footer {
  clear: both;
  padding-top: 0;
  color: #fff;
  text-align: center; /* IE Centering Technique */
  background: #000;
  }

#footer p {
  padding: 0;
  font-size: 8pt;
  color: #fff;
  text-align: center;
  }

#footer a {
  color: #87BBD9;
  }

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

#credits {
  clear: both;
  margin: 0 auto;
  line-height: 19px;
  }


/* Extras */

.cleared {
  clear: both;
  }

.left {
  float:left;
  }

.right {
  float:right;
  }