/* CSS Document */

.overlaySampleBook {
	height: 100%;
	width: 0%;
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	background-color: #f7f7fa;
	transition: 0.5s;
	/* overflow-y:auto; */
}

.overlaySampleBook a {
	/* padding: 8px; */
	text-decoration: none;
	font-size: 36px;
	color: #737373;
	display: block;
	transition: 0.3s;
}

.overlaySampleBook .closebtnSampleBook {
	/* position: absolute; */
    /* top: 0%; */
    /* right: 5%; */
	font-size: 60px;
	color: #737373;
	display: inline;
	float: right;
}

@media screen and (max-height: 450px) {
	.overlaySampleBook a {
		font-size: 20px
	}
	.overlaySampleBook .closebtnSampleBook {
		font-size: 40px;
    	top: 0%;
    	right: 5%;
    	color: #737373;
    	float: right;
    	/* overflow-y:auto; */
	}
}

 @media screen and (max-width: 449px) {
/*	#next{
		top: 78%;
		width: 40px; 
		position: absolute; 
		right: 0%; 
		font-size: 62px; 
		color: #faab9f;
	    background-color: #f7f7fa;
	}
	#previous{
		top: 78%;
		width: 40px; 
		position: absolute; 
		left: 0%; 
		font-size: 62px; 
		color: #faab9f;
	    background-color: #f7f7fa;
	    padding-right: 10px;
	}
	#zoomin{
		width: 10px; 
		position: absolute;
		border: none;
		left: 2%;
		font-size: 25px; 
		color: #faab9f;
	    background-color: #f7f7fa;
	    top: 0%;
	    display: inline;
	    padding-right: 10px;
	}
	#zoomout{
		width: 10px; 
		border: none;
		position: absolute;
		left: 4%;
		font-size: 25px; 
		color: #faab9f;
	    background-color: #f7f7fa;
	    top: 0%;
	    display: inline;
	    padding-right: 10px;
	}*/
	
	#parentDiv{
		height: 82%;
	}
	#imgStyleSampleBook {
		height: 60px;
		width: 60px;
		cursor : pointer;
	}
	#thumbnailSampleBook {
		display: none;
	    height: 100px;
	    padding-top: 10px;
	    position: absolute;
	    bottom: 0px;
	    background:  #d8d7e2;
	    z-index: 999;
	}
	
}
@media screen and (min-width:450px), and (min-width:768px) {
	/*#next{
		top: 82%;
		width: 40px; 
		position: absolute;  
		right: 0%;
		font-size: 62px; 
		color: #faab9f;
	    background-color: #f7f7fa;
	 	display: inline;
	}
	#previous{
		top: 82%;
		width: 40px; 
		position: absolute; 
		left: 0%; 
		font-size: 62px; 
		color: #faab9f;
	    background-color: #f7f7fa;
	    display: inline;
	    padding-right: 20px;
	}
	#zoomin{
		width: 10px; 
		position: absolute;
		border: none;
		left: 2%;
		font-size: 25px; 
		color: #faab9f;
	    background-color: #f7f7fa;
	    top: 0%;
	    display: inline;
	    padding-right: 20px;
	}
	#zoomout{
		width: 10px; 
		border: none;
		position: absolute;
		left: 4%;
		font-size: 25px; 
		color: #faab9f;
	    background-color: #f7f7fa;
	    top: 0%;
	    display: inline;
	    padding-right: 20px;
	}*/
	#parentDiv{
		height: 82%;
	}
	#imgStyleSampleBook {
		height: 60px;
		width: 60px;
		cursor : pointer;
	}
	#thumbnailSampleBook {
		display: none;
	    height: 100px;
	    padding-top: 10px;
	    position: absolute;
	    bottom: 0px;
	    background:  #d8d7e2;
	    z-index: 999;
	}
}

@media screen and (min-width: 769px) {
	/*#next{
		width: 40px; 
		position: absolute; 
		right: 5%; 
		font-size: 70px; 
		color: #faab9f;
	    background-color: #f7f7fa;
	    top: 45%;
	}
	#previous{
		width: 40px; 
		position: absolute; 
		left: 5%; 
		font-size: 70px; 
		color: #faab9f;
	    background-color: #f7f7fa;
	    top: 45%;
	    display: inline;
	    padding-right: 25px;
	}
	#zoomin{
		width: 10px; 
		position: absolute;
		border: none;
		left: 2%;
		font-size: 30px; 
		color: #faab9f;
	    background-color: #f7f7fa;
	    top: 0%;
	    display: inline;
	    padding-right: 25px;
	}
	#zoomout{
		width: 10px; 
		border: none;
		position: absolute;
		left: 4%;
		font-size: 30px; 
		color: #faab9f;
	    background-color: #f7f7fa;
	    top: 0%;
	    display: inline;
	    padding-right: 25px;
	}*/
	#parentDiv{
		height: 87%;
	}
	#imgStyleSampleBook {
		height: 150px;
		width: 150px;
		cursor : pointer;
	}
	#thumbnailSampleBook {
		display: none;
	    height: 190px;
	    padding-top: 10px;
	    position: absolute;
	    bottom: 0px;
	    background:  #d8d7e2;
	    z-index: 999;
	}
}

