/*****************************/
/*** Core html setup stuff ***/
/*****************************/

html {
  height: 100%;
  margin-bottom: 1px;
}

form {
  margin: 0;
  padding: 0;
}

body {
	font-family: Arial, Verdana, Helvetica, sans-serif;
	line-height: 1.3em;
	margin: 0px 0px 0px 0px;
	font-size: 12px;
	color: #333;
}

a:link, a:visited {
	text-decoration: none;
   color: #ff8800;
}

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

input.button { cursor: pointer; }

p { margin-top: 0; margin-bottom: 5px; }

img {
	border: 0 none;
}

/*****************************************/
/*** Template specific layout elements ***/
/*****************************************/

#page_bg {
   padding: 10px 0;
   margin-bottom: 1px;
   background: #333;
}

div#wrapper {
   background: #f7f7f7 url(images/mw_shadow_l.png) 0 0 repeat-y;
   margin-left: auto;
   margin-right: auto;
}

div#wrapper_r {
   background: url(images/mw_shadow_r.png) 100% 0 repeat-y;
}

div.center {
  text-align: center;
}

body.width_standard div#wrapper {
	min-width: 950px;
	max-width: 1050px;
}

div#header {
   background: url(images/mw_header_t.png) 0 0 repeat-x;
}

div#header_l {
   position: relative;
   background: url(images/mw_header_t_l.png) 0 0 no-repeat;
}

div#header_r {
   height:135px;
   padding-left: 370px;
   padding-right: 30px;
   padding-top: 25px;
   overflow: hidden;
   text-align: left;
   background: url(images/mw_header_t_r.png) 100% 0 no-repeat;
}

div#logo {
	position: absolute;
	left: 18px;
	top: 25px;
	float: left;
	width: 95%;
	height: 140px;
	background: url(images/mt_logo_forum.png) 0 0 no-repeat;
	overflow: hidden;
	z-index: 1;
}

div#tabarea {
	background: url(images/mw_header_b.png) 0 0 repeat-x;
	margin: 0 11px;
}

div#tabarea_l {
	background: url(images/mw_header_l_b.png) 0 0 no-repeat;
}

div#tabarea_r {
	height: 42px;
	background: url(images/mw_header_r_b.png) 100% 0 no-repeat;
}


div#footer {
   background: #f7f7f7 url(images/mw_footer_b.png) 0 100% repeat-x;
}

#footer img {
   margin: 0px;
}

div#footer_l {
   background: url(images/mw_footer_b_l.png) 0 0 no-repeat;
}

div#footer_r {
	padding-top: 10px;
	height: 47px;
	overflow: hidden;
   background: url(images/mw_footer_b_r.png) 100% 0 no-repeat;
}

div#footer_r div {
	text-align: center;
	font-size: .90em;
	color: #aaa;
}

div#footer_r a:link, div#footer_r a:visited  {
	color: #999;
}

div#footerspacer {
	height: 10px;
}

.pathway {
	padding-bottom: 5px;
	width: auto;
	margin-top: -2px;
	text-align: left;
}


#area {
	padding: 0;
}

#whitebox {
	margin: 0 21px 0px 21px;
	background: #fff;
	width: auto;
}

#whitebox div {
	text-align: left;
}

#whitebox_t {
	background: #fff url(images/mw_content_t.png) 0 0 repeat-x;
}

#whitebox_tl {
	background: url(images/mw_content_t_l.png) 0 0 no-repeat;
}

#whitebox_tr {
	height: 10px;
	overflow: hidden;
	background: url(images/mw_content_t_r.png) 100% 0 no-repeat;
}

#whitebox_m {
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	width: auto;
	padding: 1px 8px;
}

#whitebox_b {
	margin-top: -5px;
	background: url(images/mw_content_b.png) 0 100% repeat-x;
}

#whitebox_bl {
	background: url(images/mw_content_b_l.png) 0 100% no-repeat;
}

#whitebox_br {
	height: 13px;
	background: url(images/mw_content_b_r.png) 100% 100% no-repeat;
}

/* horizontal pill menu */
table.pill {
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

td.pill_m {
  padding: 0;
  margin: 0;
  width: auto;
}

#pillmenu {
  white-space: nowrap;
  height: 32px;
  float: left;
}

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

