/* =============================================
			Best Selling Book Style	Start			
============================================= */
.tg-bestsellingbooksslider .owl-nav {
  right: 0;
  top: -86px;
  width: auto;
  float: none;
  position: absolute;
}
.tg-bestsellingbooks,
.tg-bestsellingbooks .item {
  width: 100%;
  float: left;
}
.tg-bestsellingbooks .item .tg-postbook {
  padding: 15px 0 0;
}
.tg-postbook {
  width: 100%;
  float: left;
}
.tg-featureimg {
  margin: 0;
  width: 100%;
  float: left;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
}
.tg-bookimg {
  width: 70%;
  float: left;
  position: relative;
  transition: 0.5s !important;
}
.tg-frontcover {
  z-index: 20;
  width: 97%;
  float: left;
  position: relative;
}
.tg-frontcover:before {
  top: 0;
  left: 0;
  z-index: 3;
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background: -moz-linear-gradient(
    left,
    rgba(0, 0, 0, 0) 8%,
    rgba(0, 0, 0, 0.1) 5%,
    rgba(0, 0, 0, 0) 13%
  );
  background: -webkit-linear-gradient(
    left,
    rgba(0, 0, 0, 0) 8%,
    rgba(0, 0, 0, 0.1) 5%,
    rgba(0, 0, 0, 0) 13%
  );
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 8%,
    rgba(0, 0, 0, 0.1) 5%,
    rgba(0, 0, 0, 0) 13%
  );
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#00000000',GradientType=1 );
}
.tg-backcover {
  top: 2%;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 96%;
  overflow: hidden;
  background: #000;
  position: absolute;
  transition: 0.5s;
  display: flex;
  align-items: center;
}
.tg-backcover img {
  opacity: 0.6;
  display: block;
}
.tg-backcover:after {
  top: 4%;
  right: 4px;
  z-index: 2;
  width: 20px;
  height: 95%;
  content: "";
  position: absolute;
  background: url(../images/books/bookpattren.png) no-repeat !important;
  -webkit-background-size: 100% 100%;
  -moz-background-size: 100% 100%;
  -ms-background-size: 100% 100%;
  -o-background-size: 100% 100%;
  background-size: 100% 100%;
}
.tg-bookimg img {
  width: 100%;
  height: auto;
  display: block;
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}
.tg-postbook .tg-bookimg {
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: perspective(1000px) rotateY(180deg) rotateZ(0deg);
  -moz-transform: perspective(1000px) rotateY(180deg) rotateZ(0deg);
  -ms-transform: perspective(1000px) rotateY(180deg) rotateZ(0deg);
  -o-transform: perspective(1000px) rotateY(180deg) rotateZ(0deg);
  transform: perspective(1000px) rotateY(180deg) rotateZ(0deg);
}
.tg-postbook .tg-featureimg {
  padding: 9px 13px 9px 0;
}
.tg-postbook:hover .tg-bookimg {
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: perspective(1500px) rotateY(225deg) rotateZ(0deg);
  -moz-transform: perspective(1500px) rotateY(225deg) rotateZ(0deg);
  -ms-transform: perspective(1500px) rotateY(225deg) rotateZ(0deg);
  -o-transform: perspective(1500px) rotateY(225deg) rotateZ(0deg);
  transform: perspective(1500px) rotateY(225deg) rotateZ(0deg);
}
.tg-postbook:hover .tg-backcover {
  left: 17px;
}
.tg-featureimg .tg-btnaddtowishlist {
  bottom: 35%;
  left: 0;
  opacity: 0;
  z-index: 4;
  width: 85%;
  margin: 0 0 -17px;
  visibility: hidden;
  position: absolute;
}
.tg-postbook:hover .tg-btnaddtowishlist {
  opacity: 1;
  bottom: 50%;
  visibility: visible;
}
.tg-postbookcontent {
  width: 100%;
  float: left;
  padding: 15px 0 0;
}
.tg-bookscategories {
  width: 100%;
  float: left;
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 13px;
  list-style: none;
  padding: 0 0 8px;
  color: #2a5687;
  text-align: center;
}
.tg-bookscategories li {
  float: left;
  position: relative;
  padding: 0 2px 0 8px;
  line-height: inherit;
  list-style-type: none;
}
.tg-bookscategories li:first-child {
  padding-left: 0;
}
.tg-bookscategories li + li:before {
  left: 0;
  bottom: 0;
  content: ",";
  color: inherit;
  position: absolute;
  font-size: inherit;
  line-height: inherit;
}
.tg-bookscategories li a {
  color: #666;
  display: block;
}
.tg-themetagbox {
  width: 100%;
  float: left;
  margin: 0 0 8px;
  min-height: 16px;
}
.tg-themetag {
  float: left;
  color: #fff;
  padding: 0 5px;
  font-size: 10px;
  line-height: 16px;
  position: relative;
  text-transform: uppercase;
  border-radius: 4px 0 0 4px;
}
.tg-themetag:before {
  top: 0;
  width: 0;
  height: 0;
  left: 100%;
  content: "";
  position: absolute;
  border-left: 5px solid;
  border-top: 8px solid transparent !important;
  border-bottom: 8px solid transparent !important;
}
.tg-booktitle {
  width: 100%;
  float: left;
  padding: 0 0 20px;
}
.tg-booktitle h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 19px;
}
.tg-bookwriter {
  width: 100%;
  float: left;
  font-size: 13px;
  line-height: 13px;
  padding: 0 0 6px;
}
.tg-bookwriter a {
  color: #666;
}
.tg-bestsellingbooks .tg-postbookcontent .tg-stars {
  float: left;
  margin: 0 0 20px;
}
.tg-bookprice {
  width: 100%;
  float: left;
}
.tg-bookprice ins,
.tg-bookprice del {
  float: left;
  font: 500 18px/18px "Work Sans", Arial, Helvetica, sans-serif;
}
.tg-bookprice del {
  color: #666;
  font-size: 13px;
  padding-left: 10px;
}
.tg-postbookcontent .tg-btn {
  width: 100%;
  margin: 20px 0 0;
}
.tg-postbook.tg-notag .tg-postbookcontent .tg-btn {
  margin: 44px 0 0;
}
.tg-postbook {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -ms-transition: all 300ms ease-in-out;
  -o-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}
