.books-list {
    margin: 0 -10px;
}
.books-list .item {
    width: 25%;
    margin: 0 auto 30px;
    padding: 0 10px;
}
.books-list .item:nth-child(4n+1) {
    clear: left;
}
.books-list .item .box{
    border: 1px solid transparent;
    padding: 10px 10px 20px;
    background: url(../images/bg1.jpg);
    max-width: 275px;
    margin: 0 auto;
}
.books-list .box:hover{
    border-color: #FDB7B7;
	transition: all 200ms linear;
}
.books-list li .pic{
    position: relative;
    overflow: hidden;
    margin: 0 auto 20px;
    max-width: 248px;
}
.books-list .title {
    color: #F83939;
    font-size: 17px;
    margin: 10px 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 28px;
}
.books-list .description{
    height: 67px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.b-row{
    display: flex;
    margin-bottom: 80px;
}
.b-col:nth-child(1){
    width: 500px;
}
.b-col:nth-child(2){
    width: calc(100% - 500px);
    box-sizing: border-box;
    padding-left: 60px;
}
.gallery img,
.thumbnails img {
    width: 100%;
}
.thumbnails ul {
    margin: 0 -7px;
}
.thumbnails li {
    width: calc(100% / 6);
    padding: 7px;
}
.thumbnails a {
    display: block;
    max-width: 90px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.thumbnails a:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #14141473;
    opacity: 0;
    transition: all 0.3s;
}
.thumbnails a:hover:before,
.thumbnails li.active a:before {
    opacity: 1;
}
.books-header{
    margin-bottom: 30px;
}
.books-header .title{
    font-size: 24px;
    line-height: 1.8;
    margin: 0;
}
.books-detail{
    position: relative;
    padding-top: 40px;
    border-top: 1px solid #DEDEDE;
    border-width: 1px 0;
}
.bottom-title {
    background: #fa3939;
    width: 136px;
    text-align: center;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 30px;
    letter-spacing: 0.05em;
    position: absolute;
    top: -15px;
    left: 50%;
    margin-left: -68px;
}
@media screen and (max-width: 1200px) {
    .books-list .item {
        width:33.33%;
    }
    .books-list .item:nth-child(4n+1) {
        clear: unset;
    }
    .books-list .item:nth-child(3n+1) {
        clear: left;
    }
}
@media screen and (max-width: 1000px) {
    .b-col:nth-child(1){
        width: 50%;
        box-sizing: border-box;
        padding-right: 25px;
    }
    .b-col:nth-child(2){
        width: 50%;
        box-sizing: border-box;
        padding-left: 25px;
    }
}
@media screen and (max-width: 860px) {
    .books-list .item {
        width:50%;
    }
    .books-list .item:nth-child(3n+1) {
        clear: unset;
    }
    .books-list .item:nth-child(2n+1) {
        clear: left;
    }
}
@media screen and (max-width: 760px) {
    .b-row {
        flex-direction: column;
    }
    .b-col:nth-child(1){
        width: 100%;
        padding-right: 0;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
    }
    .b-col:nth-child(2){
        width: 100%;
        padding-left: 0;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    .books-header .title {
        font-size: 20px;
        line-height: 1.5;
    }
}
@media screen and (max-width: 480px) {
    .books-list .item {
        width:100%;
    }
}