/*****************************/
/*** Core html setup stuff ***/
/*****************************/

html {
  height: 100%;
  margin-bottom: 1px;
}

form {
  margin: 0;
  padding: 0;
}

body {
	font-family: Helvetica,Arial,sans-serif;
	line-height: 1.3em;
	margin: 0px 0px 0px 0px;
	font-size: 12px;
}

a:link, a:visited {
	text-decoration: none;
	font-weight: normal;
}

a:hover {
	text-decoration: underline;
	font-weight: normal;
}

input.button { cursor: pointer; }

p { margin-top: 0; margin-bottom: 5px; }

img { border: 0px none; }

/*****************************************/
/*** Template specific layout elements ***/
/*****************************************/

div.leftbottom {
	padding: 10px;
	padding-left: 20px;
}


div.leftmenu {
	background-color: #FFD8C7;
        border-right: 1px solid;
        border-bottom: 1px solid;
        border-top: 1px solid;
	margin-top:	20px;
	padding-top: 5px;
	padding-left: 5px;
	margin-right: 5px;
        border-color: #BC1817;
	}
	
div.leftmenu h3 {
  margin: 0;
  font-weight: bold;
  color: #444444;
  font-family: Helvetica,Arial,sans-serif;
  font-size: 1.2em;
  padding-left: 0px;
  margin-bottom: 10px;
  text-align: left;
}

div.content {
	margin-top:	25px;
	margin-right: 5px;
	margin-left: 5px;
	margin-bottom:	15px;
	}
	
div.module {
	padding-bottom: 15px;
	}

ul#mainlevel {
 padding-left: 0px;
 margin-left: 0px;
}

ul#mainlevel li {
 display: block;
 margin: 2px;
 margin-left: 0px;
 padding: 2px;
 padding-left: 5px;
 width: 145px;
 background-color: #FFFAFA;
 border: 1px solid;
 border-left: 4px solid;
 border-color: #BC1817;
 list-style-type:none;
 list-style-position:outside;
}
ul#mainlevel li a{
 color: #111111;
 
 text-decoration: none;

}
ul#mainlevel li:hover a{
 color: #FFFFFF;
 text-decoration: none;

}
ul#mainlevel li:hover{
 display: block;
 margin: 1px;
 width: 148px;
 color: #FFFFFF;
 border-left: 2px solid;
 background-color: #BC1817;
 border: 1px solid;
 border-color: #BC1817;
}


ul.latestnews {
font-size: smaller;
list-style-type:none;
list-style-position:outside;
padding-left: 0px;
margin-left: 0px;
width: 150px;
 text-decoration: none;
 background-color: #FFFAFA;
 border: 1px solid;
 border-left: 4px solid;
border-color: #BC1817;
}
ul.latestnews li {
padding: 3px;
line-height: 1.4em;
}
ul.latestnews li a{
padding: 3px;
color: #111111;
}

ul.latestnews li:hover a {
color: #FFFFFF;
text-decoration: none;
padding: 3px;
}


ul.latestnews li:hover {
padding: 3px;
display: block;
background-color: #BC1817;
color: #FFFFFF;
border-left: 0px solid;
}




#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: 15px;
}

table.nopad td.middle_pad {
	width: 20px;
}

/*****************************************/
/*** Joomla! specific content elements ***/
/*****************************************/

/* headers */
div.componentheading {
  padding-left: 0px;
}

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%;
}

h4 {
	font-family: Arial, Helvetica, sans-serif;
	color: #333;
}

h3, .contentheading, .componentheading, table.moduletable th, legend {
  margin: 0;
  font-weight: bold;
  font-family: Helvetica,Arial,sans-serif;
  font-size: 1.3em;
  color: #BC1817;
  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') no-repeat top right;
	padding-right: 20px;
	line-height: 14px;
	height: 16px
}

/* 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, 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 */

div.topmenu a.mainlevel:link, div.topmenu a.mainlevel:visited {
        float: left;
        font-weight: bold;
        display: block;
        height: 16px;
        color: #EFEFEF;
	padding-left: 7px;
        padding-right: 7px;
        text-decoration: none;
        background-color: #474747;
        border: none;
}
div.topmenu a#active_menu {
        float: left;
        font-weight: bold;
        display: block;
        height: 16px;
        color: #FFFFFF;
	padding-left: 7px;
        padding-right: 7px;
        background-color: #BC1817;
}
div.topmenu a.mainlevel:hover {
padding-right: 7px;
padding-left: 7px;
 color: #FFFFFF;
 background-color: #313131;
}

div.topmenu {
 padding-left: 5px;
 margin: 0px;
 width: 800;
 border: none;
}

/* spacers */
span.article_separator {
	display: block;
	height: 20px;
}

.article_column {
	padding-right: 5px;


}

.column_separator {
	border-left: 1px dashed #e0e0e0;
	padding-left: 10px;
}

td.buttonheading {

}

td.buttonheading img {
	border:none;
}

.clr {
	clear: both;
}

td.greyline {
  width: 20px;
  background: url('../images/mw_line_grey.png') repeat-y 50% 0;
}


/* edit button */


.contentpaneopen_edit{
	float: left;

}


/* table of contents */
table.contenttoc {
  margin: 5px;
  border: 1px solid #ccc;
  padding: 5px;
  float: right;
}

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 */
.highlight {
	background-color: #fffebb;
}

/* module control elements */
table.user1user2 div.moduletable {
	margin-bottom: 0px;
}

#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;
}

form#form-login fieldset { border: 0px none; margin: 0em; padding: 0.2em}
form#form-login ul { padding-left: 20px; }

form#com-form-login fieldset { border: 0px 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 {
}

.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;
}

/* Component Specific Fixes */

#component-contact table td {
	padding: 2px 0;
}