html {
  height: 100%;
  margin-bottom: 1px;
}

body {
	margin: 0;
	padding: 0;
}

/** template layout stuff **/

#page_bg {
	height: 100%; 
	padding: 0;
	margin-bottom: 1px;
	background-color: #2a302f;
}

#wrapper {
	margin: 0 auto;
	position: relative;
	width: 900px;
	
}

#shadow-l {
	background: #000 url(images/shadow_l.png) 0 0 repeat-y;
	padding-left: 6px;
	position: relative;
}

#shadow-r {
	background: #000 url(images/shadow_r.png) 100% 0 repeat-y;
	padding-right: 6px;
	position: relative;
}

/* IE hack */
* html #shadow-l {
	float: left;
}

* html #shadow-r {
	float: right;
}
/* END IE hack */

#mainbody {
	margin: 0;
	padding: 10px 0 0 0;
	background: #455255;
}

/* header */
#header {
	margin: 0;
	padding: 0;
	height: 130px;
	width: 100%;
	background: #232833 url(images/header_bg.png) repeat-x;
}

#header-l {
	background: #000 url(images/shadow_l.png) 0 0 repeat-y;
	padding-left: 6px;
	position: relative;
}

#header-r {
	background: #000 url(images/shadow_r.png) 100% 0 repeat-y;
	padding-right: 6px;
	position: relative;
}

/* text logo and logo background */
#logo-bg {
	width:300px;
	height: 98px;
	background: url(images/logo_bg.png) repeat-x;
	padding: 30px 0 0 30px;
	color: #becbcd;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 24px;
	line-height: 26px;
	font-weight: bold;
	float: left;
	border-top: 1px solid #a4bebd;
	border-right: 1px solid #627376;
	border-bottom: 1px solid #4c6062;
}

#logo-bg a {
	color: #becbcd;
}

/* settings for custom logo (image) */
#logo, #logo a {
	width:300px;
	height: 128px;
	background: url(images/logo.png) no-repeat;
	float: left;
	display: block;
}

/* menu */

#mainmenu {
	margin: 0;
	padding: 2px 0 0 1px;
	height: 128px;
	float: left;
}

.menu_column {
	margin: 0;
	padding: 0;
	float: left;
}

/* login logout button "box" */

.login_column {
	margin: 0;
	margin-right: 5px;
	padding: 0;
	float: left;
}

.maintab_back a, .maintab_back a:visited {
	margin: 1px;
	padding: 2px 0 0 5px;
	text-decoration: none;
	color: #657173;
	display: block;
	height: 39px;
	width: 90px;
	font-size: 11px;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	text-transform: uppercase;	
	background: url(images/maintab_bg.png) repeat-x;
}

.maintab_back a:hover {
	margin: 1px;
	padding: 2px 0 0 5px;
	color: #fff;
	text-decoration: none;
	background: url(images/maintab_bg_a.png) repeat-x;
}

.maintab_active_back a, .maintab_active_back a:visited {
	margin: 1px;
	padding: 2px 0 0 5px;
	text-decoration: none;
	color: #fff;
	display: block;
	height: 39px;
	width: 90px;
	font-size: 11px;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	text-transform: uppercase;	
}

.maintab_active_back a:hover {
	margin: 1px;
	padding: 2px 0 0 5px;
	color: #fff;
	text-decoration: none;
}

.maintab_active_back a {
	background: url(images/maintab_bg_a.png) repeat-x;
}

/* login / logout button */

.logintab_back a, .logintab_back a:visited {
	margin: 1px;
	padding: 20px 0 0 5px;
	text-decoration: none;
	text-align: center;
	color: #657173;
	display: block;
	height: 121px;
	width: 40px;
	font-size: 11px;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	text-transform: uppercase;	
	background: url(images/logintab_bg.png) repeat-x;
}

.logintab_back a:hover {
	margin: 1px;
	padding: 20px 0 0 5px;
	text-decoration: none;
	text-align: center;
	color: #fff;
	text-decoration: none;
	background: url(images/logintab_bg_a.png) repeat-x;
}

