/* @font-face {
	font-family: 'District Thin';
	src: url("../fonts/DistTh___.ttf");
}

@font-face {
  font-family: 'Stempel-Garamond-W01-Roman';
  font-style: normal;
  font-weight: normal;
  src: url('../fonts/Stempel-Garamond-W01-Roman.woff') format('woff');
}
 */
html,body{height:100%;}
body, ul, table, form{
	margin:0;
	padding:0;
}

/*  #Tablet (Portrait)
	Note: Design for a width of 768px
*/
 @media only screen and (min-width: 768px) and (max-width: 959px) {
	body{

	}
 }

@media only screen and (min-width: 480px) and (max-width: 767px) {
	.splash .details{}
}

::-moz-selection{
	background:#999;
	color:white;
	text-shadow:none;
}

.bookshelf-row{
	display:none;
}

h1{
	font:38px 'District Thin', helvetica, arial;
	font-weight:lighter;
	margin:20px 0;
	color:#333;

	-webkit-text-fill-color: #333;
	-webkit-text-stroke-color: white;
	-webkit-text-stroke-width: 0.005em;
}

h2, h3 {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color:#444;
	font-weight:bold;
}

h3 {
	margin: 10px 0;
	font-size:25px;
	letter-spacing: -0.05em;
}

a{
	text-decoration:none;
	color:#698145;
}

a:hover{
	text-decoration:underline;
}

p{
	line-height:22px;
	margin:20px 0;
}

li{
	list-style:none;
}
img{display:block;max-width:100%;margin:0 auto;}
.splash .tl{
    position: absolute;
    top: 28px;
    left: 5%;
    width: 14%;
    z-index: 1;
}

.splash{
	width:100%;
	height: 100%;
	overflow:hidden;
	position:relative;
	background: url(../pics/splash-bg.png) top left  repeat-x;
	-webkit-transition:height 1s;
	-moz-transition:height 1s;
	-ms-transition:height 1s;
	-o-transition:height 1s;
	transition:height 1s;
	background-size: 100% 100%;
	/* background-color: rgb(0, 0, 0); */
}

.splash .gradient{
	position:absolute;
	bottom:-100px;
	left:0;
	width:100%;
	height:100px;
	z-index:1000;
}

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

.splash .center{
	width: 100%;
	height: 100%;
	margin:auto;
	position:relative;
	z-index: 2;
}

.splash .details{
	width: 41%;
	left: 50%;
	position: absolute;
	top: 25%;
}
.splash .details img{min-width: 360px;}

.bookshelf{
	-webkit-transition:all 1s;
	-moz-transition:all 1s;
	-o-transition:all 1s;
	-ms-transition:all 1s;
	transition:all 1s;
}

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

.preview .no-transform{
	-webkit-transform:scale3d(1, 1, 1) !important;
	-moz-transform:scale3d(1, 1, 1) !important;
	-o-transform:scale3d(1, 1, 1) !important;
	-ms-transform:scale3d(1, 1, 1) !important;
	transform:scale3d(1, 1, 1) !important;
}

.preview .bookshelf{
	opacity:0;

	-webkit-transform: translate3d(-100px, 0, 0) scale3d(0.5, 0.5, 1);
	-moz-transform: translate3d(-100px, 0, 0) scale3d(0.5, 0.5, 1);
	-o-transform: translate3d(-100px, 0, 0) scale3d(0.5, 0.5, 1);
	-ms-transform: translate3d(-100px, 0, 0) scale3d(0.5, 0.5, 1);
	transform: translate3d(-100px, 0, 0) scale3d(0.5, 0.5, 1);
}

.details{
	-webkit-transition:all 1s;
	-moz-transition:all 1s;
	-o-transition:all 1s;
	-ms-transition:all 1s;
	transition:all 1s;
	cursor:default;
}

.preview .details{
	opacity:0;
	-webkit-transform: translate(20px, 0) scale3d(0.9, 0.9, 1);
	-moz-transform: translate(20px, 0) scale3d(0.9, 0.9, 1);
	-ms-transform: translate(20px, 0) scale3d(0.9, 0.9, 1);
	-o-transform: translate(20px, 0) scale3d(0.9, 0.9, 1);
	transform: translate(20px, 0) scale3d(0.9, 0.9, 1);
}

.animate{
	-webkit-transition:-webkit-transform 1s;
	-moz-transition:-moz-transform 1s;
	-ms-transition:-ms-transform 1s;
	-o-transition:-o-transform 1s;
	transition:transform 1s;
}

.icon{
	width: 39px;
	height: 35px;
	background-image:url(../pics/new-sprites.png);
	display:inline-block;
	background-size: auto 100%;
	background-repeat: no-repeat;
}

.details .options .icon{
	display:block;
	float:left;
}


.table-contents{
	background-position: -42px 0;
}

.table-contents-hover{
/* 	background-position:-88px -22px; */
}
.home{
	background-position: 2px 0;
}

