@charset "UTF-8";

.filter-more {
  color: var(--color-primary);
  line-height: 24px;
}
.filter-more:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* 顶部横向导航 */

/* 顶部横向导航 */
.row-nav-wrapper {
  background: #1c84ff;
  color: #fff;
  font-size: 14px;
}
.row-nav-container {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  background: #1c84ff;
}
.row-nav-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 40px;
}
.row-nav-item:hover {
  background: var(--color-primary);
  color: #fff;
}
.row-nav-item.active {
  background: var(--color-primary);
  font-weight: bold;
}

/* ---------- 我是分割线 ---------- */

.main-content-wrapper {
  width: 1200px;
  margin: 0 auto;
}

/* 带侧边栏的内容 */
.content-and-aside {
  display: flex;
  justify-content: space-between;
}
.content-wrapper {
  width: 900px;
  background: #fff;
  border-radius: 4px;
  padding: 20px 20px 0;
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}
.aside-wrapper {
  width: 280px;
}
.aside-list + .aside-list {
  margin-top: 20px;
}

/* ---------- 我是分割线 ---------- */

/* 筛选 */
.filter-type {
  width: 1200px;
  background: #fff;
  border-radius: 4px;
  padding: 20px 20px 10px;
  font-size: 12px;
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}
.filter-wrapper {
  width: 1200px;
  background: #fff;
  border-radius: 4px;
  padding: 20px 20px 10px;
  font-size: 12px;
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  margin-bottom: 15px;
}
.filter-label {
  width: 60px;
  margin-right: 10px;
  line-height: 24px;
}
.filter-container {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
}
.filter-item {
  height: 24px;
  padding: 0 12px;
  border-radius: 4px;
  color: #666;
  margin: 0 6px 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.multiple{
  margin-bottom: -10px;
}

.multiple .filter-item{
  margin-bottom: 10px;

}
.filter-item:not(.active):hover {
  color: var(--color-primary);
  cursor: pointer;
}
.filter-item.active {
  color: #fff;
  background: var(--color-primary);
}

/* ---------- 我是分割线 ---------- */

.book-list-container {
}
/* 列表 */
.book-list-item {
  border-radius: 4px;
  box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.1);
  display: flex;
  width: 860px;
  height: 220px;
  padding: 20px;
}
.book-list-item + .book-list-item {
  margin-top: 20px;
}
.book-list-item .book-image-wrapper {
  position: relative;
  width: 128px;
  margin-right: 20px;
}
.book-list-item .book-image {
  width: 128px;
  height: 180px;
  border-radius: 2px;
}
.book-list-item .book-type-icon {
  position: absolute;
  top: 0;
  right: 0;
}
.book-list-item .book-info-wrapper {
  flex: 1;
}
.book-list-item .name-and-fav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.book-list-item .book-name {
  /*flex: 1;*/
  /*width: 0;*/
  font-size: 18px;
  font-weight: 700;
   display: -webkit-box;
  /* -webkit-line-clamp 其实是一个不规范属性，使用了WebKit的CSS扩展属性，该方法适用于WebKit浏览器及移动端；*/
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mianfei-icon{
  background: forestgreen;
  text-align: center;
  width:40px;
  height:26px;
  padding: 5px;
  color:#fff;
  font-size: 12px;
  border-radius: 4px;
  margin-right:10px;
}
.jifen-icon{
  background: rgb(0, 96, 255);
  text-align: center;
  width:70px;
  height:26px;
  padding: 5px;
  color:#fff;
  font-size: 12px;
  border-radius: 4px;
  margin-right:10px;
}
.vip-icon{
  background: rgb(223, 6, 47);
  text-align: center;
  width:68px;
  height:26px;
  padding: 5px;
  color:#fff;
  font-size: 12px;
  border-radius: 4px;
  margin-right:10px;
}
.book-list-item .fav-wrapper {
  display: flex;
  align-items: center;
  font-size: 12px;
  cursor: pointer;
  color: #999;
  margin-left: 10px;
}
.book-list-item .fav-wrapper.active {
  color: #f5841c;
}
.book-list-item .fav-icon {
  margin-right: 6px;
}
.book-list-item .time-and-total {
  margin-top: 20px;
  font-size: 14px;
  line-height: 18px;
  display: flex;
}
.book-list-item .time-and-total > div + div {
  /* margin-left: 40px; */
}
.book-list-item .type-name-wrapper {
  /* width: 92px; */
  width: 132px;
}
.book-list-item .date-wrapper {
  width: 164px;
}
.book-list-item .view-num-wrapper {
  width: 130px;
}
.book-list-item .label {
  color: #999;
}
.book-list-item .price-money,
.book-list-item .price-score {
  color: #f51111;
}
.book-list-item .price-free {
  color: var(--color-primary);
}
.book-list-item .type-name {
  text-transform: uppercase;
}
.book-list-item .book-desc {
  margin-top: 20px;
  height: 36px;
  line-height: 18px;
  font-size: 14px;
  color: #666;
}
.book-list-item .detail-link-wrapper {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}
.book-list-item .detail-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90px;
  height: 30px;
  font-size: 14px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 4px;
}
.book-list-item .detail-link:hover,
.book-list-item .detail-link:focus {
  color: #fff;
  box-shadow: 0px 0px 4px 1px rgba(5, 109, 232, 0.4);
}

/* 分页 */
.pagination-wrapper {
  margin-top: auto;
  padding: 30px 0;
}

/* ---------- 我是分割线 ---------- */

/* 数据为空 */
.data-empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 362px;
}
.data-empty .empty-img {
  width: 200px;
  height: 200px;
}
.data-empty .empty-text {
  margin-top: 38px;
}
