/* -- ELEMENT STYLES -- */

body {  
  font-family: arial, helvetica, arial, sans-serif;
  font-size: 90%;
  color: #234163;
  background-color: #EEF3FA;
  margin: 10px;
}

a {
  color: #5A799D;
  background-color: transparent;
}

a:hover {
  text-decoration:none;
  color: #5A799D;
  background-color: #EEEEEE;
}

acronym {
  cursor: help;
  border-bottom: 1px dashed #AAAAAA;
}

img {
  border: 0px;
}

ul {
  list-style-image: url(../images/bullet.gif);  
}


/* -- MAIN CONTAINER -- */

#layoutBox {
  float: left;
  margin: auto;
  border: 1px solid #5A799D;
  background-color: #FFFFFF;
  padding: 10px;  
}


/* -- HEADER CONTAINER -- */

#headerBox {
  height: 4em;
  border: 1px solid #5A799D;
  background: #7897BB url(../images/hdr_bg.jpg) repeat-x bottom;
  padding-left: 15%;
}

/* -- HEADER STYLES -- */

.title {
  font-family: times new roman, helvetica, arial, sans-serif;
  font-size: 280%;
  font-weight: bold;
  font-style: italic;
  color: #FFFFFF;
  line-height: 0.9em;
}

.subTitle {
  font-size: 90%;
  color: #5A799D;
  padding-left: 10%;
}


/* -- MENU CONTAINER -- */

#menuBox {
  float: left;
  width: 15em;
  margin: 10px 0 0 0;
  border-right: 1px solid #5A799D;  
  text-align: left;
}

#menuBox p {
  margin: 5px 0 20px 2px;
}

#menuBox br {
  margin-top: 30px;
}


/* -- CONTENT CONTAINER -- */

#mainContent {
  margin: 10px 0 0 16em;
  padding: 0 1em;
  border-left: 1px solid #5A799D;
}

/*#mainContent br {
  display: block;
  margin-bottom: 10px;
}*/

#mainContent p {
  padding: 0px 5px 2px 10px;
}

#mainContent img.left {
	float: left;
	margin-right: 1em;
}

.spacer {
  height: 1px;
  clear: both;
}

/* Used by items meant for text only rendering */

.noDisplay {
  display: none;
}


/* -- HEADER/FOOTER STYLES (menuBox & mainContent) -- */

#mainContent h1, #menuBox h1, .menuFooter, .footer {
  font-family: times new roman, helvetica, arial, sans-serif;
  font-size: 125%;
  font-weight: bold;
  letter-spacing: 0.05em;
  color: #5A799D;
  background: #EEF3FA url(../images/hdr_icon.gif) no-repeat bottom right;
  border-top: 1px solid #5A799D;
  border-bottom: 1px solid #5A799D;  
  display: block; 
  padding: 2px 2px 2px 10px;
  margin: 0 0 10px 0;
}

#mainContent h1, .footer {
  border-right: 1px solid #5A799D;
} 

.menuFooter {
  margin-bottom: 0px;
}
.footer {
	margin: 1em -1em 0 -1em;
}
#menuBox h1, .menuFooter {
  border-left: 1px solid #5A799D;
}

#mainContent h2, #menuBox h2 {
  font-size: 125%;
  font-weight: bold;
  background-color: #EEEEEE;
  display: block;
  /*padding: 0px 0px 0px 5px;*/
  margin-bottom: 0px;
}

#mainContent h1, #mainContent h2, .footer {
  clear: right;  /* Set to both if you don't care about Internet Explorer */
}

.sign {
	display: block;
	text-align: right;
	font-size: 80%;
	font-style: italic;
}
.footer {
  font-family: arial, helvetica, arial, sans-serif;
  font-size: 80%;
  font-weight: normal;
  border-right: 1px solid #5A799D;
  border-left: 0px;
}

.footer a:hover {
  background-color: #D6E1F1;
}

.footer br {
  margin: -20px;
}


/* -- MENU/NEWS ITEM STYLES -- */

.newsGroup {
  padding: 0px 5px 0px 5px;
  margin-bottom: 30px;
}

