.no-transition {
	-webkit-transition:none;
	-moz-transition:none;
	-o-transition:none;
	-ms-transition:none;
	transition:none;
}

.smartbook-loading>* {
	visibility: hidden !important;
}

.smartbook-loading {
	-moz-box-shadow: 1px 1px 5px 1px #CCC;
	-webkit-box-shadow: 1px 1px 5px 1px #CCC;
	box-shadow: 1px 1px 5px 1px #CCC;
}

.smartbook-loading:before {
	content: "Loading...";
	position: absolute;
	top: 50%;
	background: transparent url(img/loading.gif) no-repeat left center;
	padding-left: 20px;
	margin-left: -25px;
	text-align: center;
	font-size: 20px;
}

.smartbook-viewport {
	clear: both;
	overflow: hidden !important;
	padding: 10px 22px 35px 22px;
	margin: 0 auto;
	text-align: center;
	position: relative;
}

.smartbook-viewport.nav-btn-no {
	padding-left: 0;
	padding-right: 0;
}

.smartbook-viewport.sliding {
	overflow: visible !important;
}

H2.smartbook-title {
	padding: 0 5px 0 0;
	margin: 0;
	line-height: 40px;
	text-align: center;
	overflow: hidden;
	text-overflow: "...";
}

/* toolbar */
.smartbook-viewport .smartbook-toolbar {
	height: 50px;
	line-height: 50px;
	vertical-align: middle;
	position: relative;
	white-space: nowrap;
}

.smartbook-toolbar .smartbook-toolbar-buttons {
	margin: 0 auto;
}

.smartbook-toolbar .smartbook-toolbar-buttons LI {
	list-style-type: none !important;
}

.smartbook-viewport .smartbook-container {
	position: relative;
	z-index: 1;	
}

.smartbook-viewport .smartbook {
	position: relative;
}

.smartbook-viewport .page {
	background-color:#FFF;
	background-repeat:no-repeat;
	background-size:100% 100%;
	z-index: 10001;
}

.with-shadow .smartbook .page {
	-webkit-box-shadow:0 0 20px rgba(0,0,0,0.2);
	-moz-box-shadow:0 0 20px rgba(0,0,0,0.2);
	-ms-box-shadow:0 0 20px rgba(0,0,0,0.2);
	-o-box-shadow:0 0 20px rgba(0,0,0,0.2);
	box-shadow:0 0 20px rgba(0,0,0,0.2);
}

.smartbook .page.intouch {
	overflow: hidden;
}

.smartbook .page .page-content {
	padding: 35px;
}

.smartbook .page .page-number {
	background: none repeat scroll 0 0 #CCCCCC;
    bottom: 5px;
    color: #444444;
    display: none;
    font-family: Georgia,"Times New Roman",Times,serif;
    font-size: 10px;
    height: 25px;
    line-height: 25px;
    padding: 0;
    position: absolute;
    text-align: center;
    width: 25px;
}

.smartbook-viewport.show-number .page .page-number {
	display: block;
}

.smartbook .page.odd .page-number {
	right: 5px;
}

.smartbook .page.even .page-number {
	left: 5px;
}

.smartbook-viewport .page IMG {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	margin:0;
	
	border: 0 none;
    height: auto;
    max-width: 100%;
	max-height: 100%;
    vertical-align: middle;
}

.smartbook-viewport .page IMG.page-image-fill {
	height: 100%;
	width: 100%;
}

.smartbook-viewport .shadow {
	-webkit-transition: -webkit-box-shadow 0.5s;
	-moz-transition: -moz-box-shadow 0.5s;
	-o-transition: -webkit-box-shadow 0.5s;
	-ms-transition: -ms-box-shadow 0.5s;

	-webkit-box-shadow:0 0 20px #ccc;
	-moz-box-shadow:0 0 20px #ccc;
	-o-box-shadow:0 0 20px #ccc;
	-ms-box-shadow:0 0 20px #ccc;
	box-shadow:0 0 20px #ccc;
}

/* gradient between pages */
.with-cover .smartbook.first-page .gradient{
	display:none;
}

.smartbook .gradient{
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	z-index:1000;
}

