.book-slide-wrap {
	/* margin: 35px 0; */
}

.book-container {
	/* height: 400px; */
	padding: 15px;
}

.book-container .book {
	height: 100%;
	transform: scale(0);
}

.book-container .book a:hover {
	text-decoration: none;
}

.book-container .book .book-img {
	max-height: 100%;
	transition: all 0.1s ease;
}

.book-container .book-img img {
	position: relative;
	height: 100%;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 3px;
	box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.book-container .book-text {
	height: 18%;
}

.book-container .book-title {
	margin: 5px auto;
	/* height: 100%; */
	/* width: 100%; */
	display: table;
}

.book-container .book-title span {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	font-weight: 700;
	font-style: italic;
	color: black;
}

.book-container .book-btn {
	height: 15%;
	width: 100%;
	display: table;
}

.book-container .book-btn .btn {
	height: auto;
	width: auto;
	border: none;
	background-color: transparent;
	box-shadow: none;
}

.book-container .book-btn .btn {
	padding: 7px 21px;
	color: white;
	background-color: #f85b54;
	border: 1px solid rgba(0, 0, 0, 0.2);
	box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1);
	border-radius: 3px;
}

.book-container .book-btn span {
	vertical-align: middle;
}

.single .book-container {
	height: 200px;
}

.book-wrap {
	margin: 0 auto 10px;
	max-width: 80%;
	position: relative;
	z-index: 10;
}

.book {
	margin: 0 auto;
	border-radius: 3px;
	position: relative;
	-webkit-perspective: 3000px;
	perspective: 3000px;
}

.book img {
	display: block;
	/* height: 480px; */
	max-width: 100%;
	/* margin: 0px auto; */
	border-radius: 3px;
	-webkit-backface-visibility: hidden;
}

.book .cover {
	position: relative;
	outline: 1px solid transparent;
	-webkit-backface-visibility: hidden;
	-webkit-transform-origin: 0 50% 0;
	transform-origin: 0 50% 0;
	-webkit-transition: all 0.25s ease;
	transition: all 0.25s ease;
}

.book .edge {
	background: rgba(0, 0, 0, 0.05);
	position: absolute;
	top: 0;
	left: 0;
	width: 15px;
	height: 100%;
}

.book .edge-border {
	width: 0;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	border-left: 1px solid rgba(255, 255, 255, 0.2);
	border-right: 1px solid rgba(0, 0, 0, 0.2);
}

.book .border {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 3px;
	display: block;
}

.book .peek {
	position: absolute;
	bottom: -55px;
	right: 0;
	opacity: 0;
	width: 100%;
	text-align: center;
}

.book .peek span {
	background: rgba(0, 0, 0, 0.1);
	padding: 5px 20px;
	border-radius: 15px;
	display: inline-block;
}

.book .body {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 3px;
	background: #fff;
	box-shadow: white 0 0, #e6e6e6 1px 1px, #e6e6e6 2px 2px, #d2d2d2 4px 4px, #d2d2d2 5px 5px, #c3c3c3 7px 7px, #c3c3c3 8px 8px;
}

.book .shadow {
	position: absolute;
	top: 0;
	left: 6px;
	width: 100%;
	height: 100%;
	border-radius: 3px;
	-webkit-transition: all 0.25s ease;
	transition: all 0.25s ease;
	box-shadow: rgba(0, 0, 0, 0.04) 0px 6px, rgba(0, 0, 0, 0.04) 1px 7px, rgba(0, 0, 0, 0.04) 2px 8px, rgba(0, 0, 0, 0.04) 3px 9px, rgba(0, 0, 0, 0.04) 4px 10px, rgba(0, 0, 0, 0.04) 5px 11px, rgba(0, 0, 0, 0.04) 6px 12px, rgba(0, 0, 0, 0.04) 7px 13px;
}

.book .badge {
	width: 80px;
	height: 80px;
	background: #eb3d00;
	position: absolute;
	top: -20px;
	left: -20px;
	border-radius: 100%;
	text-align: center;
	padding: 15px;
	box-shadow: rgba(0, 0, 0, 0.25) 0px 2px;
	font-size: 14px;
	line-height: 1.5em;
	color: #fff;
	-webkit-transform: rotateZ(-30deg);
	transform: rotateZ(-30deg);
}

#buy-btn-country div {
  display: inline-block;
  width: 40px;
  height: 30px;
  margin:0 5px;
  background-size: 85% 80%;
  background-position: center;
  /* transition: all 0.5s; */
}

#buy-btn-country .current-region {
  border: 2px solid black;
  border-radius: 5px;
}

#buy-btn-country-us {
  background: url(../img/pages/books/usflag.jpg) no-repeat;
}

#buy-btn-country-uk {
  background: url(../img/pages/books/ukflag.jpg) no-repeat;
}

#buy-btns {
	position:relative;
	height: 250px;
	width:250px;
}

#buy-btns div {
	position: absolute;
	backface-visibility: hidden;
	/* perspective: 1000px; */
	/* transform-style: preserve-3d; */
	transform: rotateY(180deg);
	transition: all 0.5s;
}

