
@font-face {
    font-family: ember_light;
    src: url(../../assets/fonts/amazon-ember/Amazon\ Ember\ Cd\ RC\ Light.ttf);
}

@font-face {
    font-family: ember_bold;
    src: url(../../assets/fonts/amazon-ember/Amazon\ Ember\ Cd\ RC\ Bold.otf);
}

@font-face {
    font-family: ember_thin;
    src: url(../../assets/fonts/amazon-ember/Amazon\ Ember\ Cd\ RC\ Thin.ttf);
}


.waresford_book_section{
    background-color: rgb(255, 255, 255);
    padding-left: 0px;
    min-height: unset;
    user-select: unset;

    padding: 20px 0;
    margin-bottom: 0.5rem;
    position: relative;
    /* font-family: ember_light; */
}


.waresford_book_section .pushbtn_wrapper {
    background-color: transparent;
    position: absolute;
    height: 100%;
    display: flex;
    align-items: center;
}

.booklistpanel {
    /* padding: 0 20px; */
    /* margin-top: 50px; */
    position: relative;
}


.waresford_book_section_header{
     display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
}

.waresford_book_section_header_title{
font-size: 24px;
font-family: ember_bold,Arial,sans-serif;
color: rgb(15, 17, 17);
margin: 0px;
padding: 0px;
text-transform: unset;
font-weight: bold;
line-height: 1.5;
}

.waresford_book_section_header_title_wrapper{
    padding: 14px 0px 10px;
}

.waresford_book_section_header_title_wrapper_gen{

    padding: 0px;
    max-width: 80%;
    width: 100%;
}

.waresford_see_all_books_section{
     display: flex;
    -webkit-box-pack: end;
    justify-content: flex-end;
    align-self: last baseline;
}

.waresford_see_all_books_section_a{
    border: transparent;
    background-color: rgb(255, 255, 255);
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 14px;
}

.waresford_see_all_books_section_a span{
    font-size: 14px;
    font-family: Arial, sans-serif;
    text-align: left;
    margin: 0px;
    max-height: 42px;
    color: rgb(0, 102, 192);
    padding-left: 0px;
    padding-right: 0px;
}

a, a:link, a:visited {
    text-decoration: none;
    color:#2162a1;
}

.hr{
    border-color: rgb(224, 224, 224);
    border-width: 1px;
    border-top-style: solid;
    margin: 10px 14px;
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
}

.m{
    display: flex;
    flex-direction: row;
    margin: 0px;
    padding: 0px;
    overflow: scroll;
    scrollbar-width: none;
    list-style-type: none;
}




.waresford_books_display_box{
    display: flex;
    gap: 10px;
    align-items: stretch;
    flex-wrap: nowrap;
    overflow-x: scroll;
    scrollbar-width:0;
    scrollbar-width: none;
}

.waresford_book_box{
    padding-left: 0px;
    padding-right: 0px;
    box-sizing: content-box;
    height: 100%;
    max-width: 180px;
    flex-shrink: 0;
}

.waresford_book_box_inner{
    width: min-content;
    min-width: 140px;
    display: flex;
    flex-direction: column;
}

.waresford_book_box_inner a{
    text-decoration: none;
    cursor: pointer;
}


.book-cover {
      height: 250px; 
      width: 100%;
      /* object-fit: contain; */
      display: block;
      border-radius: 4px;
      /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); */
    }

    .book-wrapper {
      max-width: 200px;
      margin: 0px;
      text-align: center;
    }

    .book-title {
      font-size: 14px;
      margin-top: 10px;
      color: #333;
    }


    .book_description_{

    }

    .book_description_ .book_name{
    font-size: 0.925rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    font-weight: bold;
    line-height: 1.25rem;
    color: #141616;
    margin-top: 5px;
    font-family: "ember_bold",Arial,sans-serif;
    }
    

    .star_rating_link{
    text-decoration: none;
    align-items: center;
    display: flex;

    }

    .star_container{
    display: flex;
    align-items: center;
    white-space: nowrap;
    line-height: 1.25rem;
    font-size: 0.875rem;
    }

    .rating{
        
    }

    .rating {
    color: #0f1111;
}

    .stars {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    padding: 0 4px 1px 2px;
}