.menuGroup {
  padding: 5px 0 5px 0;
  margin-bottom: 30px;
}

.menuGroup a {
  color: #35567C;
  text-indent: 1em;
  text-decoration: none;
  margin-bottom: 2px;
  display: block;  
}

.menuGroup a:hover {
  color: #FFFFFF;
  background-color: #5A799D;
}

/* -- IMAGE STYLES -- */

.imgRight, .imgLeft {
  padding: 10px 5px 5px 10px;
  border: 1px solid #FFFFFF;
}

.imgRight {
  float: right;
}

/* Below style will not work correctly unless clear = "both" on the
   #mainContent h1, #mainContent h2, .footer class */

.imgLeft {
  float: left;
}

/* Navigation links - for the link tree. */
.nav, .nav:link, .nav:visited
{
	color: #000000;
	text-decoration: none;
}
a.nav:hover
{
	font-weight: bold;
	color: #cc3333;
	text-decoration: underline;
}

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

/* Input boxes - just a bit smaller than normal so they align well. */
input, textarea, button
{
	font-size: 9pt;
	color: #000000;
	font-family: Tahoma, arial, helvetica, 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: 8pt;
	font-weight: normal;
	color: #000000;
	font-family: Tahoma, arial, helvetica, 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: #C3B8D0;
	border: 1px solid #000000;
	margin: 1px;
	padding: 1px;
	font-size: x-small;
}

/* A code block - maybe even PHP ;). */
.code
{
	color: #000000;
	background-color: #cccccc;
	border: 1px solid #000000;
	padding: 1px;
	font-family: "courier new", helvetica, "times new roman", serif;
	font-size: x-small;
	width: 99%;
	margin: 1px auto 1px auto;
	white-space: nowrap;
	overflow: auto;
}

/* The "Quote:" and "Code:" header parts... */
.quoteheader, .codeheader
{
	color: #000000;
	text-decoration: none;
	font-style: normal;
	font-weight: bold;
	font-size: x-small;
}

/* 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
{
	color: #000000;
	background-color: #E1E1E1;
}
.windowbg2
{
	color: #000000;
	background-color: #F0F0F0;
}

/* All the signatures used in the forum.  If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */
.signature
{
}

/* These are used primarily for titles, but also for headers (the row that says what everything in the table is.) */
.titlebg, tr.titlebg td, .titlebg a:link, .titlebg a:visited
{
	color: white;
	font-style: normal;
	background-color: #6B8EAE;
}
.titlebg a:hover
{
	color: #dfdfdf;
}

/* This is used for categories, page indexes, and several other areas in the forum. */
.catbg
{
	background-image: url(images/catbg.jpg);
}

/* This is used for a category that has new posts in it... to make it light up. */
.catbg2
{
	background-image: url(images/catbg2.jpg);
}

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

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

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

/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext
{
	font-size: x-small;
	font-family: Tahoma, arial, helvetica, serif;
}
.normaltext
{
	font-size: small;
}
.largetext
{
	font-size: large;
}

/* This is the white header area where the title, menu bars, and header boxes are. */
#headerarea
{
	background-color: white;
	border-bottom: 1px solid gray;
}
/* This is the main area of the forum, the part that's gray. */
#bodyarea
{
	background-color: #D4D4D4;
}
/* And this is the bottom, where the copyright is, etc. */
#footerarea {
	clear: both;
	margin: auto;
	font-size: 80%;
	text-align: center;
}

/* This is for the special header boxes on the top (user info, key stats, news box.) */
.headertitles
{
	background-color: #6B8EAE;
	border: 1px solid #6B8EAE;
}
.headerbodies
{
	border: 1px solid #7A7777;
	background-color: #EFEFEF;
	background-repeat: repeat-x;
	background-position: bottom;
}

#mainContent .php, #mainContent .sql, #mainContent .javascript, #mainContent .html4strict, #mainContent .css {
	margin: 1em;
	background-color:#EEEEFF;
	color: black;
}
#mainContent .php br, #mainContent .sql br, #mainContent .javascript br, #mainContent .html4strict br, #mainContent .css br {
	display: block;
	margin: 0;
}
	
