body {
  font:11px Tahoma, Verdana, Arial, Trebuchet MS, sans-serif;
  color:#575757;
  margin:0; padding:0;
  text-align:center;
  background:url('images/gksbg.jpg');
}

#main {
  width:790px;
  text-align:left;
  margin:10px auto 0 auto;
  background-color:#fff;
}

a img {border:none;}

a {color:#ff9600; text-decoration:none;}
a:hover {text-decoration:underline;}

#top {display:block;}

/* =========== gorne menu ========== */
#topmenu {
  height:50px;
  border:3px solid #487812;
  margin-top:1px;
  background:url('images/topmenu_bg.gif') repeat-x #487812;
}

#topmenu ul {
  list-style:none;
  margin:0; padding:0;
}

#topmenu ul li {
  background:url('images/topmenu_vline.gif') right center no-repeat;
  float:left;
}

#topmenu ul li a {
  display:block;
  padding:19px 20px;
  color:#fff;
  font-weight:bold;
  text-decoration:none;
  position:relative;
}

#topmenu ul li a:hover {background:url('images/topmenu_hover.gif') center top no-repeat;}

#top_buttons {
  text-align:right;
  padding:0 23px 0 0;
  line-height:50px;
}

* html #top_buttons {padding-top:13px;}

#top_buttons img {
  padding:7px;
  vertical-align:middle;
}

/* ============ szukanie =========== */
#search_bar {
  font-weight:bold;
  color:#fff;
  background-color:#487812;
  padding:0 4px 0 16px;
  line-height:37px;
}

#search_bar em a {
  font-style:normal;
  color:#ff9600;
}

#search_bar a {
  margin:0 4px;
  text-decoration:none;
  color:#fff;
}

#search_bar a:hover {text-decoration:underline;}

#search_bar form, #search_bar form fieldset {
  width:188px; height:29px;
  border:none;
  margin:0; padding:3px 0 0 0;
  float:right;
}

#search_bar div {
  line-height:0;
  background-color:#fff;
  padding:5px 10px;
  margin-right:5px;
  border-top:1px solid #4c4c4c;
  border-left:1px solid #4c4c4c;
  float:left;
}

* html #search_bar div {padding:4px 10px; margin-right:1px;}
#search_bar input {margin:0; padding:0;}

#search_bar div input {
  width:124px; height:14px;
  font-size:11px;
  color:#878787;
  border:none;
}

/* =========== kontenery =========== */
#left, #center, #right, #rightAdmin {padding-bottom:10px;}

#left {
  width:180px;
  float:left;
}

#center {
  width:428px;
  float:left;
  padding:0 1px;
}

#right {
  width:180px;
  float:left;
}

#rightAdmin {
  width:609px;
  margin-left:1px;
  float:left;
}

/* ============ naglowki =========== */
h2, h3, h4 {
  height:11px;
  border:3px solid #487812;
  background:url('images/h_bg.gif') repeat-x #487812;
  font-size:11px;
  color:#fff;
  margin:0; padding:10px;
}

h2 {text-align:center;}

h3 {
  border-color:#565656;
  background:url('images/nh_bg.gif') repeat-x #565656;
  text-align:center;
}

h4 span {
  display:block;
  background:url('images/point1a.gif') right center no-repeat;
}

h3 a {
  float:right;
  color:#a8ff00;
}

div.line {
  height:3px;
  font-size:0;
  background-color:#ff9600;
}

#forumBanner {display:block;}

/* ============= listy ============= */
ul.lista {
  width:174px;
  list-style-type:none;
  border-style:solid;
  border-color:#d0eac3;
  border-width:3px 3px 2px 3px;
  margin:0; padding:0;
}

ul.lista li {
  border-bottom:1px solid #d0eac3;
  background:url('images/point2.gif') 158px center no-repeat;
}

ul.lista li a {
  min-height:14px;
  font-weight:bold;
  color:#575757;
  text-decoration:none;
  padding:4px 20px 4px 10px;
  display:block;
}

* html ul.lista li a {height:14px;}
ul.lista li a:hover {text-decoration:underline;}

/* ============== boxy ============= */
.box {
  border:3px solid #d0eac3;
  padding:10px;
}

.box1 {
  margin:0; padding:10px;
  border:3px solid #d0eac3;
  text-align:justify;
}

.box2 {padding:10px;}

