#next-img{
	display:none;
}
#prev-img{
	display:none;
}
.wphpc-main-wrapper {
    border: 1 px solid #000;
    display: grid;
    grid-gap: 20px;
    padding: 10px;
}

.wphpc-main-wrapper .wphpc-item {
    /*border: 1px solid #DDD;*/
    padding: 5px;
    min-height: 300px;
    margin-right: 5px;
    margin-bottom: 5px;
    /*box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease-in-out;*/
    text-align: center;
}

.wphpc-main-wrapper .wphpc-item:hover {
    /*box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);*/
}

.wphpc-main-wrapper .wphpc-item img {
    border: 0px solid #FF0000;
    /*height: 150px;
	height: 300px;*/
    width: auto; 
}

.wphpc-main-wrapper .wphpc-item a {
    border: 0px solid #000;
    font-size: 16px;
    font-weight: 400;
    display: inline-block;
    width: 100%;
    outline: none;
    line-height: 24px;
    color: #242424;
    margin-top: 10px;
}

.wphpc-main-wrapper .wphpc-item a:hover {
    color: #999;
}

.wphpc-main-wrapper .wphpc-item a.active {
    color: #242424;
}

.wphpc-main-wrapper .wphpc-item a:active {
    outline: none;
    text-decoration: none!important;
}

.wphpc-main-wrapper .wphpc-item span {
    font-size: 12px;
    display: inline-block;
    border: 0px solid #000;
    width: 100%;
    margin: 0;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 0px!important;
    line-height: 24px;
}

.wphpc-main-wrapper .wphpc-item .regular-price span {
    font-size: 16px;
    display: inline;
    border: 0px solid #000;
    width: 100%;
    margin: 0px!important;
    padding: 0px!important;
}

.wphpc-main-wrapper .wphpc-item .regular-price span.price-before {
    color: #CC0000;
    text-decoration: line-through;
    font-style: italic;
}

.wphpc-main-wrapper .wphpc-item .regular-price span.price-after {
    color: #009900;
}

.wphpc-main-wrapper .wphpc-item span.sale-price b {
    font-size: 16px;
}


/* Pagination */

.wphpc-pagination {
    width: 100%;
    text-align: center;
}

.wphpc-pagination .page-numbers {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 2px 0 0;
    border: 1px solid #eee;
    line-height: 1;
    text-decoration: none;
    border-radius: 2px;
    font-weight: 600;
}

.wphpc-pagination .page-numbers.current,
a.page-numbers:hover {
    background: #f9f9f9;
}


/* Details Page css */

h3.wphpc-details-book-title{
	margin-top:0px;
}

.wphpc-details-wrapper {
    max-width: 1000px;
	width: 100%;
    margin: 50px auto;
    display: flex;
    flex-wrap: wrap;
    min-height: 100px;
    border: 0px solid #000;
}
.wphpc-details-wrapper2 {
    max-width: 1000px;
    width: 100%;
	margin: 25px auto;
    border: 0px solid #000;
	height: 30px;
}

.wphpc-details-wrapper .wphpc-details-image {
    min-height: 100px;
    padding: 5px;
    margin-right: 20px;
    border: 0px solid #009900;
    width: 640px; 
}

.wphpc-details-wrapper .wphpc-details-image img {
    /*width: 100%;*/
	width: 100px;
    height: auto;
    border: none;
}

.wphpc-details-wrapper .wphpc-details-description {
    border: 0px solid #000;
    flex: 1;
}

.wphpc-details-wrapper .wphpc-details-description h5.wphpc-details-book-title {
    margin-bottom: 10px;
    color: #242424;
    font-size: 24px;
}

.wphpc-details-wrapper .wphpc-details-description span {
    font-size: 14px;
    display: inline-block;
    border: 0px solid #000;
    width: 100%;
    margin: 0px!important;
    padding: 0px!important;
    margin-bottom: 10px!important;
}

.wphpc-details-wrapper .wphpc-details-description span b {
    color: #242424;
    width: 100px;
    border: 0px solid #FF0000;
    display: inline-block;
}

