﻿
/* 
	root element for the scrollable. 
	when scrolling occurs this element stays still. 
*/



div.scrollable {
	
	/* required settings */
	position:relative;
	overflow:hidden;	 	
	width: 600px;	
	height:200px;	
	
	/* custom decorations */
	padding:10px 0;	
	border:1px outset #ccc;
	/*background-color:#efefef;	*/
	background-color:White;
	z-index:1;	
		
}


div.scrollableImage {
	
	/* required settings */
	position:relative;
	overflow:hidden;	 	
	width: 400px;	
	height:200px;	
	
	/* custom decorations */
	padding:10px 0;	
	border:1px outset #ccc;
	/*background-color:#efefef;	*/
	background-color:White;
	z-index:1;	
		
}


div.nonScrollable 
{
	position:relative;	 	
	width: 600px;	
	/* custom decorations */
	padding:10px 0;	
	border:1px outset #ccc;
	background-color:#efefef;	
}

/* 
	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;		
	

	/* decoration */
	margin-left:10px;
	z-index:1;	

}


div.scrollableImage div.items {	
	/* this cannot be too large */
	width:20000em;	
	position:absolute;
	clear:both;		
	

	/* decoration */
	margin-left:10px;
	z-index:1;	

}


/* single scrollable item */
div.scrollable div.items div {
	float:left;
	width:200px;

	/* custom decoration */
	
}

div.scrollableImage div.items div {
	float:left;
	width:200px;

	/* custom decoration */
	
}

div.nonScrollable div.items div {
	float:left;
	width:200px;

	/* custom decoration */
	
}

/* active item */
div.scrollable div.items div.active {
	border:1px inset #ccc;		
	background-color:#fff;
}

div.scrollableImage div.items div.active {
	border:1px inset #ccc;		
	background-color:#fff;
}

.test
{
		text-align:center;
	width:300px;
	padding:25px 0px;
	font-size:30px;
	font-family: 'bitstream vera sans';
	border:1px outset #ccc;
	background-color: #ddd;
	margin-right: 20px;	
	-moz-border-radius:5px;
}

.text
{
	
}