.box3 {
  color:#FFFFFF;
  border:3px solid #d0eac3;
  margin:1px; padding:15px;
  background: url(http://gornik-leczna.com/img/09/top.jpg);
}

.box4 {
  border:2px solid #d0eac3;
  padding:2px;
}

/* ============= newsy ============= */
div.source {
  height:11px;
  padding:10px;
  background:url('images/ns_bg.gif') repeat-x #eee;
  border:1px solid #cfcfcf;
  text-align:right;
  font-weight:bold;
}

div.source a {color:#575757; text-decoration:none;}
div.source span {float:left;}
div.source span a, div.source b {color:#ff9600; text-decoration:none;}
div.source a:hover {text-decoration:underline;}

/* ============ ankieta ============ */
#ankieta {
  margin:0; padding:10px;
  border:3px solid #d0eac3;
  text-align:center;
}

#ankieta fieldset {margin:0; padding:0; border:0;}
#ankieta strong {display:block; margin-bottom:12px;}
#ankieta div {text-align:left; text-indent:-25px; padding-left:25px;}
#ankieta div input {vertical-align:middle;}
#submit {margin-top:12px;}

.poll {
  height:8px;
  background:url('images/poll_line.gif') repeat-y #ff9600;
  border:1px solid #ff9600;
}

/* ============ shoutbox =========== */
#shoutbox {border:3px solid #d0eac3;}
#shoutbox form, #shoutbox fieldset {margin:0; padding:0; border:none;}
#shoutbox form {border-bottom:3px solid #d0eac3;}

#shoutbox textarea {
  width:174px;
  border:none;
  border-bottom:1px solid #d0eac3;
}

* html #shoutbox textarea {width:172px;}

#shout {
  width:54px; height:25px;
  background:url('images/shout.gif') no-repeat;
  border:none;
  cursor:pointer;
  float:right;
  margin-top:-6px;
}

/* ============= stopka ============ */
#footer {
  height:10px;
  border:3px solid #487812;
  background:url('images/f_bg.gif') repeat-x #487812;
  padding:20px;
  text-align:right;
  color:#fff;
  clear:both;
}

#footer img {float:left; margin-top:3px;}

#footer a {
  color:#fff;
  text-decoration:none;
}

#footer a:hover {text-decoration:underline;}


.clear {
  height:1px;
  font-size:0;
  display:block;
  clear:both;
}

#top, #topmenu, #search_bar, h2, h3, h4, div.line, ul.lista, .box, .box1, #forumBanner, #center p, div.source {margin-bottom:1px;}


/* =========== cms style =========== */
#center .tbl-border td {text-align:justify;}

.table td {border:1px solid #d0eac3;}
.table img {border:1px solid #d0eac3; padding:1px;}

.tbl1, .tbl2 {
  text-align:center;
  padding:5px 2px 5px 3px;
  border:1px solid #d0eac3;
}

.tbl {padding:5px 0;}
.tbl td {padding:5px 10px; text-align:justify;}
.tbl img {float:none; padding:0;}

hr {
  height:3px;
  border:none;
  background-color:#ff9600;
}

.comment-name {padding-bottom:5px; font-weight:bold;}
.small {font-size:10px; color:#8f8f8f}

input, select, textarea {
  font-size:11px;
}

td.gallery {padding:10px 0;}

a.gallery img {
  padding:2px;
  border:1px solid #d0eac3;
}

.tapety {text-align:center;}
.tapety hr {height:1px; background-color:#d0eac3;}
.tapety img {
  width:200px; height:150px;
  border:1px solid #d0eac3; padding:2px;
}

/* ============ galeria ============ */
#photogallery {
  margin:0 auto;
  border:none;
  border-spacing:0;
  border-collapse:collapse;
}

#photogallery #main {width:auto;}
#photogallery #top {margin:0 auto;}
#photogallery #topmenu {width:784px; margin-left:auto; margin-right:auto;}
.photocenter {width:790px; margin:0 auto;}
#photogallery #footer {width:744px; margin-left:auto; margin-right:auto;}
.photoimage h2 {width:764px; margin-left:auto; margin-right:auto;}
.photoimage .line {width:790px; margin-left:auto; margin-right:auto;}
div.photoimage div.box1 {display:table; width:784px; margin:2px auto; padding:0;}
* html div.photoimage div.box1 {width:764px; margin:0 auto 1px auto;}

/* ======== archiwum newsow ======== */
#newsArch {text-align:left; margin-left:0; padding-left:5px; list-style-type:none;}
#newsArch li {margin-bottom:8px; text-indent:-90px; padding-left:90px;}
#newsArch div a {color:#7fbf00;}

/* ============ switcher =========== */
h4 {cursor:pointer;}
.boxSwitcher h4 span {background-image:url('images/point1.gif');}
.boxSwitcher .lista, .boxSwitcher #shoutbox, .boxSwitcher .box {display:block;}
.boxSwitcherHide .lista, .boxSwitcherHide #shoutbox, .boxSwitcherHide .box {display:none;}
.show {display:block !important;}

/* ============== tabs ============= */
.tabs ul {margin:0 0 10px; padding:0 0 1px; list-style:none; border-bottom:3px solid #ff9600; overflow:hidden; height:1%;}
.tabs ul li {margin:0 1px 0 0; float:left;}
.tabs ul li a {padding:7px; color:#575757; font-weight:bold; border:3px solid #d0eac3; border-bottom:none; outline:none; display:block; float:left;}
.tabs ul li a:hover {color:#000;}
.ui-tabs-selected a {border-color:#ff9600 !important;}
.ui-tabs-hide {display:none;}