.home-hover{
	/* background-position:-88px -22px; */
}
.prev{
	background-position: -133px 0;
}

.prev-hover{
/* 	background-position:-88px -22px; */
}

.next{
	background-position: -178px 0;
}

.next-hover{
/* 	background-position:-88px -22px; */
}
.show-all{
	background-position: -87px 0;
}

.show-all-hover{
/* 	background-position:-88px -22px; */
}



.bookshelf{
	position: absolute;
	left: 10%;
	height: 580px;
	top: 56%;
	margin-top: -290px;
}

.bookshelf .shelf{
	/*background:url(../pics/bookshelf.gif);
	background-size:100%;*/
	width: 100%;
	height: 100%;
	position: relative;
}

.bookshelf .shelf .row-1{
}

.bookshelf .shelf .row-1:after,
.bookshelf .shelf .row-2:after{
	background:url(../pics/wall-bookshelf.png);
	background-size:100%;
	background-repeat: no-repeat;
	background-position:bottom left;
	width: 91%;
	height: 105px;
	display:block;
	content:"";
	position: relative;
	z-index: -1;
	margin-left: 4%;
}

.bookshelf .shelf .row-2{
	margin-top: -23px;
}

.bookshelf .shelf .row-2:after{margin-left: 22%;}

.bookshelf .shelf .loc{
	position: relative;
}

.bookshelf .shelf .loc > div{
	width: 100%;
	/* height:100%; */
	/* float:left; */
	text-align:center;
	position:relative;
}

.bookshelf .suggestion{
	width: 48%;
	margin-top: -44px;
	margin-left: 39%;
}

.bookshelf .sample,
.bookshelf-row .sample{
	margin:auto;
	position: relative;
	z-index:1;

	-webkit-box-shadow:2px 2px 5px rgba(0,0,0,0.6);
	-moz-box-shadow:2px 2px 5px rgba(0,0,0,0.6);
	-ms-box-shadow:2px 2px 5px rgba(0,0,0,0.6);
	-o-box-shadow:2px 2px 5px rgba(0,0,0,0.6);
	box-shadow:2px 2px 5px rgba(0,0,0,0.6);

	-webkit-transition:-webkit-transform 0.1s;
	-webkit-transform:translate(0, 0);
	-moz-transition:-moz-transform 0.1s;
	-moz-transform:translate(0, 0);
	-ms-transition:-ms-transform 0.1s;
	-ms-transform:translate(0, 0);
	-o-transition:-o-transform 0.1s;
	-o-transform:translate(0, 0);
	transition:transform 0.1s;
	transform:translate(0, 0);
}
.bookshelf .sample>img, .bookshelf-row .sample>img{
    pointer-events: none;
}
.sample .loader{
	position:absolute;
	width:32px;
	height:32px;
	top:50%;
	left:50%;
}

.sample .loader i{
	background:white url(../pics/loader.gif) 4px 4px no-repeat;
	position:relative;
	top:-16px;
	left:-16px;
	width:32px;
	height:32px;
	display:block;

	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	-ms-border-radius:10px;
	-o-border-radius:10px;
	border-radius:10px;
}

.bookshelf .shelf .hover,
.bookshelf-row .hover,
.bookshelf .shelf .loading{
	z-index:2;
/* 	cursor:none; */
/* 	background-color:white; */
	-webkit-transform: scale3d(1.1, 1.1, 1) translate3d(0, -5px, 0);
	-moz-transform: scale3d(1.1, 1.1, 1) translate3d(0, -5px, 0);
	-ms-transform: scale3d(1.1, 1.1, 1) translate3d(0, -5px, 0);
	-o-transform: scale3d(1.1, 1.1, 1) translate3d(0, -5px, 0);
	transform: scale3d(1.1, 1.1, 1) translate3d(0, -5px, 0);
}

.bookshelf .thumb1,
.bookshelf-row .thumb1{
	width: 66%;
}

.bookshelf .thumb2,
.bookshelf-row .thumb2{
	width: 66%;
	margin-left: 34%;
}

.bookshelf .thumb3,
.bookshelf-row .thumb3{
	background-image:url(../pics/book3.jpg);
	width:90px;
	height:115px;
}

.bookshelf .thumb4,
.bookshelf-row .thumb4{
	background-image:url(../pics/book4.jpg);
	width:97px;
	height:125px;

}
.bookshelf .thumb5,
.bookshelf-row .thumb5{
	background-image:url(../pics/book5.jpg);
	width:97px;
	height:125px;
}

.bookshelf .thumb6,
.bookshelf-row .thumb6{
	background-image:url(../pics/book6.jpg);
	width:104px;
	height:125px;
}


.samples{
	position:absolute;
	/* top: 10%; */
	left: 8%;
	width: 84%;
	/* height:700px; */
	display:none;
}

.show-samples .samples{
	display:block;
}

