/*
 * jBooklet jQuery Plugin
 * Copyright (c) 2014 Eugene Zlobin (http://zlobin.pro/zlobin_eng.html)
 *
 * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
 *
 * Version : 2.1.0
 *
 * Originally based on the work of:
 *	1) Charles Mangin (http://clickheredammit.com/pageflip/)
 *	2) William Grauvogel (http://builtbywill.com/)
 */

.booklet {
  width: 800px;
  height: 600px;
  position: relative;
  margin: 0 auto 10px;
}

.booklet .b-page {
  left: 0;
  top: 0;
  position: absolute;
  overflow: hidden;
}

.booklet .b-pN,
.booklet .b-p0,
.booklet .b-p1,
.booklet .b-p2,
.booklet .b-p3,
.booklet .b-p4 {}

.booklet .b-wrap {
  top:0;
  position:absolute;
}

.booklet .b-grab {
  background: #dbdbdb;
  border: 1px dotted #dbdbdb;
}

.booklet .b-wrap-left {
  background: #f7f7f7;
}

.booklet .b-wrap-right {
  background: #f3f3f3;    
}

.booklet .b-pN .b-wrap,
.booklet .b-p1 .b-wrap,
.booklet .b-p2 .b-wrap,
.booklet .b-p3 .b-wrap,
.booklet .b-p4 .b-wrap {
  left:0;
}

.booklet .b-p0 .b-wrap {
  right:0;
}

/* Custom Page Types */
.booklet .b-page-blank,
.booklet .b-page-cover {
  width: 100%;
  height: 100%;
}

/* @z-index fix (needed for older IE browsers)
----------------------------------------*/

body {z-index:0;}
.booklet {z-index:10;}
.b-pN {z-index:10;}
.b-p0 {z-index:30;}
.b-p1 {z-index:20;}
.b-p2 {z-index:20;}
.b-p3 {z-index:30;}
.b-p4 {z-index:10;}