#buy-btns-us {
/* 	transition: all 0.2s; */
}

#buy-btns-uk {
/* 	transition: all 0.2s; */
}

#buy-btns .current-region {
	perspective: 1000px;
	transform-style: preserve-3d;
	transform: rotateY(0deg);
	transition: all 0.5s;
}

.product.has-default-attributes.has-children > .images {
	opacity: 1;
}

.product_meta span {
	display: block;
	font-weight: bold;
}

.product_meta span span,
.product_meta span a {
	display: inline-block;
	font-weight: normal;
}

.woocommerce div.product .product_title {
	font-family: JudyMoody;
	font-size: 3em;
	clear: both;
	text-align: center;
}

.woocommerce .product .images img {
	transform: scale(0.8);
	border: 1px solid rgba(0, 0, 0, 0.25);
	border-radius: 2px;
	box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
}

.woocommerce div.product div.images div.thumbnails,
.woocommerce div.product form.cart .variations td.label,
.woocommerce div.product form.cart div.quantity {
	display: none;
}

.woocommerce ul.products li.product {
	display: table-cell;
	vertical-align: bottom;
	/* float: none; */
	margin: 1.2em;
	text-align: center;
	padding: 10px 10px;
	/* cursor: pointer; */
}

#excerpt {
	float: left;
	position: relative;
	bottom: 0px;
	margin: 30px 30px 0;
	width: 200px;
	text-align: center;
	font-family: 'BlueSheep';
	font-size: 1.2em;
	text-transform: uppercase;
	/* background: #98a6d3; */
	/*	border: 1px solid rgba(0, 0, 0, 0.2);*/
	border-radius: 5px;
	/* padding: 0 10px; */
	line-height: 30px;
	cursor: pointer;
	transition: 0.2s ease all;
}

#excerpt a:hover {
	text-decoration: none;
}

#excerpt p {
	padding-right: 20px;
	margin: 0;
	text-decoration: none;
	color: black;
}

#excerpt span {
	/* 	color: #a94442; */
	position: absolute;
	font-size: 12px;
	bottom: 0px;
	right: 30px;
	/* transform: rotate(-110deg); */
}

#excerpt:hover {
	bottom: 5px;
	/* 	background: #F5BD5E; */
	/*	color: white;*/
}

#excerpt:hover p {
	/*	color: white;*/
}

#excerpt:hover p span {
	/*	bottom: 2px;*/
}

#excerpt-close {
	display: none;
}

#excerpt-wrap {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	cursor: pointer;
	background-color: rgba(0, 0, 0, 0.5);
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 30;
}

#excerpt-popup {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0 auto;
	padding: 10px;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	cursor: pointer;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 40;
}

#excerpt-popup img {
	transform: none;
	width: 100%;
	max-height: 100%;
	border: 0;
	border-radius: 3px;
	box-shadow: none;
}

#excerpt-close {
	position: fixed;
	right: 15px;
	top: 15px;
	width: 32px;
	height: 32px;
	opacity: 0.3;
	z-index: 50;
	color: black;
}

#excerpt-close:hover {
	opacity: 1;
}

#excerpt-close:before,
#excerpt-close:after {
	position: absolute;
	left: 15px;
	content: ' ';
	height: 33px;
	width: 2px;
	background-color: black;
}

#excerpt-close:before {
	transform: rotate(45deg);
}

#excerpt-close:after {
	transform: rotate(-45deg);
}


.booklet .b-arrow-next div,
.booklet .b-arrow-prev div {
	background-position: center center !important;
	height: 100% !important;
	top: 0 !important;
}

.booklet .b-wrap-right {
	background: lightgray;
}

.booklet .b-page {
	border-radius: 3px;
}

.booklet .b-page-cover {
	box-shadow: inset 0px 0px 5px 0px rgba(255, 255, 255, 0.3);
}

.booklet .b-page-cover img {
	left: 0;
	top: 0;
	width: auto !important;
	position: absolute;
}

#creator-name span {
	display: block;
}

#creator-name a {
	font-weight: bold;
}

.ppt,
.pp_description {
	display: none !important;
}

.pp_gallery {
	display: none !important;
}

.variations .value div {
	list-style-type: none;
	margin: 1.5%;
	width: 30%;
	display: inline-block;
}

.variations .value input[type="radio"] {
	opacity: 0.011;
	z-index: 100;
	position: absolute;
}

.variations .value input[type="radio"]:checked + label {
	background: rgba(0, 0, 0, 0.5);
	color: white;
}

.variations .value label {
	padding: 1.5px;
	width: 100%;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 5px;
	text-align: center;
	cursor: pointer;
	z-index: 90;
}

.variations .value label:hover {
	background: rgba(0, 0, 0, 0.75);
	color: white;
}

#buy h3 {
	font-size: 1.2em;
}

#buy a {
	background: rgba(0, 0, 0, 0.5);
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 5px;
	display: inline-block;
	color: white;
	text-decoration: none;
	text-align: center;
	line-height: 30px;
	margin: 1.5%;
	width: 30%;
}

#buy a:hover p {
	background: rgba(0, 0, 0, 0.5);
}

