*{
    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:400px; margin:auto;}
/* kontrolki L R */
#gallery img.left {width:90px; height:68px; float:left;cursor:pointer; padding-left: 50px}
#gallery img.right {width:90px; height:68px; float:left;cursor:pointer;}

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


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

/* using background images */
#gallery ul li.th1 {background:url(../th/1.jpg);}
#gallery ul li.th2 {background:url(../th/2.jpg);}
#gallery ul li.th3 {background:url(../th/3.jpg);}
#gallery ul li.th4 {background:url(../th/4.jpg);}
#gallery ul li.th5 {background:url(../th/5.jpg);}
#gallery ul li.th6 {background:url(../th/6.jpg);}
#gallery ul li.th7 {background:url(../th/7.jpg);}
#gallery ul li.th8 {background:url(../th/8.jpg);}




/* 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; left:80px; top:00px; 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; border:0px solid #aaa; margin:auto;}
#gallery ul li.chosen span {display:block;}