@media screen and (width: 1024px), and  (height: 768px){
	/*#next{
		top: 88%;
		width: 40px; 
		position: fixed; 
		right: 0%; 
		font-size: 62px; 
		color: #faab9f;
	    background-color: #f7f7fa;
	}
	#previous{
		top: 88%;
		width: 40px; 
		position: fixed; 
		left: 0%; 
		font-size: 62px; 
		color: #faab9f;
	    background-color: #f7f7fa;
	     display: inline;
	    padding-right: 25px;
	}
	#zoomin{
		width: 10px; 
		position: absolute;
		border: none;
		left: 2%;
		font-size: 30px; 
		color: #faab9f;
	    background-color: #f7f7fa;
	    top: 0%;
	    display: inline;
	    padding-right: 25px;
	}
	#zoomout{
		width: 10px; 
		border: none;
		position: absolute;
		left: 4%;
		font-size: 30px; 
		color: #faab9f;
	    background-color: #f7f7fa;
	    top: 0%;
	    display: inline;
	    padding-right: 25px;
	}
	
	.overlaySampleBook .closebtnSampleBook {
		font-size: 40px;
    	top: 0%;
    	right: 0%;
    	color: #faab9f;
	}*/
	#parentDiv{
		height: 87%;
	}
} 

#parentDiv{
	overflow-y: auto; 
	overflow-x: auto; 
	padding-bottom: 4%;
}

#thumbnailSampleBook .item{
  margin: 3px;
}
#thumbnailSampleBook .item img{
  display: block;
  width: 100%;
  height: auto;
}

#next{
		/* width: 40px; 
		position: absolute; 
		right: 5%;  */
		font-size: 70px; 
		color: #737373;
	    /* background-color: #f7f7fa; */
	   /*  top: 45%; */
	}
	#previous{
		/* width: 40px;  */
		/* position: absolute;  */
		/* left: 5%;  */
		font-size: 70px; 
		color: #737373;
	    /* background-color: #f7f7fa; */
	    /* top: 45%; */
	    /* display: inline; */
	    padding-right: 25px;
	}
	#zoomin{
		/* width: 10px;  */
		/*position: absolute; */
		/*border: none; */
		/*left: 2%; */
		font-size: 30px; 
		color: #737373;
	    /* background-color: #f7f7fa; */
	    /* top: 0%; */
	    /* display: inline; */
	    padding-right: 25px;
	    vertical-align: 10px;
	}
	#zoomout{
		/* width: 10px; */ 
		/*border: none; */
		/*position: absolute; */
		/*left: 4%; */
		font-size: 30px; 
		color: #737373;
	    /* background-color: #f7f7fa; */
	    /* top: 0%; */
	    /* display: inline; */
	    padding-right: 25px;
	    vertical-align: 10px;
	}
	#thumbnails{
		/* width: 10px;  */
		/*position: absolute; */
		/*border: none; */
		/*left: 2%; */
		font-size: 30px; 
		color: #737373;
	    /* background-color: #f7f7fa; */
	    /* top: 0%; */
	    /* display: inline; */
	    padding-right: 25px;
	    vertical-align: 10px;
	}

/* helpers */
.tSampleBook {
	display: table;
	width: 100%;
	height: 100%;
}

.tcSampleBook {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

/* book */
.bookSampleBook {
	margin: 0 auto;
	width: 90%;
	height: 90%;
}

.bookSampleBook .page {
	height: 100%;
	background-color: white;
}

.bookSampleBook .page img {
	max-width: 100%;
	height: 100%;
}

#imgdivSampleBook {
	display: inline-block;
}

#pageFldSampleBook {
	width: 40px;
}

#previous:hover, #previous:focus, #thumbnails:hover, #thumbnails:focus, #next:hover, #next:focus, #zoomin:hover, #zoomin:focus, #zoomout:hover, #zoomout:focus, .overlaySampleBook a:hover, .overlaySampleBook a:focus {
	color:  #bac6cc;
	cursor: pointer;
}

.bookSampleBook, #zoomout, #zoomin, #previous, #next, a
{
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
