body.fullscreen{
    height: 100%;
}
body.fullscreen div.box-middle{
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 99999;
}

body.fullscreen div.box-middle2{
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 999999;
}

body.fullscreen div.box-middle3{
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 999999;
}
.box-middle #mybook .b-page{
    margin: 0;
    padding: 0;
}

.box-middle2 #mybook .b-page{
    margin: 0;
    padding: 0;
}

.box-middle3 #mybook .b-page{
    margin: 0;
    padding: 0;
}

.44-pre-text {
		margin-bottom:-40px;
}

.box-middle{
    padding: 0;
    margin: 0 auto;
	color:#666;
	font-size:12px;
	color: #000;
    width: 720px;
    height: 550px;
    position: relative;
}



.box-middle3{
    padding: 0;
    margin: 0 auto;
	color:#666;
	font-size:12px;
	color: #000;
    width: 720px;
    height: 525px;
    position: relative;
}


.box-middle2{
    padding: 0;
    margin: 0 auto;
	color:#666;
	font-size:12px;
	color: #000;
    width: 720px;
    height: 425px;
    position: relative;
}


/* Booklet jQuery Plugin Style*/
.booklet{
    margin: 0 auto;
	 box-shadow: 0 0 20px rgba(0,0,0,0.3);

}
.b-page{
    background-color: #f1f1f1;
    /*box-shadow: 0 0 20px rgba(0,0,0,0.3);*/
}
.booklet .b-wrap{
    background-color: #f1f1f1;
}
.booklet .b-wrap-left .shadow{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: -webkit-gradient(linear, left top, right top, color-stop(0.95, transparent), color-stop(1, rgba(0, 0, 0, 0.2)));
    background-image: -webkit-linear-gradient(left, transparent 95%, rgba(0, 0, 0, 0.2) 100%);
    background-image: -moz-linear-gradient(left, transparent 95%, rgba(0, 0, 0, 0.2) 100%);
    background-image: -ms-linear-gradient(left, transparent 95%, rgba(0, 0, 0, 0.2) 100%);
    background-image: -o-linear-gradient(left, transparent 95%, rgba(0, 0, 0, 0.2) 100%);
    background-image: linear-gradient(left, transparent 95%, rgba(0, 0, 0, 0.2) 100%);
}
.booklet .b-wrap-right .shadow{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: -webkit-gradient(linear, right top, left top, color-stop(0.95, transparent), color-stop(1, rgba(0, 0, 0, 0.15)));
    background-image: -webkit-linear-gradient(right, transparent 95%, rgba(0, 0, 0, 0.15) 100%);
    background-image: -moz-linear-gradient(right, transparent 95%, rgba(0, 0, 0, 0.15) 100%);
    background-image: -ms-linear-gradient(right, transparent 95%, rgba(0, 0, 0, 0.15) 100%);
    background-image: -o-linear-gradient(right, transparent 95%, rgba(0, 0, 0, 0.15) 100%);
    background-image: linear-gradient(right, transparent 95%, rgba(0, 0, 0, 0.15) 100%);
}
.book_wrapper{
	margin:0 auto;
	padding-top: 20px!important;
	position:relative;
}

.book_wrapper .img-wrapper{
	margin: 0;
	padding: 0;
}
.book_wrapper .img-wrapper img{
    max-height: 100%;
    max-width: 100%;
}

/* next/prev buttons */

.book-controls
,a#next_page_button,
a#prev_page_button,
a#max_min_button,
a#first_page_button,
a#last_page_button{
    background: transparent url('../img/controls_sprite.png') no-repeat;
}
.book-controls{
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -99px;
    height: 31px;
    width: 198px;
	  top: -10px;
}


a#next_page_button,
a#prev_page_button,
a#max_min_button,
a#first_page_button,
a#last_page_button{
	position:absolute;
	width: 24px;
	height: 24px;
	cursor:pointer;
	margin-top:-8px;
    top:10px;
    left: 50%;
    background-repeat: no-repeat;

}
a#first_page_button{
    margin-left: -80px;
    background-position: -48px -31px;
}

a#prev_page_button{
    margin-left: -46px;
    background-position: -72px -31px;
}

a#max_min_button{
    margin-left: -12px!important;
    background-position: -96px -31px!important;
}

a#next_page_button{
    margin-left: 22px;
    background-position: 0 -31px;
}

a#last_page_button{
    margin-left: 56px;
    background-position: -24px -31px;
}

/* hover state */
a#first_page_button:hover{
    background-position: -48px -80px;
}

a#prev_page_button:hover{
    background-position: -72px -55px;
}

a#max_min_button:hover{
    background-position: -96px -55px;
}

a#next_page_button:hover{
    background-position: 0 -55px;
}

a#last_page_button:hover{
    background-position: -24px -80px;
}
/* disabled state */

a#first_page_button.disabled,
a#prev_page_button.disabled,
a#next_page_button.disabled,
a#last_page_button.disabled{
    cursor: default;
}
a#first_page_button.disabled{
    background-position: -48px -79px;
}

a#prev_page_button.disabled{
    background-position: -72px -79px;
}

a#next_page_button.disabled{
    background-position: 0 -79px;
}

a#last_page_button.disabled{
    background-position: -24px -79px;
	    z-index: 100;
}
.loading{
	width:160px;
	height:56px;
	position: absolute;
	top:50%;
	margin-top:-28px;
	right:245px;
	line-height:56px;
	color:#fff;
	padding-left:60px;
	font-size:15px;
	background: #000 url(../img/ajax-loader.gif) no-repeat 10px 50%;
	opacity: 0.7;
	z-index:9999;
	-moz-border-radius:20px;
	-webkit-border-radius:20px;
	border-radius:20px;
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70);
}

.loading2{
    margin-left: 280px;
    right: auto;
}

.exit-message{
    position: fixed;
    top:10px;
    right:0;
    width: 200px;
    height:40px;
    z-index:10000;
}

.exit-message > div{
    position: absolute;
    height:40px;
    right: 20px;
    padding: 0 10px;
    background:rgba(0,0,0,0.5);
    text-align:center;
    font:18px arial;
    line-height:40px;
    color:white;
    border-radius:20px;
}


/* fullscreen styles */
.fullscreen .book_wrapper{
    padding-top: 60px!important;
}
.fullscreen a#next_page_button,
.fullscreen a#prev_page_button,
.fullscreen a#max_min_button,
.fullscreen a#first_page_button,
.fullscreen a#last_page_button{
    top: 10px;
}

.fullscreen .book-controls{

	  top: 10px;
}

.fullscreen .nav-bar{
   display:none!important;
}