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

HTML {
  margin-bottom: 1px;
}

FORM {
  margin: 0;
  padding: 0;
}

BODY {
	margin: 0px 0px 0px 0px;
	font-size: 76%;
}

A:link, A:visited {
	color: #640000; 
	text-decoration: none;
	font-weight: normal;
}

A:hover {
	color: #8A0000;	
	text-decoration: none;
	font-weight: normal;
}

INPUT {
	border: 1px solid #B7B4A8;
	font: normal normal 10px Arial, Verdana;
	height: 12px;
}

TEXTAREA {
	border: 1px solid #B7B4A8;
	font: normal normal 10px Arial, Verdana;
}

INPUT.button {
	background-color: #E3E0D8;
	border: 1px solid #B7B4A8;
	padding: 0px 1px 0px 1px;
	margin: 5px 0px 10px 0px;
	font: normal normal 12px Arial, Verdana;
	height: 20px;
}

INPUT[type="submit"] {
	background-color: #E3E0D8;
	border: 1px solid #B7B4A8;
	padding: 0px 1px 0px 1px;
	margin: 5px 0px 10px 0px;
	font: normal normal 12px Arial, Verdana;
	height: 20px;
}

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

DIV,P, TD, TABLE, TH {
	font-family: Arial,Tahoma,Helvetica,sans-serif;
	line-height: 15px;
	font-size: 11px;
	color: #333;
}

IMG {
border: 0px;
}

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

#PageBG {
	padding: 10px 0;
	background: #9da193;
}


/* Shadow Styles */
TD.ShadowTopLeft { 
	background-image: url(../images/ShadowTopLeft.png);
	width: 21px;
	height: 21px;
}
TD.ShadowTop { 
	background-image: url(../images/ShadowTop.png);
	background-repeat: repeat-x;
	height: 21px;
}
TD.ShadowTopRight { 
	background-image: url(../images/ShadowTopRight.png); 
	width: 21px;
	height: 21px;
}
TD.ShadowRight { 
	background-image: url(../images/ShadowRight.png);
	background-repeat: repeat-y;
	width: 21px;
}
TD.ShadowLeft { 
	background-image: url(../images/ShadowLeft.png);
	background-repeat: repeat-y;
	width: 21px;
}
TD.ShadowBottomLeft { 
	background-image: url(../images/ShadowBottomLeft.png); 
	width: 21px;
	height: 21px;
}
TD.ShadowBottom { 
	background-image: url(../images/ShadowBottom.png);
	background-repeat: repeat-x;
	height: 21px;
	text-align: center;
	font-family: Tahoma,Helvetica,Arial,sans-serif;
	line-height: 12px;
	font-size: 9px;
	color: #000000;
}
TD.ShadowBottomRight { 
	background-image: url(../images/ShadowBottomRight.png); 
	width: 21px;
	height: 21px;
}

/* PAGE WRAPPER */
TD.WrapperBL { 
	border: 1px solid Black; 
	background-color: White;
	padding: 1px 1px 1px 1px;
}
DIV#Wrapper { 
	border: 1px solid Black; 
	width: 898px;
}




/* PAGE HEADER */

TD.Top {
	background: #4b0000 url(../images/Top.jpg) repeat-y; 
	height: 200px;
	overflow: hidden;
	vertical-align: middle;
	color: #7c4545;
}

TD.TopImage { 
	background: #4b0000 url(../images/TopImage.jpg) repeat-y; 
	width: 199px;
	height: 143px;
	overflow: hidden;
	vertical-align: middle;
	color: #7c4545;
}
TD.TopRight { 
	background: #e8dcdd url(../images/TopImage.jpg); 
	height: 144px;
	overflow: hidden;
}
DIV#TopContent {
	text-align: left;
	padding: 5px 5px 5px 5px;
	margin: 20px 20px 20px 20px;
	color: #FFFFF0;
	filter: alpha(opacity=50);
	opacity: 0.50;
	background-color: Black;
}



/* BREADCRUM BAR */
TD.MainMenu { 
	background: #7c4545 url(../images/MenuImage.jpg) repeat-y; 
	height: 30px;
	vertical-align: middle;
	border-bottom: 2px solid #9da193;
}

DIV#MainMenuContent {
	text-align: right;
	margin-left: 10px;
	color: #FFFFF0;
}
DIV#BreadCrumbContent {
	text-align: left;
	margin-left: 10px;
	color: #FFFFF0;
}

