/*****************************/
/*** Core html setup stuff ***/
/*****************************/

html {
  height: 100%;
  margin-bottom: 1px;
}

form {
  margin: 0;
  padding: 0;
}

body {
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
	margin: 0px 0px 0px 0px;
	padding: 0px;
	font-size: 12px;
	color: #666666;
	text-align: left;
}

/* Normal link */
a:link, a:visited {
	color: #589e2d;
	text-decoration: underline;
}

a:hover, a:active {
	color: #0d3203;
	
}

input.button { cursor: pointer; }

p { margin-top: 0; margin-bottom: 5px; }

img { border: 0 none; }

.inputbox {
	border: 1px solid #667565;
	background-color: #F3F3F2;
	font-size: 1em;
	margin: 3px;
}

.inputbox:hover, .inputbox:focus {
	border: 1px solid #13598b;
	background: #BCB6B1;
	color: #000000;
}

button, .button  {
  background:#878b84 url(../images/but-1.gif) no-repeat scroll 0pt 50%;
  border:0 none;
  color:#FFFFFF;
  cursor:pointer;
  height:19px;
  line-height:19px;
  margin:0 auto;
  font-size:1em;
  margin-top: 2px;  
}

/*****************************************/
/*** Template specific layout elements ***/
/*****************************************/
table.simple_table {
	width: 100%;
	border-collapse: collapse;
	padding: 0;
	margin: 0;
}

#line_up   {
	text-align:right;
	width: 100%;
}

#header_td {
	text-align:center;
	width: 100%;
}

#title_up {
	height:60px;
	width: 100%;
}

#title_down {
	height:27px;
	margin-top: 2px;
}

#leftcolumn_td {
	width: 180px;
	padding: 7px 5px 5px 3px;
	vertical-align: top;
}

#news {
	width: 180px;
	height: 185px;
	margin: 3px;
	overflow: visible;
}

#user1 {
	width: 180px;
	height: 185px;
	margin: 3px;
	overflow: visible;
}

#leftheader_td {
	width: 180px;
	vertical-align: top;
}

#rightheader_td {
	width: 180px;
	vertical-align: top;
}

#maincolumn_td {
	width: auto;
	padding: 7px 5px 5px 3px;
}

#maincolumn_user2 {
	text-align: center;
}

#component {
	text-align: justify;
}

#maincolumn_footer {
	text-align: center;
}

#bottom_r {
  height: 225px;
}

#emptyspace {
	height: 10px;
}

#copyright_syndicate {
	text-align: right;
	width: 180px;
}

#syndicate {
	margin: 0 5px 0 40px;
}

#rightcolumn_td, #rightcolumn {
	width: 182px;
}

#rightcolumn_td {
	vertical-align: top;
}

#rightcolumn {
	padding: 0 3px 0 2px;
}

#counters {
  padding: 4px 0 4px 0;
  text-align: center;
}

#copyright_syndicate {
  text-align: center;
  margin: 0 auto;
}

#copyright{
  font-weight: bold;
}

#copyright a {
  text-decoration: none;
}


/*****************************************/
/*** Template main menu                ***/
/*****************************************/

ul#mainlevel-nav {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	font-weight: bold;
	font-size: 1em;
}

ul#mainlevel-nav li {
	background: transparent url(../images/li-menus.gif) no-repeat scroll 0pt 2px;
	padding: 0 0 0 0;
	display: inline;
	margin: 0 auto;
	white-space: nowrap;
	list-style: none;
}

ul#mainlevel-nav li a {
	padding: 0px 15px 0px 15px;
	text-decoration: none;
}

ul#mainlevel-nav li a:hover{
	background: #bcb6b1;
}

.mainlevel-nav#active_menu-nav {
	background: #F3F3F2;
}

/**** Search *****************************/

form#pp_search {
	border: 0 none;
}

INPUT#ps_search_str {
	margin-left: 1px;
	margin-top: 1px;
	margin-bottom: 1px;
	padding: 0;
	width: 170px;
	line-height: 1.3em;
	height: 16px;
}

form#searchForm input {
	vertical-align: middle;
}

form#searchForm table {
	border-collapse: collapse;
}

form#searchForm td {
	padding:0;
}

#mod_search_searchword {
	padding-left: 3px;
}

/*****************************************/
/*** Joomla! specific content elements ***/
/*****************************************/

div.offline {
	background: #fffebb;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	font-size: 1.2em;
	padding: 5px;
}

/* component text */
.componentheading {
	font-size: 1.3em;
	border-bottom: 0px dashed #807340;
	margin: 0 0 5px 0;
	padding: 0 0 3px 0;
	width: 100%;
}

.category {
	font-weight: bold;
}

/* 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, .contentheading {
	font-size: 1.1em;
	line-height:1.1em;
	font-weight: bold;
	border-bottom: 0px dashed #807340;
	margin: 0 0 5px 0;
	padding: 0 0 3px 0;
	width: 100%;
	font-family: Verdana, Tahoma, Helvetica, Arial, sans-serif;
	text-align: center;
}

table.contentpaneopen h3 {
	margin-top: 25px;
}

h4 {
	font-family: Arial, Helvetica, sans-serif;
	color: #333;
}

/* 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{
	background-color: #F3F3F2;
	display: block;
	font-size: 0.9em;
	border-left: 10px solid #BCB6B1;
	text-decoration: none;
	padding: 2px 2px 2px 5px;
	width: 120px;
	float: right;
}

a.readon:hover, a.readon:active {
	background-color: #F3F3F2;
	display: block;
	font-size: 0.9em;
	text-decoration: none;
	padding: 2px 2px 2px 5px;
	border-right: 10px solid #BCB6B1;
	border-left: 0 none;
	float: right;
}

/* 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 */
a.mainlevel:link, a.mainlevel:visited {
	padding-left: 5px;
}

