/*body*/
body{
    background-color: #f0f0f0;
}
/*book empty style */
#bookemtpy{
    position: absolute;
    width: auto;
    height: auto;
    background-color: #000000e6;
    padding: 14px;
    text-align: center;
    box-shadow: 3px 3px 6px #9999994d;
    margin : 14px;
    border-radius: 25px;
    

    font-size: 60px;
    color: #ffffff;
}
#bookdiv{
    text-align: center;
    padding-bottom: 10px;
}
/*bookitem style */
#bookitem{
    width: 225px;
    height: 329px;
    margin: 6px;
    display: inline-flex;
    border-radius: 25px;
    background: #ffffff;
    box-shadow: 3px 3px 6px #999999b3;
    transition: all .4s ease;
    text-align: center;
    text-decoration: none;
    color: #000000;
}
#bookitem:hover{
    background-color: #b3b3b3;
    color: #ffffff;
}
#bookitem:hover #bookitemdescription{
    color: #dedede;
}
#bookitemdiv{
    width: 100%;
    height: 100%;
}

#bookitemname{
    overflow: hidden;
    text-overflow: clip;
    width: 100%;
    height: 23px;
    position: relative;
}
#bookitemdescription{
    overflow: hidden;
    text-overflow: clip;
    width: 100%;
    height: 23px;
    position: relative;
    color: #b3b3b3;
}

#bookitemphoto{
    width: calc(100% - 30px);
    height: calc(100% - 70px);
    vertical-align: middle;
    object-fit: cover;
    border-radius: 25px;
    background: #ffffff;
    top:0px;
    margin: 6px;
    box-shadow: 3px 3px 6px #999999b3;
}
/* button */
#bookitemmore{
    margin: 8px;
    border-radius: 25px;
    box-shadow: 3px 3px 6px #9999994d;
}
#bookitemmore a{
    display: block;
    background: #ffffffe6;
    color: #000000;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
    border-radius: 25px;
    padding: 10px;
}
#bookitemmore a:hover{
    background-color: #b3b3b3;
    color: #ffffff;
}
/*loader*/
#bookitemloaderdiv{
    width: 100%;
    position: absolute;
    display: none;
    left: calc(50%);
}
#bookitemloader{
    border: 9px solid #9999994d;
    border-top: 9px solid #000000e6;
    border-right: 9px solid #000000e6;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}