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

#scrollbar-main { width: 960px; float: right; margin: 15px 27px 5px 0; }

.scrollable {

	/* required settings */
	position:relative;
	overflow:hidden;
	width: 960px;
	height:90px;

	/* custom decorations */
	background: #C4D2E3;
	border: 1px solid #A9BED6;
	-moz-border-radius: 3px;
}

/*
	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;
}

#scroller .items div {
	float:left;
	width:1024px;
	margin: 0 0 0 33px;
}

/* single scrollable item */
.scrollable ../images {
	float:left;
	margin:20px 5px 20px 21px;
	background-color:#fff;
	padding:2px;
	border:1px solid #ccc;
	width:100px;
	height:75px;
	
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
}

/* active item */
.scrollable .active {
	border:2px solid #000;
	position:relative;
	cursor:default;
}
.gallery_in { height: 120px; }

.gallery_in a.next {
			background: #C4D2E3 url('../images/arrows.png') center center no-repeat;
			width:27px;
			height:120px;
			text-indent: -9999px;
			float:right;
			display:block;
			border-right: 4px solid #C4D2E3;
			border-left: 4px solid #C4D2E3;
			margin: 0px;
		}
.gallery_in a.prev {
			background: #C4D2E3 url('../images/arrows.png') center center no-repeat;
			width:26px;
			height:120px;
			text-indent: -9999px;
			float:left;
			display:block;
			border-right: 4px solid #C4D2E3;
			border-left: 5px solid #C4D2E3;
			margin: 0px;
			
		}
.gallery_in a.prev {
			background-position:0px 50%;
		}

.gallery_in a.next {
			background-position:-26px 50%;
		}

		#scroller a.next {
			background: #C4D2E3 url('../images/arrows.png') center center no-repeat;
			width:26px;
			height:90px;
			text-indent: -9999px;
			float:right;
			display:block;
			margin:0px;
			right: 0px;
			border-right: 4px solid #C4D2E3;
			border-left: 4px solid #C4D2E3;
			position: absolute;
		}
		#scroller a.prev {
			background: #C4D2E3 url('../images/arrows.png') center center no-repeat;
			width:26px;
			height:90px;
			text-indent: -9999px;
			float:left;
			display:block;
			margin:0px;
			left: 0px;
			border-right: 4px solid #C4D2E3;
			border-left: 4px solid #C4D2E3;
			position: absolute;
			z-index: 1000;
			
		}
		#scroller a.prev {
			background-position:0px 50%;
		}

		#scroller a.next {
			background-position:-26px 50%;
		}


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

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

/* 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: 0px; } 
a.left:hover  		{ background-position:-30px 0; }
a.left:active  	{ background-position:-60px 0; }

/* up and down */
a.up, a.down		{ 
	background:url(../../images/scrollable/arrow/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;		
} 	

a#kampan { float: left; margin: 10px 2px 10px 1px; }
a.hranice { width: 145px; height: 70px; display: block; background: url(../images/kampan/hranice-button.jpg) 0px 0px; }
a.hranice:hover { background: url(../images/kampan/hranice-button.jpg) 0px -70px; }
a.obrana { width: 145px; height: 70px; display: block; background: url(../images/kampan/obrana-button.jpg) 0px 0px; }
a.obrana:hover { background: url(../images/kampan/obrana-button.jpg) 0px -70px; }
a.skolstvo { width: 145px; height: 70px; display: block; background: url(../images/kampan/skolstvo-button.jpg) 0px 0px; }
a.skolstvo:hover { background: url(../images/kampan/skolstvo-button.jpg) 0px -70px; }
a.davky { width: 145px; height: 70px; display: block; background: url(../images/kampan/socdavky-button.jpg) 0px 0px; }
a.davky:hover { background: url(../images/kampan/socdavky-button.jpg) 0px -70px; }
a.zena { width: 145px; height: 70px; display: block; background: url(../images/kampan/zena-button.jpg) 0px 0px; }
a.zena:hover { background: url(../images/kampan/zena-button.jpg) 0px -70px; }
a.dvojobcianstvo { width: 145px; height: 70px; display: block; background: url(../images/kampan/dvojobcianstvo-button.jpg) 0px 0px; }
a.dvojobcianstvo:hover { background: url(../images/kampan/dvojobcianstvo-button.jpg) 0px -70px; }
a.sused { width: 145px; height: 70px; display: block; background: url(../images/kampan/sused-button.jpg) 0px 0px; }
a.sused:hover { background: url(../images/kampan/sused-button.jpg) 0px -70px; }
a.grecko { width: 145px; height: 70px; display: block; background: url(../images/kampan/grecko-button.jpg) 0px 0px; }
a.grecko:hover { background: url(../images/kampan/grecko-button.jpg) 0px -70px; }
a.futbal { width: 145px; height: 70px; display: block; background: url(../images/kampan/futbal-button.jpg) 0px 0px; }
a.futbal:hover { background: url(../images/kampan/futbal-button.jpg) 0px -70px; }