.samples .bar{
	height:100px;
	width: 100%;
	overflow:hidden;
	opacity:0;
	-webkit-transition:opacity 0.1s;
	-moz-transition:opacity 0.1s;
	-o-transition:opacity 0.1s;
	-ms-transition:opacity 0.1s;
	transition:opacity 0.1s;
}

.show-bar .bar{
	-webkit-transition:opacity 1s;
	-moz-transition:opacity 1s;
	-o-transition:opacity 1s;
	-ms-transition:opacity 1s;
	transition:opacity 1s;
	opacity:1;
}

.show-bar .details{
	display:none;
}

.show-bar .bookshelf{
	display:none;
}

.turnjs-slider{
	opacity:0;
	-webkit-transition:opacity 0.1s;
	-moz-transition:opacity 0.1s;
	-o-transition:opacity 0.1s;
	-ms-transition:opacity 0.1s;
	transition:opacity 0.1s;
	display: none;
}

.show-bar .turnjs-slider{
	opacity:1;
	-webkit-transition:opacity 1s;
	-moz-transition:opacity 1s;
	-o-transition:opacity 1s;
	-ms-transition:opacity 1s;
	transition:opacity 1s;
}
.show-all-fp{position:absolute;z-index: 7;height: 100%;background-color: rgba(0,0,0,.5);width: 100%;display: none;pointer-events: all;}
.show-all-fp .saf-con{
    position: absolute;
    top: 50%;
    width: 100%;
    height: 400px;
    margin-top: -181px;
}
.show-all-fp .saf-con .sld{
    height: 360px;
    padding: 20px 0;
    background-color: rgba(0,0,0,0.7);
}
.show-all-fp .saf-con .sld ul{
    display: block;
    height: 360px;
    width: 500000px;
    position: absolute;
    left: 0;
}
.show-all-fp .saf-con .sld ul li{
    height: 100%;
    float: left;
    margin: 0 16px;
    position: relative;
    z-index: 7;
}
.show-all-fp .saf-con .sld ul li img{
    display: block;
    height: 100%;
    width: auto;
    max-width: none;
}
.samples .share{
	margin-top:40px;
	text-align:center;
}

.samples .share .icon{
	padding: 0 5px;
	cursor:pointer;
}

.samples .quit{
	background-position: -222px 0;
	cursor:default;
	/* position:absolute; */
	/* right:0; */
	/* top: 40px; */
}

.samples .quit:hover{
/* 	background-position:-66px 0; */
}

#book-wrapper{
	width: 100%;
	height: 100%;
	margin-left:20px;
	margin-right:20px;
}
@media only screen and (max-width: 480px) {
	.splash .details{
    top: 2%;
    /*transform: rotate(90deg)*/
    display: block;
    opacity: 1;
    width: 30%;
    left: 62%;
}
.splash .tl{
    bottom: 2%;
    top: auto;
    width: 44%;
    /*transform: rotate(90deg)*/
}

.bookshelf{
    left: -4%;
    height: 68%;
    top: 17%;
    margin-top: 0;
    width: 100%;
}
.bookshelf .shelf .row-1:after, .bookshelf .shelf .row-2:after{
    height: 79px;
}
.icon{
    width: 37px;
    height: 36px;
}
.home{
    background-position: 0px 0;
}
.prev{
    background-position: -141px 0;
}
.next{
    background-position: -191px 0;
}
.show-all{
	background-position: -22px 0;
	display: none;
}
.table-contents{background-position: -44px 0;}
.samples .bar{
    height: 47px;
    width: 100%;
    /*transform: rotate(90deg)*/
    margin-top: 22px;
    position: absolute;
    top: 100%;
}
.samples .share{
    /* margin-top: 33px; */
    /* transform: rotate(90deg); */
    margin: 0 auto;
}
.samples .quit{
    right: -3%;
    top: 47%;
    background-position: -237px 0;
}
#book-wrapper{
    /*transform: rotate(90deg)*/;
}
.show-bar .turnjs-slider{
	/*transform: rotate(90deg)*/
	/* margin-top: -33%; */
	width: 80%;
	margin-left: 10%;
	display: none;
}
.samples{width:120%;top: 22%;left: -10%;width: 100%;left: 0;}
.show-all-fp .saf-con .sld{
    height: 120px;
    padding: 10px 0;
    display: none;
}
.show-all-fp .saf-con .sld ul{
    height: 120px;
}
.splash{
	background: url(../pics/splash-bg.png) bottom right no-repeat;
	background-size: 1770px auto;
}
.splash .details img{min-width: 1px;max-width: 100%;}
.bookshelf .suggestion{width: 45%;margin-top: 2px;margin-left: 34%;}
.bookshelf .thumb2, .bookshelf-row .thumb2{
    margin-left: 26%;
}
.bookshelf .shelf .row-2:after{
    margin-left: 14%;
}
}