@charset "utf-8";
/* 首页 CSS Document */


/*Banner轮播*/
.offcnIndex_swiper {
    width: 100%;
    /*margin: 0 auto 38px;*/
    margin: 0 auto 18px;
    position: relative;
    overflow: hidden;
}

.offcnIndex_swiper .swiper-slide a {
    display: block;
}

.offcnIndex_swiper .swiper-slide a img {
    display: block;
    width: 100%;
}

.offcnIndex_swiper .prev,
.offcnIndex_swiper .next {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    width: 34px;
    height: 66px;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 3;
    cursor: pointer;
}

.offcnIndex_swiper .prev {
    background-image: url("../image/button_left.png");
    left: 14px;
}

.offcnIndex_swiper .next {
    background-image: url("../image/button_right.png");
    right: 14px;
}

/*Cross 横通*/
.offcnIndex_cross {
    display: none;
    width: 100%;
    margin: 0 auto 18px;
    position: relative;
    overflow: hidden;
}

.offcnIndex_cross img {
    display: block;
    width: 100%;
}

/*图书展示*/
.offcnIndex_wrap {
    padding-bottom: 50px;
    background-color: #f6f6f6;
}

.bookshelf_title {
    padding: 46px 0 40px;
    text-align: center;
}

.bookshelf_title span {
    position: relative;
    display: inline-block;
    padding: 0 14px;
    font-size: 40px;
    line-height: 40px;
    color: #E74F54;
}

.bookshelf_title span:before,
.bookshelf_title span:after {
    content: "";
    position: absolute;
    top: 8px;
    z-index: 3;
    width: 34px;
    height: 25px;
}

.bookshelf_title span:before {
    left: -34px;
    background: url("../image/title_l.png") no-repeat;
}

.bookshelf_title span:after {
    right: -34px;
    background: url("../image/title_r.png") no-repeat;
}

.bookshelf_body {
    overflow: hidden;
    background-color: #fff;
    border: 1px solid rgba(60, 60, 62, 0.2);
    border-radius: 12px;
}

.bookshelf_body .bookshelf_tab {
    display: -webkit-flex;
    display: flex;
    margin-bottom: 26px;
    background-color: #e74f54;
}

.bookshelf_body .bookshelf_tab li {
    position: relative;
    width: 228px;
    height: 57px;
    font-size: 0;
    line-height: 57px;
    text-align: center;
    cursor: pointer;
}

.bookshelf_body .bookshelf_tab li:after {
    content: "";
    position: absolute;
    right: -10px;
    bottom: 0;
    display: none;
    width: 10px;
    height: 10px;
    background: url("../image/tab_radius.png") no-repeat;
}

.bookshelf_body .bookshelf_tab li a {
    display: inline-block;
    width: 100%;
    vertical-align: middle;
    font-size: 20px;
    line-height: 22px;
    color: #fff;
}

.bookshelf_body .bookshelf_tab li.active {
    background: #fff;
    border-radius: 0 10px 0 0;
}

.bookshelf_body .bookshelf_tab li.active a {
    color: #3C3C3E;
}

.bookshelf_body .bookshelf_tab li.active a:hover {
    text-decoration: none;
}

.bookshelf_body .bookshelf_tab li.active:after {
    display: block;
}

.bookshelf_body .bookshelf_content {
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    padding: 0 22px 0 24px;
}

.bookshelf_body .book_list {
    display: none;
    height: 595px;
    margin-right: 14px;
    flex-wrap: wrap;
    align-content: space-between;
}

.bookshelf_body .book_list.flex {
    display: flex;
    display: -webkit-flex;
}

.bookshelf_body .book_list .book_item {
    position: relative;
    width: 250px;
    height: 290px;
    padding-top: 30px;
    margin-right: 13px;
    background-color: #f6f6f6;
}

.bookshelf_body .book_list .book_item:nth-child(4n) {
    margin-right: 0;
}

.bookshelf_body .book_list .book_item .book_img_box {
    height: 150px;
    padding: 0 10px;
    overflow: hidden;
}

.bookshelf_body .book_list .book_item .book_img {
    display: block;
    margin: 0 auto;
    width: 230px;
    height: 130px;
}

.bookshelf_body .book_list .book_item .book_title {
    padding: 5px 10px 0 10px;
    color: #000000;
    font-size: 16px;
    line-height: 18px;
    /*font-weight: bold;*/
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bookshelf_body .book_list .book_item .book_btn {
    position: absolute;
    left: 0;
    right: 0;
    width: 106px;
    height: 28px;
    margin: 0 auto;
    bottom: 30px;
    font-size: 12px;
    font-weight: bold;
    line-height: 26px;
    color: #000;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.5);
}

.bookshelf_body .book_list .book_item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}


.bookshelf_body .book_list .book_item:hover img {
    transition: all .3s;
    transform: scale(1.04);
}

.bookshelf_body .book_list .book_item:hover span {
    color: #fff;
    background: #cf0000;
    border: 1px solid #cf0000;
}

.bookshelf_body .right_swiper {
    width: 249px;
    position: relative;
}

.bookshelf_body .swiper .swiper-slide a,
.bookshelf_body .swiper .swiper-slide a img {
    display: block;
    width: 100%;
}

.bookshelf_body .swiper-pagination {
    position: absolute;
    width: 200px;
    padding-left: 35px;
    left: 0;
    bottom: 20px;
    font-size: 0;
    z-index: 1;
}

.bookshelf_body .swiper-pagination span {
    display: inline-block;
    width: 22px;
    height: 5px;
    vertical-align: top;
    margin-left: 5px;
    cursor: pointer;
    background: #fff;
}

.bookshelf_body .swiper-pagination span.swiper-pagination-bullet-active {
    background: #ff7700;
}

.bookshelf_body .search_more {
    display: block;
    text-align: center;
    color: #3C3C3E;
    font-size: 20px;
    line-height: 74px;
}

.bookshelf_body .search_more:hover {
    color: #cf0000;
    text-decoration: none;
}

@media screen and (max-width: 1600px) {
    .layout_main{
		width: 1200px;
	}
	
	.nav_list{
		width: auto;
		flex: 1;
	}
	
	.nav_list .nav{
		padding: 6px 0;
	}
	
	.bookshelf_body .book_list .book_item{
		width: 280px;
		height: 290px;
		margin-right: 20px;
		padding-top: 14px;
	}
	
	.bookshelf_body .book_list{
		margin-right: 20px;
	}
	
	.bookshelf_body .book_list .book_item:nth-child(4n){
		margin-right: 20px;
	}
	
	.bookshelf_body .book_list .book_item:nth-child(3n){
		margin-right: 0;
	}
	
	.bookshelf_body .book_list .book_item:nth-child(7n),
	.bookshelf_body .book_list .book_item:nth-child(8n){
		display: none;
	}
	
	.bookshelf_body .book_list .book_item .book_img{
		width: 255px;
		height: 144px;
	}
	
	.bookshelf_body .book_list .book_item .book_title{
		padding-top: 20px;
	}
}