/* root element for the scrollable.
   when scrolling occurs this element stays still. */
div.scrollable { /* required settings */
  position: relative;
  overflow: hidden;
  width: 595px;
  height: 60px;
}
/*  root element for scrollable items. Must be absolutely positioned 
    and it should have a super large width to accomodate scrollable items. 
    it's enough that you set width and height for the root element and 
    not for this element. */
div.scrollable div.items { /* this cannot be too large */
  width: 20000em;
  position: absolute;
  margin-left:10px;
  margin-left:10px;
}

/* a single item. must be floated on horizontal scrolling 
    typically this element is the one that *you* will style 
    the most. */
div.scrollable div.items div {
  float: left;
}

div.scrollable div.items img {
  border: 1px solid silver;
  margin: 0px 10px 0px 5px;
}

/*********** navigator ***********/
/* you may want to setup some decorations to active item */
/* prev, next, prevPage and nextPage buttons */
a.prev,a.next,a.prevPage,a.nextPage {
  display: block;
  width: 18px;
  height: 18px;
  background: url(../images/scrollable/left.png) no-repeat;
  float: left;
  margin: 20px 0px;
  cursor: pointer;
  font-size: 1px;
}

/* mouseover state */
a.prev:hover,a.next:hover,a.prevPage:hover,a.nextPage:hover {
  background-position: 0px -18px;
}

/* disabled navigational button */
a.disabled {
  visibility: hidden !important;
}

/* this makes it possible to add next button beside scrollable */
div.scrollable {
  float:left;
  margin-right: 10px;		
}

/* next button uses another background image */
a.next,a.nextPage {
  background-image: url(../images/scrollable/right.png);
  clear: right;
}