a.mainlevel:hover {

}

/* 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 {
  background: url(../images/mw_line_grey.png) 100% 0 repeat-y;
}

div#maindivider {
  border-top: 1px solid #ddd;
  margin-bottom: 10px;
  overflow: hidden;
  height: 1px;
}

table.blog span.article_separator {
	display: block;
	height: 20px;
}

/* edit button */
.contentpaneopen_edit{
	float: left;
}

/* table of contents */
table.contenttoc {
  margin: 5px;
  border: 1px solid #ccc;
  padding: 5px;
}

table.contenttoc td {
  padding: 0 5px;
}


/* content tables */
td.sectiontableheader {
	background-color: #1976B9;
	color: #FFFFFF;
	font-weight: bold;
	padding: 4px;
	line-height: 20px;
	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: auto;
}

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;
}

.highlight {
	background-color: #fffebb;
}

/* module control elements */
table.user1user2 div.moduletable {
	margin-bottom: 0px;
}

div.moduletable, div.module {
	padding-bottom: 7px;
}

/* Default Menu */
.menu a:link, .menu a:visited, .menu a:hover, .menu a:active {
	text-decoration: none;
	font-weight: bold;
}

ul.menu, ul.menu li, ul.menu ul{
	list-style-type: none;
	list-style-image: none;
	padding: 0px;
	margin: 0px;
}

ul.menu li a:link, ul.menu li a:visited {
	padding: 5px 3px 5px 25px;
	margin: 0 0 0 5px;
	display: block;
	border-bottom: 1px solid #6F6F6F;
}

.menu li#current a:visited, .menu li#current a:link {
	background: #F3F3F2 url(../images/navi_hover.png) no-repeat left center;
}

.menu li#current ul a:link, .menu li#current ul a:visited {
	background: #ffffff;
}

ul.menu a:hover, ul.menu a:active
{
	background: #BCB6B1 url(../images/navi_hover.png) no-repeat left center;
}

.menu li#current ul a:hover, .menu li#current ul a:active {
	background: #BCB6B1 url(../images/navi_hover.png) no-repeat left center;
}

ul.menu ul {
  padding-left: 20px;  
}

ul.menu ul ul {
  padding-left: 20px;  
}

/*  Modulstyle default */

h3,
legend, 
div.module_menu h3, div.moduletable_menu h3, div.module h3, div.moduletable h3, 
div.moduletableforum h3, table.moduletable th 
{
	margin: 5px 0 5px 0;
	padding: 5px 0 5px 10px;
	font-size: 1em;
	text-transform: uppercase;
	text-align: left;
	width: auto;
}

div.module_menu, div.moduletable_menu {
	margin: 0 0 0 0;
	padding: 0;
}

div.moduletable_menu {
	margin-bottom: 7px;
}

/* 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;
}

form#form-login {
	width: 170px;
}

div#form-login-username,
div#form-login-password{
	margin-left: 2px;
	margin-top: 0px;
	margin-bottom: 0px;
}

#form-login-username label,
#form-login-password label{
	font-size:1em;
	margin-top:3px;
	margin-bottom:3px;
	padding-top:2px;	
	padding-bottom:2px;	
	float: left;
	clear: left;
	height: 15px;
}

#modlgn_username{
	width: 110px;
	float: right;
}

#modlgn_passwd {
	width: 110px;
	float: right;
}

#form-login-remember{
	margin-left: 2px;
	margin-top: 0px;
	margin-bottom: 5px;
	font-size:1em;
	width: 180px;
	clear: left;
	float: left;
}

#form-login .button{
	float: left;
	clear: left;
}

form#form-login fieldset { 
	border: 0 none; 
	margin: 0em; 
	padding: 0.2em;
}
form#form-login ul { 
	padding-left: 0px;
	margin-left: 20px;
	margin-top: 5px;
	margin-bottom: 2px;
}

form#form-login div.modlgn_submit {
	height: 26px;
}


/* 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 : "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 img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Text advert style */

.banneritem_text {
	padding: 4px;
	font-size: 11px;
}

.bannerfooter_text {
	padding: 4px;
	font-size: 11px;
	background-color: #F7F7F7;
	text-align: middle;
}

/* 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;
}

/* 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;}

/* 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;}

/* Component Specific Fixes */

#component-contact table td {
	padding: 2px 0;
}

#news .contentpagetitle  {
	font-size: 70%;
}

#news div.dn-more {
	text-align: right;
}

table.blogCalendar {
	border: 1px solid #999;
}

td.blogCalendarDay {
	border: 1px solid #999;
	text-align: center;
	padding-right: 3px;
	padding-left: 2px;
}

a.blogCalendarDay,
a.blogCalendarToday{
	text-decoration: underline;
	font-weight: bold;
}

ul.latestnews,
ul.mostread{
	margin-top: 0px;
	margin-bottom: 0px;
}

div#ps_results {	
	border-color: #d3d3d2;
}

#ps_results .ps_row_btm,
#ps_results .ps_header {
	background-color: #d3d3d2;
}

#ps_results .ps_row_1 A,
#ps_results .ps_row_2 A
{
	color: #000000;
}

#ps_results .ps_row_1 .clearboth,
#ps_results .ps_row_2 .clearboth
{
	color: #1A72B1;
}

img.browseProductImage {
	display: block;
	margin-bottom: 5px;
}

div.chilastnews_allitems {
	float: right;
}

div.chilastnews_item {
	text-align: left;
	margin-bottom: 4px;
}