/* 
	root element for the scrollable. 
	when scrolling occurs this element stays still. 
*/
.scroll-gallery {
margin-top: 2px;
/*float: left;*/
background: url(../images/gallery-scroll-bg.jpg) top left no-repeat;
height: 42px;}
.scroll-gallery img {
padding:0; border:none;}
div.scrollable {
	
	/* required settings */
	position:relative;
	overflow:hidden;
	width: 284px;	
	height:41px;	
	
	/* custom decorations */
	padding:0px 0;
	margin:0 0 0px 0;
	/*border:1px outset #ccc;*/
	background-color:#D5D5D5;				
}

/* 
	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:0px;
}

/* single scrollable item */
div.scrollable div.items div {
	float:left;
	
	/* custom decoration */
	text-align:center;
	width:56px;
	padding:0px 1px 0px 0px;
	font-size:30px;
	font-family: 'bitstream vera sans';
	/* border:1px outset #ccc; */
	background-color: #ddd;
	/*margin-right: 20px;	*/
	/* -moz-border-radius:5px; */
}

/* active item */
div.scrollable div.items div.active {
	/*border:1px inset #ccc;		
	background-color:#fff;*/
}



/* this makes it possible to add next button beside scrollable */
div.scrollable {
	float:right;		
}

/* prev, next, prevPage and nextPage buttons */
a.prevg {margin:0px 0px 0 0;}

a.nextg {margin: 0px 0px 0 0px;
	}


a.prevg, a.nextg, a.prevPage, a.nextPage {
	display:block;
	width:10px;
	height:41px;
	margin: 0px 0px;
	background:url(../images/gallery/left.png) no-repeat;
	float:right;
	
	cursor:pointer;
}

/* mouseover state */
a.prevg:hover, a.nextg:hover, a.prevPage:hover, a.nextPage:hover {
	background-position:0px -41px;		
}

/* disabled navigational button */
a.disabled {
	visibility:hidden !important;		
}

/* next button uses another background image */
a.nextg, a.nextPage {
	background-image:url(../images/gallery/right.png);
	clear:right;	
}



/*********** navigator ***********/


/* position and dimensions of the navigator */
div.navi {
	margin-left:328px;
	width:200px;
	height:20px;
}


/* items inside navigator */
div.navi a {
	width:8px;
	height:8px;
	float:left;
	margin:3px;
	background:url(images/gallery/navigator.png) 0 0 no-repeat;     
	cursor:pointer;	
}

/* mouseover state */
div.navi a:hover {
	background-position:0 -8px;      
}

/* active state (current page state) */
div.navi a.active {
	background-position:0 -16px;     
} 	

div.buttons
{
	clear:right;
	padding:0 37px 0 0;
}