#buy a p {
	margin: 0;
	text-transform: uppercase;
}

#book-filter input[type="radio"] {
	display: none;
}

#book-filter label {
	/*	width: 33%;*/
	font-family: "BlueSheep";
	font-size: 2.4vw;
	font-weight: 400;
	text-transform: uppercase;
	cursor: pointer;
}

#book-filter .judy-tab {
	color: orange;
}

#book-filter .friends-tab {
	color: cornflowerblue;
}

#book-filter .stink-tab {
	color: crimson;
}

@keyframes hide-grid-item {
	0% {
		transform: scale(1);
		width: 100%;
	}
	100% {
		transform: scale(0);
		width: 0;
		height: 0;
		width: 0;
		padding: 0;
		opacity: 0;
	}
}

#book-filter input[type="radio"][id="judy-tab"]:checked + label {
	text-decoration: underline;
}

#book-filter input[type="radio"][id="judy-tab"]:checked ~ .friends,
input[type="radio"][id="judy-tab"]:checked ~ .stink {
	display: none;
}

#book-filter input[type="radio"][id="friends-tab"]:checked + label {
	text-decoration: underline;
}

#book-filter input[type="radio"][id="friends-tab"]:checked ~ .judy,
input[type="radio"][id="friends-tab"]:checked ~ .stink {
	display: none;
}

#book-filter input[type="radio"][id="stink-tab"]:checked + label {
	text-decoration: underline;
}

#book-filter input[type="radio"][id="stink-tab"]:checked ~ .judy,
input[type="radio"][id="stink-tab"]:checked ~ .friends {
	display: none;
}

.branding {
	font-family: 'BlueSheep';
	text-transform: uppercase;
	letter-spacing: 0;
}

#buy-btn:hover {
	/* background: #F5BD5E; */
	color: white;
}

#buy-btn:hover p {
	/*	color: white;*/
}

#buy-btn:hover p span {
	/*	bottom: 2px;*/
}

#buy-btn-close {
	display: none;
}

#buy-btn-wrap {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	cursor: pointer;
	background-color: rgba(0, 0, 0, 0.5);
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 30;
}

#buy-btn-popup {
	display: none;
	position: fixed;
	/* width: 50%; */
	/* height: 50%; */
	padding: 30px;
	margin: 0 auto;
	background: white;
	border: 2px solid black;
	border-radius: 10px;
	/* overflow-y: scroll; */
	-webkit-overflow-scrolling: touch;
	cursor: pointer;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 40;
	transition: all 0.2s;
}

#buy-btn-popup img {
	transform: none;
	margin: 5px 0;
	border: 0;
	border-radius: 3px;
	box-shadow: none;
}

#buy-btn-close {
	position: fixed;
	right: 10px;
	top: 10px;
	width: 20px;
	height: 20px;
	opacity: 0.3;
	z-index: 50;
	color: black;
}

#buy-btn-close:hover {
	opacity: 1;
}

#buy-btn-close:before,
#buy-btn-close:after {
	position: absolute;
	left: 8px;
	content: ' ';
	height: 20px;
	width: 2px;
	background-color: black;
}

#buy-btn-close:before {
	transform: rotate(45deg);
}

#buy-btn-close:after {
	transform: rotate(-45deg);
}

.buy-btn {
	display: block;
	width: 250px;
	margin: 20px auto;
	background: black;
}

#buy-btn span,
.buy-btn span {
	margin-bottom: -3px;
}

.pagination {
	font-size: 3em;
	font-family: cursive;
	text-decoration: none !important;
	color: black !important;
	transition: all 0.1s ease;
}

#previous-link {
	position: absolute;
	left: -25px;
	top: 50%;
	transform: rotate(180deg);
}

#previous-link:hover {
	left: -30px;
}

#next-link {
	position: absolute;
	right: -25px;
	top: 50%;
}

#next-link:hover {
	right: -30px;
}

/* ----------- Screen Sizes ----------- */

@media (max-width: 599px) {
	.book-slide-wrap .branding {
		padding: 20px;
	}
	#excerpt {
		margin: 30px auto;
		float: none;
	}
	.sharing-buttons a {
		display: block;
	}

	#book-filter label {
		font-size: 16px;
	}
	.pagination {
		font-size: 6vw;
	}
	#next-link,
	#previous-link {
		position: relative;
		top: 0;
		margin: 0px 40px 20px;
	}
}

@media (min-width: 600px) {
	.book-slide-wrap .branding {
		padding: 20px;
	}
	.pagination {
		font-size: 30px;
	}
}

@media (min-width: 900px) {}

@media (min-width: 1200px) {
	#book-filter label {
		font-size: 30px;
	}
}

@media (min-width: 1800px) {}


/* EDITION SPECIFIC CSS */

#book-9781536203608 .book-img img, #book-9781536203592 .book-img img {
    box-shadow: none;
    border: none;
}

.book-9781536203608 .shadow, .book-9781536203608 .border, .book-9781536203608 .body, .book-9781536203592 .shadow, .book-9781536203592 .border, .book-9781536203592 .body {
    display:none;
    box-shadow: none;
    border: none;
}