.smartbook .even .gradient{
	background:-webkit-gradient(linear, left top, right top, color-stop(0.95, rgba(0,0,0,0)), color-stop(1, rgba(0,0,0,0.2)));
	background-image:-webkit-linear-gradient(left,rgba(0,0,0,0) 95%, rgba(0,0,0,0.2) 100%);
	background-image:-moz-linear-gradient(left, rgba(0,0,0,0) 95%, rgba(0,0,0,0.2) 100%);
	background-image:-ms-linear-gradient(left, rgba(0,0,0,0) 95%, rgba(0,0,0,0.2) 100%);
	background-image:-o-linear-gradient(left, rgba(0,0,0,0) 95%, rgba(0,0,0,0.2) 100%);
	background-image:linear-gradient(left, rgba(0,0,0,0) 95%, rgba(0,0,0,0.2) 100%);
}

.smartbook .odd .gradient{
	background:-webkit-gradient(linear, right top, left top, color-stop(0.95, rgba(0,0,0,0)), color-stop(1, rgba(0,0,0,0.15)));
	background-image:-webkit-linear-gradient(right,rgba(0,0,0,0) 95%, rgba(0,0,0,0.15) 100%);
	background-image:-moz-linear-gradient(right, rgba(0,0,0,0) 95%, rgba(0,0,0,0.15) 100%);
	background-image:-ms-linear-gradient(right, rgba(0,0,0,0) 95%, rgba(0,0,0,0.15) 100%);
	background-image:-o-linear-gradient(right, rgba(0,0,0,0) 95%, rgba(0,0,0,0.15) 100%);
	background-image:linear-gradient(right, rgba(0,0,0,0) 95%, rgba(0,0,0,0.15) 100%);
}

/* Navigation buttons */

.smartbook .btn-next,
.smartbook .btn-prev {
	width:22px;
	height:100%;
	position:absolute;
	top:0;
}

.smartbook .btn-next {
	right:-22px;
	-webkit-border-radius:0 15px 15px 0;
	-moz-border-radius:0 15px 15px 0;
	-ms-border-radius:0 15px 15px 0;
	-o-border-radius:0 15px 15px 0;
	border-radius:0 15px 15px 0;
}

.smartbook .btn-prev {
	left:-22px;
	-webkit-border-radius:15px 0 0 15px;
	-moz-border-radius:15px 0 0 15px;
	-ms-border-radius:15px 0 0 15px;
	-o-border-radius:15px 0 0 15px;
	border-radius:15px 0 0 15px;
}

.smartbook-viewport.nav-btn-always .btn-next,
.smartbook-viewport.nav-btn-always .btn-prev {
	background-color:rgba(0,0,0, 0.2);
}

.smartbook-viewport.nav-btn-always .btn-prev,
.smartbook .btn-prev-hover,
.smartbook .btn-prev-down {
	background-image:url(img/arrows.png);
	background-position:-4px 50%;
	background-repeat:no-repeat;
}

.smartbook-viewport.nav-btn-always .btn-prev-hover,
.smartbook-viewport.nav-btn-always .btn-next-hover,
.smartbook .btn-prev-hover,
.smartbook .btn-next-hover,
.smartbook-viewport.nav-btn-always .btn-next-down,
.smartbook-viewport.nav-btn-always .btn-prev-down,
.smartbook .btn-prev-down,
.smartbook .btn-next-down{
	background-color:rgba(0,0,0, 0.4);
}

.smartbook-viewport.nav-btn-always .btn-next,
.smartbook .btn-next-hover,
.smartbook .btn-next-down{
	background-image:url(img/arrows.png);
	background-position:-38px 50%;
	background-repeat:no-repeat;
}

.dir-rtl.with-cover .smartbook.first-page .btn-prev,
.smartbook.first-page .btn-prev {
	display: none !important;
}

.dir-rtl .smartbook.first-page .btn-prev {
	display: block !important;
}

.dir-rtl .smartbook.first-page .btn-next {
	display: none !important;
}

.with-cover .smartbook.first-page .btn-next,
.smartbook.last-page .btn-next {
	display: none !important;
}

.dir-rtl .smartbook.last-page .btn-next {
	display: block !important;
}

.dir-rtl .smartbook.last-page .btn-prev {
	display: none !important;
}

