/* custom stuff */

html {
  height: 100%;
  margin-bottom: 1px;
}


body {
	margin: 0;
	padding: 0;
}

p {
  margin-top: 0;
  margin-bottom: 5px;
}

fieldset {
	border: 0;
	padding: 5px 0;
}

span.pathway {
	display: block;
	height: 16px;
	line-height: 16px;
	vertical-align: middle;
	margin-top: 5px;
	margin-bottom: 10px;
	font-weight: bold;
}

span.pathway img {
	margin: 0px 10px;
	vertical-align: middle;
}

div#pathway {
	margin-bottom: 10px;
	padding-left: 8px;
}

a.readon {
	display: block;
	float: right;
	padding-left: 20px;
	line-height: 14px;
	height: 16px;

/*	text-align:right;
	display: block;
	float: left;
	padding-left: 20px;
	margin-top: 10px;
	line-height: 14px;
	height: 16px;
	/*background: url(../images/play.png) no-repeat;*/
	/*background: url(../images/li_arrow.png) no-repeat;*/
*/}



/*** fonts ***/
body {
		line-height: 125%;
		font-family: "Verdana", "Lucida Grande", Tahoma, Helvetica, sans-serif;
		color: #444;
}

/* size attributes */

body.f-smaller {
	font-size: 11px;
}

body.f-default {
	font-size: 12px;
}

body.f-larger {
	font-size: 13px;
}

a {
	/*zmiana color: #B23B03;*/
	/*zmiana color: #3366cc;*/
	/*color: #0000CC;*/
	/*color: #164884;*/
	color: #145BA4;

}

a:hover {
	/*color: #000;*/
	/*color: #00327E;*/
	color:#0C4F92;
	text-decoration:underline;

}

td.left a.mainlevel#active_menu {
	/*color: #000;*/
	/*color: #00327E;*/
	color:#0C4F92;
}


.small,
.modifydate,
.createdate,
div.mosimage_caption {
	font-size: 100%;
}

#nav a,
#inset a {
	font-size: 110%;
}

div.moduletable h3,
.componentheading {
	font-size: 120%;
	color: #222;
}

/*nowy*/ .contentheading {
	/*font-size: 140%;*/
	font-size: 120%;
	/*color: #0000CC;
	border-bottom: solid #CCCCCC thin;*/
	/*color: #164884;*/
	color: #145BA4;
	border-bottom: solid #CCCCCC 1px;
}


.componentheading {
  margin-bottom: 15px;
}

td.componentheading {
	padding-bottom: 15px;
}


/* font family */
h3,
.contentheading,
.componentheading,
#nav,
.sectiontableheader,
span.pathway,
.small,
.createdate,
.modifydate,
#inset {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
}

a:link,
a:visited {
	text-decoration: none;
}

a:hover {
	/*text-decoration: none;*/
	text-decoration: underline;
}

/* module settings */

div.moduletable h3 {
	margin-top: 5px;
	margin-bottom: 10px;
	padding-bottom: 0;
}

div.moduletable {
	margin-bottom: 10px;
}

td.left div.moduletable,
td.right div.moduletable  {
	/*margin-bottom: 10px;*/
	margin-bottom: 15px;
}

/*nowy*/
td.right a img{
	border:0;

}

div.moduletable ul {
	margin: 5px 0;
	
	/*padding: 0 2em;*/
	padding: 0;
}

div.moduletable ul li {
	padding-bottom: 3px;
}

/* default menu link styles */
a.mainlevel {
	display: block;
}

a.sublevel {

}

a.mainlevel:hover {
	/*text-decoration: none;*/
	text-decoration: underline;
}

a.sublevel:hover {
	/*text-decoration: none;*/
	text-decoration: underline;
}

#inset a.mainlevel {
	display: inline;
	background: none;
	padding: 0 15px;
}


/*nowy*/ a.mainlevel-top:hover {
	text-decoration: underline;
}
/*nowy*/ a.mainlevel-top {
	color: #666666;
	padding: 0 5px;
}

/** regular joomla menu **/

a.mainlevel {
	display: block;
	height: 16px;
	line-height: 15px;
	padding: 0;
	padding-left: 20px;
	background: url(../images/play.png) no-repeat;
	margin-bottom: 3px;
}

a#active_menu:link,
a#active_menu:visited {
	color: #333;

}


li.active_menu a:link,
li.active_menu a:visited {
  color: #333;
	/*nowy*/ text-decoration:underline;
}

a.sublevel:link,
a.sublevel:visited {
	font-weight: bold;
}