/* =============================================
              Picked By Authores					
  ============================================= */
.tg-pickedbyauthorslider .item {
  width: 100%;
  float: left;
  padding: 0 15px;
}
.tg-pickedbyauthorslider .owl-nav {
  top: -86px;
  right: 15px;
  width: auto;
  float: none;
  position: absolute;
}
.tg-pickedbyauthor {
  width: 100%;
  float: left;
}
.tg-pickedbyauthor .tg-postbook {
  margin: 15px 0;
  position: relative;
  background: #f7f7f7;
  padding: 0 30px 30px;
  border-bottom: 3px solid #f7f7f7;
}
.tg-pickedbyauthor .tg-featureimg {
  padding: 30px 50px;
  border-bottom: 1px solid #dbdbdb;
}
.tg-pickedbyauthor .tg-featureimg .tg-bookimg {
  margin: 0;
}
.tg-pickedbyauthor .tg-postbook .tg-bookimg:before {
  top: 0;
  z-index: 4;
  left: -10px;
  content: "";
  width: 10px;
  height: 100%;
  background: red;
  position: absolute;
}
.tg-pickedbyauthor .tg-postbook:hover .tg-featureimg {
  padding: 30px 20%;
}
.tg-pickedbyauthor .tg-postbookcontent {
  text-align: center;
}
.tg-pickedbyauthor .tg-postbookcontent .tg-btn {
  width: auto;
  float: none;
}
.tg-pickedbyauthor .tg-postbook:hover {
  background: #fff;
  -webkit-box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.2);
}
.tg-pickedbyauthor .tg-postbook:hover .tg-bookimg {
  margin: 14px 0 14px -46px;
  -webkit-transform-origin: 0 0;
  -moz-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  -o-transform-origin: 0 0;
  transform-origin: 0 0;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: perspective(3000px) rotateY(80deg) rotateZ(3deg);
  -moz-transform: perspective(3000px) rotateY(80deg) rotateZ(3deg);
  -ms-transform: perspective(3000px) rotateY(80deg) rotateZ(3deg);
  -o-transform: perspective(3000px) rotateY(80deg) rotateZ(3deg);
  transform: perspective(3000px) rotateY(80deg) rotateZ(3deg);
}
.tg-pickedbyauthor .tg-postbook:hover .tg-bookimg:before {
}
.tg-pickedbyauthor .tg-backcover,
.tg-pickedbyauthor .tg-backcover:after {
  display: none;
}
.tg-hovercontent {
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  position: absolute;
  padding: 30px 0 30px 60px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  justify-content: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.tg-bookpage,
.tg-bookcategory,
.tg-hovercontent .tg-bookprice,
.tg-ratingbox {
  width: 100%;
  float: left;
  opacity: 0;
  position: relative;
  visibility: hidden;
  font: 500 16px/20px "Work Sans", Arial, Helvetica, sans-serif;
}
.tg-hovercontent .tg-description {
  left: 70%;
  opacity: 0;
  visibility: hidden;
  position: relative;
}
.tg-hovercontent .tg-description p {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.tg-bookpage {
  left: 80%;
}
.tg-bookcategory {
  left: 90%;
}
.tg-hovercontent .tg-bookprice {
  left: 100%;
}
.tg-ratingbox {
  left: 110%;
}
.tg-bookcategory {
  padding: 5px 0;
}
.tg-ratingbox {
  padding: 8px 0 0;
}
.tg-ratingbox .tg-stars {
  margin: 0;
  float: left;
}
.tg-pickedbyauthor .tg-postbook:hover .tg-hovercontent .tg-description,
.tg-pickedbyauthor .tg-postbook:hover .tg-bookpage,
.tg-pickedbyauthor .tg-postbook:hover .tg-bookcategory,
.tg-pickedbyauthor .tg-postbook:hover .tg-hovercontent .tg-bookprice,
.tg-pickedbyauthor .tg-postbook:hover .tg-ratingbox {
  left: 0;
  opacity: 1;
  visibility: visible;
}
.tg-productdetail .tg-postbook .tg-postbookcontent .tg-btn {
  padding: 0;
  margin: 10px 0 0;
}
.tg-productdetail .tg-postbook .tg-postbookcontent .tg-btnaddtowishlist {
  padding: 0;
  width: 100%;
  margin: 10px 0 0;
  border-radius: 5px;
}
.tg-productgrid .tg-postbook .tg-postbookcontent .tg-btn {
  width: auto;
  margin: 20px auto 0;
}
.tg-productgrid .tg-postbook {
  min-height: 536px;
}
/* =============================================
              Product Detail Style				
  ============================================= */
.tg-productdetail {
  width: 100%;
  float: left;
}
.tg-productdetail .tg-postbook {
  padding: 0;
}
.tg-productdetail .tg-postbook .tg-featureimg {
  padding: 20px;
  background: #f7f7f7;
}
.tg-productdetail .tg-postbook .tg-bookprice {
  padding: 0 0 14px 20px;
}
.tg-productdetail .tg-postbook .tg-bookprice ins {
  color: #484848;
  font-size: 30px;
  line-height: 25px;
}
.tg-productdetail .tg-postbook .tg-bookprice del {
  font-size: 20px;
  line-height: 22px;
  padding-left: 5px;
}
.tg-productdetail .tg-postbook .tg-bookprice del,
.tg-productdetail .tg-postbook .tg-bookprice ins {
  float: none;
  display: inline-block;
  vertical-align: bottom;
}
.tg-productdetail .tg-postbookcontent {
  padding: 15px 0 0 0;
}
.tg-productdetail .tg-postbookcontent .tg-bookwriter {
  padding: 0 0 30px 20px;
}
.tg-relatedbooks .tg-postbook:hover .tg-featureimg {
  padding: 9px 13px 9px 0;
}
.tg-relatedbooks .tg-postbook .tg-featureimg {
  padding: 0;
  background: none;
}
.tg-relatedbooks .tg-postbook .tg-bookwriter {
  padding: 0 0 6px;
}
.tg-relatedbooks .tg-postbook .tg-bookprice {
  padding: 0 0 20px;
}
.tg-relatedbooks .tg-postbook .tg-bookprice ins {
  font-size: 18px;
  line-height: 18px;
}
.tg-relatedbooks .tg-postbook .tg-bookprice del {
  font-size: 13px;
  line-height: 16px;
}
.tg-relatedbooks .tg-postbook .tg-postbookcontent .tg-btn {
  width: auto;
  padding: 0 25px;
}
.tg-relatedbooks .tg-postbook .tg-postbookcontent .tg-btn i,
.tg-relatedbooks .tg-postbook .tg-postbookcontent .tg-btn em {
  float: none;
}
.tg-authorcontentdetail .tg-sectionhead {
  margin: 0 0 30px;
  padding: 0 0 30px;
}
.tg-authorcontentdetail .tg-socialicons {
  float: right;
  text-align: right;
}
.tg-authorcontentdetail .tg-description p {
  margin: 0 0 25px;
}
.tg-booksfromauthor {
  width: 100%;
  float: left;
}
.tg-booksfromauthor .tg-postbook {
  min-height: 530px;
}
.tg-booksfromauthor .tg-postbook .tg-postbookcontent .tg-stars {
  margin: 0 0 20px;
}
.tg-booksfromauthor .tg-sectionhead {
  margin: 0 0 15px;
  padding: 0 0 27px;
}
.tg-booksfromauthor .tg-sectionhead h2 {
  font-size: 22px;
  font-weight: 500;
  line-height: 20px;
}
.tg-booksfromauthor .tg-postbook .tg-btn {
  padding: 0;
}
.tg-booksfromauthor .tg-postbook .tg-btn i,
.tg-booksfromauthor .tg-postbook .tg-btn em {
  float: none;
}
.tg-postbook:hover .tg-bookimg {
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: perspective(1500px) rotateY(225deg) rotateZ(0deg);
  -moz-transform: perspective(1500px) rotateY(225deg) rotateZ(0deg);
  -ms-transform: perspective(1500px) rotateY(225deg) rotateZ(0deg);
  -o-transform: perspective(1500px) rotateY(225deg) rotateZ(0deg);
  transform: perspective(1500px) rotateY(225deg) rotateZ(0deg);
}
.tg-postbook:hover .tg-backcover {
  left: 17px;
}
.tg-featureimg .tg-btnaddtowishlist {
  bottom: 35%;
  left: 0;
  opacity: 0;
  z-index: 4;
  width: 85%;
  margin: 0 0 -17px;
  visibility: hidden;
  position: absolute;
}
.tg-postbook:hover .tg-btnaddtowishlist {
  opacity: 1;
  bottom: 50%;
  visibility: visible;
}
.tg-pickedbyauthor .tg-postbook:hover .tg-featureimg {
  padding: 30px 20%;
}
.tg-pickedbyauthor .tg-postbookcontent {
  text-align: center;
}
.tg-pickedbyauthor .tg-postbookcontent .tg-btn {
  width: auto;
  float: none;
}
.tg-pickedbyauthor .tg-postbook:hover {
  background: #fff;
  -webkit-box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.2);
}
.tg-pickedbyauthor .tg-postbook:hover .tg-bookimg {
  margin: 14px 0 14px -46px;
  -webkit-transform-origin: 0 0;
  -moz-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  -o-transform-origin: 0 0;
  transform-origin: 0 0;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: perspective(3000px) rotateY(80deg) rotateZ(3deg);
  -moz-transform: perspective(3000px) rotateY(80deg) rotateZ(3deg);
  -ms-transform: perspective(3000px) rotateY(80deg) rotateZ(3deg);
  -o-transform: perspective(3000px) rotateY(80deg) rotateZ(3deg);
  transform: perspective(3000px) rotateY(80deg) rotateZ(3deg);
}
.tg-pickedbyauthor .tg-postbook:hover .tg-hovercontent .tg-description,
.tg-pickedbyauthor .tg-postbook:hover .tg-bookpage,
.tg-pickedbyauthor .tg-postbook:hover .tg-bookcategory,
.tg-pickedbyauthor .tg-postbook:hover .tg-hovercontent .tg-bookprice,
.tg-pickedbyauthor .tg-postbook:hover .tg-ratingbox {
  left: 0;
  opacity: 1;
  visibility: visible;
}
.tg-relatedbooks .tg-postbook:hover .tg-featureimg {
  padding: 9px 13px 9px 0 !important;
}
.tp-BookTitle {
  width: 100%;
  padding: 5px 15px;
  border-radius: 5px;
}

.tp-postbookNoHover {
  pointer-events: none;
}
/* =============================================
              Best Selling Book Style	End			
  ============================================= */
