﻿
/* 
	root element for the scrollable. 
	when scrolling occurs this element stays still. 
*/
div.scrollable
{
    /* required settings */
    position: relative;
    overflow: hidden;
    width: 658px;
    height: 175px; /* custom decorations */
    padding: 5px;
    background-color: #f2f2f2;
}

/* 
	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;
    clear: both;
    top: 5px;
    left: 5px;
}

/* single scrollable item */
div.scrollable div.items div {
	float:left;
	
	/* custom decoration */
	text-align:center;
	width:150px;
	height:150px;
	padding:5px;
	font-size:12px;
	font-family: 'bitstream vera sans';
	background-color: #000000;
	margin-right: 5px;	
	-moz-border-radius:5px;
}

/* active item */
div.scrollable div.items div.active {
	border:1px inset #ccc;		
	background-color:#fff;
}

div.box
        {
            border: solid 1px #CCCCCC;
            background-color: #f9f9f9;
            padding: 4px;
            margin: 4px 4px 0px 4px;
            display: table;
        }