.number_of_reviews{
        text-decoration: underline;
        color: #2162a1;
}

.program_badge{
    height: 20px;
    display: flex;
    align-items: center;
}

.book_format{
    font-size: 0.85rem;
    color: #565959;
    font-weight: 400;
    line-height: 1.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.waresford_book_price{
    color: #0f1111;
    /* display: inline-block; */
    margin-bottom: 0px;
    font-size: 1rem;
    line-height: 1.25rem;
    position: relative;
}

.waresford_book_price_inner{
    display: -webkit-inline-box; 
    display: -ms-inline-flexbox; 
    display: inline-flex;
    display: flex;
    align-items: flex-end; 
    gap: 2px; 
    font-family: ember_light,Arial,sans-serif ;

}

.waresford_book_price_inner .currency{
    font-size:0.625rem ;
    font-weight:600 ;
    line-height: 1rem;
    vertical-align: text-top;

}

.waresford_book_price_inner .price{
        font-size:1.125rem ;
        line-height: 1.5rem;
}

.top-align {
    align-self: flex-start; 
    position: relative;
    top: 2px; 
}



.buybooks .header {
    background-image: linear-gradient(to bottom, #0000007a, #00000087), url(../../assets/img/bannerbook4.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    height: 350px;
}

.subjects_wrapper {
    margin: 3px 0px 0px;
    /* flex: 1; */
    align-items: center;
    /* display: flex
; */
    position: relative;
    margin-top: 2px;
    width: 100%;
    background-color: transparent;
    padding: 05px 0px;
    min-width: 0;
    overflow: hidden;
}


.pushbtn_wrapper button, .pushbtn_wrapper button {
    /* padding: 10px 15px; */
    /* position: absolute; */
    /* right: 0; */
    /* top: 50%; */
    padding: 5px;
    font-size: 30px;
    background: white;
    font-weight: 900;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 8px #ccc;
    border-radius: 50%;
    width: 60px;
    height: 60px;
}


.relative{
    position: relative;
}
.pushbtn_wrapper button i {
    fill: #003b65e0;
    color: #003b65e0;
}

.pushbtn_wrapper
 {
    background-color: transparent;
    position: absolute;
}

.pushbtn_wrapper.left{
    left: 0;
}

.pushbtn_wrapper.right{
    right: 0;
}

.pushbtn_wrapper{
    top: 0;
}


.prev_books {
  display: none; 
}


.waresford_books_display_box {
    overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth;
}

.waresford_book_box {
    /* margin-right: 50px; */
}


.buybooks .search_header
 {
    background-color: #fff;
}



.waresford_book_box {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.waresford_book_box[style*="display: none"] {
  opacity: 0;
  transform: scale(0.95);
}
.waresford_book_box {
  opacity: 1;
  transform: scale(1);
}


@media(max-width:600px){

    .waresford_book_box{
    max-width: 150px;
    }

    .book-wrapper {
    max-width: 130px;
    margin: 0px;
    text-align: center;
}

    .pushbtn_wrapper button, .pushbtn_wrapper button{
        width: 45px;
        height: 45px;
        font-size: 25px;
    }

    .waresford_book_section_header_title{
        font-size: 18px;
    }

    #typing{
        height: 20px;
    text-transform: uppercase;
    text-align: center;

    }

    .findbooks{
        text-transform: uppercase;
    }

        .padline {
        padding: 1px 15px;
    }
    
    .book-cover {
    height: 190px;
    }

    .subject span{
        font-size: 16px;
    }
    
    .subject{
        /*padding:6px;*/
    }
    
    .buybookspadline {
    margin: 10px 0;
}

.subjects_wrapper {

    border-radius: 50%;
}
}


@media(max-width:450px){
    
     .waresford_book_section_header_title, .subject span{
        font-size: 14px;
    }
    
    .pushbtn_wrapper{
        display:none;
    }
}