/* main vertical scroll */
#main {
	position:relative;
	overflow:hidden;
	height: 500px;
}

/* root element for pages */
#pages {
	position:absolute;
	height:20000em;
}

/* single page */
.page {
	padding:10px;
	height: 500px;
	background:#eee;
	border: 1px solid #ddd;
	width:520px;
}

/* root element for horizontal scrollables */
.scrollable {
	position:relative;
	overflow:hidden;
	width: 520px;
	height: 500px;
}

/* root element for scrollable items */
.scrollable .items {
	width:20000em;
	position:absolute;
	clear:both;
}

/* root element for scrollable items */
.scrollable h2 {
	position:absolute;
	top: 350px;
}
.scrollable p {
	position:absolute;
	top: 365px;
}


/* single scrollable item */
.item {
	float:left;
	cursor:pointer;
	width:500px;
	height:450px;
	padding:10px;
}

/* main navigator */
#main_navi {
	float:left;
	padding:0px !important;
	margin:0px !important;
	width: 357px;
}

#main_navi li {
	background-color:#eee;
	border-top:1px solid #ddd;
	border-left:1px solid #ddd;
	height: 15px;
	color:#333;
	font-size:11px;
	list-style-type:none;
	padding:10px;
	margin-right: 5px;
	width:150px;
	cursor:pointer;
	float: left;
}

#main_navi li:hover {
	background-color:#555;
	color: #ccc;
}

#main_navi li.active {
	background-color:#333;
	color: #ccc;
}

#main_navi img {
	float:left;
	margin-right:10px;
}

#main_navi strong {
	display:block;
}

#main div.navi {
	margin-left:250px;
	cursor:pointer;
}

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

/*********** 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/navigator.png) 0 0 no-repeat;
	display:block;
	font-size:1px;
}

/* mouseover state */
div.navi a:hover {
	background-position:0 -8px;      
}

/* active state (current page state) */
div.navi a.active {
	background-position:0 -16px;     
} 	