#pillmenu li {
	float: left;
	background: url(images/mw_menu_separator.png) top right no-repeat;
	margin: 0;
	padding: 0;
}

#pillmenu a {
  font-family: Arial, Verdana, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: bold;
	float:left;
  display:block;
  height: 24px;
  line-height: 24px;
  padding: 0 20px;
  color: #000;
  text-decoration: none;
}

#pillmenu a:hover {
  color: #ff8800;
}

#pillmenu a#active_menu-nav {
	margin-top:2px;
	height: 21px;
	line-height: 21px;
	background-position: 0 0;
   background: url(images/mw_menu_active_bg.png) 0 0 repeat-x;
   color: #fff;
}

#pillmenu a#active_menu-nav:hover {
  color: #fff;
}

#leftcolumn {
	padding: 0;
	margin: 0;
	width: 20%;
	float:left;
}

#maincolumn,
#maincolumn_full {
	margin-left: 20%;
	padding-left: 15px;
	width: 75%;
}

#maincolumn_full {
	margin-left: 0;
	padding: 0;
	width: 100%;
}

table.nopad {
	width: 100%;
	border-collapse: collapse;
	padding: 0;
	margin: 0;
	margin-bottom: 10px;
}

table.nopad td.middle_pad {
	width: 20px;
}

/*****************************************/
/*** Joomla! specific content elements ***/
/*****************************************/

div.offline {
	background: #fffebb;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	font-size: 1.2em;
	padding: 5px;
}

span.pathway {
  display: block;
  margin: 0 20px;
  height: 20px;
  line-height: 20px;
  overflow: hidden;
}

span.pathway img {
  vertical-align: middle;
  padding-left: 3px;
  padding-right: 3px;
}

/* headers */

h1 {
	padding: 0;
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size: 1.3em;
	font-weight: bold;
	vertical-align: bottom;
	color: #666;
	text-align: left;
	width: 100%;
}

h2, .contentheading {
	padding-bottom: 5px;
   padding-left: 20px;
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size: 1.3em;
	font-weight: bold;
	vertical-align: bottom;
	color: #333;
	text-align: left;
	width: 100%;
	background: url(images/icons/asterisk_orange.png) 0 0 no-repeat;
    border-bottom: 1px solid #ff8800;
}

table.contentpaneopen h3 {
	margin-top: 25px;
}

h4 {
	font-family: Arial, Verdana, Helvetica, sans-serif;
	color: #333;
}

h3, .componentheading, table.moduletable th, legend {
  margin: 0;
  /*font-family: Helvetica,Arial,sans-serif;*/
  font-size: 16px;
  font-weight: bold;
  padding-left: 0px;
  padding-bottom: 3px;
  margin-bottom: 10px;
  text-align: left;
  border-bottom: 1px solid #ff8800;
  color: #333333;
}

/* small text */
.small {
	font-size: .90em;
	color: #999;
	font-weight: normal;
	text-align: left;
}

/* form validation */
.invalid { border-color: #ff0000; }
label.invalid { color: #ff0000; }


/** overlib **/

.ol-foreground {
	background-color: #f6f6f6;
}

.ol-background {
	background-color: #666;
}

.ol-textfont {
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size: 10px;
}

.ol-captionfont {
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size: 12px;
	color: #f6f6f6;
	font-weight: bold;
}
.ol-captionfont a {
	color: #0B55C4;
	text-decoration: none;
	font-size: 12px;
}

.ol-closefont {}

/* menu links */

a.mainlevel:link, a.mainlevel:visited {
	padding-left: 5px;
}

a.mainlevel:hover {
}

a.mainlevel:hover, #active_menu
{
   color: #cc0000;
}

a.mainlevel-nav
{
   width: 95px;
   float: left;
   background: url(images/menubg.png) repeat-x;
   margin: 1px;

}

a.mainlevel-nav:link, a.mainlevel-nav:visited
{
   display: block;
   padding: 5px;
   border: 1px solid #333333;
   font-weight: bold;
   font-size: 1em;
   font-family: Arial, Verdana, Helvetica, sans-serif;
   color: #ffffff;
   background-color: #333333;
}

a.mainlevel-nav:hover, #active_menu-nav
{
   background-color: #ff8800;
   background: url(images/menubg_hl.png) repeat-x;
   color: #333333
}

/* spacers */
span.article_separator {
	display: block;
	margin-bottom: 10px;
}

.article_column {
	padding-right: 5px;
}

.column_separator {
	border-left: 1px dashed #e0e0e0;
	padding-left: 10px;
}

.clr {
	clear: both;
}

div#maindivider {
  border-top: 1px solid #ddd;
  margin-bottom: 10px;
  overflow: hidden;
  height: 1px;
}

table.blog span.article_separator {
	display: block;
	height: 5px;
}



.highlight {
/*	background-color: #fffebb;*/
}


#leftcolumn div.module {
	padding: 0 10px;
}

