body 
{
	background: rgb(68,68,68);
	margin: 0px;
	padding: 0px;
	padding-bottom:40px;
	overflow: hidden;
}

div#p1, div#p2, div#p3, div#p4
{
	background:  rgb(68,68,68);
}
	
div#bookflip img {
		width: 100%;
	}

div#bookflip
{
	overflow: scroll;
}

div.hide {
	display: none;
}

div#index 
{
  position:absolute;
  top: 0px;
  width:100%;
  min-height: 100%;
  background: #444444;
 	margin: auto;
	text-align: center;
	display: none;
	vertical-align: center;
	z-order: 1111111111113;
	overflow: auto;
}

div#container
{
	position:absolute;
	top: 0px;
	left: 0px;
	margin: 0px;
	padding: 0px;
	overflow: auto;
	vertical-align: center;
	z-order: 1111111111110;
}

div#navigation 
{
  position:fixed; 
  bottom: 0px;
   top: auto;
  width:100%;
  height:35px;   /* Height of the footer */
  background: black url('../images/hnavbar.jpg') repeat-x;
  background-image: -moz-linear-gradient(top, #333 5%, #555 20%, #000 75%, #333 95%);
	background-image: -webkit-linear-gradient(top, #333 25%, #000 75%);
	background-image: -ms-linear-gradient(top, #333 25%, #000 75%);
	background-image: -o-linear-gradient(top, #333 25%, #000 75%);
	display: block;
	vertical-align: center;
	z-order: 1111111111111;
	padding-top: 7px;
	 text-align: center;
}	

select#flipSelect {
	display:none;
}

div#navigation div#nav1 
{
	display: inline;
	text-align: right;
	margin-right: 20px;
}
div#navigation div#nav2 
{
	text-align: center;
	display: inline;
}
div#navigation div#nav3 
{
	display: inline;
	text-align: left;
	margin-left: 20px;
}

div#navigation a 
{
	width:36px;
	height:36px;
	cursor:pointer;
	opacity:0.6; 
	display: inline;
	border: none;
}

div#navigation a img 
{
	border: none; 
}

div#navigation a:hover 
{
	opacity:1; 
}

div#navigation a#index_button 
{
	display: inline;
}	

div#progress
{
	background: rgb(68,68,68) url(../images/progress.gif) no-repeat center center;
	position: absolute;
	overflow: hide;
	top: 0px;
	height: 100%;
	width: 100%;
	text-align: center;
	vertical-align: middle;
	display: none;
	z-order: 9999999999999;
	filter:alpha(opacity=60); /* IE */
	-moz-opacity: 0.60; /* Mozilla */
	opacity: 0.60; /* Opera */	
}

div#progress div#dialog
{
	width:100%;
	height:30px;
	position:absolute;
	left:0;
	bottom:55px;
	display: outer;
	background: none;
	font-family: Arial;
	filter:alpha(opacity=80); /* IE */
	-moz-opacity: 0.80; /* Mozilla */
	opacity: 0.80; /* Opera */
	z-order: 999999999999999;
}

div#progress div#indicator
{
	width:100%;
	height:4px;
	position:absolute;
	left:0px;
	bottom:0px;
	border: solid black 1px; 
	display: inline;
	background: white;
	font-family: Arial;
}

div#index 
{
	overflow: hide;
	background:  rgb(68,68,68);
}

div#index div
{
	width: 300px;
	margin: 5px;
	border: none;
	cursor: pointer;
	display: inline-block;
}

div#index div img
{
	width: 150px;
	margin: 0px;
	border: none;
	cursor: pointer;
}

div#print 
{
	background: none;
	display: none;
	overflow: scroll;
	height: 50%;
	text-align: center;
}

a#zoom_close_button
{
	display: none;
}

@media screen and (max-width: 600px)
{
	div#navigation a#index_button 
	{
		display: inline;
	}
	
	div#index div
	{
		width: 150px;
		margin: 5px;
		border: none;
		cursor: pointer;
		display: inline-block;
	}

	div#index div img
	{
		width: 75px;
		margin: 0px;
		border: none;
		cursor: pointer;
	}
}



@media screen and (max-width: 600px) and (orientation: landscape) 
{
/*
	div#navigation 
	{
		position:absolute;
	  right: 0px;
		left: auto;
	  width:45px;
	  height:100%;   
	  background: black url('../images/vnavbar.jpg') repeat-y;
	  background-image: -moz-linear-gradient(left, #333 5%, #555 20%, #000 75%, #333 95%);
		background-image: -webkit-linear-gradient(left, #333 25%, #000 75%);
		background-image: -ms-linear-gradient(left, #333 25%, #000 75%);
		background-image: -o-linear-gradient(left, #333 25%, #000 75%);
		display: none;
	 text-align: center;
	 vertical-align: middle;
		padding-right: 5px;
		z-order: 1111111111111;
		margin-top: 30px;
	}
	
	div#navigation div#nav1 
	{
		margin-top: 10px;
		display: inline;
	}
	div#navigation div#nav2 
	{
		vertical-align: center;
		height: 100%;
		display: inline;
	}
	div#navigation div#nav3 
	{
		
		display: inline;
	}	
	
	div#progress div#dialog
	{
		bottom:0px;
	}
	*/
}