*{
    text-decoration: none;
    padding: 0;
    list-style: none;
}
a{
    text-decoration: none;
    color: #666;
}
body{
    background-image: url("../../../../graphics/bg.jpg");
    width: 1024px;
    margin: auto;
    font-family: 'Amiko', sans-serif;
    font-size: 12px;
}
.font-header{
    font-family: 'Amiko', sans-serif;
    font-size: 14px;
    color: #6599cb;
    font-weight: bold;
}
.font-body{
    font-family: 'Amiko', sans-serif;
    font-size: 12px;
    line-height: 15px;
    color: black;
    text-align: justify;
    padding: 5px 5px 5px 5px;
    font-weight: normal;
}
#gallery {width: 860px; position:relative; border: solid 0px red; height:60px; padding-top:25px; margin:auto;}
/* kontrolki L R */
#gallery img.left {width:90px; height:90px; float:left;cursor:pointer; padding-left: 50px}
#gallery img.right {width:90px; height:90px; float:left;cursor:pointer;}

/* zbiór thumbs */
#gallery ul {list-style:none;background-repeat: no-repeat; padding:0; margin:0; float:left;  border:0px solid red;}
/* thumbs */
#gallery ul li {display:inline;background-repeat: no-repeat; width:120px; height:90px; float:left; margin:0 4px; border:0px solid #666; cursor:pointer;}


#gallery ul li.hide {display:none;}

/* using background images */
#gallery ul li.th1 {background:url(../th/1.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th2 {background:url(../th/2.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th3 {background:url(../th/3.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th4 {background:url(../th/4.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th5 {background:url(../th/5.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th6 {background:url(../th/6.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th7 {background:url(../th/7.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th8 {background:url(../th/8.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th9 {background:url(../th/9.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th10 {background:url(../th/10.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th11 {background:url(../th/11.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th12 {background:url(../th/12.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th13 {background:url(../th/13.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th14 {background:url(../th/14.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th15 {background:url(../th/15.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th16 {background:url(../th/16.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th17 {background:url(../th/17.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th18 {background:url(../th/18.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th19 {background:url(../th/19.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th20 {background:url(../th/20.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th21 {background:url(../th/21.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th22 {background:url(../th/22.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th23 {background:url(../th/23.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th24 {background:url(../th/24.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th25 {background:url(../th/25.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th26 {background:url(../th/26.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th27 {background:url(../th/27.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th28 {background:url(../th/28.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th29 {background:url(../th/29.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th30 {background:url(../th/30.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th31 {background:url(../th/31.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th32 {background:url(../th/32.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th33 {background:url(../th/33.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th34 {background:url(../th/34.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th35 {background:url(../th/35.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th36 {background:url(../th/36.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th37 {background:url(../th/37.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th38 {background:url(../th/38.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th39 {background:url(../th/39.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th40 {background:url(../th/40.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th41 {background:url(../th/41.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th42 {background:url(../th/42.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th43 {background:url(../th/43.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th44 {background:url(../th/44.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th45 {background:url(../th/45.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th46 {background:url(../th/46.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th47 {background:url(../th/47.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th48 {background:url(../th/48.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th49 {background:url(../th/49.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th50 {background:url(../th/50.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th51 {background:url(../th/51.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th52 {background:url(../th/52.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th53 {background:url(../th/53.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th54 {background:url(../th/54.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th55 {background:url(../th/55.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th56 {background:url(../th/56.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th57 {background:url(../th/57.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th58 {background:url(../th/58.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th59 {background:url(../th/59.jpg);background-repeat: no-repeat; background-position: center}
#gallery ul li.th60 {background:url(../th/60.jpg);background-repeat: no-repeat; background-position: center}




/* remove visibility:hidden; if you want to use the original images as thumbnails */
#gallery ul li img {visibility:hidden; display:block; width:50px; height:50px;}



/* zdjęcie na środku */

#gallery ul li.chosen div {position:absolute; display:block; margin-left:auto; margin-right:auto; left:160px; top:150px; width:auto; height:auto; background:red; border:1px solid #666;}
#gallery ul li.chosen div i {width:auto; height:auto; display:table-cell; vertical-align:middle; text-align:center;}
#gallery ul li.chosen div i img {visibility:visible; width:auto; height:auto;display:block; border:0px solid #aaa; margin-left:auto; margin-right:auto;}
#gallery ul li.chosen span {display:block;}