.logintab_active_back a, .logintab_active_back a:visited {
	margin: 1px;
	padding: 20px 0 0 5px;
	text-decoration: none;
	text-align: center;
	color: #fff;
	display: block;
	height: 121px;
	width: 40px;
	font-size: 11px;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	text-transform: uppercase;	
}

.logintab_active_back a:hover {
	margin: 1px;
	padding: 20px 0 0 5px;
	text-decoration: none;
	text-align: center;
	color: #fff;
	text-decoration: none;
}

.logintab_active_back a {
	background: url(images/logintab_bg_a.png) repeat-x;
}

#logincenter {
	margin: 0;
	padding: 2px 5px 2px 8px;
	color: #becbcd;
}

#logincenter a {
	color: #5bbece;
}

#logincenter a:hover {
	color: #fff;
}

/* strip of buttons */

.buttons {
	margin: 0;
	padding: 2px 4px 2px 4px;
	color: #627376;
	background: #6d8a8e url(images/catbg.gif) repeat-x;
	border-top: 1px solid #879fa2;
	border-bottom: 1px solid #4e6467;
	border-left: 1px solid #8fa6a9;
	border-right: 1px solid #627376;
}

.buttons a {
	color: #bcdc69;
}
/* news */

.news {
	width:310px;
	border-right: 2px solid #2a302f;
	padding: 0px 10px 10px 10px;
	text-align: left;
	vertical-align: top;
	background: #334041 url(images/news_bg.png) repeat-x;
	color: #becbcd;
}

.news a {
	color: #5bbece;
}

.news a:hover {
	color: #fff;
}

.news h3 {
	line-height: 22px;
	background: url(images/news_line.gif) repeat-x;
}

/* Mini User Center = showcase */

.showcase {
	padding: 0px 10px 10px 10px;
	color: #fff;
	border-top: 1px solid #5bbece;
	border-right: 1px solid #3996a4;
	border-bottom: 1px solid #137b9e;
	border-left: 1px solid #5bbece;
	background: #1d84a0 url(images/usr_center_bg.png) repeat-x;
}

.showcase ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.showcase li {
		border-bottom: 1px dotted #b7bbc7;
		padding-bottom: 0;
		margin-bottom: 2px;
}

.showcase h3 {
	line-height: 22px;
	background: url(images/showcase_line.gif) repeat-x;
}

.showcase a {
	color: #bcdc69;
}

.showcase a:hover {
	color: #fff;
}

.userinfo {
	float: left;
	padding: 10px 0 10px 10px;
}

.searchfield {
	text-align: right;
	padding: 5px 20px 10px 5px;
}

/* put a frame around each avatar */
.avatar
{
	border-top: 1px solid #222f30;
	border-right: 1px solid #4c6062;
	border-bottom: 1px solid #4c6062;
	border-left: 1px solid #222f30;
}

/* header div box for avatar */
.avatar_box{
	margin: 0;
	padding: 20px;
	text-align: center;
}

/* resize header avatar */
.avatar_r
{
	height: 100px;
	width: 100px;
	border-top: 1px solid #222f30;
	border-right: 1px solid #4c6062;
	border-bottom: 1px solid #4c6062;
	border-left: 1px solid #222f30;
}

/* footer (smf copyright) */

#footer {
	margin: 0;
	padding: 20px 0 20px 0;
	text-align: center;
	background: url(images/logo_bg.png) repeat-x;
	color: #becbcd;
	border-top: 1px solid #a4bebd;
}

#footer a {
	color: #5e696c;
	text-decoration: none;
}

#footer a:hover {
	color: #fff;
	text-decoration: none;
}

/* footer bottom border */

#footer2 {
	height: 6px;
	background: url(images/bottom.png) repeat-x;
}

#footer2_l {
	background: url(images/bottomcorner_l.png) 0 0 no-repeat;
	padding-left: 6px;
	position: relative;
}

#footer2_r {
	background: url(images/bottomcorner_r.png) 100% 0 no-repeat;
	padding-right: 6px;
	position: relative;	
}

/* linktree intro */

.breadcrumb {
	margin:0px 0px 10px 5px;
	font-size:0.9em;
	text-decoration:none;
}

.pathway {
	font-weight: bold;
}

fieldset {
	border: 0;
	padding: 5px 0;
}

