/* ************************************* */
/* Common styles for the theme           */
/* ************************************* */

/* Normal, standard links. */
a:link
{
	color: #363516;
	text-decoration: none;
}
a:visited
{
	color: #363516;
	text-decoration: none;
}
a:hover
{
	text-decoration: underline;
}

/* Tables should show empty cells. */
table
{
	empty-cells: show;
}

/* set a fontsize that will look the same in all browsers. */
body
{
	font: 95%/90% Verdana, Helvetica, sans-serif;
	margin: 0;
	background-image: url(images/back2.gif);
	background-repeat: no-repeat;
	background-position: right bottom;
	background-color: #9bc95d;
	padding-top: 5px;
}

/* use dark grey for the text, leaving black for headers etc */
body, td, th , tr
{
	color: #363516;
}
#bodyarea
{
	background: url(images/body.png);
	border: 2px solid #b6e349;
	padding: 10px;
}
#headerarea
{

}

#userarea
{
	background: url(images/body.png);
	border: 2px solid #b6e349;
	/*padding: 5px;*/
}

#tabarea
{
	background: url(images/body.png);
	margin-bottom: -1px;
  /* border: 2px solid #b6e349;*/
}
/* lets give all forms zero padding/margins */
form
{
	padding: 0px;
	margin: 0px;
}

/* 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: #666666;
	background-color: #666666;
}

/* By default set the color on these tags as black. */
h1, h2, h3, h4, h5, h6, h7
{
	color: black;
	font-size: 1em;
	margin: 0;
	padding: 0;
}

/* No image should have a border when linked. */
a img
{
	border: 0;
}

/* No lines around buttons in Firefox! */
a
{
	outline: none;
}

/* Reset all lists. */
ul, ul li
{
	padding: 0;
	margin: 0;
	list-style: none;
}

/* We can define lists to be lists tho! */
ul.normallist
{
	padding-left:	2em;
}

ul.normallist li
{
	list-style: disc;
}

/* NOTE: REMOVE THIS??!?!?!! */
/* But do use them in the posts area! */
.post ul
{
	padding-left:	2em;
}
.post ul li
{
	list-style: disc;
}
.post ul li li
{
	list-style: circle;
}

/* ************************************* */
/* Some handy custom classes             */
/* ************************************* */

.floatright
{
	float: right;
}
.floatleft
{
	float: left;
}

/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext
{
	font-size: 0.8em;
	font-family: verdana, sans-serif;
}
.middletext
{
	font-size: 0.85em;
}
.normaltext
{
	font-size: 1em;
}
.largetext
{
	font-size: 1.4em;
}

/* This style will make sure all headers use the same padding throughout. */
.headerpadding
{
	padding: 0.5em;
}
/* smaller padding used in paragraphs, sections etc */
.smallpadding
{
	padding: 0.2em;
}
/* larger padding used in paragraphs, sections etc */
.largepadding
{
	padding: 0.7em;
}