/* MAIN CONTENT STYLES */
TD.LeftBar { 
	background: #f4f2eb url(../images/LeftBar.gif) repeat-y; 
	width: 199px;
	border-right: 2px solid #e3e0d8;
}
TD.MainFrame { 
	background-color: #FFFFFF;
}
TD.RightBar { 
	background: #f4f2eb url(../images/RightBar.gif) repeat-y; 
	width: 199px;
	border-left: 2px solid #e3e0d8;
}
DIV.BarContent {
	margin: 10px 0px 10px 0px;	
	vertical-align: top;
}
DIV#MainContent {
	width: 97%;	
	vertical-align: top;
	margin-top: 10px;
	margin-bottom: 20px;
	text-align: justify;
}

DIV#MainContent TABLE {
	text-align: justify;	
}

DIV.SyndicateContent {
	margin: 20px 5px 5px 5px;
	vertical-align: bottom;
}
DIV.BarBottomContent {
	margin: 20px 0px 5px 0px;
	vertical-align: bottom;
}
DIV.MainBottomContent {
	margin: 20px 0px 5px 0px;
	vertical-align: bottom;
}
TABLE.TopContentTable {
	margin-bottom: 20px; 
}
.TopContentBox {
	vertical-align: top;
	border: 1px solid #e3e0d8;
	padding: 0px 0px 0px 0px;
	text-align: justify;
	margin: 0px 0px 0px 0px;
	width: 49%;

}

/* Top content boxes*/
TD.TopContentBox DIV.moduletable H3{
	margin: -3px -1px 0px -1px;
	font-weight: bold;
	font-family: "AvantGarde Md BT", Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #000000;
	padding: 2px 10px 2px 10px;
	text-align: center;
	background-color: #BDBDBA;
	margin: 0px 0px 0px 0px;
	position: relative;
	top: -2px;
}

TD.TopContentBox DIV.moduletable UL { 
	margin: 2px 3px 2px 3px;
	padding: 0;
	list-style: square inside none; 
	display: block;
	text-align: justify;
}

DIV.BarContent TABLE {
	width: 100%;
	margin-bottom: 40px;
}

DIV.BarContent TABLE TH {
	background-color: #BABABA;
	padding-left: 10px;
	text-align: left;
	vertical-align: middle;
        font-family: Verdana, Arial;
        font-size: 12px;
        color: Black;
	height: 16px;
}

DIV.BarContent TABLE TR TD UL.menu {
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
}

DIV.BarContent TABLE TR TD UL.menu LI {
	list-style: square inside none;
	padding: 1px 0px 1px 20px;
	margin: 3px 0px 3px 0px;
}

DIV.BarContent TABLE TR TD {
        padding: 5px 5px 0px 5px;
}



TD.TopContentBox TABLE {
	width: 100%;
}

TD.TopContentBox TABLE TR TH {
        background-color: #eeedea;
        padding-left: 10px;
        text-align: left;
        vertical-align: middle;
        font-family: Verdana, Arial;
        font-size: 10px;
        color: #4c0b0a;
        height: 13px;
}

TD.TopContentBox TABLE TR TD UL {
        padding: 0px 0px 0px 0px;
        margin: 0px 0px 0px 0px;
}

TD.TopContentBox TABLE TR TD UL LI {
        list-style: square inside none;
        padding: 0px 0px 0px 5px;
        margin: 0px 0px 0px 0px;
}






/*  #############################################*/


/*****************************************/
/*** 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: 16px;
  line-height: 16px;
  overflow: hidden;
}

/* headers */
div.componentheading {
  padding-left: 0px;
}

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

A.contentpagetitle:link, A.contentpagetitle:visited, A.contentpagetitle:hover {
	padding: 0;
	font-family:Helvetica ,Arial,sans-serif;
	font-size: 1.2em;
	font-weight: bold;
	vertical-align: bottom;
	color: #5b0000;
	text-align: left;
	width: 100%;
}

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

h2 {
	padding: 0;
	font-family: Arial, Helvetica,sans-serif;
	font-size: 1.4em;
	font-weight: normal;
	vertical-align: bottom;
	color: #333;
	text-align: left;
	width: 100%;
}

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

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

h3, .componentheading, table.moduletable th {
  margin: 0;
  font-weight: bold;
  font-family: Helvetica,Arial,sans-serif;
  font-size: 1.5em;
  color: #640000;
  padding-left: 0px;
	margin-bottom: 10px;
	text-align: left;
}

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

.modifydate {
  height: 20px;
  vertical-align: bottom;
	font-size: .90em;
	color: #999;
	font-weight: normal;
	text-align: left;
}

.createdate {
	height: 20px;
	vertical-align: top;
	font-size: .90em;
	color: #999;
	font-weight: normal;
	vertical-align: top;
	padding-bottom: 5px;
	padding-top: 0px;

}

a.readon {
	margin-top: 10px;
	display: block;
	float: left;
	background: url(../images/mw_readon.png) top right no-repeat;
	padding-right: 20px;
	line-height: 14px;
	height: 16px;
}