#leftcolumn div.module table {
	width: auto;
}

/* forms */
table.adminform textarea {
  width: 540px;
  height: 400px;
  font-size: 1em;
  color: #000099;
}

div.search input {
	width: 145px;
	border: 1px solid #ccc;
	margin: 15px 0 10px 0;
}

div.hidden {
   display: none;
}

form#form-login fieldset { border: 0 none; margin: 0em; padding: 0.2em;}
form#form-login ul { padding-left: 20px; }

form#com-form-login fieldset { border: 0 none; margin: 0em; padding: 0.2em;}
form#com-form-login ul { padding-left: 20px; }

/* thumbnails */
div.mosimage         {  margin: 5px; }
div.mosimage_caption {  font-size: .90em; color: #666; }

div.caption       { padding: 0 10px 0 10px; }
div.caption img   { border: 1px solid #CCC; }
div.caption p     { font-size: .90em; color: #666; text-align: center; }

/* Parameter Table */
table.paramlist {
	margin-top: 5px;
}

table.paramlist td.paramlist_key {
	width: 128px;
	text-align: left;
	height: 30px;
}

table.paramlist td.paramlist_value {
}

div.message {
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-weight: bold;
	font-size : 14px;
	color : #c30;
	text-align: center;
	width: auto;
	background-color: #f9f9f9;
	border: solid 1px #d5d5d5;
	margin: 3px 0px 10px;
	padding: 3px 20px;
}

/* Banners module */

/* Default skyscraper style */
.bannergroup {
	width: 100%;
}

.banneritem img {
	position: relative;
	float: right;
	padding-bottom: 5px;
	z-index: 2;
    margin: 0px;
}

.banneritem object {
	position: relative;
	float: right;
	padding-bottom: 5px;
	z-index: 2;
    margin: 0px;
}

.banneritem_right img {
	display: block;
	margin-left: auto;
	margin-right: auto;
   	padding: 5px;
	margin-bottom: 20px;
}

/* Text advert style */

.banneritem_text {
	padding: 4px;
	font-size: 11px;
}

.bannerfooter_text {
	padding: 4px;
	font-size: 11px;
	background-color: #F7F7F7;
	text-align: right;
}

/* System Messages */
/* see system general.css */

.pagination span { padding: 2px; }
.pagination a    { padding: 2px; }

/* Polls */
.pollstableborder td {
	text-align: left;
}

/* WebLinks */
span.description {
	display:block;
	padding-left: 30px;
}

/* Frontend Editing*/
fieldset {
	border: 1px solid #ccc;
	margin-top: 15px;
	padding: 15px;
}

legend {
	margin: 0;
	padding: 0 10px;
}

td.key {
	border-bottom:1px solid #eee;
	color: #666;
}

/* Tooltips */

.tool-tip {
	float: left;
	background: #ffc;
	border: 1px solid #D4D5AA;
	padding: 5px;
	max-width: 200px;
}

.tool-title {
	padding: 0;
	margin: 0;
	font-size: 100%;
	font-weight: bold;
	margin-top: -15px;
	padding-top: 15px;
	padding-bottom: 5px;
	background: url(../../system/images/selector-arrow.png) no-repeat;
}

.tool-text {
	font-size: 100%;
	margin: 0;
}

/* Category Headers - Navigation - Misc Stuff */

.category {
  font-weight: bold;
  color: #ffffff;
  height: 16px;
  background-image: url(images/menubg.png);
}

.titlemedium {
  font-weight: bold;
  line-height: 150%;
  color: #FFFFFF;
  height: 25px;
  padding-left: 8px;
  background-image: url(images/menubg.png);
}

#titlelarge {
	font-weight: bold;
	line-height: 150%;
	color: #FFFFFF;
	background-image: url(images/menubg.png);
}

.boardinfo {
	border:1px solid black;
}

#boardinfocat {
	font-weight: bold;
	color: #ffffff;
	height: 16px;
	background-image: url(images/menubg.png);
	border-top:1px solid black;
	border-bottom:1px solid black;
}

#redirect {
	font-size: 11px;
	font-weight: bold;
	border: 1px solid black;
}

