#gallery ul li {list-style: none;}

#wrapper {
    width: 700px;
    margin: 0 auto;
}

#img {
    position: relative;
    margin: 10px auto;
}

#gallery { height: 104px;}

#gallery li {
    border: 1px solid #223106;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

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

.caption {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 96%;
    height: 50px;
    padding: 0 2%;
    line-height: 50px;
    color: #000;
    background-color: #fff;
    opacity: .8;
    font-weight: bold;
}