.wphpc-details-wrapper .wphpc-details-description-full {
    border: 0px solid #000;
    margin-top: 20px;
    font-size: 16px;
    display: block;
    width: 100%;
}

.wphpc-details-wrapper .wphpc-details-description-full .wphpc-details-description-title {
    border: 0px solid #009900;
    padding: 0 8px;
}

.wphpc-details-wrapper .wphpc-details-description-full .wphpc-details-description-title hr {
    margin-bottom: 10px;
}

.wphpc-details-wrapper .wphpc-details-description-full .wphpc-details-description-content {
    padding: 0 8px;
}


/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */

@media only screen and (min-width: 1025px) {
    .wphpc-main-wrapper.wphpc-product-column-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    .wphpc-main-wrapper.wphpc-product-column-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .wphpc-main-wrapper.wphpc-product-column-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 1024px) and (min-width: 766px) {
    .wphpc-main-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    .wphpc-details-wrapper {
        display: block;
        width: 100%;
    }
    .wphpc-details-wrapper .wphpc-details-image {
        width: 100%;
        /*display: inline-block;*/
        padding: 10px;
        margin-bottom: 30px;
        text-align: center;
    }
    .wphpc-details-wrapper .wphpc-details-image img {
        width: 100px;
        margin: 0 auto;
		margin-right:5px;
    }
    .wphpc-details-wrapper .wphpc-details-description {
        padding: 10px;
    }
	.small-img{
		height: 150px;
	}
	.small-container {
		height: 150px;
	}
	.small-container div {
		width: 100%;
	}
	.wphpc-details-wrapper .wphpc-details-image img{
		margin-bottom:5px;
	}	
}

.show{
  max-width: 630px;
  width:100%;
  height: auto;
}
#show-img { width:100%; max-width: 633px; height: auto; border: 1px solid #EFEFEF; }
.small-img{
  width:100%;	
  max-width: 650px;
  height: 70px;
  margin-top: 10px;
  position: relative;
  /*background:#EFEFEF;
  left: 25px;*/
}
.small-img .icon-left, .small-img .icon-right{
  width: 12px;
  height: 24px;
  cursor: pointer;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
}
.small-img .icon-left{
  transform: rotate(180deg)
}
.small-img .icon-right{
  right: 0;
}
.small-img .icon-left:hover, .small-img .icon-right:hover{
  opacity: .5;
}
.small-container{
  /*width: 700px;*/
  width: 100%;
  height: 70px;
  overflow: hidden;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
}
.small-container div{
  width: 800%;
  position: relative;
}

.small-container .show-small-img{
  width: 70px;
  height: 70px;
  margin-right: 6px;
  cursor: pointer;
  float: left;
}
.small-container .show-small-img:last-of-type{
  margin-right: 0;
}

.premium-button-container{
	margin-left:20px;
}

.premium-button {
    display: inline-block;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    -webkit-transition: all .2s ease-in-out!important;
    transition: all .2s ease-in-out!important;
	background-color: #E0E0E0;
	padding: 10px 18px;
	border-radius: 25px;
	float: right;
}

@media only screen and (max-width: 767px) {
    .wphpc-main-wrapper {
        grid-template-columns: 100%;
    }
    .wphpc-main-wrapper .wphpc-item {
        width: 100%;
    }
    .wphpc-main-wrapper .wphpc-item img {
        width: 100%;
        height: auto;
        margin-bottom: 15px;
    }
    .wphpc-details-wrapper {
        display: block;
        width: 100%;
    }
    .wphpc-details-wrapper .wphpc-details-image {
        width: 100%;
        /*display: inline-block;*/
        padding: 10px;
        margin-bottom: 30px;
    }
    .wphpc-details-wrapper .wphpc-details-description {
        padding: 10px;
    }
	.small-img{
		height: 150px;
	}
	.small-container {
		height: 150px;
	}
	.small-container div {
		width: 100%;
	}
	.wphpc-details-wrapper .wphpc-details-image img{
		margin-bottom:5px;
	}	
}