#index {
    padding-bottom: 50px;
}

.carousel {
    height: 30vw;
    position: relative;
    overflow-x: hidden;
}

.carousel:hover .carousel_arrow {
    display: block;
}

.carousel .carousel_item {
    width: 100%;
    display: inline-block;
    overflow: hidden;
    position: absolute;
    z-index: 0;
}

.carousel img {
    width: 100%;
    height: 30vw;
    display: block;
    object-fit: cover;
}

/* 手机端轮播图适当加高，避免裁剪过度 */
@media only screen and (max-width: 767px) {
    .carousel {
        height: 45vw;
    }

    .carousel img {
        height: 45vw;
    }
}

.carousel .carousel_arrow {
    border: none;
    outline: 0;
    padding: 0;
    margin: 0;
    height: 36px;
    width: 36px;
    cursor: pointer;
    -webkit-transition: .3s;
    transition: .3s;
    border-radius: 50%;
    background-color: rgba(31, 45, 61, .11);
    color: #FFF;
    position: absolute;
    top: 50%;
    z-index: 100000;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
    font-size: 12px;
    display: none;
}

.carousel .carousel_arrow:hover {
    background-color: rgba(31, 45, 61, .22);
}

.carousel .arrow_left {
    left: 16px;
}

.carousel .arrow_right {
    right: 16px;
}

.carousel .carousel_indicators {
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 100000;

}

.carousel_indicators .indicators_box {
    display: inline-block;
    padding: 12px 4px;
    cursor: pointer;
    background: transparent;
}

.indicators_box .indicators_button {
    display: block;
    opacity: 0.48;
    width: 30px;
    height: 2px;
    background-color: #FFF;
    border: none;
    outline: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
}


.common-bg {
    background: #FFFFFF;
    border-radius: 3px;
    padding: 20px;
    margin-top: 20px;
    margin-right: 20px;
}

@media screen and (max-width: 767px) {
    .common-bg {
        margin-right: 0;
        padding: 20px 10px;
    }

    /* 手机端标签/标题适当缩小 */
    .news-tab a,
    .common-bg .more {
        font-size: 16px;
    }

    .tab-box h3 {
        margin-right: 16px;
        font-size: 16px;
    }
}

.common-bg .news-tab {
    display: flex;
    border-bottom: 1px solid #dcdfe6;
    justify-content: space-between;
    padding: 15px 15px 0 25px;
}

.news-tab .tab-box {
    display: flex;
    height: 35px;

}

.news-tab a {
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    color: #333333;
    cursor: pointer;
}

.common-bg .more {
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    color: #333333;
    cursor: pointer;
}

.news-tab .active {
    border-bottom: 3px solid #2d3a49;
}

.news-content {
    padding: 0 0 10px 0;
}

.news-content .content-item {
    display: none;

}

.content-item .item-box:last-child {
    border-bottom: none;
}

.content-item .item-box {
    padding: 10px 0;
    display: flex;
    border-bottom: 1px dashed #dddddd;
    text-decoration: none;
}

.item-box img {
    display: block;
    width: 100%;
    height: 117px;
    border-radius: 5px;

}

.item-box .box-info {
    padding: 0 10px;
}

.box-info .info-title {
    margin: 0;
    padding: 5px 0;
    text-decoration: none;
    font-size: 18px;
    color: #333;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
}

.box-info .info-desc {
    height: 48px;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #808589;
    font-size: 14px;
    line-height: 24px;
    word-break: break-all;
    margin: 7px 0 14px;
}

.box-info .info-time {
    display: flex;
    justify-content: flex-end;
    font-size: 14px;
    color: #999;
}

.tab-box h3 {
    margin: 0 34px 0 0;
    cursor: pointer;
    padding-bottom: 10px;
    font-size: 20px;
    color: #409eff;

}

.news-tab .tab-box h3:hover {
    border-bottom: 3px solid #2d3a49;
}

