
/*
  root element for the scrollable.
  when scrolling occurs this element stays still.
  */
.scrollable {

    /* required settings */
    position:relative;
    overflow: hidden;
    width: 270px;
    height:70px;

    /* custom decorations */
    border:1px solid #ccc;
    background:url(http://64.19.142.12/jquerytools.org/media/img/gradient/h300.png) repeat-x;
    top: -10px;
    left: -4px;
}

/*
   root element for scrollable items. Must be absolutely positioned
   and it should have a extremely large width to accomodate scrollable
   items.  it's enough that you set the width and height for the root
   element and not for this element.
*/
.scrollable .items {
    /* this cannot be too large */
    width:19997em;
    position:absolute;

    clear:both;
    top: 0px;
    left: 0px;
    height: 50px;
}

.items div {
    float:left;
    width:270px;
    height: 50px;
}

/* single scrollable item */
.scrollable img {
    float:left;
    margin:5px 5px 5px 5px;
    background-color:#fff;
    padding:2px;
    border:1px solid #ccc;
    width:50px;
    height:50px;

    -moz-border-radius:4px;
    -webkit-border-radius:4px;
}

/* active item */
.scrollable .active {
    border:2px solid #000;
    position:relative;
    cursor:default;

}
