
body{

	font-family: 'im_fell_dw_picaregular';
	background-color:black;
	background-image: url('../images/hout.jpg');
	background-size: 100% 125%;
	overflow:hidden;
}

p{
	margin:20px 0;
}

#flipbook{
	width:960px;
	height:600px;
	z-index: 0;
}

#flipbook .page-wrapper{
	
    -webkit-perspective:2000px;
    -moz-perspective:2000px;
    -ms-perspective:2000px;
    -o-perspective:2000px;
    perspective:2000px;
}

#flipbook .page{
    width:480px;
    height:600px;
}

#flipbook .shadow{
	box-shadow: 8px 8px 4px #000008;
}



#flipbook .hard{
	width:480px;
	height:600px;
	background-size:100% 100%;
}

#flipbook .page-wrapper{
	-webkit-perspective:2000px;
	-moz-perspective: 2000px;
	-ms-perspective: 2000px;
	perspective: 2000px;
}


#flipbook  .own-size{
	width:460px;
	height:582px;
	overflow:hidden;
	background-image:url(../images/pages.png);
	background-size:auto;
}

#flipbook .own-size.even{
	background-position:0 0;
}

#flipbook .own-size.odd{
	background-position:460px 0;
}

#contents
{	
	width: 960px;
	margin: 0 auto;
	margin-top:20px;
}

.ruber
{
	color:#CC0000;
}


.pagecontent
{
	font-size:16px;
	height:100%;
	width:350px;
	padding-top:50px;
	padding-bottom:100px;
}

.even .pagecontent
{
	padding-left:50px;
    padding-right:50px;
}

.odd .pagecontent
{
	padding-left:50px;
    padding-right:50px;
}

.footer
{
	position: absolute;
	bottom:10px;
	width:100%;
	text-align:center;
}

.footnote
{
	position: absolute;
	bottom:30px;
	width:100%;
	font-size: 80%;
	padding: 10px;
	margin-left: 25px;
}


#flipbook blockquote{
	margin:12px 0;
	font-family:'im_fell_dw_picaitalic';
	font-size:12pt
}

.author
{
  	font-family:'im_fell_dw_pica_scregular';
	font-size:12pt
}

.titlepage{
	font-family:'im_fell_dw_pica_scregular';
	text-align: center;
	font-size:20px;
}

.maintitle
{
	font-size:32px;
	line-height:32px;
}

.subtitle
{
	font-size:24px;
	letter-spacing:150%;
}

.impressum
{
	font-family:'im_fell_dw_picaitalic';
	font-size:12px;
}

.handwriting
{
	font-family:'aquilinetworegular';
	font-size:16pt;
	line-height:100%;
	margin-left: 50px;
}

.exlibris
{	
	max-width:40%;
	position:absolute;
	right:25px;
	top:20px;
}



.table-contents{
	font-size:16px;
	width:300px;
	margin:10px auto;
}

.table-contents li{
	list-style:none;
	line-height:25px;
}

.table-contents span{
	float:right;
}

.table-contents a{
	float:left;
	width:100%;
	clear:both;
	text-decoration:none;
	color:#333;
	margin:2px 0;
	padding:0 10px;
}

.table-contents a:hover{
	background:#CAD1EE;
	float:left;
	width:100%;
	clear:both;
	text-decoration:none;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	-o-border-radius:10px;
	-ms-border-radius:10px;
	border-radius:10px;
}

.table-contents h1 {
	font-size:32pt;
}

#flipbook h1
{
	font-size:32pt;
}


#flipbook h2
{
	font-size:28pt;
}

.leader
{
	font-family:im_fell_dw_pica_scregular;
}


.dropcap { float: left; font-size: 75px; line-height: 60px; padding-top: 4px; padding-right: 8px; padding-left: 3px; }


table.staff{
	font-size:0.9em;
}

table.staff td
{
padding: 5px;
padding-top:1px;
padding-bottom:1px;
}

.ornament
{
	text-align:center;
	font-size:32pt;
	font-family:im_fell_flowers_2regular;
}

.chapterend
{
	font-family:im_fell_flowers_2regular;
	font-size:2em;
	text-align:center;
}

.dateandtime
{
font-size:1.3em;
line-height:1.3em;
}



[class*="icon-"] {
  font-family: 'fontello';
  font-style: normal;
  font-size: 1em;
}


.rotate {
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);

  /* also accepts left, right, top, bottom coordinates; not required, but a good idea for styling */
  -webkit-transform-origin: 50% 50%;
  -moz-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  -o-transform-origin: 50% 50%;
  transform-origin: 50% 50%;

  /* Should be unset in IE9+ I think. */
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);

}

.icon-bookmark:after { content: "\e800"; } 
.icon-home:after { content: "\e801"; } 
.icon-calendar:after { content: "\e802"; } 



nav, .rightsidebar
{	
position:absolute;

	top:0px;
	width:50px;
	height:100%;

  
}

nav
{background-color: rgba(255,255,255,0.50);
	left:0px;
}

.rightsidebar
{background-color: rgba(255,255,255,0.50);
	right:0px;
}

nav ul  {  list-style: none;
  text-align: center;
  text-align:center;
  margin-left:5px;
  margin-top:10px;
}

nav ul  li {
  position: relative;
 /* display: inline-block;
  margin-right: -4px;  See: http://css-tricks.com/fighting-the-space-between-inline-block-elements/ */
}


nav ul  a {
  display: block;
  background-color: #f7f7f7;
  color: #a7a7a7;
  margin:5px;
  width: 30px;
  height: 30px;
  position: relative;
  text-align: center;
  line-height: 30px;

  border-radius: 50%;
  box-shadow: 0px 3px 8px #aaa, inset 0px 2px 3px #fff;

}

nav ul  a:hover {
  text-decoration: none;
  color: #555;
  background: #f5f5f5;
}