/*nowy*/
a.latestnews {
	/*color:#0000FF;*/
	/*color:#0046B1;*/
	/*color: #164884;*/
	color: #145BA4;
	font-size:110%;
	font-weight:bold;
	line-height: 14px;
	padding-left: 20px;
	display: block;
	background: left url(../images/play.png) no-repeat;
	/*background: left url(../images/li_arrow.png) no-repeat;*/

}

ul.latestnews {
	padding: 0;
	margin: 0;
}

/*nowy*/
a.latestnews:hover {
	/*color:#000000;*/
	/*color:#00327E;*/
	color:#0C4F92;
	text-decoration:underline;

}
li.latestnews {

	border:none;
	/*nowy*/list-style: none;
}

/* headings */

h1 {
	padding-bottom: 5px;
}

h2 {
   padding-bottom: 5px;
}

h3 { 
   padding-bottom: 5px;
}

h4 {
	 padding-bottom: 5px;
}

.small {
	font-weight: bold;
	color: #999;
}

.modifydate {
	height: 20px;
	vertical-align: bottom;
	font-weight: bold;
	color: #999;
}

.createdate {
	height: 20px;
	vertical-align: top;
	/*zmiana font-weight: bold;*/
	font-weight: normal;
	vertical-align: top;
	padding-bottom: 5px;
	padding-top: 0px;
	color: #999;
}

/** some joomla class stuff */

table.contenttoc {
  margin: 5px;
  padding: 5px;
}

table.contenttoc td {
  padding: 0 5px;
}


td.buttonheading {
 	vertical-align: middle;
}

td.buttonheading img {
	margin-right: 5px;
}

table.mainbody td.mainbody td.sectiontableheader {
  font-weight: bold;
  padding: 4px;
  line-height: 20px;
  background: #e0e5ed;
  border-bottom: 1px solid #cad1d8;
}

table.mainbody td.mainbody tr.sectiontableentry1 td, 
table.mainbody td.mainbody tr.sectiontableentry2 td {
  padding: 4px;
  border-bottom: 1px solid #e0e5ed;
}

table.mainbody td.mainbody td.sectiontableentry1, 
table.mainbody td.mainbody td.sectiontableentry2{
  padding: 4px;
  border-bottom: 1px solid #e0e5ed;
}

table.contentpaneopen, table.contentpane {
  /*border-collapse: collapse;*/
  padding: 0;
  margin: 0;
  width: 100%;
}

div.contentpane, div.contentpaneopen {
  width: 100%;
}


.clr {
	clear: both;
}

div.mosimage {
  margin: 5px;
}


table.adminform textarea {
  width: auto;
  color: #666;
}

/** width stuff **/

.w-wide div.wrapper {
	width: 900px;
}

.w-thin div.wrapper {
	width: 750px;
}

.w-fluid div.wrapper {
	margin: 0 20px;
}


/* showcase */
#showcase {
	border-bottom: 1px solid #BCC0C7;
	background: #DCE0E8 url(../images/showcase-bg.png) repeat-x;
	color: #444;
}


/** template layout stuff **/

#page_bg {
	height: 100%; 
	padding: 0;
	margin-bottom: 1px;
	background: #DCE0E8;
/*	background: #ccccff;*/
}

#mainbg {
	background: url(../images/body-bg.png) repeat-x;
}

#mainbg-2 {
	background: #fff url(../images/body-shadow-br.png) 100% 0 repeat-y;
}

#mainbg-3 {
	background: transparent url(../images/body-shadow-bl.png) 0 0 repeat-y;
}

#mainbg-4 {
	background: transparent url(../images/body-shadow-tr.png) 100% 0 no-repeat;
}

#mainbg-5 {
	background: transparent url(../images/body-shadow-tl.png) 0 0 no-repeat;
	padding: 0 25px;
}

#mainft-2 {
	background: #dce0e8 url(../images/footer-shadow-tr.png) 100% 0 no-repeat;
}

#mainft-3 {
	background: transparent url(../images/footer-shadow-tl.png) 0 0 no-repeat;
	padding: 0 24px;
	text-align:right;
	font-size:80%;
}

div.wrapper {
	margin: auto;
	position: relative;
}


#showcase ul,
td.left ul,
td.right ul,
#footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#showcase li,
td.left li,
td.right li,
#footer li {
		/*zmiana border-bottom: 1px dotted #b7bbc7;*/
		padding-bottom: 0;
		margin-bottom: 2px;
}

