/* Font */
@import url('https://fonts.googleapis.com/css?family=Montserrat:300,300i,400,400i,500,600,700,700i&display=swap');

/* BASE CSS */
*{
    padding: 0;
    margin: 0;
}
body{
    font-size: 14px;
    color: #333;
    font-family: 'Kalpurush','Montserrat', sans-serif;
}
a
{
    text-decoration: none!important;
}

.navbar-light .navbar-nav .nav-link {
	color: rgba(0,0,0,.6);
	font-size: 18px;
}
a.logo-img img {
    height: 60px;
}
@media only screen and (max-width: 768px) {
a.logo-img img {
    height: 45px;
}
}

span.image-circle img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin-right: 2px;
}
nav#nav-top {
    min-height: 50px;
}
@media only screen and (max-width: 768px) {
nav#nav-top {
    min-height: 0px;
}
}
.shopping-cart {
    position: relative;
}
span.quantity-input {
    display: inline-block;
    border: 1px solid #F8F9FA;
    border-radius: 5px;
    background: #F8F9FA;
}

.shopping-cart .count-cart {
    position: absolute;
    top: 0px;
    right: -5px;
    background: #008b44;
    width: 18px;
    height: 18px;
    color: #fff;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    border-radius: 50%;
}

ul.ctg-list {
    padding: 0;
    margin: 0;
}

ul.ctg-list li {
    list-style: none;
    padding: 10px 2px;
    border-bottom: 1px solid #f5f5f5;
}

ul.ctg-list a {
    color: #333;
    text-decoration: none;
    text-transform: capitalize;
    transition: .4s;
}

ul.ctg-list li:hover {    
    //background-color: #64AD2A;
    //background-image: linear-gradient(rgba(255,255,255,0.2),#64AD2A,#64ad2a,rgba(255,255,255,0.2));
    background-image: linear-gradient(to bottom, #64AD2A 0%, #19692c 51%, #64AD2A 100%);
    color:#ffffff;
}
ul.ctg-list li:hover a {    
    color:#ffffff;
}
.ctg-item.active {
	//background-color: #64AD2A;
        background-image: linear-gradient(to bottom, #64AD2A 0%, #19692c 51%, #64AD2A 100%);
    color:#ffffff;
}
.ctg-item.active a{
    color:#ffffff;
}
.navbar-light .navbar-nav .nav-link.active{
	color: #28a745;
          font-weight: bold;
}
.slider-img
{
    display: block;
    width: 100%;
    aspect-ratio: 1000 / 200;
height: auto;
    background-color: #dddd;
    background-position: center;
    background-size: cover;
    position: relative;
}
.slider-img:after {
    position: absolute;
    background: rgb(4,3,36);
    background: radial-gradient(circle, rgba(4,3,36,1) 0%, rgba(25,1,3,1) 64%, rgba(58,4,10,1) 74%, rgba(121,9,24,1) 100%, rgba(186,190,191,1) 100%);
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.1;
}
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
	color: #28a745;
}

.recent-book-list a {
    color: #333;
    text-decoration: none;
}
.recent-book-list a:hover
{
    color: #64AD2A;
}

.book-image img {
    //width: calc(min(100%,200px));
    width: 100%;
height: auto;
}
.book-image{
     position: relative;
}
.discount-tag {
    position: absolute;
    left: 0;
    bottom: 0;
}
.line-through {
    text-decoration: line-through;
}
.book-title a {
    color: #333;
    transition: .3s;
}
.book-title a:hover{
    color: #479F00
}
.book-img-details img {
    max-width: 100%;
    height: auto;
    transition: all 1s;
}
.book-img-details img:hover {    
    transform: scaleX(0.98)
}

.author-img img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background-color: #fafafa;
}
.book-tag a {
    font-size: 16px;
}
span.quantity-input a {
    display: inline-block;
    background: #F8F9FA;
    padding: 2px 12px;
    color: #333;
    font-size: 18px;
}

span.quantity-input input {
    border: none;
    width: 45px;
    text-align: center;
    padding: 6px 0;
}
span.quantity-input input:focus{
    outline: none;
}
.book-title{
line-height: 1.4em;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
}
.book-wrap{
    text-align: center;
    font-size: 110%;
}
.book-image{
    overflow: hidden;
}
.book-image img{
    transition: transform 1s;
    object-fit: cover;
}
.book-image img:hover{
    transform: scale(1.1)
}
