body
{
	padding:0;
	margin:0;
	overflow:hidden;
	font: 9pt Verdana, Arial, sans-serif;
	background-color:#ccc;

}

h1, h2, h3, h4, h5, h6 {
	font-family: Verdana, Arial, sans-serif;
	font-weight: normal;
	color: #333;
	text-shadow: 1px 1px 1px #bbb;
}

h3
{
	font-size:14pt;
}


.book_page
{
	border:1px solid grey;
/*	margin:4px; */
	background-color:#eee;
	margin:auto;
	margin-bottom:4px;
	overflow:hidden;
	text-align:center;
	vertical-align:center;
}

.book_page_text_only
{
	border:1px solid grey;
/*	margin:4px; */
	background-color:white;
	margin:auto;
	margin-bottom:4px;
	overflow:hidden;
	text-align:center;
	vertical-align:center;
}


.book_page img
{
}

.link
{
	position:absolute;
	z-index:1;
	cursor: pointer;
}

#selection
{
	position:absolute;
}

#links
{
	position:absolute;
}

#book
{
}

#introduction
{
	background-color:white;
	width: 600px;
		margin:auto;
padding: 20px;
}

#reader_main
{
	background-color:#ccc;
	position:relative;
	overflow: scroll;
	text-align:center;
	border-top:1px solid #aaa;
}

#toc
{
	font-size:9pt;
	background-color:white;
	overflow:auto;
	padding:4px;
}

#books
{
}

#books_tab
{
	font-size:9pt;
	background-color:white;
	overflow:auto;
	padding:8px;
	
}

#info_tab
{
	font-size:9pt;
	background-color:white;
	overflow:auto;
	padding:12px;
	text-align:justify;
	
}


#books_sort
{
	text-align:right;
}

#notes
{
}

#notes_tab
{
	font-size:9pt;
	background-color:white;
	overflow:auto;

	padding:8px;	
}

#notes_settings
{
	text-align:right;
}

.book_link img
{
	vertical-align: text-top;
}

.book_entry
{
	border-bottom:1px solid #ccc;
}

#search
{
	font-size:9pt;
	background-color:white;
	overflow:auto;
	padding:4px;
}

#menu
{
	font-size:9pt;
	
	padding-top:2px;
	width:350px;
/*	position:relative; */
	border-left:1px solid gray;
	
}

#menu td
{
	font-size:9pt;
}

#book_title
{
	padding-left:8px;
font-weight:bold;
}

#navigation
{
	font-size:9pt;
	padding:4px;
	padding-left:8px;
	height:115px;
}

.zoom_cursor
{
	background-color:#ccc;
	border:1px solid gray;
	margin:4px;
	margin-left:3px;
	margin-right:3px;
}

.zoom_selected_cursor
{
	border:1px solid gray;
	margin:4px;
	margin-left:3px;
	margin-right:3px;
}


#selected_zoom_cursor
{
	background-color:red;
}

.selected
{
	z-index:1;
	position:absolute;
/*	background-color:white; */
/*	font-size:0; */
	background-color:#AAD5FF;
	opacity: 0.5;
	filter:alpha(opacity=50);

}

.selected_hidden
{
	background-color:transparent;
	opacity: 0.0;
	filter:alpha(opacity=0);
	
}

.text
{
	z-index:1;
	position:absolute;
	text-align: justify;
/*	border:1px dashed red; */
	padding:0;
	margin:0;
	white-space:nowrap; 
}


.never .text:after
{
	content: " _____________________________";
	
	line-height: 0;
	visibility: hidden;
}

.image
{
	z-index:0;
	position:absolute;
	overflow:hidden;

}

.text span
{
}

.debug
{
	border:1px solid red;
}

.button
{
	cursor:pointer;	
}

#toggle_menu
{
	position:absolute;
	z-index:1000;
	right:16px;
	top:50px;
	
	cursor:pointer;
}

.tooltip
{
padding:8px;
background-color:#FFFF99;
border:1px solid #aaa;
z-index:100;
}



/* NOTE */
.colorbox{
width:20px;
height:20px;
border:1px solid #aaaaaa;
cursor:pointer;
}

.colorbox_selected{
width:20px;
height:20px;
border:3px solid #000000;
cursor:pointer;

}

#note_selection_box
{
  background-color: #FF0000;
  border: 1px solid black;
  opacity: 0.25;
  height: 0px;
  width: 0px;
  top: 0px;
  left: 0px;
  position: absolute;
	opacity: 0.5;
	filter:alpha(opacity=50);	
}

.note
{
	line-height:16px;

margin:8px;
padding:8px;
border: 1px solid #ccc;

opacity: 0.8;
filter:alpha(opacity=80);

}

.odd {
background-color:#ddd;
}

.page_notes
{
	line-height:28px;
	
	border:1px solid #ccc;
	margin:2px;
}
.current_page_notes
{
	line-height:28px;
	
	border:1px solid #ccc;
	margin:2px;
	background-color: #eee;
}


/* theme */

.permalink
{
	text-decoration:none;
}

.zoom_cursor
{
cursor:pointer;
}

.zoom_selected_cursor
{
cursor:pointer;
}


.toc_page
{
	float:left;
}
.toc_more
{
cursor:pointer;
float:left;

}

.toc_less
{
cursor:pointer;
float:left;
	
}

.search_more
{
	cursor:pointer;
	float:left;
	
}

.search_less
{
	cursor:pointer;
	float:left;

}


.note_more
{
cursor:pointer;

}

