/*** Core ***/
* {
	margin: 0; 
	padding: 0;
}

body {
	font-family: Verdana,Arial,sans-serif;
	font-size: 62,5%;
	line-height: 1.1em;
	color: #333;
	/*background: url(../images/blue.gif) 0 0 repeat;*/
	background: url(../images/background.png) 0 0 repeat;
}

a:link, a:visited {
	text-decoration: none;
	font-weight: normal;
}

a:hover {
	text-decoration: underline;
	font-weight: normal;
}

input.button { cursor: pointer; background-color: #a1d260; border: #81b32d SOLID 1PX; }

p { margin-top: 0; margin-bottom: 10px; }

img { border: 0 none; }

/*** Layout elements ***/
div.center {
  text-align: center;
}

div#wrapper {
	margin-left: auto;
	margin-right: auto;
}

body div#wrapper {
	width: 950px;
}

#header {
   background: url(../images/tlo_gora.gif) 0 0 no-repeat;
}

#headertop {
	height: 55px;
	background: url(../images/herb.gif) 1px 5px no-repeat;	
}

#search {
	float: right;	
	margin-top: 2px;
	margin-right: 8px;
	overflow: hidden;
	text-align: right;
}

#user1 {
	float: right;	
	margin-top: 16px;
	margin-right: 15px;
	overflow: hidden;
	text-align: right;
}

form#searchForm input {
	vertical-align: middle;
}

form#searchForm table {
	border-collapse: collapse;
}

form#searchForm td {
	padding:0;
}

input.search-query {
    border-radius: 15px; 
    padding-left: 14px;
    padding-right: 14px;
}

#topmenu {
	overflow: hidden;
	background-color: #b55841;
	text-align: center;
	padding-top: 6px;
	padding-bottom: 6px;
	background: url(../images/belka.png) 0 0 repeat;	
}

#topnews {
	clear: both;
	position: relative;
	text-align: left;	
}

#newsscroll {
	padding-left: 5px;
	padding-right: 5px;	
	padding-top: 2px;
	padding-bottom: -2px;
	border-bottom-style: solid;
	border-bottom-width: 3px;
	border-bottom-color: #82b13e;
	border-top-style: solid;
	border-top-width: 3px;
	border-top-color: #82b13e;
}

#footer {
	clear: both;
	margin-top: 10px;
	margin-bottom: 28px;
	text-align: center;

}

#pathway {
	clear: both;
	padding: 6px 0px 8px 23px;
	text-align: left;	
}

#mainbox {
	overflow: hidden;
	background: #fffbc9;
	width: auto;
}

#mainboxtop {
	background: #fffbc9 url(../images/mw_content_t.png) 0 0 repeat-x;
}

#mainboxleft {
	background: url(../images/mw_content_t_l.png) 0 0 no-repeat;
}

#mainboxright {
	height: 15px;
	overflow: hidden;
	background: url(../images/mw_content_t_r.png) 100% 0 no-repeat;
}

#maincontent {
	width: auto;
	padding: 1px 15px;
}

#leftcolumn {
	padding: 0;
	margin: 0;
	width: 20%;
	float:left;
}

#maincolumn {
	margin-left: 20%;
	padding-left: 10px;
	width: 76%;
}

#maincolumnfull {
	margin-left: 10px;
	margin-right: 10px;
	/*width: 90%;*/
}

table.nopad {
	width: 100%;
	border-collapse: collapse;
	margin-top: 5px;
	margin-bottom: 15px;
}

#power_by{
	float:right;
	padding-right: 25px;
}

/*** Content elements ***/
#topmenu a {
	color: #ffe774;
	font-family: Helvetica,Arial,sans-serif;
	font-size: 0.9em;	
	font-weight: bold;
	text-decoration: none;	
}

#topmenu a:hover {
	text-decoration: underline;	
}

#topmenu span {
	color: #b52e41;
	font-weight: normal;
}

