/* .home-slider .flickity-page-dots {
    text-align: right;
    right: 5px;
}

.home-slider .flickity-page-dots .dot {
    --dot-size: 8px;
    border: 1px solid #fff;
    --dot-bg: transprent;
    opacity: 1;
    margin-right: 8px;
}

.home-slider .flickity-viewport,
.home-slider .img-slide,
.home-slider img {
    border-radius: 0px;
}

.home-slider .flickity-page-dots .dot.is-selected {
    --dot-bg: #fff;
}

.list-category {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
}

.list-category .block,.list-category-sub .block {
    padding: 12px 12px;
    display: flex;
    align-items: center;
}

.list-category a,.list-category-sub a {
    color: #0F4C81;
    word-wrap: break-word;
    font-size: 1rem;
}

.list-books {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
}

.list-books .block .thumb-res::before {
    content: none;
}

.list-books .block .thumb-res.square {
    --thumb-res-square: 150%;
}

.list-books .block .info .name-author {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.list-library .block {
    display: -webkit-box;
    display: -moz-box;
    display: flex;
}

.list-library .block .thumb-res {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: var(--thumb-width, 20%);
    padding-bottom: 20%;
    -webkit-box-ordinal-group: 3;
    margin-right: 1rem;
    box-shadow: none;
}

.list-library .block .name-library {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.carousel-rating .numb-rating span {
    margin-left: 10px;
    width: var(--w);
    -webkit-box-flex: 0;
    -ms-flex: 0 0 var(--w);
    flex: 0 0 var(--w);
    min-height: 50px;
    padding: 5px 0 3px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    position: relative;
    background: #0F4C81;
    font-size: 24px;
}

.carousel-rating .numb-rating span::after {
    content: "";
    border: 16px solid #0F4C81;
      border-bottom-color: rgb(15, 76, 129);
      border-bottom-style: solid;
      border-bottom-width: 13px;
    border-bottom: 12px solid transparent;
    position: absolute;
    right: 0;
    bottom: -12px;
    left: 0;
    z-index: -1;
    border-radius: 0px 0px 2px 2px;
  }
  .packed{
    display: none;
    margin-top: 1rem;
    width: calc(100% - 30px);
    margin-left: auto;
  }
  .packed.active{
    display: block;
  }
.packed a.packed-item{
    color: #0F4C81;
    display: block;
    border: 1px solid #0F4C81;
    padding:0.5rem 0.25rem;

}
.packed a.packed-item.selected{
    color:#fff;
    background: #0F4C81;
}

.packed .price{
    color:#0F4C81;
    font-weight: 400;
}
.packed a.packed-item.selected .price{
    color:#fff;
} */
.group-options{
    position: fixed;
    bottom:80px;
    left:0;
    right:0;
    display: flex;
    justify-content: center;
    padding: 10px 0;
    align-items: center;
    background-color: #fff;
    box-shadow: 0px -2px 3px rgba(0,0,0,0.15);
    z-index: 99;
    max-width: 420px;
    margin:auto;
}
.group-options .chapter{
    display: flex;
    align-items: center;
}
.group-options .chapter .btn{
    font-size:18px;
    width:30px;
    display: flex;
    height:30px;
    justify-content: center;
    align-items: center;
    flex:0 0 auto
}
.group-options .chapter .form-select{
    flex:0 0 auto;
    width:calc(100% - 30px - 30px);
}
.group-options .block-options {
    position: relative;
    padding: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
  }
.group-options .block-options:hover .block-sub{
    opacity: 1;
    visibility: visible;
}
.group-options .block-options .block-sub{
    position: absolute;
    bottom:100%;
    left:0;
    right:0;
    background-color: #fff;
    min-width:100px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 2px 1px rgba(0,0,0,0.15);
    z-index: 2;
    transform: translateX(-30%);
    display: flex;
    align-items: center;
    justify-items: center;
    padding:10px;
    gap:0 10px;
}
.block-font{
    padding:0.5rem;
}
.block-font:hover .change-font{
    opacity: 1;
    visibility: visible;
    
}
.block-font .change-font{
    position: absolute;
    bottom:100%;
    left:0;
    right:0;
    display: flex;
    align-items: center;
    padding:0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    background-color: #fff;
    box-shadow: 0 2px 1px rgba(0,0,0,0.15);
    z-index: 3;
    justify-content: center;
    min-width: 150px;
    transform: translateX(-50%);
}

.block-font .change-font .control-down, .block-font .change-font .control-up, .block-font .change-font .form-control {
    height: 25px;
    width: 25px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25px;
    flex: 0 0 25px;
    text-align: center;
    border-radius: 0;
    color: #4d4f67;
    border: 1px solid #9B9B9B;
  }
  .block-font .change-font .control-down, .block-font .change-font .control-up {
    font-weight: 400;
    font-size: 14px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none !important;
    border-radius: 2px;
    color: #9B9B9B;
  }
  .block-font .change-font .form-control {
    width: 60px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 60px;
    flex: 0 0 60px;
    padding: 0 6px;
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    border: none;
  }
  .block-font .change-font .control-up {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
  }
  .block-font .change-font .control-down {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
  }
  .block-color .change-color{
    position: absolute;
    bottom:100%;
    left:0;
    right:0;
    padding:10px;
    background-color: #fff;
    min-width:50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 1px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
  }
  .block-color .change-color .color{
    margin-bottom: 8px;
  }
  .block-color:hover .change-color{
    opacity: 1;
    visibility: visible;
  }
.block-color .color{
    display: flex;
    background: #ffff;
    border-radius: 50%;
    width:25px;
    height:25px;
    border:1px solid rgba(192,192,192,0.6);
    cursor: pointer;
}
.color.color-yellow{
    background: #FAFAD2;
}
.color.color-gray{
    background: #D3D3D3;
}
 