#showcase .padding,
#footer .padding {
	padding: 5px 0px;
}

#mainbody-padding {
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  
}

#inset {
	color: #ccc;
	text-align: center;
	margin: 15px 0;
}

#inset table {
	width: auto;
	margin: 0 auto;
}

#footer {
	padding-top: 10px;
}

#the-footer {
	text-align: center;
	
/*zmiana	background: #323C53;*/
	/*background: #0000cc;*/ 
	/*background: #0046b1;*/
	background: #164884;
	
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	color: #BBBBBB;
}

/*dodano*/
#the-footer a{
	color: #BBBBBB;
}

#the-footer a:hover{
	text-decoration:underline;
}

#the-footer .padding {
	padding: 10px 0;
	width: 100%;
	/*border-top: 1px solid #636D84;*/
	border-top: 1px solid #4380C1;
	font-size:120%;	
	
}

table.showcase,
table.mainbody,
table.headlines,
table.footer {
	width: 100%;
	padding: 0;
}

table.headlines {
	/*margin-top: -5px;*/
	margin-top: 10px;
	margin-left: 5px;
	
}

table.showcase tr,
table.mainbody tr,
table.headlines tr,
table.footer tr {
	vertical-align: top;
}

table.showcase td.showcase,
table.footer td.footer,
table.headlines td.headlines {
	width: 33%;
}

table.footer td.footer,
table.headlines td.headlines {
	padding: 0 10px;
}

/*nowy z góry*/
table.mainbody td.left,
table.mainbody td.right { 
	padding: 0 5px;
}



/*nowy z góry*/
table.showcase td.showcase {
	padding: 0;

}

table.mainbody td.mainbody {
	padding: 0;
	background: #e6eaf2 url(../images/content-bg.png) repeat-x;
}

td.mainbody .padding {
	/*zmiana padding: 0 15px;*/
	/*padding: 15px 15px;*/
	padding: 0 15px;
}


table.mainbody td.right {
	/* zmiana width: 18%;*/
	/*width: 125px;*/
	width: 180px;
	background: #DCE0E8 url(../images/side-bg.png) repeat-x;
	/*background-color: #DCE0E8 ;*/
	padding-top: 5px;
}

table.mainbody td.left {
	width: 200px;
	background: #DCE0E8 url(../images/side-bg.png) repeat-x;
	padding-top: 5px;
}


table.mainbody td.left {
	border-right: 1px solid #fff;
}

table.mainbody td.right {
	border-left: 1px solid #fff;
}

table.headlines td.headlines {
	/*background: #E9EDF5;*/
	/*background: #DCE0E8;*/
}

#mainbodyfooter td.headlines {
	/*background: #E9EDF5;*/
	background: #DCE0E8;
}

/* toolbar */

#toolbar {
	height: 31px;
	/*background: #0046b1 url(../images/toolbar-bg.png) repeat-x;*/
	background: #164884 url(../images/toolbar-bg.png) repeat-x;
	
	/*background-color:#0046b1;*/
	position: relative;
}

/* some page content things */

.hide {
	display: none;
}

form {
	border: 0;
	margin: 0;
	padding: 0;
}

table.blog span.article_seperator {
	display: block;
	/*height: 20px;*/
	height: 5px;
}

table.pollstableborder td {
	text-align: left;
	padding: 2px 0;
}

input#mod_search_searchword {
	width: 120px;
	/*nowy*/ height:14px;
	/*nowy*/ font-size: 10px;
	/*nowy*/ margin-top:1px;
	
	vertical-align: middle;
	
	/*nowy*/ border: solid 1px #000000;
	
	/*nowy*/ padding:1px;
}

/*nowy*/ input.button {
	/*nowy*/ font-size: 10px;
	/*nowy dla IE */ height:20px;
}

/*nowy*/ .search a {
	position:relative;
	top: 1px !important;
	top: -1px;
	
/*	padding-left:7px;
	padding-right:7px;
*/	padding-left:4px;
	padding-right:4px;
	/*font-size:12px;*/
	border:0;
	/*top:5px;*/
	color: #333333;
}

.search a:hover {
	
	text-decoration:underline;

}

.highlight {
  background-color: #ffc;
}

table#adminform #toolbar {
	background: none;
}

/* Styles for the img box */
div.mtImgBoxStyle {
 margin-left:5px;
 margin-right:5px;
}
div.mtCapStyle {
 font-weight: bold;
 color: black;
 background-color: #ddd;
 padding: 2px;
 text-align:center;
 overflow:hidden;
}