#newsscroll {
	background-color: #719b37;	
	color: #fff;
	font-size: 0.8em;
	line-height: 1.4em;	
	text-decoration: none;
}

#newsscroll a:link, #newsscroll a:visited {
	text-decoration: none;
}

#mod_search_searchword {
	padding: 5px;
	color: #fff;
	font-size: 0.7em;
	background-color: #557a25;
	border-color: #78a53b;
}

#pathway {
	color: #fffbc9;
	font-size: 0.7em;
	line-height: 1.1em;
}

#pathway a {
	color: #fffbc9;	
}

#mainbox {
	font-size: 0.7em;
	line-height: 1.3em;	
}

#leftcolumn div.module {
	padding: 0 10px;
}

#leftcolumn div.module table {
	width: auto;
}

/* headers */
h2, .contentheading {
	padding-bottom: 3px;
	font-family: Helvetica,Arial,sans-serif;
	vertical-align: bottom;
	font-size: 1.4em;
	line-height: 1.0em;
	color: #b55841;
	text-align: left;
	
}


h3, .componentheading, table.moduletable th {
	margin-bottom: 5px;
	font-family: Helvetica,Arial,sans-serif;
	font-size: 1.4em;
	font-weight: bold;  
}

h3  {
	padding-bottom: 3px;
	color: #b55841;
	font-weight: normal;
	font-size: 1.4em;
}

h1 {
	margin-bottom: 15px;
	padding: 0;
	font-family:Helvetica ,Arial,sans-serif;
	font-size: 1.4em;
	font-weight: bold;
	color: #4e741a;
	text-align: left;
	width: 100%;
}

table.contentpaneopen h3 {
	margin-top: 25px;
}


/* small text */
.small {
	color: #777;
	font-weight: normal;
	text-align: left;
}

.modifydate {
	vertical-align: bottom;
	color: #999;
	font-weight: normal;
	text-align: left;
}

.createdate {
	padding-bottom: 2px;
	padding-top: 2px;
	vertical-align: top;
	font-size: .9em;
	line-height: 0.9em;
	color: #87bc2f;
	font-weight: normal;
}

a.readon {
	margin-top: 2px;
	display: block;
	float: left;
	background: url(../images/mw_readon.gif) top right no-repeat;
	padding-right: 20px;	
}

/* form validation */
.invalid { border-color: #ff0000; }
label.invalid { color: #ff0000; }


/* 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;
}

td.greyline {
  width: 25px;
  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_separator {
	display: block;
	height: 20px;
}

/* 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 */
table.contentpaneopen, table.contentpane {
	margin: 0;
	padding: 0;
	width: 100%;
}

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 {
  margin-bottom: 25px;
}

div.module_menu h3 {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 0.9em;	
	color: #b2e86a;
	margin: -23px -4px 5px -5px;
	padding-left: 10px;
	padding-bottom: 2px;
	border-bottom-width: 0;
}

div.module_menu {
	margin: 0;
	padding: 0;
	margin-bottom: 15px;
}

div.module_menu div div div {
	padding: 10px;
	padding-top: 30px;
	padding-bottom: 15px;
	width: auto;
}

div.module_menu div div div div {
	background: none;
	padding: 0;
}

div.module_menu ul {
	margin: 10px 0;
	padding-left: 20px;
	padding-right: 10px;
}

div.module_menu ul li ul {
	margin-top: 0;
	margin-bottom: 0;
	padding: 5px 0px 5px 15px; 	
}

/* forms */
table.adminform textarea {
  width: 540px;
  height: 400px;
  font-size: 1em;
  color: #000099;
}

div.search input {
	width: 145px;
	border: 1px solid #ccc;
	margin: 13px 0 10px 0;
	height: 20px;
	color: #999;
}

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; }

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;
}

.pagination span { padding: 2px; }
.pagination a    { padding: 2px; }

/* Polls */
.pollstableborder td {
	text-align: left;
}