#QUOTEHEAD {
	font-weight: bold;
	color: #FFFFFF;
	background-color: black;
	border: 1px solid black;
	padding-left: 2px;
	padding-top: 4px;
	padding-right: 2px;
	padding-bottom: 4px;
}

#QUOTE {
	color: #333333;
	background-color: #EEEEEE;
	border-bottom: 1px solid black;
    border-left: 1px solid black;
    border-right: 1px solid black;
	padding-left: 10px;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
}

#CODEHEAD {
	font-weight: bold;
	color: #FFFFFF;
	background-color: black;
	border: 1px solid black;
	padding-left: 2px;
	padding-top: 4px;
	padding-right: 2px;
	padding-bottom: 4px;
}

#CODE {
	font-family: Verdana, Arial;
	font-size: 10px;
	color: #333333;
	background-color: #FFFFFF;
	border-left: 1px solid black;
	border-right: 1px solid black;
	border-bottom: 1px solid black;
	padding-left: 10px;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
}

#ME {
	font-family: Verdana, Arial;
	font-size: 12px;
	color: #CC0000;
	text-align: center;
	font-weight: bold;
}



.forumclick {
  text-decoration: none;
  background-color: #FFFFFF;
}


/* Page Links */

.pagesof {
	background-color: #ffffff;
	border:1px solid black;
	position: relative;
	visibility: visible;
	text-align: center;
	padding: 2px 6px 2px 6px;
	white-space: nowrap;
}

.currentpage {
	color: #000000;
	background-color: #EFEFEF;
	border-top:1px solid black;
	border-right:1px solid black;
	border-bottom:1px solid black;
	position: relative;
	visibility: visible;
	text-align: center;
	padding: 2px 6px 2px 6px;
	white-space: nowrap;
}
.page {
	color: black;
	background-color: #ffffff;
	border-top:1px solid black;
	border-right:1px solid black;
	border-bottom:1px solid black;
	position: relative;
	visibility: visible;
	text-align: center;
	padding: 2px 6px 2px 6px;
	white-space: nowrap;
	text-decoration:none;
}

.page a:link, .page a:visited, .page a:active {
	text-decoration:none;
}

.page a:hover {
	color:blue;
	text-decoration:underline;
}

/* Extended Stats */
#statsbox {
	border:1px solid black;
}

#statstitle {
	border-bottom:1px solid black;
	font-weight: bold;
	line-height: 20px;
	color: #FFFFFF;
	background-image: url(images/menubg.png);
}

#statsbottom {
	border-top:1px solid black;
	font-weight: bold;
	color: #37496D;
	height: 16px;
	background-image: url(images/menubg.png);
}

#posttop {
  border-top: 2px solid black;
  background-color: #FFFFFF;
}

#normalname {
  text-align: center;
  font-weight: bold;
}

/* System Standard Messages */
#system-message { margin-bottom: 20px; }

#system-message dd.message ul { background: #C3D2E5 url(../../system/images/notice-info.png) 4px center no-repeat;border-top: 3px solid #DE7A7B; border-bottom: 3px solid #DE7A7B; margin:0px; padding-left: 40px; text-indent:0px;}

/* System Error Messages */
#system-message dd.error ul { color: #c00; background: #E6C0C0 url(../../system/images/notice-alert.png) 4px center no-repeat; border-top: 3px solid #DE7A7B; border-bottom: 3px solid #DE7A7B; margin:0px; padding-left: 40px; text-indent:0px;}

/* System Notice Messages */
#system-message dd.notice ul { color: #c00; background: #EFE7B8 url(../../system/images/notice-note.png) 4px center no-repeat; border-top: 3px solid #F0DC7E; border-bottom: 3px solid #F0DC7E; margin:0px; padding-left: 40px; text-indent:0px;}


#copyright{
	margin-bottom: 5px;
}

/* Component Specific Fixes */

#component-contact table  {
	/*padding: 2px 0px 2px 20px;*/
}