/** overlib **/

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

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

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

.ol-captionfont {
	font-family: Arial, 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#active_menu {
	font-weight: bold;
}

a.mainlevel-nav#active_menu-nav {
	color: red;
}

/* spacers */
span.article_seperator {
	display: block;
	height: 20px;
}

.article_column {
	padding-right: 5px;
}

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

td.buttonheading {

}

.clr {
	clear: both;
}

td.greyline {
  width: 20px;
  background: url(../images/mw_line_grey.png) 50% 0 repeat-y;
}

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

table.blog span.article_seperator {
	display: block;
	height: 20px;
}

/* table of contents */
table.contenttoc {
  margin: 5px;
  border: 1px solid #ccc;
  padding: 5px;
}

table.contenttoc td {
  padding: 0 5px;
}


/* content tables */
td.sectiontableheader {
  background: #efefef;
  color: #333;
  font-weight: bold;
  padding: 4px;
  border-right: 1px solid #fff;
}

tr.sectiontableentry0 td,
tr.sectiontableentry1 td,
tr.sectiontableentry2 td {
  padding: 4px;
}

td.sectiontableentry0,
td.sectiontableentry1,
td.sectiontableentry2 {
  padding: 3px;
}


/* content styles */
table.contentpaneopen, table.contentpane {
	margin: 0;
	padding: 0;
	width: 100%;
	text-align: justify;
}

table.contentpaneopen li {
	margin-bottom: 5px;
}

table.contentpaneopen fieldset {
	border: 0;
	border-top: 1px solid #ddd;
}

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

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




/* module control elements */
DIV.BarContent DIV.moduletable {
	width: 199px;
	padding-bottom: 20px;
	margin-bottom: 40px;
}
DIV.moduletable form, DIV.moduletable table {
	margin: 0px 10px 0px 10px;
	padding: 0px 0px 0px 0px;
	width: 179px;
}
DIV.moduletable form form, DIV.moduletable form table, DIV.moduletable table form, DIV.moduletable table table {
	width: auto;
	margin: 0px 0px 0px 0px;
}


div.moduletable_menu {
  margin-bottom: 40px;	
}
TD.LeftBar DIV.BarContent div.moduletable_menu H3 { 
	background-image: url(../images/LeftModule.gif); 
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #333;
	padding-top: 2px;
	padding-bottom: 2px;
}
TD.LeftBar DIV.BarContent div.moduletable_menu UL { 
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #333;
	margin: 0px 10px 0px 10px;
	padding: 0px 0px 0px 0px;
	display: block;
}

TD.LeftBar DIV.BarContent div.moduletable_menu UL LI { 
	display: block;
	margin: 0px 0px 10px 0px;
	padding: 0px 0px 2px 15px;
	font-family: "Times New Roman", Arial, Verdana;
	font-weight: bolder;
	text-align: left;
	font-size: 12px;
	color: #333;
	border-bottom: 1px double #C7C1B3;
	list-style-type: none;
	list-style-position: outside;
	font-variant: small-caps;
}


TD.LeftBar DIV.BarContent div.moduletable H3 { 
	background-image: url(../images/LeftModule.gif); 
	text-align: center;
	font-family: "AvantGarde Md BT", Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #333;
	padding-top: 2px;
	padding-bottom: 2px;
	font-weight: bold;
}
TD.RightBar DIV.BarContent div.moduletable H3 { 
	background-image: url(../images/RightModule.gif); 
	text-align: center;
	font-family: "AvantGarde Md BT", Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #333;
	padding-top: 2px;
	padding-bottom: 2px;
	font-weight: bold;
}










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

INPUT#mod_login_username, INPUT#mod_login_password {
	background-color: #FFFFFF;
	border: 1px solid #B7B4A8;
	margin-bottom: 5px;
	width: 145px;
}


/* thumbnails */
div.mosimage {
  margin: 5px;
}

div.mosimage_caption {
  font-size: .90em;
  color: #666;
}




/* 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 : "Trebuchet MS", Arial, 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 {
}

.banneritem {
}

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

dl#system-message { margin: 0; padding: 0; }
#system-message dt { font-weight: bold; }
#system-message dd { margin: 0; font-size: 14px; }

/* System Standard Messages */

#system-message dt.message { display: none; }
#system-message dd.message { background: #fff; }
#system-message dd.message ul { list-style: none; color: black; padding: 10px 10px 10px 40px;}

/* System Error Messages */

#system-message dt.error { display: none; }
#system-message dd.error { background: #f00; }
#system-message dd.error ul { list-style: none; background: url(../../../images/M_images/icon_error.gif) no-repeat 10px 10px; color: white; padding: 10px 10px 10px 40px;}

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