/* 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;
}

#syndicate{
	float:left;
	padding-left: 25px;
}

#component-contact table td {
	padding: 2px 0;
}

/* green */
a:link, a:visited {
	color: #719b37;
	text-decoration: underline;
}

a:hover {
	color: #9b523f;
}


.componentheading, table.moduletable th {
  color: #719b37;
}

div.module_menu {
	background: url(../images/green/mw_box_br.png) 100% 100% no-repeat;
}

div.module_menu div {
	background: url(../images/green/mw_box_bl.png) 0 100% no-repeat;
}

div.module_menu div div {
	background: url(../images/green/mw_box_tr.png) 100% 0 no-repeat;
}

div.module_menu div div div {
	background: url(../images/green/mw_box_tl.png) 0 0 no-repeat;
}

div.module_menu div div div {
	width: 100%;
}

#links div.module_menu div div div {
	width: 150px;
}

a.mainlevel {
	color: #ffe774;	
}

.menu li a:link,.menu li a:visited {
	color: #3F5226;
	text-decoration: none;	
}

.menu li a:hover {
	color: #ffe774;
	text-decoration: underline;	
}

ul.mostread {
	margin-left: 24px;	
	list-style: url(../images/kropa.gif);
line-height: 1.3em;	
}

div.blog_more {
	margin-bottom: 10px;
}

div.blog_more ul {
	margin-left: 24px;	
	list-style: url(../images/kropa.gif);	
}

.contentpaneopen ol {
	padding-top: 2px;
	margin-left: 37px;
	padding-bottom: 5px;	
}
.contentpaneopen ol li {
	margin-bottom: 2px;	
}

table.pagenav {
	margin-top: 25px;		
}

#links {
	text-align: center;	
}

#links img {
	margin-bottom: 8px;	
	border: #cecaa2 solid 1px;
}

.contentpaneopen ul,.contentpane ul {
	margin-left: 34px; 
	list-style: url(../images/kropa.gif);	
	
}

.contentpane ul li {
	margin-bottom: 7px;	
}

.contentpaneopen ol {
	margin-left: 34px; 
}

form ul {
	margin-top: 7px;
	margin-left: 10px; 
	list-style: url(../images/kropa.gif);		
}

a.category {
	margin-bottom: 5px;
}	

.element-invisible { display: none; }
.actions { float: right; }
.article-info { clear: both; }
.readmore { clear: both; display: block; }

.pagenav {
    text-align: center;
    margin-top: 25px;
}
.pagenav ul {
    display: inline-block;
    list-style-type: none;
    margin-bottom: 0;
    margin-left: 0;
}
.pagenav li {
    display: inline;
    margin: 0;
    padding: 0;
}
.pagenav a, span.pagenav {
    border-color: #DDDDDD;
    border-style: solid;
    border-width: 1px 1px 1px 0;
    display: inline-block;
    line-height: 1.9em;
    margin: 0;
    padding: 0 14px;
    text-decoration: none;
}
.pagenav li:first-child a, .pagination-start span {
    border-left: 1px solid #DDDDDD;
    border-radius: 3px 0 0 3px;
}
.pagenav li:last-child a, .pagination-end span {
    border-radius: 0 3px 3px 0;
}
.pagination {
    margin-top: 25px;
    text-align: center;
}
.pagination ul {
    margin: 10px 10px 10px 0;
    padding: 0;
}
.pagination li {
    display: inline;
}
.pagination a {
    border-color: #DDDDDD;
    border-style: solid;
    border-width: 1px 1px 1px 0;
    display: inline-block;
    line-height: 2em;
    padding: 0 10px;
    text-decoration: none;
}
.pagination .active a {
    cursor: default;
}
.pagination span, .pagination span a:hover {
    cursor: default;
    line-height: 2em;
    padding: 0 14px;
}
.pagination li:first-child a {
    border-left-width: 1px;
    border-radius: 3px 0 0 3px;
}
.pagination li:last-child a {
    border-radius: 0 3px 3px 0;
}

.clear-all, .clearall { clear: both; }