/* Slider */
.smartbook-sliderbar {
	width:80%;
	height:8px;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	-o-border-radius:5px;
	-ms-border-radius:5px;
	border-radius:5px;
	margin:20px auto;
	background:#CBCBCB;
	background:rgba(0,0,0, 0.2);	
	padding:0 39px;
	position: relative;
	z-index: 2;
}

.smartbook-sliderbar .thumbnail {
	width:115px;
	height:85px;
	position:absolute;
	background:rgba(0,0,0, 0.5);
	z-index:10000;
	top:-100px;
	left:-17px;
	display:none;

	-webkit-transform:translate3d(0px, 50px, 0px) scale(0.1, 0.1);
	-webkit-transition:all 0.2s;
	-webkit-border-radius:5px;

	-moz-transform:translate3d(0px, 50px, 0px) scale(0.1, 0.1);
	-moz-transition:all 0.2s;
	-moz-border-radius:5px;

	-o-transform:translate3d(0px, 50px, 0px) scale(0.1, 0.1);
	-o-transition:all 0.2s;
	-o-border-radius:5px;

	-ms-transform:translate3d(0px, 50px, 0px) scale(0.1, 0.1);
	-ms-transition:all 0.2s;
	-ms-border-radius:5px;

	transform:translate3d(0px, 50px, 0px) scale(0.1, 0.1);
	transition:all 0.2s;
	border-radius:5px;
}

.smartbook-sliderbar .no-transition {
	-webkit-transition:none;
	-moz-transition:none;
	-o-transition:none;
	-ms-transition:none;
}

.smartbook-sliderbar .thumbnail div{
	text-align: center;
	font-weight: bold;
	line-height: 30px;
	color: #000;
	width:100px;
	margin:7px;
	height:70px;
	background-color: #FFF;
}

.smartbook-sliderbar .ui-state-hover .thumbnail{
	display:block;
	opacity:0;
}

.smartbook-sliderbar .ui-state-active .thumbnail{
	display:block;
	opacity:0.8;
	-webkit-transform:scale(1, 1);
	-moz-transform:scale(1, 1);
	-o-transform:scale(1, 1);
	-ms-transform:scale(1, 1);
	transform:scale(1, 1);
}

.smartbook-sliderbar .thumbnail .page-thumbnail {
	display: inline-block;
	margin: 0 !important;
	padding: 0 !important;
	height: 100%;
	max-width: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
	text-align: center;
	background-color: #FFF;
	position: relative;
}

.smartbook-sliderbar .thumbnail .page-thumbnail.default-thumbnail {
	background-image: url(img/page.jpg) !important;
}

.smartbook-sliderbar .thumbnail .page-thumbnail.loading-thumbnail {
	background-image: url(img/loading.gif) !important;
	background-size: auto;
}

.smartbook-sliderbar .thumbnail .page-thumbnail:before {
	content: attr(title);
	position: relative;
	top: 35%;
	display: none;
	font-size: 1.2em;
}

.smartbook-sliderbar .thumbnail .page-thumbnail.default-thumbnail:before {
	display: inline-block;
}

.smartbook-sliderbar .ui-state-disabled {
	cursor: default !important;
}

.smartbook-sliderbar .ui-widget-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.smartbook-sliderbar .ui-slider {
	position: relative;
	text-align: left;
}

.smartbook-sliderbar .ui-slider-handle {
	position: absolute;
	z-index:0;
	width:80px;
	height: 8px;
	cursor: default;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	-ms-border-radius:5px;
	border-radius:5px;
}

.smartbook-sliderbar .ui-slider-horizontal {
	height: 8px;
	width:100%;
	margin: 0;
	padding: 0;
}

.smartbook-sliderbar .ui-slider-horizontal .ui-slider-handle {
	margin-left:-40px;
	margin-top:-1px;
}

.smartbook-sliderbar .ui-slider-handle{
	border:1px solid white;
	background-color:black;
	*background-color:#A2A2A2;
	opacity:0.2;
	display:block;
	-webkit-transition:opacity 0.2s;
	-moz-transition:opacity 0.2s;
	-ms-transition:opacity 0.2s;
	-o-transition:opacity 0.2s;
	transition:opacity 0.2s;
}

