@font-face {
  font-family: 'Poppins Medium';
  src: url('../font/Poppins-Medium.ttf') format('truetype');
}

@font-face {
  font-family: 'Poppins Regular';
  src: url('../font/Poppins-Regular.ttf') format('truetype');
}


@font-face {
  font-family: 'Lora Regular';
  src: url('../font/Lora-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Lora Bold';
  src: url('../font/Lora-Bold.ttf') format('truetype');
}
/* 
@font-face {
  font-family: 'Roboto Bold';
  src: url('../font/Roboto-Bold.ttf') format('truetype');
} */

/************** Display Books **************************/

.rm-products{
	font-family:'Poppins Regular';
}
.display-products-wrapper{
	display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: 40px;
	row-gap:0px;
  
    
}

.display-products-wrapper .product-container{
	display:block;
	position:relative;
	overflow:hidden;
}
.display-products-wrapper .product-container .product-image-container{
	width:100%;
	display:block;
	position:relative;
	overflow:hidden;
}
.display-products-wrapper .product-container .product-image-container::after{
	content: "Buy Now";
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #f5f5f5!important;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Poppins Regular';
    background-color: #b72025;
    font-weight: bold;
    height: 45px;
    width: 116px;
    display: grid;
    place-content: center;
    cursor: pointer;
    letter-spacing: .5px;
    z-index: 3;
	transition:all 300ms ease;
	
}

.display-products-wrapper .product-container .product-image-cover{
	width:100%;
	height:100%;
	background-color:transparent;
	position:absolute;
	z-index:2;
}
.display-products-wrapper .product-container .product-image-container:hover::after{	
	top:50%;
}

.display-products-wrapper .product-container .product-image-container:hover .product-image-cover{
	background-color:rgba(000,000,000,.5)
}



.display-products-wrapper .product-container img{
	height:310px;
	width:100%;
	vertical-align:middle;

}

.display-products-wrapper .product-container .product-title{
	text-overflow: ellipsis;
/* 	white-space: nowrap; */
	overflow: hidden;
	font-size:17px;
	color:#222;
	padding:0;
	line-height:1.5em;
	font-weight:600;
	text-align:center;
	font-family:'Lora Bold';
	margin-top:5px;
}
.display-products-wrapper .product-container .product-content strong{
	display:none;
}
.display-products-wrapper .product-container .product-content{
	font-size:0;
	
}
.display-products-wrapper .product-container .product-content *{
	line-height: 1.3em;
	font-size:15px;
	color:rgba(000,000,000,.8);
    font-weight: 600;
    padding: 0px;
    text-align: center;
    margin-top: 5px;
	font-family:'Lora Regular';

	
}
@media only screen and (max-width:1450px){
	.display-products-wrapper{	
		
		column-gap:30px;
	}

}
@media only screen and (max-width:1300px){
	.display-products-wrapper{	
		grid-template-columns: repeat(5, minmax(0, 1fr));
		column-gap:20px;
	}

}

@media only screen and (max-width:1100px){
	.display-products-wrapper{	
		grid-template-columns: repeat(4, minmax(0, 1fr));
		column-gap:20px;
	}

}

@media only screen and (max-width:980px){


}


@media only screen and (max-width:550px){
	.display-products-wrapper{
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap:15px;
	}
	
	.display-products-wrapper .product-container img{
		
		object-fit:cover;
	}
	
}
@media only screen and (max-width:375px){
	.display-products-wrapper{
		grid-template-columns:100%;
		
	}
	
	.display-products-wrapper .product-container img{
		height:auto;
		
	}
	
}


/*************** rm loading spinner  *****************/
.rm-spinner{
    position: absolute;
    background-image:linear-gradient(rgba(255,255,255,.5),rgba(255,255,255,.5)) ;
    height: 100%;
    width: -moz-available;          /* WebKit-based browsers will ignore this. */
    width: -webkit-fill-available;  /* Mozilla-based browsers will ignore this. */
    width: fill-available;
    top:0;
    left:0;
	z-index:10;
}
.rm-spinner::before{
    content: "";
    width: 50px;
    height: 50px;
    border-top: 10px solid #b72025;
    border-bottom: 10px solid #fad8d9;
    border-right: 10px solid #b72025;
    border-left: 10px solid #fad8d9;
    border-radius: 50%;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 2;
    animation: rotationSpinner 500ms infinite linear;
    transform-origin: center;
   
}
@keyframes rotationSpinner {
    from {
      transform:translate(-50%,-50%) rotate(0deg);
    }
    to {
      transform:translate(-50%,-50%) rotate(360deg);
    }
}

/********************** RM Pagination *************************/
.rm-pagination{
    display: flex;
    gap:10px;
    justify-content: center;
    padding:40px 0;
    flex-wrap: wrap;
}
.rm-pagination span,
.rm-pagination .page-numbers{
    font-family: 'Poppins Medium';
    border-radius:5px;
    display: inline-block;
    padding:10px 0;
    height: 40px;
    width: 40px;
    text-align: center;
    background-color:#FAD8D9;
    font-size:16px;
    color:#B72025;
}

.rm-pagination .current{
    background-color: #B72025;
    color:#fff;

}
.rm-pagination .rm-pagination-next{
    padding:0 ;
    margin:0 ;
    content:"▶";
    position:relative;
    transform: translateY(-10px);
}
.rm-pagination .rm-pagination-next::before{
    content:'';
    position:absolute;
    left:50%;
    top:50%;
    transform: translate(-50%,-50%);
    border-style: solid;
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent #B72025;

}
.rm-pagination .rm-pagination-prev{
    padding:0 ;
    margin:0 ;
    position: relative;
    transform: translateY(-10px);
}
.rm-pagination .rm-pagination-prev::before{
    content:'';
    position:absolute;
    left:50%;
    top:50%;
    transform: translate(-50%,-50%);
    border-style: solid;
    border-width: 8px 12px 8px 0px;
    border-color: transparent #B72025 transparent transparent;

}
/****************** Search Input ************************/
.search-input-container{
	width:100%;
	max-width:400px;
}

.search-input-container form{
  
    width:100%;
    background-color: #fff;
    padding: 5px;
    align-items: center;
    border-radius: 5px;
    display: grid;
    grid-template-columns: auto 80px;
    position: relative;
	height:54px;
}
.search-input-container form.search-for-book{
    border:1px solid rgba(000,000,000,.5);
	margin-left:auto;
}

.search-input-container .search-field{
    outline:none;
    border:none;
    font-size:16px;
    background-color: #fff;
    font-family: "Poppins Regular";
    height: 34px;
	padding-left:15px;
}
.search-input-container button{
	display: grid;
	place-content: center;
	background-color: #b72025;
	border-radius:5px;
	width:80px !important;
	border: 1px solid #b72025;
	color:#fff;
	transition:300ms ease 0ms;
	height:100%;
	cursor:pointer;
}
.search-input-container button:hover{
	transform:scale(1.1);
}


.rm-search-form{
    position: relative;
}
.input-searchContent-result{
    min-height: 300px;
    width:100%;
    max-width: inherit;
    position:absolute;
    top:100%;
    left:0;
    background-color:#fff;
    z-index:2;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    overflow: hidden;
    box-shadow: 1px 3px 10px rgba(0, 0, 0, 0.1);
    max-height: 700px;
    overflow-y: auto;
	z-index:9;
}
.rm-search-results{
    width: 100%;
    padding:20px 10px;

}
.rm-search-results a{
    font-size: 16px;
    font-family: 'Poppins Regular';
    color: #222;
    border-bottom: 1px solid rgba(000,000,000,.1);
    padding: 10px 0px 10px 5px;
    text-transform: capitalize;
	display: grid;
    grid-template-columns: 100px auto;
    gap: 20px;
}
.rm-search-results .not-found{
	font-size: 16px;
    font-family: 'Poppins Regular';
    color: #222;
    border-bottom: 1px solid rgba(000,000,000,.1);
    padding: 10px 0px 10px 5px;
}
.rm-search-results a:hover{
    background-color: rgba(000,000,000,.08);
}
/***************** Select button category**************************/
#rm-books-category{
	padding: 10px;
    font-family: 'Poppins Regular';
    font-size: 16px;
    outline: none;
    border: 1px solid rgba(000,000,000,.5);
    border-radius: 5px;
    height: 54px;
	appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.book-filter-container{
	display:flex;
	gap:20px;
	flex-wrap:wrap;
	justify-content:flex-end;
}