
/*
	root element for the scrollable.
	when scrolling occurs this element stays still.
*/
.scrollable {

	/* required settings */
	position:relative;
	overflow:hidden;
	width: 340px;
	height:40px;

	/* custom decorations */
	border:0px solid #ccc;
}

/*
	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:20000em;
	position:absolute;
	clear:both;
}

/* single scrollable item */
.scrollable img {
	float:left;
	margin: 5px 0px 5px 5px;
	background-color:#fff;
	padding:1px;
	border:1px solid #ccc;
	cursor:pointer;
	width:25px;
	height:25px;
	
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
}

/* active item */
.scrollable .active {
	border:2px solid #cb2131;
	z-index:8000;
	position:relative;
}


.scrollable2 {

	/* required settings */
	position:relative;
	overflow:hidden;
	width: 138px;
	height:40px;
	margin: 0px 0px 0px 5px;
	padding: 0px 0px 0px 0px;
	display: inline;
	float: left;
	/* custom decorations */
	border:0px solid #ccc;
}

/*
	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.
*/
.scrollable2 .items {
	/* this cannot be too large */
	width:20000em;
	position:absolute;
	clear:both;
}

/* single scrollable item */
.scrollable2 img {
	float:left;
	margin: 5px 0px 5px 5px;
	padding:1px;
	border:1px solid #ccc;
	cursor:pointer;
	width:25px;
	height:25px;
	
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
}
.scrollable2 img.select {
	border:1px solid #ff0035;
}
/* active item */
.scrollable2 .active {
	border: 1px solid #cb2131;
	z-index: 800;
	position:relative;
}