html, body {
   height: 100%;
}

.flipbook-container{
	width: 100%;
	height: 100%;
	background-color: #333;
	overflow: hidden;
}

.flipbook-container .page-wrapper{
	padding: 0;
	background-color: inherit;
}

.btn-dir{
	width: 5%;
	min-width: 5%;
	top: 45%;
	position: relative;
	border: none;
	background-color: transparent;
	color: white;
	cursor: pointer;
}

.btn-left{
	float: left;
}

.btn-right{
	float: right;
}

#flipbook{
	position: relative !important;
	width: 90%;
	float: left;
}

#flipbook .hard{
    width:100%;
    height:100%;
    line-height:100%;
}

@media screen and (max-width: 500px){
	#flipbook{
		margin-left: 5% !important;
		max-width: 430px;
		max-height: 430px;
	}
	.btn-dir{
		width: 50%;
		text-align: center;
		top: inherit;
		bottom: 0;
		position: absolute;
	}
	.btn-left{
		float: none;
		left: 5%;
	}
	.btn-right{
		float: none;
		right: 5%;
	}
}

@media screen and (min-width: 501px) and (max-width: 750px){
	#flipbook{
		width: 80% !important;
	}
	.btn-dir{
		width: 10%;
		top: 40%;
	}
}

.lastpage{
	margin-left: 0px !important;
}