/* get rid of those system borders being generated for A tags */
a:active {
  outline:none;
}

:focus {
  -moz-outline-style:none;
}

/* main vertical scroll */
#main {
	position:relative;
	overflow:hidden;
	height: 450px;
	width: 560px;
	margin: 24px 0px 0px 0px;
}

/* root element for pages */
#pages {
	position:absolute;
	height:20000em;
}

/* single page */
.page {
   position: relative;
	padding:6px;
	height: 480px;
	background: #765F4D;
	width:560px;
}

/* root element for horizontal scrollables */
.scrollable {
	position:relative;
	overflow:hidden;
	width: 510px;
	height: 450px;
}

/* root element for scrollable items */
.scrollable .items {
	width:20000em;
	position:absolute;
	clear:both;
}

/* single scrollable item */
.item {
	float:left;
	cursor:pointer;
	width:552px;
	height:420px;
	padding:0px;
	text-align: center;
}

/* main navigator */
#main_navi {
	width: 160px;
	padding:0px !important;
	margin:24px 0px 0px 24px; !important;
}

#main_navi li {
	background-color:#CABEA5;
	clear:both;
	color:#660000;
	font-size:12px;
	list-style-type:none;
	padding:10px;
	width:140px;
	cursor:pointer;
	text-align: right;
}

#main_navi li:hover {
   color: #FFFFFF;
	background-color:#660000;
}

#main_navi li.active {
   color: #FFFFFF;
	background-color:#765F4D;
}

#main_navi img {
	float:left;
	margin-right:10px;
}

#main_navi strong {
	display:block;
}

#main div.navi {
	
	cursor:pointer;
}






/* DEPRECATED FILE */




/* this makes it possible to add next button beside scrollable */
.scrollable {
	margin-left: 0px;
	height: 420px;
	width: 550px;
}

/* prev, next, prevPage and nextPage buttons */
a.prev, a.next, a.prevPage, a.nextPage {
	display:inline-block;
	width:18px;
	height:18px;
	background:url(/images/left.png) no-repeat;
	margin: 0px;
	cursor:pointer;
	font-size: 1px;
	text-indent: 9999px;
}

/* mouseover state */
a.prev:hover, a.next:hover, a.prevPage:hover, a.nextPage:hover {
	background-position:0px -18px;		
}

/* disabled navigational button */
a.disabled {
	visibility:hidden !important;		
}

/* next button uses another background image */
a.next, a.nextPage {
	background-image:url(/images/right.png);
	clear:right;	
}



/*********** navigator ***********/


/* position and dimensions of the navigator */
.navi {
	margin-left:auto;
	margin-right: auto;
}


/* items inside navigator */
.navi a {
	float:left;
	margin: 0px 2px;
	display:block;
	font-size:12px;
	color: #FFFFFF;
	font-weight: bold;
	background-color:#765F4D;
	padding: 1px 4px 2px 4px;
	text-decoration: none;
	font-family: Arial, Helvetica, Verdana, sans-serif;
}

/* mouseover state */
.navi a:hover {
   color: #660000;
	background: #CABEA5;
	text-decoration: none;
}

/* active state (current page state) */
.activeNav {
   color: #660000 !important;
	background: #CABEA5 !important;
} 	




.buttonWrapper {
   position: absolute;
   height: 18px;
   width: 50px;
   top: 1px;
   right: 16px;
   border: 1px solid red;
   display: block;
   text-align: right;
}
