.books {
    min-height: calc(100vh - 146px);
    margin:80px auto 30px;
    width:1366px;
}
.books .cates {
    float:left;
    width:320px;
    padding:20px;
    background:#fff;
}
.books .cates .title {
    font-size:18px;
    font-weight: bold;
    margin-bottom: 10px;
}
.books .cates .area a {
    font-size:15px;
    display: inline-block;
    width:68px;
    margin-top:8px;
}
.books .cates .area a.active {
    color:#0382c4;
    font-weight: bold;
}
.books .cates .tags {
    margin-top:30px;
}
.books .cates .layui-badge {
    font-size:15px;
    margin:5px 10px 5px 0;
}

.books .list  {
    width:946px;
    float:right;
    background:#fff;
    padding:20px;
}
.books .list .rec-title {
    font-size:18px;
    font-weight: bold;
  }
  .books .list .item {
    margin:20px 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
  }
  .books .list .item .pic {
    float:left;
    padding:2px;
    border:1px solid #ddd;
    margin-right:15px;
  }
  .books .list .item .pic img {
    width:80px;
  }
  .books .list .item h2 {
    font-size:18px;
    font-weight: bold;
  }
  .books .list .item .desc {
    font-size: 15px;
    margin-top:10px;
    max-height:48px;
    line-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .books .list .item .years {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    padding-top:10px;
    font-size:15px;
  }


.books .areas {
    width:1056px;
    float: left;
}
.books .areas .area-item {
    background: #fff;
    border-radius:4px; -webkit-box-shadow: 0 2px 6px rgba(26,26,26,.08); box-shadow: 0 2px 6px rgba(26,26,26,.08);
    padding:20px 20px;
    margin-bottom:20px;
}
.books .areas .area-item .area-name {
    font-size:16px;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: #d6f1ef solid 1px;
    height:32px;
    line-height: 32px;
}
.books .areas .area-item .area-name .name {
    display: inline-block;
    background-color: #0382c4;
    color:#fff;
    padding:0 10px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.books .areas .area-item .area-name a {
    float:right;
    font-weight: normal;
    font-size:16px;
}
.books .areas .area-item .item {
    line-height: 32px;
    display: inline-block;
    width:268px;
    font-size: 15px;
    background:#fafafa;
    margin-bottom:8px;
    padding-left:10px;
    margin-right:3px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.books .areas .area-item .item a {
    color:#0382c4;
}
.books .areas .area-item .search-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-top:10px;
}
.books .areas .area-item .search-item .pic {
    float:left;
    border:1px solid #ddd;
    padding:2px;
    margin-right:15px;
}
.books .areas .area-item .search-item .pic img {
    width:80px;
}
.books .areas .area-item .search-item .title{
    font-size:16px;
    font-weight: bold;
    line-height: 32px;
}
.books .areas .area-item .search-item .title a {
    color:#0382c4;
}
.books .areas .area-item .search-item .desc {
    font-size:15px;
    max-height:48px;
    line-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.books .areas .area-item .search-item .years {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    padding-top:10px;
    font-size:15px;
}

.books .side {
    float:right;
    width:255px;
    height:auto;
    background: #fff;
    border-radius:4px; -webkit-box-shadow: 0 2px 6px rgba(26,26,26,.08); box-shadow: 0 2px 6px rgba(26,26,26,.08);
    padding:20px 20px;
}
.books .side .h2 {
    font-size:18px;
    font-weight: bold;
    margin-bottom: 10px;
}
.books .side .item {
    line-height: 32px;
    font-size: 15px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.books .side .item a {
    color:#0382c4;
}
.books .mobile-cates {
    display: none;
}
.books .cates-contents {
    display: none;
}
.books .cates .area .pattern {
    margin-bottom: 10px;
}
.books .cates .area .pattern a{
    width:auto;
    color:#0382c4;
}
.books .cates .area .pattern a .icon-excel {
    display: block;
    float:left;
    width:24px;
    height:24px;
    background:url(../images/icon-excel.png) center no-repeat;
    background-size: cover;
    margin:4px 3px 0 0;
}

@media screen and (max-width:768px) {
    .books {
        width:100%;
    }
    .books .side{
        display: none;
    }
    .books .areas {
        float: none;
        width:100%;
    }
    .books .cates {
        display: none;
    }
    .books .list {
        float:left;
        width:calc(100% - 40px);
    }
    .books .mobile-cates {
        display: block;
        width:2rem;
        position: fixed;
        left:0;
        top:70px;
        
    }
    .books .mobile-cates .title {
        background-color: rgba(0, 133, 205,0.9);
        text-align: center;
        color:#fff;
        margin-bottom: 10px;
        padding:10px 0;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
    }
    .books .cates-contents {
        position: fixed;
        top:50px;
        left:0;
        width:100vw;
        background-color: rgba(0, 133, 205,0.9);
        height:calc(100vh - 50px);
        z-index: 99;
        overflow: auto;
    }
    .books .cates-contents a {
        display: inline-block;
        width:45%;
        color:#ddd;
        padding:0 20px;
        box-sizing: border-box;
        font-size:1.6rem;
        line-height: 42px;
    }
    .books .cates-contents .title {
        font-weight: bold;
        color:#fff;
        font-size:1.6rem;
        line-height: 3.2rem;
        padding:0 20px;
    }
    .books .cates-contents a.active {
        color:#fff;
        font-weight: bold;
    }
    .books .cates-contents a.layui-bg-gray {
        color:#ddd !important;
        background: none !important;
        width:32%;
    }
    .books .cates-contents a.layui-bg-blue {
        color:#fff !important;
        background: none !important;
        width:32%;
        font-weight: bold;
        background:rgba(0, 133, 205,1);
    }
    .books .cates-contents .close-cate {
        color:#fff;
        position: fixed;
        top:60px;
        right:20px;
        line-height: 3.2rem;
    }
}