/* get rid of those system borders being generated for A tags */
a:active { outline:none; }
:focus { -moz-outline-style:none; }

#image_wrap {
	/* dimensions */
	width:630px;
	height:auto;
	overflow: hidden;
	
	padding:5px;
	
	margin:10px 0 0 10px;

	/* centered */
	text-align:center;

	/* some "skinning" */
	border:1px solid #ddd;
}

#image_wrap img { max-height:600px; max-width:630px; }


/*
	root element for the scrollable.
	when scrolling occurs this element stays still.
*/
.scrollable {
	/* required settings */
	position:relative;
	overflow:hidden;
	width:540px;
	height:100px;
	/* custom decorations */
}

/*
	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:10px 14px 20px 13px;
	background:#fff;
	padding:2px;
	border:2px solid #fff;
	cursor:pointer;
	width:75px;
	height:75px;
}

/* active item */
.scrollable .active {
	z-index:9999;
	position:relative;
	padding:3px;
	border:1px solid #999;
	/* opacity:0.3;
	filter:alpha(opacity=30) */
}

/* ////////////////////////////////////////////////////////////////  BUTTONS


/* this makes it possible to add next button beside scrollable */
.scrollable {
	float:left;	
}

.browse_box_left { width:50px; height:100px; float:left; display:block; }
.browse_box_right { width:50px; height:100px; float:left; display:block; }
.image_nav { width:640px; height:99px; background:#ebebeb; display:block; margin:10px 0 0 10px; border:1px solid #ddd; }

/* prev, next, prevPage and nextPage buttons */
a.browse {
	display:block;
	width:30px;
	height:30px;
	float:left;
	margin:35px 10px 40px 10px;
	cursor:pointer;
	font-size:1px;
	background-image: url(../images/hori_large.png);
	background-repeat: no-repeat;
}

/* right */
a.right 				{ background-position: 0 -30px; clear:right; margin-right: 0px; }
a.right:hover 		{ background-position:-30px -30px; }
a.right:active 	{ background-position:-60px -30px; } 


/* left */
a.left				{ margin-left:15px; } 
a.left:hover  		{ background-position:-30px 0; }
a.left:active  	{ background-position:-60px 0; }

/* up and down */
a.up, a.down		{
	float: none;
	margin: 10px 50px;
	background-image: none;
	background-repeat: no-repeat;
}

/* up */
a.up:hover  		{ background-position:-30px 0; }
a.up:active  		{ background-position:-60px 0; }

/* down */
a.down 				{ background-position: 0 -30px; }
a.down:hover  		{ background-position:-30px -30px; }
a.down:active  	{ background-position:-60px -30px; } 


/* disabled navigational button */
a.disabled {
	visibility:hidden !important;		
} 	