/* A small space to the next section. */
.marginbottom
{
	margin-bottom: 1em;
}
/* On the top too. */
.margintop
{
	margin-top: 1em;
}
/* remove bold/italic styles */
span.plainstyle
{
	font-weight: normal;
	font-style: normal;
}
/* float a list horisontally */
ul.horizlist
{
	width: 100%;
}
ul.horizlist li
{
	float: left;
	padding: 0.2em 0.4em 0.2em 0.4em;
	vertical-align: top;
}
/* make a inline-list */
ul.nolist li
{
	display: inline;
}
/* Helping style to clear floated items. */
.clearfix:after
{
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix
{
	display: inline-block;
}

/* Hides from IE-mac. \*/
* html .clearfix
{
	height: 1%;
}
.clearfix
{
	display: block;
}
/* End hide from IE-mac. */

/* ************************************* */
/* Some specific SMF elements            */
/* ************************************* */

/* A quote, perhaps from another post. */
blockquote
{
	color: #000000;
	background-color: #f5fff0;
	border: 1px solid #000000;
	margin: 1px;
	margin-bottom: 5px;
	padding: 10px;
	font-size: x-small;
	line-height: 1.4em;
	width: auto;
}

/* A code block - maybe even PHP ;). */
code
{
	color: #000000;
	background-color: #dddddd;
	display: block;
	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%;
	overflow: auto;
	white-space: nowrap;
	/* 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;
	width: 100%;
}

/* For links to change the code stuff... */
.codeoperation
{
	font-weight: normal;
}

/* Styling for BBC tags */
.bbc_color a
{
	color: inherit;
}

.bbc_img
{
	border: 0;
}

.bbc_list
{
	margin-top: 0;
	margin-bottom: 0;
}

.bbc_size
{
	line-height: 1.3em;
}

.bbc_table
{
	font: inherit;
	color: inherit;
}

.bbc_table td
{
	font: inherit;
	color: inherit;
	vertical-align: top;
}

.bbc_u
{
	text-decoration: underline;
}

/* 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;
}

/* A more discreet highlight colour, for selected membergroups etc. */
.highlight2
{
	background-color: #B3F4B0;
	color: black;
}

/* ************************************* */
/* Real common classes                   */
/* ************************************* */

/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg, #preview_body, .windowbg a:link, .windowbg a:hover, .windowbg a:visited
{
	color: #71704a;
	background: #FFFCD9;
}
.windowbg2, .windowbg2 a:link, .windowbg2 a:hover, .windowbg2 a:visited
{
	color: #71704a;
	background: #FFFCD9;
}

#forumposts .windowbg2, #forumposts .windowbg2 a:link, #forumposts .windowbg2 a:hover, #forumposts .windowbg2 a:visited
{
	background: #fbfff2;
}
.windowbg3, .windowbg3 a:link, .windowbg3 a:hover, .windowbg3 a:visited
{
	color: #3e3d23;
	/*background: #e2e0b4;*/
	background-color: #FFFCD9;
}

/* Color for background of posts requiring approval */
.approvebg
{
	color: #000000;
	background-color: #F6E0D4;
}
/* Color for background of *topics* requiring approval */
.approvetbg
{
	color: #000000;
	background-color: #E4A17C;
}

/* the today container in calendar */
.calendar_today
{
	background-color: #FFFFFF;
}

/* 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, #credits h3
{
	color: #363516;
	font-style: normal;
	background: url(images/titlebg.jpg) repeat-x;
	/*background: url(images/grad.gif) repeat-x;*/
	/*background-color: #DDEEAA;*/
	padding-left: 10px;
	padding-right: 10px;
}
.titlebg2
{
	background: none;
	background-color: #DDEEAA;
}
.titlebg, .titlebg a:link, .titlebg a:visited
{
	font-weight: bold;
	color: #363516;
	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: #363516;
	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: #FFFFFF url(images/catbg.jpg) top left repeat-x;*/
	background-color: #dea;
	font-size: 10pt;
	color: #363516;
	padding-left: 8px;
	padding-right: 8px;
}
.catbg2 , tr.catbg2 td {
	/*background: url(images/catbg2.jpg) #FFFFFF;*/
	background-color: #dea;
	color: #363516;
	padding-left: 8px;
	padding-right: 8px;
}
.catbg, .catbg2
	{font-weight: bold;}

.catbg3, tr.catbg3 td, .catbg3 a:link, .catbg3 a:visited
	{font-size: 95%;color: #000000; text-decoration: none;}

.catbg a:link, .catbg a:visited , .catbg2 a:link, .catbg2 a:visited
	{	color: #363516;
 text-decoration: none;}

.catbg a:hover, .catbg2 a:hover, .catbg3 a:hover
	{color: #999999; text-decoration: underline;}
.bordercolor
{
}

/* This is used on tables that should just have a border around them. */
.tborder
{
}

/* Posts and personal messages displayed throughout the forum. */
.post, .personalmessage
{
	width: 100%;
	/*overflow: auto;*/
	line-height: 1.3em;
}
/* add a visual divider between subject and post */
.post
{
	/*margin-top: 0.7em;*/
	margin-top: 0.3em;
	padding-top: 0.7em;
	border-top: solid 1px #888;
}

/* 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;
}

/* Calendar colours for birthdays, events and holidays */
.birthday
{
	color: #920AC4;
}

.event
{
	color: #078907;
}

.holiday
{
	color: #000080;
}

/* Colours for warnings */
.warn_mute
{
	color: red;
}

.warn_moderate
{
	color: orange;
}

.warn_watch
{
	color: green;
}

a.moderation_link, a.moderation_link:visited
{
	color: red;
	font-weight: bold;
}

.openid_login
{
	background: white url(images/openid.gif) no-repeat;
	padding-left: 18px;
}

/* 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;
}

#ajax_in_progress a
{
	color: white;
	text-decoration: underline;
	font-size: smaller;
	float: right;
}


/* ************************************* */
/* Buttons and menus                     */
/* ************************************* */

.buttonlist ul, .buttonlist_bottom ul
{
   padding-left: 10px;
}
.buttonlist ul li, .buttonlist_bottom ul li
{
   margin: 0;
   padding: 0;
   display: inline;
}
.buttonlist ul li a, .buttonlist_bottom ul li a
{
   display: block;
   float: left;
   padding: 3px 5px 3px 5px;
	 margin-right: 2px;
	 color: #343;
	 background-color: #DDEEAA;
   font-size: 0.8em;
}
.buttonlist ul li a:hover, .buttonlist_bottom ul li a:hover
{
   background: #fff;
   color: #07f;
   text-decoration: none;
}
.buttonlist ul li a span, .buttonlist_bottom ul li a span
{
}
.buttonlist ul li a.active, .buttonlist_bottom ul li a.active
{
}
.buttonlist ul li a.active span em, .buttonlist_bottom ul li a.active span em
{
}
.buttonlist ul li a.active span, .buttonlist_bottom ul li a.active span
{
}
.buttonlist ul li a span.last, .buttonlist_bottom ul li a span.last
{
}

/* For links that are basically submit buttons. */
.buttonlist_submit
{
   background: transparent;
   vertical-align: top;
   text-decoration: none;
   font-size: 9px;
   border: 0;
}

.buttonlist_submit:hover
{
}

/* ..for the "bottom" menu */
.buttonlist_bottom ul
{
}
.buttonlist_bottom ul li a span
{
}
.buttonlist_bottom ul li a.active
{
}
.buttonlist_bottom ul li a.active span em
{
}
.buttonlist_bottom ul li a.active span
{
}
.buttonlist_bottom ul li a span.last
{
}
/* the old type of menu, with images */
.oldbuttonlist
{
   text-align: right;
   padding: 0.5em;
}

/* helping style to clear floated items */
.clearfix:after
{
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix
{
   display: inline-block;
}

/* Hides from IE-mac \*/
* html .clearfix
{
   height: 1%;
}
.clearfix
{
   display: block;
}
/* End hide from IE-mac */
/*
   border-bottom: solid 2px #888;
}*/
#container
{
   z-index: 100;
   color: #7e7b54;
}
#container ul.dropmenu
{
   list-style: none;
   padding: 0px;
   margin: 0 1em 0 1em;
}
.dropmenu
{
   float: left;
   padding-left: 0px;
   margin: 0px;
   z-index: 100;
}

.dropmenu ul
{
   margin: 20px 0 0 0;
   padding: 0;
}

.dropmenu li
{
   float: left;
   display: inline;
   width: auto;
   margin: 0;
   padding: 0px;
   position: relative;
   padding-right: 1px;
   font-family: arial;
}

.dropmenu li a, .dropmenu li a:visited
{
	 color: #7e7b54;
   padding: 4px;
   font-size: 0.9em;
   padding: 4px;
   display: block;
   float: left;
   height: 20px;
   line-height: 18px;
   background-color: #cae495;
}

.dropmenu li a:hover, .dropmenu .chosen a:hover, .dropmenu li:hover a, .dropmenu li.sfhover a
{
   background: url(images/body.png);
   text-decoration: none;
   color: #7e7b54;
	 background-color: #f1fac3;
}

.dropmenu .chosen a
{
   font-weight: bold;
   background: none;
   color: #7e7b54;
}

.dropmenu .chosen a
{
   font-weight: bold;
   color: #cae495;
}

.dropmenu .chosen a:hover, .dropmenu li li a:hover
{
   font-weight: bold;
   color: #7e7b54;
	 background-color: #f1fac3;
}

.dropmenu li li
{
	background: url(images/body.png);
   width: 16em;
   height: auto;
   padding: 0px;
   margin: 0px;
   border-left: 1px solid #fff;
   border-right: 1px solid #aaa;
}

.dropmenu li li a, .dropmenu .chosen li a, .dropmenu li:hover li a, .dropmenu li.sfhover li a
{
	background: url(images/body.png);
   display: block;
   line-height: 20px;
   padding: 0 0 0 1em;
   width: 16.3em;
   float: none;
   color: #7e7b54;
   font-weight: normal;
}

.dropmenu li li a:hover, .dropmenu .chosen li a:hover, .dropmenu li a.chosen:hover
{
	 background: url(images/body.png);
   color: #7e7b54;
}
.dropmenu .chosen li a
{
   color: #585640;
}
.dropmenu li ul {
	background: url(images/body.png);
   clear: both;
   position: absolute;
   height: auto;
   width: 15em;
   top: 26px;
   left: -999em;
   z-index: 99;
   padding-bottom: 0;
   margin: 0;
   font-family: arial;
}

.dropmenu li:hover ul {
   left: auto;
}
/* submenu 2 */
.dropmenu li ul ul.level2{
   background: url(images/body.png);
   clear: both;
   position: absolute;
   height: auto;
   width: 15em;
   top: -1px;
   left: -999em;
   z-index: 99;
   padding-bottom: 0;
   margin: 0 0 0 16.1em;
}

.dropmenu ul li:hover ul.level2 {
   left: auto;
}
