.galleria{list-style:none;width:200px}
.galleria li{display:block;width:80px;height:80px;overflow:hidden;float:left;margin:0 10px 10px 0}
.galleria li a{display:none}
.galleria li div{position:absolute;display:none;top:0;left:180px}
.galleria li div img{cursor:pointer}
.galleria li.active div img,.galleria li.active div{display:block}
.galleria li img.thumb{cursor:pointer;top:auto;left:auto;display:block;width:auto;height:auto}
.galleria li .caption{display:block;padding-top:.5em}
* html .galleria li div span{width:400px} /* MSIE bug */

.gallery_unstyled li
{
    list-style:none;
}
.gallery_unstyled .bottom
{
    display:none;
}
.gallery .bottom
{
    display:block;
}
.gallery
{
    margin: 0 auto;
    border: solid 1px #333;
    padding: 5px;
    background-color:#000;
}
.gallery table
{
    width: 100%;
}
.gallery td{width:100%;}
.gallery td.prev{width:auto;}
.gallery td.next{width:auto;}

.gallery ul
{
    margin:0;
    padding:0;
    list-style:none;
}
.gallery #main_image
{
    border: solid 1px #333;
    padding: 5px;
    height: 400px;
    text-align: center;
    vertical-align: middle;
}
.gallery .stepcarousel
{
    position: relative; /*leave this value alone*/
    overflow: hidden; /*leave this value alone*/
    /*width: 270px;*/
    height: 75px; /*Height should enough to fit largest content's height*/
}
.gallery .stepcarousel .belt
{
    position: absolute; /*leave this value alone*/
    left: 0;
    top: 0;
}
.gallery .stepcarousel .panel
{
    /*float: left;*/ /*leave this value alone*/
    display:inline;
    
    overflow: hidden; /*clip content that go outside dimensions of holding panel DIV*/
    margin: 10px; /*margin around each panel*/
    width: 75px; /*Width of each panel holding each content. If removed, widths should be individually defined on each content DIV then. */
    height:50px;
    border:double 3px #333;
    padding:2px;
}
.gallery .bottom
{
    text-align:center;
    margin:5px;
    color:#39f;
}
.gallery_unstyled h1, .gallery h1
{
    background-image:url(../css/img/galhead.jpg);
    background-position:center;
    background-repeat:no-repeat;
    text-align:center;
    margin:0;
    margin-bottom:5px;
}
.gallery_unstyled h1 span, .gallery h1 span
{
    background-color:#000;
    padding:0 3px 0 3px;
    font-size:100%;
    vertical-align:middle;
}
