/*
 *  Generalnie IE ssie, prawda? Dla niego trzeba pisać osobno. Ten filtr, który umozliwia
 *  wsadzenie półprzezroczystości do PNG'ów, sprawia, że tło rozciąga się na całą szerokośc
 *  i wysokośc elementu (ew. można ustawić, żeby został wstawiony jednokrotnie, bez powtarzania),
 *  do którego wstawiasz. "Dzięki temu" nie możesz sobie zrobić cienia osobno dla lewej
 *  i prawej strony (o ile oczywiście chcesz, aby jego wysokośc dopasowywała się do 
 *  wysokości treści), ale musisz wstawić te dwa cienie w jednego szerokiego PNG'a.    
 *
 *  voil'a
 *
 */     


*{margin:0;padding:0; bborder: solid 1px black;}
html{
  background-image: url('grafa/tlo.png');
  text-align:center;
}

a{
  text-decoration:none;
}

body{
  width:780px;
  margin: 0 auto;
  padding: 0px;
  text-align:center;
}

#container{
	width: 780px; /* bo IE nie ustawił szerokości dla body (i nie chce mi się z tym bawić :P) */
}

div.lg, div.g, div.pg, div.ld, div.d, div.pd, div.logo, div.banner, div.banner_odstep{
	float: left;
	font: 1px Verdana, sans-serif; /* bo IE powiększa elementy tak, by sie tekst zmieścił */
}

div.lg{
  height:15px;
  width:15px;
  background: url('grafa/cien_lg.png') no-repeat right bottom;
}

div.g{
  height:15px;
  background: url('grafa/cien_g.png') repeat-x;
}

#container div.g{
  width:750px;
}

div.pg{
  height:15px;
  width:15px;
  background: url('grafa/cien_pg.png') no-repeat;
}


div.lp{
  float: left;
  width:780px;
  background: url('grafa/cien_lp.png') repeat-y;
}

div.tresc{
  width:742px;
  padding: 4px;
  margin-left: 15px;
  margin-right: 15px;
  background: white;
}

div.ld{
  height:15px;
  width:15px;
  background: url('grafa/cien_ld.png') no-repeat;
}

div.d{
  height:15px;
  width:750px;
  background: url('grafa/cien_d.png') repeat-x;
}

div.pd{
  height:15px;
  width:15px;
  background: url('grafa/cien_pd.png') no-repeat;
}

div.pasek_gorny{
	mmargin: 4px 4px 0 4px;
	width: 742px;
	height:40px;
	background: #3c5983;
}

div.logo{
	width: 110px;
	height: 131px;
	background: url('grafa/logo.png') no-repeat;
}

div.banner_odstep{
	width: 51px;
	height: 98px;
	background: url('grafa/banner_odstep_top.png') repeat-x;
}

div.banner{
	width: 581px;
	height: 98px;
	margin-right: -4px;
	background: url('grafa/banner_top.png') no-repeat;
}

#menu{
  width: 632px;
  height: 33px;
  float:left;
  margin-right: -4px;
  background: url('grafa/banner_bottom.png') no-repeat right #E2DFD2;
}

#menu ul{
  bborder:1px solid black;
  margin-top:5px;
  overflow: hidden;
  height:28px;
}

#menu li{
  height:28px;
  width: auto;
  list-style-type: none;
  float:left;
  display: block;
}

#menu li a{
  cursor:pointer;
  font: bold 8pt Verdana, sans-serif;
  color: white;
  text-align: center;
  display: block;
  float:left;
  margin-top:6px;
  background: url('grafa/dead_tab_l.png') no-repeat left top;
}

#menu li a:hover{
  margin-top:0px;
  background: url('grafa/dead_tab_up_l.png') no-repeat left top;
  color:white;
}

#menu li a.active, #menu li a.active:hover{
  margin-top:0px;
  background: url('grafa/activ_tab_l.png') no-repeat left top;
}

#menu li a span{
  width:auto;
  padding:0 11px;
  display:block;
  float:left;
  background: url('grafa/dead_tab_p.png') no-repeat right top;
}

#menu li a:hover span{
  background: url('grafa/dead_tab_up_p.png') no-repeat right top;
}

#menu li a.active span, #menu li a.active:hover span{
  background: url('grafa/activ_tab_p.png') no-repeat right top;
}

#menu li a span span{
  padding: 0 5px;
  margin:0;
  display:block;
  float:left;
  height:28px;
  padding-top:5px;
  background: url('grafa/dead_tab_tlo.png') repeat-x right top;
}

#menu li a:hover span span{
  background: url('grafa/dead_tab_up_tlo.png') repeat-x right top;
}

#menu li a.active span span, #menu li a.active:hover span span{
  background: url('grafa/activ_tab_tlo.png') repeat-x left top;
}

div.cieniowanie{
	width: 742px;
	float: left;
	padding-top:30px;
	background: url('grafa/cieniowanie.png') repeat-x;
}

div.pasek_dolny{
  clear: both;
	width: 742px;
	height:30px;
	background: url('grafa/dolny_pasek.png') repeat-x 0 0 #3c5983;
}

#kartka{
  float:right;
  margin-right:14px;
  width: 580px;
}

#container div.cieniowanie div.g{
  width:550px;
}

#container div.cieniowanie div.lp{
  width: 580px;
  background: url('grafa/cien_lp_kartka.png') repeat-y;
}

#container div.cieniowanie div.d{
  width:550px;
}

div.kartka{
  border: 4px solid white;
  padding: 10px;
	width:522px;
	background: #E7E9DE;
	font: 10pt Verdana, sans-serif;
	color: #615D5A;
	text-align: left;
	margin-left: 15px;
	margin-right: 15px;
	overflow:auto;
}

p{
    margin-bottom:15px;
    margin-top:0;
    line-height:1.5;
    ttext-align:justify;
}

p:first-letter{
    font-weight: bold;
}

p.nfl:first-letter{
    font-weight: inherit;
}

p a{
	color: #7F5F5F;
	font-weight:bold;
}

p a:hover{
	color: #9F8181;
}

h3{
    margin-left:20px;
    font-weight:bold;
    font-size:11pt;
}

#kartka li {
    margin-left:20px;    
    list-style-type:square;
    line-height:1.5;
}

.pasek_dolny p {
    margin:0;
    color:white;
    font:7pt Verdana, sans-serif;
    font-weight:bold;
    line-height:30px;
}

p.gal_l span, p.gal_p span{
    font-weight:bold;
    font-size:11pt;
}

p.gal_l1 span{
    font-weight:bold;
    font-size:11px;
}

p.gal_l{
  clear:both;
  text-align:left;
  width:450px;
  margin-left:70px;
}

p.gal_l1{
  clear:both;
  text-align:justify;
  margin-left:0px;
  font-size:11px;
}


p.gal_l img, p.gal_l1 img {
  float:left;
  padding:1px;
  margin: 5px;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  border-left: 1px solid white;
  border-top: 1px solid white; 
}

p.gal_p{
  clear:both;
  width:450px;
  text-align:right;
}

p.gal_p img {
  float:right;
  padding:1px;
  margin: 5px;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  border-left: 1px solid white;
  border-top: 1px solid white;
}

p.marki{
  text-align:center;
}

p.marki img{
  vertical-align:middle;
  padding:1px;
  margin: 5px;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  border-left: 1px solid white;
  border-top: 1px solid white;
}