.common-bg .common-title {
    font-size: 18px;
    color: #484848;
    padding: 0 0 25px;
    margin: 0 0 10px 0;
}

.common-title i {
    font-size: 20px;
    margin-right: 10px;
}

.common-title:hover span {
    padding-right: 20px;
}

.common-title span {
    padding-bottom: 6px;
    border-bottom: 2px solid black;
    transition-duration: 300ms;
}

.common-bg .common-littleTitle {
    font-size: 18px;
    color: #484848;
    padding: 20px 0 8px;
    margin: 0 0 10px 0;
    border-bottom: 2px solid #ddd;
}

.common-littleTitle i {
    font-size: 20px;
    margin-right: 10px;
}

.common-littleTitle:hover span {
    padding-right: 20px;
}

.common-littleTitle span {
    padding-bottom: 6px;
    border-bottom: 2px solid black;
    transition-duration: 300ms;
}

.common-bg .collection-search {
    display: flex;
    box-shadow: 0 2px 4px rgb(0 0 0 / 12%), 0 0 6px rgb(0 0 0 / 4%);
}

.collection-search .search-btn {
    background-color: hsla(0, 0%, 100%, .5);
    line-height: 50px;
    height: 52px;
    padding: 0 30px;
    font-size: 13px;
    text-align: center;
    border: 1px solid #dcdfe6;
    border-right: none;
    outline: none;
    color: #7d7d7d;
    display: flex;
    justify-content: center;
}

.search-btn option {
    float: left;
}

.collection-search .search-input {
    border: 1px solid #dcdfe6;
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 0 4px 4px 0;
}

.collection-search .search-input:focus-within {
    border: 1px solid #66b1ff;
}

.collection-search .search-input input {
    background-color: hsla(0, 0%, 100%, .5);
    line-height: 50px;
    height: 50px;
    padding: 0 30px;
    border: none;
    display: block;
    width: 100%;
    outline: none;
    border-radius: 0 4px 4px 0;
}


.search-input button {
    margin-right: 20px;
    cursor: pointer;
    color: #333333;
    text-decoration: none;
    border: none;
    background: none;
}

.search-input input::placeholder {
    font-size: 13px;
}

/* 手机端馆藏检索区：压缩按钮内边距，避免换行溢出 */
@media only screen and (max-width: 767px) {
    .collection-search .search-btn {
        padding: 0 10px;
        line-height: 44px;
        height: 46px;
    }

    .collection-search .search-input input {
        padding: 0 10px;
        line-height: 44px;
        height: 44px;
    }

    .book-tab h3 {
        padding: 0 15px;
        margin: 0 5px 20px 5px;
        font-size: 14px;
    }
}

