html {
  margin-bottom: 0px;
}
form {
  margin: 0;
  padding: 0;
}
img,table {
	border: none;
}
body {
	font-family: sans-serif, Tahoma, Arial, Verdana;
	background-color:#ffffff;
	margin: 0;
	padding: 0;
	text-align: left;
	font-size: 75%;
}
p {
	margin-top: 0;
	margin-bottom: 10px;
	line-height: 1.3em;
	text-align: justify;
}
a {
	text-decoration: underline;
	color: #000000;
}
a:hover {
	color: #999999;
	font-weight: 400;
}
h2{
	color: #821616;
	text-align: left;
	font-weight: 700;
	font-size: 1.3em;
	margin: 10px 0;
}
h3{
	font-weight: 700;
	color: #777777;
	font-size: 1.2em;
}
h4 {
	color: #000000;
	font-weight:700;
	font-size: 1.0em;
}
li{
	line-height: 1.3em;
}
input  {
	padding: 2px;
	outline: none;
	margin: 0;
}
button {
	color: #f6f6f6;
	border: none;
	background: #666969;
	cursor: pointer;
	vertical-align:middle;
}

input.button, .validate  {
	color: #f6f6f6;
	cursor: pointer;
	border:none;
	font-size:0.9em;
	font-weight:700;
	background: url(../images/button.png) repeat-x top left;
	cursor: pointer;
}

div.offline {
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	padding: 5px;
}
/*form editor*/
.contentpanel label {
	float: left;
	padding: 5px;
}
input#file-upload{
	margin: 5px;
	height: 20px;
}
input#file-upload-submit{
	margin: 5px;
	height: 20px;
}

.contentpanel button, .contentpanel button:hover{
	color: #f6f6f6;
	padding: 2px;
	border: 1px solid #f6f6f6;
	background: #666969;
	cursor: pointer;
}
.contentpanel {
	margin: 5px;
}
.banneritem a img{
	text-align: center;
}

.item {
	float: left;
	width: 80px;
	height: 80px;
	text-align: center;
	vertical-align:middle;
	margin: 2px;
}
.item a{
	display: block;
	
}
.item img {
	vertical-align:middle;
	margin:2px;
	border:none;
}
.item a span{
	left: 1px;
	vertical-align:middle;
	background-color: #ffffff;
}
.contentpaneopen_edit img {
	border:0
}
.editor legend {
	color:#777777;
	font-weight: 700;
	padding:2px;
}
.editor fieldset {
	border:solid 1px #d8d8d8;
	padding:5px;
}
.editor label {
	float:left;
	width:100px;
}
.editor  div {
	margin:5px 0;
}
.editor textarea{
	width: 100%;
	height: 75px;
	margin: 0;
	padding:0;
}
.editor .publishing .radio label {
	float:none;
	width:100px;
}
.editor .publishing .radio label span {
	float:left;
	width:100px;
}
.save button{
	margin:5px;
}
.inputbox {
	border: 1px solid #d8d8d8;
	color: #000000;
}

/* -- buttons */
.button2-left,
.button2-right {
	width: 85px;
	vertical-align: middle;
	text-align: centre;
}

.button2-left a:hover,
.button2-right a:hover {
	text-decoration: none;
	color:#777777;
}

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


/*page_title*/
.componentheading{
	padding-bottom: 20px;
	color: #666666;
	font-size: 1.5em;
	font-weight: 700;
}
/*articles*/
.contentheading {
	color: #821616;
	text-align: left;
	font-weight:700;
}
h3.contentheading a{
	text-decoration: none;
	color: #821616;
	font-weight: 700;
}

h3.contentheading a:hover{
	font-weight: 700;
	text-decoration: underline;
}
.articleinfo, .pageinfo{
	font-size: 0.9em;
	margin: 5px 0 5px 0; 
	color: #666666;
	font-weight: 500;
}
.readon {
	float: right;
	font-size: 0.9em;
	background: url(../images/readon.png) no-repeat center left;
	padding: 0 0 0 14px;
}


#contentfooter{
	text-align: center;
}

.pagination span{
	text-align: center;
	color: #000000;
	padding: 3px;
}
.pagination a{
	text-align: center;
	font-weight: normal;
	color: #000000;
	padding: 3px;
}

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

/** overlib **/
.ol-foreground {
	background-color: #f1f1f1;
	color: #333333;
}

.ol-background {
	background-color: #f1f1f1;
	color: #333333;
}

.ol-captionfont {
	color: #f6f6f6;
	font-weight: 700;
}

.ol-captionfont a {
	background-color: #f1f1f1;
	color: #333333;
}

.clr {
	clear: both;
}
span.article_separator {
	display: block;
	height: 10px;
}
/* table of contents */
table.contenttoc {
  margin: 5px;
  padding: 5px;
  background: none;
}

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

/* content tables */
td.sectiontableheader {
  color: #777777;
  padding: 4px;
}
tr.sectiontableentry1 td {
	padding: 4px;
	background: #f4f4f4;
}
tr.sectiontableentry0 td,
tr.sectiontableentry2 td {
  padding: 4px;
}
td.sectiontableentry0,
td.sectiontableentry1,
td.sectiontableentry2 {
  padding: 3px;
  color: #8e8e8e;
}

/* module control elements */
table.user1user2 div.moduletable {
	margin-bottom: 0px;
}

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

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

div.caption       { padding: 0 10px 0 10px; }
div.caption img   { border: 1px solid #CCCCCC; }
div.caption p     { font-size: .90em; color: #333333; 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-weight: 700;
	color : #c30;
	text-align: center;
	width: auto;
	background-color: #f9f9f9;
	border: solid 1px #d8d8d8;
	margin: 3px 0px 10px;
	padding: 3px 20px;
}
div.nopad {
	min-height: 750px;
	overflow: hidden;
	padding: 0;
}
div.nopad ul {
	clear: both;
}
div.moduletable, div.module, div.module_text {
    padding: 0;
	margin: 0;
	width:218px;
}
.module h3, .moduletable h3, .module_text  h3{
	background: url(../images/h3_red.png) repeat-x top left;
	line-height: 26px;
	padding: 0 5px;
	margin: 0;
	font-size: 1.1em;
	vertical-align: center;
}
div.module div div div p, div.module div div div div, div.module div  div div ul{
	text-align: left;
    padding: 5px;
	margin: 0;
}
.module form ul li a{
	color: #777777;
	font-size: 0.9em;
	text-decoration: none;
}

.module label {
	font-size: 0.9em;
}

/* System Messages */
/* see system general.css */
/* Polls */
.pollstableborder td {
	text-align: left;
}

/* Frontend Editing*/

/* Tooltips */
.tool-tip {
	float: left;
	background: #fdfdec;
	border: 1px solid #d8d8d8;
	padding: 5px;
	max-width: 200px;
}
.tool-title {
	font-weight: 700;
}
.tool-text {
	font-size: 0.8em;
}
.weblink{
	margin: 5px 0;
}
/* System Standard Messages */
#system-message dd.message ul { 
	padding: 0;
	margin: 0;
	background: none;
	border: none;
}
/* System Error Messages */
#system-message dd.error ul { 
	color: #c00c00; 
	background: none;
	border: none;
	padding: 0;
	margin: 0;
}
/* System Notice Messages */
#system-message dd.notice ul { 
	color: #c00c00; 
	background: none;
	border: none;
	padding: 0;
	margin: 0;
}
#system-message dd {
	text-indent: 0;
}
#system-message dd ul {
	list-style-type: none;
	color: #c00c00; 
	background: none;
	border: none;
}
#system-message {
	margin-top: 5px;
}