.smartbook-sliderbar .ui-state-hover {
	opacity:0.4;
}

.smartbook-sliderbar .ui-state-active {
	opacity:1;
}

/* icons */
.smartbook-icon {
	display: inline;
	line-height: 50px !important;
	display: inline;
	font-size: 1.9em;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
    color: #9B9B9B;
    cursor: pointer;
    margin: 3px 7px;
}

.zoom-in .smartbook-icon {
	color: rgba(255,255,255,0.8);
}

.zoom-in .smartbook-icon:hover,
.smartbook-icon:hover {
	color: rgba(0,0,0,0.8);
}

.smartbook-removezoom,
.smartbook-icon-contract {
	display: none;
}

.zoom-in .smartbook-icon-contract2,
.zoom-out .smartbook-icon-expand2 {
	display: inline;
}

.fullscreen .smartbook-icon-contract {
	display: inline;
}

.fullscreen .smartbook-icon-expand {
	display: none;
}

.smartbook-zoom-out {
	display: none;
	background-position:-220px 0;
	width:44px;
	height:44px;
	position:absolute;
	top:20px;
	right:20px;
	z-index: 50;
}

.zoom-in .smartbook-zoom-out {
	display: inline-block;
}

/* zoom-in and zoom-out */
.smartbook-viewport.zoom-in {
	width: 100% !important;
	max-width: none !important;
	padding: 0;
	overflow: hidden !important;
}

.smartbook-viewport.zoom-out .smartbook-container,
.smartbook-viewport.zoom-in .smartbook-container {
	display: inline-block;
}

.zoom-in .smartbook .even .gradient,
.zoom-in .smartbook .odd .gradient {
	display:none;
}

.zoom-in .smartbook .btn-next,
.zoom-in .smartbook .btn-prev {
	display:none;
}

.zoom-in .smartbook-sliderbar {
	display: none;
}

.zoom-in .smartbook-zoom-hide {
	display: none;
}

.zoom-in .smartbook-toolbar  {
	z-index: 50000;
	background-color: rgba(0,0,0,0.3);
	position: absolute;
	width: 100%;
}

/* fullscreen */
.smartbook-overlay {
	width: 100%;
	padding: 0;
	margin: 0;
}

.smartbook-overlay.fullscreen {
	height: 100%;
}

.smartbook-overlay:-moz-full-screen {
	background-color: #FFF !important;
}

.smartbook-overlay:-webkit-full-screen {
	background-color: #FFF !important; 
}

.smartbook-overlay:-ms-fullscreen,
.smartbook-overlay:-ms-fullscreen::-ms-backdrop {
	background-color: #FFF !important;
}

.smartbook-overlay.fullscreen .smartbook-viewport {
	/*width: auto !important;*/
	/*max-width: none !important;*/
	height: 100%;
	max-height: 100% !important;
	overflow: visible !important;
}

.smartbook-overlay.fullscreen .smartbook-viewport.zoom-in {
	top: 0 !important;
}

/* toolbar */
.smartbook-toolbar-buttons {
	text-align: center;
}
.smartbook-toolbar-buttons UL {
	list-style-type: none;
	margin: 0 !important;
	padding: 0 !important;
	display: inline-block;
}

.smartbook-toolbar-buttons UL LI {
	float: left;
	position: relative;
}

.smartbook-toolbar-buttons UL UL {
	display: none;
	position: absolute;
	background-color: #000;
	background-color: rgba(0,0,0,0.4);
	z-index: 100;
}

.smartbook-toolbar-buttons UL UL LI {
	float: none;
}

.smartbook-toolbar-buttons UL UL LI .smartbook-icon {
	color: #FFF;
}

.smartbook-toolbar-buttons UL UL LI .smartbook-icon:hover {
	color: #000;
}

.smartbook-toolbar-buttons UL LI.opened>.smartbook-icon {
	color: #000;
}

.smartbook IMG.lazyload {
	background: transparent url(img/loading.gif) no-repeat center center;
}

.smartbook IMG.page-image.lazyload {
	display: block;
	width: 100% !important;
	height: 100% !important;
}

.smartbook-viewport .page.hard IMG {-webkit-backface-visibility:hidden;}