html, body,table { 
  margin: 0px;
  padding: 0px;
  font-family: Verdana, Tahoma, Arial, sans-serif;
  font-size: 12px;
  text-align: center;
  color: #505050;
}

html{
  background-color: #ffffff; 
  background-image: url('images/bkg.png'); 
  background-position: 50% 0px; 
}

#main,#top,#bottom,#midpanel,#sidebar,#content {
  padding: 0px;
  margin: 0px; 
}

#top {
  position: relative;
}



h1,h2,h3,h4,h5,h6 { 
  margin: 30px 10px 0px 10px;
  padding: 0px;
  color: #505050; 
  font-weight: normal; 
  text-decoration: none; 
  text-align: left;
}
#main h1 {
  font-size: 12pt; 
  font-weight: bold; 
  color: #000000;
}
#main h2 { 
  font-size: 12pt; 
  font-weight: bold; 
}
#main h3 {
  font-size: 10pt; 
  font-weight: bold; 
}
#main h4,h5,h6 {
  font-size: 8pt; 
  font-weight: bold; 
}

#main p,ul,li {
  margin: 0px;
  padding: 0px; 
/*  text-align: justify; */
}

#main p {
   }
  
a {
  color: #505050;
}
a:link {
  text-decoration: underline; 
}
a:visited {
  color: #717171;
}
a:hover,a:active { 
  color: #717171;
  text-decoration: none;
  background-color: #f4f4f4; 
}

#main img,table { 
  border: 1px solid #717171; 
  margin: 10px;
 
}

#main img {
  display: block;
  float: left; 
  padding: 0px; 
}

#lang {
  float: right;
  position: absolute;
  left: 30px;
  top: 75px;
}

#lang a {
  padding: 0px;
  margin: 0px;
}

#lang img{
  border: 0px;
  padding: 0px;
  margin: 5px;
}

#main table {
  border-collapse: collapse; 
  width: 425px;
}
  
#main td, th {
  padding: 3px;
  margin: 1px;
  width: 25%;
  border: 1px dotted #717171;  
}

#main th {
  font-weight: bold; 
}

#main caption {
  text-align: left;
  margin: 2px;
  caption-side: bottom; 
}

#main ul {
  font-weight: bold;
  margin: 10px; 
  list-style-position: inside;
}

#main ul li {
  padding-left: 20px;
  text-indent: -10px;
  font-weight: normal;
  list-style-type: disk;
}
#main ul li ul {
  margin: 0px; 
}
#main ul li ul li {
  padding-left: 20px;
  text-indent: -10px;
  font-weight: normal;
  list-style-type: circle;
}

#main div.gallery {
  display: block;
  width: 310px;
  margin-left: auto;
  margin-right: auto;
}

#main div.foto {
  display: block;
  float: left;
  clear: right;
  width: 70x;
  height: 48px;
  margin: 2px;
  padding: 0px;
}

#main div.foto img {
  margin: 0px;
  padding: 0px;
  border: 1px solid #717171;
  display: block;
}

#main a.zobacz,#main a.zobacz:hover {
  display: block;
  float: right;
  margin: 0px 5px 0px 0px;
  padding: 0px;
  
  width:247px;
  height:51px;
  
  background-image: url('images/button1.gif');
  background-repeat: no-repeat;  
  background-position: 0 0;
}

#main a.zobacz span {
  display: none; }
  
#main a.zobacz_k,#main a.zobacz_k:hover {
  display: block;

  margin: 0px;
  padding: 0px;
  
  width:247px;
  height:51px;
  
  background-image: url('images/button1.gif');
  background-repeat: no-repeat;  
  background-position: 0 0;
}

#main a.zobacz_k span {
  display: none; }
  
#sidebar ul {
  list-style-image: url('images/menubullet.gif');
}

#sidebar li {
  margin: 15px 0px 15px 0px;
  marker-offset: 0px;
}

#sidebar li a { 
  color: #505050; 
  font-weight: bold;
  text-decoration: none;
  font-size: 9pt;
  background: none;
  margin-left: 10px;
  text-transform: lowercase;
}
#sidebar li a:hover { 
  text-decoration: underline;
  background: none;
}

#main { 
  position: relative;
  width: 667px;
  margin-left: auto;
  margin-right: auto;
  
  background-image: url('images/bkgmain.png');
  background-repeat: repeat-y;
}

#top {
  display: block; 
  position: relative; 
  
  left: 0px;
  width: 667px; 
  top: 0px; 
  height: 284px;
  
  background-image: url('images/bkgtop.png');
  background-position: 0% 0%;
  background-repeat: no-repeat; 
}


#bottom {
  display: block;
  clear: both;
    
  left: 0px;
  width: 667px;
  bottom: 0px;  
  height: 89px;
  
  background-image: url('images/bkgbottom.png');
  background-position: 0% 0%;
  background-repeat: no-repeat; 
}

#midpanel {
  display: block;
  float: left; 
    
  width: 643px;
  left: 16px;
  right: 14px;
  position: relative;
  
  text-align: left;
  
  background-image: url('images/bkgleft.png');
  background-position: 0% 100%;
  background-repeat: no-repeat;   
}

#sidebar {
  display: block; 
  float: left; 
  
  left: 0px;
  width: 195px;
  
  min-height: 478px;
  height: auto !important;
  height: 478px;
}

#topcontent {
  display: block; 
  clear: right; 
  float: right;
 
  right: 0px; 
  width: 447px;
  
  background-color: #ffffff;
  background-image: url('images/contentbullet.gif');
  background-repeat: no-repeat;
  background-position: 0% 0%; 
}

#topcontent p {
  margin: 5px 10px 10px 10px; }

#topcontent h1,#topcontent h2 {
  margin: 10px;
}

#main .contentspan {
  display: block; 
  clear: right; 
  float: right; 

  height: 20px;
  
  width: 447px;
  right: 0px;
  
  background-image: url('images/contentspan.png');
  background-position: 0% 0%;
  background-repeat: no-repeat;  
}

#bottomcontent {
  display: block;
  clear: right; 
  float: right; 

  bottom: 0px; 
  
  width: 447px;
  right: 0px;
  
}

#bottomcontent p {
  margin: 5px 10px 10px 10px; }

#bottom p { 
  text-align: center; 
  position: relative; 
  font-size: 10px;
  top: 30px; 
  color: #ffffff;
  }
#bottom p a {
  text-decoration: none;
} 
  
h1.zero {  
  margin: 0px; 
  padding: 0px;

  font-size: 18pt; 
  font-weight: bold; 
}

img.logo { 

position: absolute;
left: 0px;
bottom: 0px;
border: 0px !important;
margin: 0px !important;
 
}
#logo span { display: none; cursor: pointer; }

.clear {
  margin: 0px;
  padding: 0px;
  clear: both;
}
.clear_r {
  margin: 0px;
  padding: 0px;
  clear: right;
}
#tatarska th,#tuchowska th, #bodzowska th {
  color: #ffffff;
  background-color: #7d00db;
}

#wawrzynkiewicz th,#lipinska th,#markowska th,#uryga th {
  color: #ffffff;
  background-color: #91041a;
}

#main h2.c{
    text-align: center;
    font-size: 20px;
}

.podpis {
  float: right;
  font-style: italic;
  padding-right: 10px;
}

#bottom a:visited {
color:#ffffff;
}

#bottom a {
color:#ffffff;
}

#bottom a:hover,a:active { 
  color: #ffffff;
  text-decoration: none;
  background-color: #7F03DD; 
}