/*** fonts ***/

body {
		line-height: 125%;
		font-family: "Lucida Grande", Tahoma, Helvetica, sans-serif;
		color: #becbcd;
		font-size: 11px;
}

a {
	color: #5bbece;
}

a:hover {
	color: #fff;
}

.small,
.modifydate,
.createdate,
div.mosimage_caption {
	font-size: 100%;
}

#inset a {
	font-size: 110%;
}


/* font family */
.small,
.createdate,
.modifydate,
#inset {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
}

a:link,
a:visited {
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

/* headings */

h1 {
	padding-bottom: 5px;
}

h2 {
   padding-bottom: 5px;
}

h3 { 
   padding-bottom: 0px;
}

h4 {
	 padding-bottom: 5px;
}

.small {
	font-weight: bold;
	color: #999;
}

.clr {
	clear: both;
}

.hide {
	display: none;
}

form {
	border: 0;
	margin: 0;
	padding: 0;
}

p {
  margin-top: 0;
  margin-bottom: 5px;
}

/* No image should have a border when linked */
a img{
border: 0;
}

/* A quote, perhaps from another post. */
.quote
{
	color: #000000;
	background-color: #ccc;
	border: 1px solid #000000;
	margin: 1px;
	padding: 1px;
	font-size: x-small;
	line-height: 1.4em;
}

/* A code block - maybe even PHP ;). */
.code
{
	color: #fff;
	background-color: #000;
	font-size: x-small;
	line-height: 1.4em;
	/* 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
{
	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;
}

/* 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, tr.windowbg td
{
	padding: 5px;
	background: #455255;
	border-bottom: 1px solid #313a3c;
	border-left: 1px solid #5e696c;
	border-top: 1px solid #5e696c;
	border-right: 1px solid #313a3c;
}
.windowbg2,tr.windowbg2 td
{
	padding: 5px;
	background: #334041;
	border-bottom: 1px solid #242d2e;
	border-left: 1px solid #4e595a;
	border-top: 1px solid #4e595a;
	border-right: 1px solid #242d2e;
}
.windowbg3,tr.windowbg3 td
{
	padding: 5px;
	background: #334041;
	border-bottom: 1px solid #242d2e;
	border-left: 1px solid #4e595a;
	border-top: 1px solid #4e595a;
	border-right: 1px solid #242d2e;
}

/* the today container in calendar */
.calendar_today
{
	padding: 5px;
	background: #334041;
	border-bottom: 1px solid #242d2e;
	border-left: 1px solid #4e595a;
	border-top: 1px solid #4e595a;
	border-right: 1px solid #242d2e;
}

/* These are used primarily for titles, but also for headers (the row that says what everything in the table is.) */
table.nopad .titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td, tr td.titlebg
{
	font-size: 100%;
	font-weight: bold;
	padding: 4px;
}
.titlebg, .titlebg a:link, .titlebg a:visited
{
}

.titlebg a:hover
{
}
/* same as titlebg, but used where bold text is not needed */
.titlebg2 a:link, .titlebg2 a:visited
{
}

.titlebg2 a:hover
{
}
.titlebg, .titlebg2{
	background: #7c979b url(images/catbg.png) 0 0 repeat-x;
	border-top: 1px solid #8fa6a9;
	border-bottom: 1px solid #627376;
}
/* This is used for tables that have a grid/border background color (such as the topic listing.) */
.bordercolor
{
}

/* This is used on tables that should just have a border around them. */
.tborder
{
 
}

.catbg, .catbg2, .catbg3{
	background: #7c979b url(images/catbg.png) 0 0 repeat-x;
	border-top: 1px solid #8fa6a9;
	border-bottom: 1px solid #627376;
	border-left: 1px solid #8fa6a9;
	border-right: 1px solid #627376;
	font-weight: bold;
}

/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext
{
	font-size: x-small;
	font-family: verdana, sans-serif;
}

.middletext
{
  line-height: 18px;
  text-indent: 10px;
}

.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;
}

/* little workaround for the display template */
.tb_margin {
	position: relative;
	bottom: -1px;
}

/* 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;
}

#verificiation_image {
	background-color: #fff;
	margin-bottom: 5px;
}