.note_less
{
cursor:pointer;

}

.note_add
{
	cursor:pointer;
	float:right;
	
}

.note_edit
{
	cursor:pointer;
	float:right;
	
}
.note_delete
{
	cursor:pointer;
	float:right;
	
}

.note_follow
{
	cursor:pointer;
	float:right;
	
}
.note_stop_follow
{
	cursor:pointer;
	float:right;
	
}

.menu_more
{
cursor:pointer;
}

.menu_less
{
cursor:pointer;
}

#book_codex
{
cursor:pointer;
}

#book_scroll
{
cursor:pointer;
}



/* MATRIXVIEW PART */

div#matrixView
{
  position: absolute;
  left: 15px;
  top: 15px;
  right: 15px;
  bottom: 55px;
  border: 1px solid #aaa;
  background-color: white;
  overflow: auto;
  -webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.15);
	-webkit-user-select: none;
	-moz-user-select: none;
}

div#matrixView ul
{
  margin: 10px;
  padding: 0px;
  list-style: none;
}

div#matrixView ul li
{
  float: left;
  margin: 10px;
  padding: 5px;
  width: 96px;
  min-height: 110px;
}

div#matrixView ul li img
{
  padding: 8px;
}

div#matrixView ul li:active,
div#matrixView ul li.selected
{
}

div#matrixView ul li.selected img {
  background-color: #6daef3;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
}

div#statusBar
{
  position: absolute;
  bottom: 15px;
  right: 15px;
  left: 15px;
  padding: 6px 10px 6px 10px;
  background-color: #f5f5f5;
  border: 1px solid #aaa;
  color: #555;
  font-size: 85%;
}

div#infoHeader
{
  background-color: #efefef;
  border-bottom: 1px solid #ddd;
  padding: 10px;
}

div#infoHeader h1 {
  margin: 0px 0px 10px 0px;
  font-size: 135%;
  font-family: Trebuchet MS, Tahoma, sans-serif;
}

div#infoHeader p {
  margin: 0px;
}

div#selectionArea {
  background-color: #336699;
  border: 1px solid black;
  opacity: 0.25;
  height: 0px;
  width: 0px;
  top: 0px;
  left: 0px;
  position: absolute;
	opacity: 0.5;
	filter:alpha(opacity=50);

}

/* style sheets for the tree. Idealy need to be extracted and moved to the separate file
   along with javascript code below. */
   
/* style sheet for a tree object UL element and any sub-elements */
/* NOTE: this style will be automatically assigned by the javascript */
#toc
{
	font-size:9pt;
}

#toc ul
{
	list-style:none;
	margin: 0 0 0 10px;						/* changes default UL margins and padding */
	padding: 0;
}

#toc li
{
	list-style:none;
	padding: 4px 12px;						/* offset LI */
}

ul.__tree__, ul.__tree__ ul {
	background: url(/tree/vline.png) repeat-y;	/* vertical line repeated vertically to fill up any gaps */
	margin: 0 0 0 10px;						/* changes default UL margins and padding */
	padding: 0;
}
/* style sheet for the each tree item */
ul.__tree__ li {					
	background: url(/tree/node.png) no-repeat;	/* |- image to prefix each node */
	list-style:none;						/* do not display any default LI markings */
	padding: 4px 12px;						/* offset LI */
}
ul.__tree__ li.__last_child__ {				/* |_ image for the last child */
	background: #fff url(/tree/lastnode.png) no-repeat;

}
ul.__tree__ span.__selected__ {				/* show text for the selected node in different color */
	background: #42577B !important;
	color: white;
	
}

ul.__tree__ span.__selected__ a {				/* show text for the selected node in different color */

	color: white;
	
}

/* Subsection Tabs
--------------------*/
#menu ul.subsection_tabs {
	font-size:8pt;
	list-style:none;
	margin:0 0 5px 0;
	padding:0;
	clear:both;
	border-bottom:1px solid gray;
	height:16px;
	clear:both;
	margin:0;
}

#menu ul.subsection_tabs li.tab {
	float:left;
	margin-right:2px;
	margin-left:2px;

	text-align:center;
	border:1px solid gray;
	border-bottom:0;
}


#menu ul.subsection_tabs li.tab a {
	display:block;
	height:16px;
	padding:0 6px 0 6px;
	background-color:#ddd;

	color:#666;
	text-decoration:none;
}

#menu ul.subsection_tabs li.tab a:hover {
	color:#666;
}

#menu ul.subsection_tabs li.tab a.active {
		background-color:#fff;
}

#menu ul.subsection_tabs li.source_code {
	float:right;
}

#curPageNumber
{
	font-size:7pt;
}

#curBookPageCount
{
	font-size:8pt;
}

#login
{
	border:2px solid #aaa;
	padding:16px;
	width:300px;
	margin:auto;
	margin-top:50px;
	background-color:white;

}

.error {
	color: red;
	font-size: 11pt;
	text-align: center;
}

.info {
	color: green;
	font-size: 11pt;
	text-align: center;
}

.box
{
	border:1px solid #eee;
	background-color: #eee;
	padding:16px;
	border-radius: 16px;
	-webkit-border-radius:16px;
	-moz-border-radius:16px;
/*	behavior:url(/stylesheets/border-radius.htc); */
}
/* FORM */
/*
input[type=text],input[type=password],textarea {
font-size:7pt;
 }

input[type=submit] {
	font-size:7pt;
 }
*/

#header
{
	padding:0px;
}

.match
{
	font-weight:bold;
}


