﻿.gallery {
	text-align: center;
}

.fancybox-wrap {
	z-index: 800;
}

.fancybox-overlay {
	z-index: 799;
}

.fancybox-loading {
	z-index: 800;
}

/*
	root element for the scrollable.
	when scrolling occurs this element stays still.
*/
.scrollable {
	/* required settings */
	position: relative;
	overflow: hidden;
	height: 250px; /* custom decorations */
	border: 2px solid #357ed3;
	width: 100%;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	background: #fff url(../images/gallery/h300.png) repeat-x;
	background-position: left bottom;
}

/*
	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;
	padding-left: 25px;
}

/* single scrollable item */
.scrollable img {
	float: left;
	margin: 20px 5px 20px 21px;
	background-color: #fff;
	padding: 2px;
	border: 1px solid #357ed3;
	cursor: pointer;
	height: 200px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

/* active item */
.scrollable .active {
	border: 2px solid #000;
	z-index: 100;
	position: relative;
}

/* this makes it possible to add next button beside scrollable */
.scrollable {
}

/* prev, next, prevPage and nextPage buttons */
a.browse {
	background: url(../images/gallery/hori_large.png) no-repeat;
	width: 30px;
	height: 30px;
	margin: 90px 10px;
	cursor: pointer;
	font-size: 1px;
	position: absolute;
	z-index:9000;
}

/* right */
a.right {
	background-position: 0 -30px;
	clear: right;
	margin-right: 0px;
	right:5px;
}
a.right:hover {
	background-position: -30px -30px;
}
a.right:active {
	background-position: -60px -30px;
}


/* left */
a.left {
	margin-left: 0px;
	left:5px;
}
a.left:hover {
	background-position: -30px 0;
}
a.left:active {
	background-position: -60px 0;
}

/* up and down */
a.up, a.down {
	background: url(../images/gallery/vert_large.png) no-repeat;
	float: none;
	margin: 10px 50px;
}

/* 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;
}




