#img {
    position: relative;
    width: 324px;
    height: 324px;
    margin-bottom: 0px;
	overflow: hidden;
}

#gallery { height: 47px; }
ul#gallery {padding:0px;}

#gallery li {
    float: left;
    padding: 0px;
    background: transparent url(/modules/gallery/ajax-loader-small.gif) 50% 50% no-repeat;
    border-color: #345;
    cursor: pointer;
}

.caption {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 304px;
    height: 50px;
    padding: 0 10px;
    line-height: 50px;
    color: #fff;
    background-color: #000;
    opacity: .8;
}