.common-bg .collection-box {
    display: flex;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.collection-box .box-jump {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.box-jump a {
    text-decoration: none;
    color: #303133;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.box-jump a:after {
    margin-left: 10px;
    content: "";
    display: inline-block;
    width: 15px;
    height: 20px;
    vertical-align: top;
    background: url("/static/front/img/index/icon.png") no-repeat 100%;
    background-size: 200% 100%;
}

.box-jump a:before {
    margin-right: 10px;
    content: "";
    display: inline-block;
    width: 15px;
    height: 20px;
    vertical-align: top;
    background: url('/static/front/img/index/icon.png') no-repeat 0;
    background-size: 200% 100%;
}

.box-jump a:hover {
    transform: scale(1.1);
}

.common-bg .book-tab {
    width: 50%;
}

.book-tab .active {
    background: #333;
    color: #FFFFFF;
}

.book-tab h3 {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    border-radius: 3px;
    line-height: 42px;
    cursor: pointer;
    text-align: center;
    border: 1px solid;
    padding: 0 30px;
    margin: 0 10px 35px 10px;
}

.book-tab h3:hover {
    color: #fff;
    background: #333;
}

.common-bg .book-item {
    display: block;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin: 0 10px 20px 10px;
    background: #ffff;
    cursor: pointer;
    padding: 5px;
    text-align: center;
    overflow: hidden;
}

.book-item:hover img {
    transform: scale(1.1) translateZ(0);
}

.book-item img {
    display: block;
    width: 100%;
    height: 232px;
    transition: all .5s;
}

.book-item h4 {
    color: #333;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 10px 0 5px 0;
}

.activity-box {
    margin-top: 10px;
    margin-left: 10px;
}

.activity-box .box-item {
    padding: 16px 0;
    border-bottom: 1px dashed #999;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.activity-box .box-item:first-child {
    padding-top: 10px !important;
}

.activity-box .box-item:last-child {
    border-bottom: none;
}

.activity-box .box-item h3 {
    color: #303133;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-top: 0;
    font-size: 14px;

}

.activity-box .box-item p {
    padding: 0 7px;
    font-size: 14px;
    color: #606266;
    line-height: 20px;
    height: 40px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.box-item .item-bottom {
    display: flex;
    justify-content: space-between;
    padding: 0 7px;
}

.item-bottom span {
    font-size: 14px;
    color: #909399;
}

.common-bg .introduction-box {
    display: flex;
    flex-wrap: wrap;
}

.introduction-box .box-item {
    display: block;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    color: #fff;
    padding: 10px 20px;
    margin: 0 20px 20px 20px;
    border-radius: 5px;
    transition-duration: 500ms;
}


.introduction-box .box-item:hover {
    transform: translateY(-8px);
}

.introduction-box .box-item i {
    font-size: 50px;
    color: #fff;
}

.introduction-box .box-item h3 {
    color: rgba(48, 49, 51, .8);
    font-size: 18px;
    margin: 12px 0;
    height: 41.38px;
}

.introduction-box .box-item p {
    font-size: 14px;
    color: rgba(48, 49, 51, .8);
    line-height: 16px;
    height: 32px;
}

.common-bg .my-list {
    display: flex;
    flex-wrap: wrap;
}

.my-list a {
    text-decoration: none;
    border: 1px solid #d7dae2;
    margin: 10px 25px 0 0;
    padding: 4px 15px;
    border-radius: 3px;
    color: #fff;
    font-size: 15px;
    line-height: 24px;
}

.my-list a:first-child {
    background: #036564;
}

.my-list a:nth-child(8n-7) {
    background: #8A9B0F;
}

.my-list a:nth-child(8n-6) {
    background: #EB6841;
}

.my-list a:nth-child(8n-5) {
    background: #3FB8AF;
}

.my-list a:nth-child(8n-4) {
    background: #FE4365;
}

.my-list a:nth-child(8n-3) {
    background: #FC9D9A;
}

.my-list a:nth-child(8n-2) {
    background: #EDC951;
}

.my-list a:nth-child(8n-1) {
    background: #C8C8A9;
}

.my-list a:nth-child(8n) {
    background: #b8C8A9;
}

.common-bg .borrow-box {
    list-style: none;
    margin: 0;
    padding: 0 5px;
}

.borrow-box .box-item {
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: 10px;
    padding-left: 5px;
}

.borrow-box .box-item:nth-child(2n) {
    background: #f6f6f6;
}

.borrow-box .box-item i {
    font-style: normal;
    display: inline-block;
    height: 16px;
    width: 16px;
    background: #b1b1b1;
    line-height: 16px;
    font-size: 9px;
    text-align: center;
    color: #fff;
}

.borrow-box .box-item:nth-child(1) i {
    background: #f60;
}

.borrow-box .box-item:nth-child(2) i {
    background: #f60;
}

.borrow-box .box-item:nth-child(3) i {
    background: #f60;
}

.borrow-box .box-item a {
    font-size: 15px;
    text-decoration: none;
    color: #333;
    padding-left: 5px;
}

.common-bg .visit-box {
    margin: 0;
    list-style: none;
    padding: 0 0 10px;
}

.visit-box .box-item {
    margin: 10px 5px 0 0;
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 15px;
    line-height: 24px;
}
