/* root element for the scrollable.
   when scrolling occurs this element stays still. */
div.scrollable { /* required settings */
  position: relative;
  overflow: hidden;
  width: 900px;
  height: 373px;
}

/* 
    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;
}

/* 
    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;
}

/* you may want to setup some decorations to active item */
div.items div.active {
  bo /rder: 1px inset #ccc;
  b /ackground-color: #fff;
}

/* 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: 43px 10px;
  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;
}

/* next button uses another background image */
a.next,a.nextPage {
  background-image: url(../images/scrollable/right.png);
  clear: right;
}

/*********** navigator ***********/ /* position and dimensions of the navigator */
div.navi {
  margin-top: -20px;
  height: 20px;
  position: relative;
  z-index: 200;
  float: right;
}

/* items inside navigator */
div.navi a {
  width: 8px;
  height: 8px;
  float: left;
  margin: 3px;
  background: url(../images/scrollable/navigator2.png) 0 0 no-repeat;
  display: block;
  font-size: 1px;
}

/* mouseover state */
div.navi a:hover {
  background-position: 0 -8px;
}

/* active state (current page state) */
div.navi a.active {
  background-position: 0 -16px;
}
