* {
        margin:0;
        padding:0;
        }

body {
        background-color:#fdfcf2;
        font:normal 1em Georgia, "Trebuchet MS", Arial, sans-serif;
        font-style:italic;
        text-align:justify;
        }

/* ------------- górny pojemnik - logo i cała reszta */
div#top {
        height:136px;
        width:auto;
        background:url("img/top_gradient.jpg");
        }

/* ------------- treść */
div#container {
        position:relative;
        }

/* ------------- ogonek książki */
div#ogon {
        background:url("img/ogon.jpg") no-repeat;
        width:132px;
        height:78px;
        position:absolute;
        top:136px;
        right:140px;
        }

/* ------------- obrazek książki */
div#ksiazka {
        background:url("img/ksiazka.jpg") no-repeat;
        width:196px;
        height:136px;
        position:absolute;
        top:0;
        right:0;
        }

/* ------------- logo PM i napis "biblioteka" */
div#logo {
        background:url("img/logo.jpg") no-repeat;
        width:418px;
        height:136px;
        }

/* ------------- napis "Pałacu Młodzieży w Katowicach" */
div#palacu {
        height:60px;
        position:absolute;
        top:4em;
        left:15em;
        }

div#palacu img {
        float:left;
        }

/* ------------- pojemniki na treść na stronie głównej */
div#lewy, div#prawy {
        width:50%;
        float:left;
        padding-top:2em;
        }

div#prawy p, div#lewy p {
        font-size:120%;
        }

div#lewy p {
        margin:4em 0 0 3em;
        text-align:left;
        }

div#lewy p span {
        font-size:70%;
        display:block;
        margin-top:.5em;
        font-style:normal;
        }

div#prawy {
        font:normal 1em "Trebuchet MS", Arial, sans-serif;
        font-style:italic;
        }
        
div#prawy p {
        margin-bottom:1em;
        }

/* ------------- kontener z nawigacją po prawej na podstronach */
#navi {
        font:normal 1em "Trebuchet MS", Arial, sans-serif;
        font-style:italic;
        padding-top:5.5em;
        width:36%;
        float:right;
        }

#navi ul {
        margin-left:1em;
        margin-bottom:2em;
        text-align:left;
        }

#navi img {
        display:block;
        margin-left:3em;
        margin-top:3em;
        float:left;
        border:none;
        }        

/* ------------- kotwice */
a {
        color:black;
        text-decoration:none;
        font-weight:bold;
        }

a:hover {
        text-decoration:none;
        border-bottom:1px solid black;
        }

#menu a {
        color:#030303;
        text-decoration:none;
        }

#menu a:hover {
        text-decoration:none;
        border-bottom:1px solid black;
        }

a.alehit {
        color:red;
        text-decoration:none;
        font-weight:bold;
        }

a.alehit:hover {
        text-decoration:none;
        border-bottom:1px solid red;
        }

a#katalog, a#obib, a#oferta {
        display:block;
        text-decoration:none;
        border-bottom:none;
        width:300px;
        height:33px;
        margin-top:.5em;
        margin-left:3em;
        }

a#katalog {
        background:url("img/main_katalog.jpg") no-repeat;
        }

a:hover#katalog {
        background:url("img/main_katalog.jpg") 0 -30px no-repeat;
        }

a#obib {
        background:url("img/main_obib.jpg") no-repeat;
        }

a:hover#obib {
        background:url("img/main_obib.jpg") 0 -30px no-repeat;
        }

a#oferta {
        background:url("img/main_oferta.jpg") no-repeat;
        }

a:hover#oferta {
        background:url("img/main_oferta.jpg") 0 -30px no-repeat;
        }
/* ------------- koniec kotwic */

/* ------------- stopka */
div#footer {
        border:1px solid #fdfcf2;
        }

div#footer address {
        margin-top:4em;
        font-size:80%;
        text-align:center;
        }


div.clear {
        clear:both;
        }

/* ------------- menu */
ul#menu {
        list-style:none;
        margin:0em 0em 1em;
        font-size:100%;
        }

ul#menu li {
        background:transparent url("img/raquo.jpg") 17px 11px no-repeat;
        padding-left:2em;
        padding-top:3px;
        }

ul#menu li.separator, ul li.separator {
        background:none;
        }

/* podstrony */
#tresc {
        width:62%;
        font-style:normal;
        float:right;
        padding-left:.5em;
        }

#tresc p {
        padding:.5em;
        text-align:justify;
        }

/* ------------- formatowanie tre¶ci */
h1 {
        text-align:center;
        margin:1em;
        font-style:italic;
        }

h2 {
        margin:.5em;
        }

h3 		{
		margin::10px 0;
		text-align:center;
}
h4 {
        margin:.5em 2em;
        }

ol {
        list-style:decimal;
        margin-left:3em;
        }

ul {
        list-style-type:none;
        margin:0 2em;
        }
        
ul li {
        padding-left:1em;
        background:transparent url("img/raquo_mini.jpg") 2px 10px no-repeat;
        }

/* ------------- lista czasopism */
.czasopisma {
        list-style:none;
        margin-left:3em;
        margin-top:1em;
        float:left;
        width:41%;
        text-align:left;
        }

.czasopisma li {
        padding-left:1em;
        background:transparent url("img/raquo_mini.jpg") 2px 10px no-repeat;
        }

/* ------------- fotki pomieszczeń */
#room {
        float:left;
        margin:1em;
        }

/* ------------- omiń nawigację - dla screenreaderów */
#skipnavi {
        margin-left:-2000px;
        visibility:hidden;
        }

/* ------------- okładki w nowo¶ciach */
.okladkaLewa {
        float:left;
        margin:.6em;
        }

.okladkaPrawa {
        float:right;
        margin:.6em;
        }

/* ------------- blok z jedną książką w nowo¶ciach */
.ksiazka {
        border-bottom:1px solid black;
        margin-left:1em;
        padding:2em 0;
        }
        
/* ------------- podpis pod obrazkiem w ciekawostkach */
p.imgPodpis {
        text-align:center;
        font-family:Verdana, sans-serif;
        font-size:70%;
        font-weight:bold;
        }
        
.center {
        text-align:center !important;
        }
#linki {
        width:auto;
        text-align:left;
        }

div.zdjecie {
width:130px;
float:left;
}

div#onas img {
border:none;
}

div#onas .pionowe img {
width: 150px;
height:200px;
float:right;
margin:10px;
}

div#onas .poziome img {
width: 200px;
height:150px;
float:left;
margin:10px;
}

p.podpis {
width:200px;

}

/* ------------- pojemnik ze zdjęciami w pliku ferie2007.php */
#ferie2007foto {
width:482px;
margin:.5em auto 0;
}

#ferie2007foto img {
margin:1em 0;
width:480px;
height:360px;
border:0;
}

/* ------------- formularz zapytaj bibliotekarza zapytaj.php */
#zapytaj, #wkkpform {
margin-left:1em;
}

#mailform label, #tematform label, #trescform label, #wkkpform div label {
display:block;
margin-top:.5em;
}

#submit, #reset {
margin-top:10px;
width: 80px;
}

#mail, #temat, #trescwiad{
border: 1px solid lightgray;
}

#wkkpform div input {
border: 1px solid lightgray;
}

#wkkpform h3 {
margin-top:1em;
}

#uczen input {
display:block;
margin-top:5px;
}

/* ------------- regulamin konkursu wkkp/regulamin.php */
.wkkpreghead {
font-weight:bold;
text-decoration:underline;
}

/* ------------- lightbox */

#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(img/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(img/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%	; }

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em; outline: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }


