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

    /* required settings */
	float:left;
	height:65px;
	margin:11px 5px 0;
	overflow:hidden;
	padding:10px 5px;
	position:relative;
	width:314px;
	
}

div.scrollable div.items {
	clear:both;
	position:absolute;
	width:20000em;
	left: 0px;
}

div#image_wrap {

	overflow: hidden;
	
}

div#image_wrap img.imgBack {

	position:absolute;
	top: 8px;

}

div#image_wrap img.imgFront {
	position:absolute;
	top: 8px;
	z-index:10;
}

div.scrollable img.active {

	border-width: 5px 0 0 0;
	border-style:solid;
	border-color: #ccc;

}

div.scrollable img {
	/*-moz-border-radius:4px 4px 4px 4px;*/
	cursor:pointer;
	float:left;
	margin:0 4px;
	padding:2px;
	width:100px;

}

div.prevPage, div.nextPage {

	background-color:#999;
	float:left;
	height:75px;
	position:relative;
	top:21px;
	width:20px;
	
}

div.prevPage:hover, div.nextPage:hover {

	background-color:#666666;
	cursor:pointer;

}

div.prevPage {

	background-image:url("../images/prevPage.png");
	
}

div.prevPage:hover {

	background-image:url("../images/prevPage.png");
	background-position: 80px;

}

div.prevPage.disabled {

	background-image:url("../images/prevPage.png");
	background-position: 40px;

}

div.nextPage {

	background-image:url("../images/nextPage.png");
	
}

div.nextPage:hover {

	background-image:url("../images/nextPage.png");
	background-position: 80px;

}

div.nextPage.disabled {

	background-image:url("../images/nextPage.png");
	background-position: 40px;

}

div.prevPage.disabled, div.nextPage.disabled {

	background-color:#f0f0f0;
	cursor:default;
	
}


/*
    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 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 in 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 the item */
div.items div.active {
	background-color:#FFFFFF;
	border-color:#CCCCCC;
	border-style:solid;
	border-width:0 0;
}
