
body{
    background: url(../images/bg.jpg);background-size: cover;
}
.in-header__wrap{
    width:1240px!important;
}
.indexbg{
    background-color:#fff;width:1200px;padding: 0 20px;box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
}


 /*新增加*/
 
 .clearfix {
	zoom:1;
	clear:both;
}
.clearfix:after {
	content:".";
	display:block;
	height:0;
	clear:both;
	visibility:hidden
}
 
 .p-index, .p-author-comic, .p-category, .p-chapters-buy, .p-detail, .p-search, .p-update, .page-forgot, .page-login, .page-about, .p-top-list, .p-top, .p-topic-detail, .p-topic {
    padding-top: 0;
}
 .in-header {
    /*position: inherit;*/
    position: relative;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.in-header__avatar {
    width: 64px;
    height: 40px;
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #28292d;
    margin-top: 0;
    text-align: center;
}

.dialog__header-avatar .in-dialog--avatar {
    position: absolute;
    top: 64px;
    right: 0;
    width: 260px;
    border-top: 2px solid #28292d;
    background: #fff;
    z-index: 999;
    box-shadow: 0 5px 5px 0 rgba(235, 149, 149, 0.15);
}

.in-header__sc {
    width: 64px;
    height: 40px;
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #ff4343;
    margin-top: 0;
    text-align: center;
}




.in-banner-slide {
    width: 100%;
}
.in-banner {
    width: 100%;
    margin: 0 auto 20px;
}
.in-banner-slide .slide-item .feature{
    display: none;
}
.in-banner-slide .layui-carousel-ind {
    width: 52%;
}







.in-banner-slide .layui-carousel-ind .layui-this {
    background: #ff4343;
}



/*底部通用*/
.footer-wrapper {
    margin: 0 auto;
    background: #262626;
    color: #fff;
    height:300px!important;
    clear: both;
}

.footer-wrapper .footer-bottom {
    text-align: left;
    padding: 35px 0 0;
}
.footer-wrapper .footer-link li{
    font-size: 15px;
    padding: 0 5px;
}
.footer-wrapper .footer-link li:first-child {
    padding-left: 0;
}
.footer-wrapper .footer-bottom p {
    color: #aaa;
}

.in-header__logo {
    float: left;
    width: 106px;
    height: 44px;
    margin-top: 8px;
    background: url(../images/pic_nav_logo.png?v=0504b58) no-repeat center center;
    background-size:106px 44px;
}
.in-header__logo_w {
    float: left;
    width: 106px;
    height: 44px;
    margin-top: 8px;
    background: url(../images/pic_nav_logo_w.png?v=0504b58) no-repeat center center;
    background-size:106px 44px;
}

/*about*/
.about-wrapper .about-content {
    width: 100%;
}

.contact-container, .about-container,.legal-container {
    min-height: calc(100vh - 364px);
    padding-top: 1px;
    margin-top: 0px;
}

.read-container {
    min-height: calc(100vh - 85px);

}

.footer-wrapper .footer-bottom p {
    /*margin-top: 0;*/
    padding: 0;
}

.help-nav-wr {
    height: 45px;
}
.help-nav__item {
    padding: 0 20px;
    margin: 0;
}
.help-nav__item.active {
    border-top: 3px solid #ff4343;
    border-left: 1px solid #ebebeb;
    border-right: 1px solid #ebebeb;
    border-bottom: 1px solid #ffffff;
    color: #ff4343;
}

/*index 排行榜*/

.in-rank-box p.head {
    line-height: 32px;
    height: 36px;
}
.in-rank-box p.head span,.in-sec__head span{
    font-size:15px;
    font-weight: 600;
}

 .in-rank-box p.head span i,.in-sec__head i{
    color: #ff4343;
    padding: 0 10px;
    font-size: 12px;
}

.in-rank-box p.head a.more,.in-sec__head a.more{
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 0 4px;
    text-align: center;
    cursor: pointer;
    line-height: 23px;
    margin-top: 5px;
    color: #333;
    font-size: 13px;
}
.rank-list {
    border: 1px solid #ccc;
    border-top: 2px solid #333;
    padding: 15px;
}

.in-rank-box {
    margin-top: 15px;
}


/*第一列*/

.rank-item .item--detail .num {
    position: relative;
    left: 0;
    top: 32px;
    margin-right: 10px;
    width: 28px;
    height: 28px;
    line-height: 28px;
    font-size: 20px;
    border-radius: 2px;
    color: #000;
    background: #fff;
    font-weight: 600;
}
.rank-item .item--detail .num--1{
    color: #ff4343;
}
.rank-item p.comic__title {
    margin-top: 17px;
}
.rank-item p.name {
    max-width: 100%;
    font-size: 12px;
    line-height: 26px;
    color: #aaa;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.rank-item p.comic__content{
    max-width: 100%;
    font-size: 12px;
    line-height: 18px;
    color: #666;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
}

.comic__title {
    font-size: 0.9rem;
}



/*最新*/
.in-sec-update6 {
    width: 100%;
}
.mt-10{
    margin-top: 10px;
}

.in-sec__head{
    border-bottom:1px solid #ccc;
    margin-bottom: 10px;
}
.in-sec__head span{
    margin-left: -5px;
}
.in-sec__head a.more{
    margin-top: 8px;
}

.in-sec__box {
    height: 325px;
}
.in-comic--type-b {
    width: 191px;
    overflow: hidden;
    margin: 8px 5px;
    float: left;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}
.in-comic--type-b:hover {
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
}

.recent-wr .in-comic--type-b:nth-of-type(5n) {
    margin-right: 5px;
}
.in-comic--type-b:nth-of-type(6n),.in-comic--type-b:nth-of-type(12n),.in-comic--type-b:nth-of-type(18n),.in-comic--type-b:nth-of-type(24n),.in-comic--type-b:nth-of-type(30n) {
    margin-right: 0;
}
.in-comic--type-b:nth-of-type(7n),.in-comic--type-b:nth-of-type(13n),.in-comic--type-b:nth-of-type(19n),.in-comic--type-b:nth-of-type(25n) {
    margin-left: 0;
}
.in-comic--type-b .cover{
    width: 100%;
    height: 260px;
    overflow: hidden;
}
.in-comic--type-b .cover:hover {
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
}

.in-comic--type-b .cover a{
    overflow: hidden;
    width: 191px;
    height: 260px;
    display: block;

}
.in-comic--type-b .cover a img{
    border-radius: 15px;
    transition: all 0.3s;  

}

.in-comic--type-b .cover a:hover img{
    transform: scale(1.1);   /* 放大img */ 
}

.in-comic--type-b .rank_label{
    position: absolute;
    text-align: center;
    width: 30px;
    height: 30px;
    background-color: #fff;
    left: 0px;
    top: 0px;
    line-height: 30px;
    color: #111;
    font-weight: 800;
    border-radius: 0px 0px 10px 0px;
    font-size: 14px;
}

.in-comic--type-b p{
    padding-left: 15px;
}

.in-comic--type-b p.comic-start i{
    font-size:12px;
    color:#ff4343;
}
.in-comic--type-b p.comic-start span{
    color: #999;
}


/*搜索*/
.serc{
    /*background-color: #f2f2f2;*/
    padding:80px 0 10px 0;
}
.in-header__search {
    float: none;
    margin: 0 auto;
    margin-top: 0px;
}
.search_head {
    margin-top: 80px;
}
.in-header__search .button {
    float: left;
    width: 80px;
    height: 40px;
    font-size: 16px;
    text-align: center;
    line-height: 40px;
    color: #fff;
     border-radius: 0 5px 5px 0; 
     background: none; 
    cursor: pointer;
    background-color: #ff4343;
}
.in-header__search .input {
    float: left;
    height: 38px;
    font-size: 14px;
    text-indent: 36px;
    border: 1px solid #ff4343;
    border-radius: 5px 0 0 5px; 
    border-right-width: 0;
}
.search-page-wr {
    margin-bottom: 20px;
    clear: both;
    display: grid;
}

/*排行*/
.top-list__item--first .tag--first, .top-list__item-detail .tag--first {
    position: absolute;
    top: 24px;
    font-size: 20px;
    color: #fff;
    background: none;
    background-color: #ff4343;
    padding: 2;
    padding-left: 10px;
    width: 22px;
    border-radius: 5px;
    padding-top: 2px;
}


.top-list__item--first .cover > img {
    border-radius: 5px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease-in-out;
}
.top-list__item .tag--2,.top-list__item .tag--3,.top-list__item .tag {
    color: #999;
    background: #f1f1f1;
    border-radius: 5px;
}

.top-list__item .comic-author2 {
    float: right;
    font-size: 12px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 118px;
    text-align: right;
}

.top-list__head span{
    font-size: 15px;
    font-weight: 600;
}

.top-nav {
    height: 45px;
    background: #fff;
    margin-top: 0px;
    padding-top: 50px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0px;
    border-radius: 0px;
    border-bottom: 1px solid #ebebeb;
}
.top-nav .top-nav__item {
    float: right;
    font-size: 16px;
    line-height: 42px;
    color: #666;
    padding: 0px 38px;
    margin: 0;
}

.top-nav .top-nav__item.active {
    border-top: 3px solid #ff4343;
    border-left: 1px solid #ebebeb;
    border-right: 1px solid #ebebeb;
    border-bottom: 1px solid #ffffff;
    color: #ff4343;
}

.top-nav .tni-1{
    float: left;
    color: #ff4343;
    font-weight: 600;
    padding: 0;
}

.top-nav__item .iconfont {
    color: #ff4343;
}


/*分类*/
.top-nav-cate .top-nav__item {
    padding: 0px 20px;
}
/*
.cate-top-wr {
    float: left;
    width: 100%;
    background: #fff;
}
.cate-selector {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 30px auto;
    font-size: 13px;
    line-height: 22px;
    background: #fff;
    border-bottom:0px solid #ebebeb;
    border-top: 0px solid #ff4343;
    box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0.1);
}
.cate-selector .cate-col{
    border-bottom:1px solid #ebebeb;
    height: 45px;
    font-size: 16px;
}
.cate-selector .cate-item {
    float: right;
    padding: 0 20px;
    margin-left: 10px;
    margin-bottom: 8px;
    border-radius: 0px;
    color: #666;
    cursor: pointer;
    
    line-height: 42px;
    margin: 0;
}
.cate-selector .cate-item-1 {
    float: left;
    font-weight: 600;
    color: #ff4343;
}
.cate-selector .cate-item-1 i{
    margin-right: 5px;
}
.cate-selector .cate-item.active {
    border-top: 3px solid #ff4343;
    border-left: 1px solid #ebebeb;
    border-right: 1px solid #ebebeb;
    border-bottom: 1px solid #ffffff;
    color: #ff4343;
    background: #fff;
}
.cate-selector .cate-item.active a {
    color: #ff4343;
}
*/

#Pagination {
    padding-top: 30px;
}

.cate-container{
    min-height: -webkit-calc(100vh - 345px);
    min-height: calc(100vh - 345px);
    margin: 0 auto;
}

/*漫画页*/
.container--response .de-info__cover {
    position: absolute;
    top: -40px;
    width: 315px;
    height: 420px;
    border: 10px solid #fff;
    border-radius: 2px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
}

/*漫画阅读页chapter*/
.rd-aside {
    position: fixed;
    right: 0px;
    top: 50%;
    margin-top: -192px;
    width: 60px;
    height: 383px;
    background: #38383a;
    border-radius: 5px;
    z-index: 9999;
}
.rd-article__pic {
    width: 1200px;
    text-align: center;
}
.aside__catalog {
    right: 60px;
}

/*登录user/login*/
.page-login .login-box .dialog-login {
    float: none!important; 
    text-align: center;
    margin: 0 auto;
    padding-top: 60px!important;
}

.page-login .login-box {
    margin-top: 80px!important;
    margin-left: auto;
    margin-right: auto;
    width: 540px!important;
    height: 400px;
    background-color: #fff;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
}


/*用户中心*/
.top-nav-user .top-nav__item {
    padding: 0px 30px;
}

.main-container {
    width: 1200px;
    min-height: 387px;
}

.main-content--aside {
    float: left;
    width: 1200px;
    margin: 20px 0px 60px;
    border: -1px solid #e4d8b4;
    min-height: 387px;
    background: #fcfbf7;
    border-radius: 10px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
}

.main-content--aside .user-info {
    background: none;
}

.main-content--aside .main-content_title {
    border-bottom: 1px solid #ddd;
    background-color: #fffbd4;
    border-radius: 10px 10px 0 0;
    margin-right:10px ;
}
.main-content--aside .main-content_title h3 {
    font-size: 15px;
    font-weight: 600;
    float: right;
}

.main-content--aside .layui-tab-mkz > .layui-tab-title .layui-this {
    color: #000;
}
.main-content--aside .layui-tab-mkz > .layui-tab-title .layui-this:after {
    border-bottom: 2px solid #000;
}

.layui-laypage-mkz .layui-laypage-next, .layui-laypage-mkz .layui-laypage-prev {
    border-radius: 5px !important;
}
.layui-laypage-mkz .layui-laypage-curr .layui-laypage-em, .layui-laypage a.on {
    border-radius: 5px;
    margin-right: 12px;

}
.layui-laypage-mkz .layui-laypage-curr .layui-laypage-em, .layui-laypage a.on:hover {
    color: #fff!important;
}

.main-content__password {
    width: 400px;
    margin: 45px auto;
}


.main-content__user-tab .tab-con__vip-flow--item.last-item {
    border-right: 0px solid #e5e5e5; 
}

.main-content__user-tab .tab-con__vip-flow--item {
    border-bottom: 0px solid #e5e5e5;
}

.dialog-pay_body--tab-body .active.item--btn, .dialog-pay_body--tab-body .active.item--paytype-btn {
    border: 1px solid #ff4343;
    display: block!important;
}
.dialog-pay_body--tab-body .active i {
    display: block!important;
}


.dialog-pay_body--tab-body .item--btn, .dialog-pay_body--tab-body .item--paytype-btn {
    margin-right: 30px;
}
#vip_product_list{
    margin-left: 90px;
}

.main-content--aside .user-info__info .vip-recharge1 {
    display: block;
    width: 120px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    color: #fff;
    font-size: 12px;
    border-radius: 16px;
    cursor: pointer;
    margin-top: 10px;
    background: url(../images/user/bg_me_vip_btn.png?v=e2d1d33) no-repeat left top;
    font-weight: bold;
}



.dialog-login__header {
    background: none; 
    top: -61px;
    left: 0;
    right: 0;
    height: 61px;
    position: absolute;
    z-index: 2;
    display: none;
}

.page-login .main-content {
    padding-bottom: 90px!important;
}


.main-content_title h3.active a{
    color: #ff4343;
    background: #fffbd4;
    padding: 8px 14px;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: inset 0 0 3px #00000099;
}

.main-content--aside .user-info {
			    background: none;
			    padding: 25px 30px;
			    overflow: hidden;
			    display: flex;
			    justify-content: center;
			    align-items: center;
			    flex-direction: column;
			    margin-bottom: 90px;
			}
			.main-content--aside .user-info__avatar {
			    width: 88px;
			    height: 88px;
			    margin-right: 0px;
			    padding: 5px;
			    border: 1px solid #eee;
			    border-radius: 0;
			    overflow: hidden;
			    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
			}
			.main-content--aside .user-info__avatar img {
			    display: block;
			    width: 100%;
			    height: 100%;
			    border-radius: 0;
			    background: #ffffff;
			}
			.main-content--aside .user-info__info {
			    padding-top: 2px;
			    overflow: hidden;
			    text-align: center;
			}
			.main-content--aside .user-info__info .user-name {
			    font-size: 18px;
			    line-height: 24px;
			    color: #28292d;
			    margin-right: 5px;
			}
			.main-content--aside .user-info__info .vip-info {
			    display: inline-block;
			    color: #999;
			    font-size: 12px;
			    margin-top: 4px;
			}
			.main-content--aside .user-info__info .vip-recharge1 {
			    display: block;
			    width: 120px;
			    height: 30px;
			    line-height: 30px;
			    text-align: center;
			    color: #fff;
			    font-size: 12px;
			    border-radius: 4px;
			    cursor: pointer;
			    background: none;
			    background-color: #ff4343;;
			    font-weight: bold;
			    margin:10px auto 0;
			}
#vip_product_list .vip-btn:hover{
    border: 1px solid #fb900f;
    background: #fffff3;
}

.dialog-pay_body--tab-body .item--btn {
    color: #fb900f;
}
.dialog-pay_body--tab-body .item--recome {
    color: #999999;
}
.dialog-pay_body--tab-body .item--price {
    font-size: 32px;
    color: #fb900f;
    font-weight: 700;
}
.dialog-pay_body--tab-body .item--btn {
    width: 150px;
    min-height: 63px;
    padding-top: 10px;
    line-height: 33px;
} 

/*vip*/
.bg-qgirl {
    display: block;
    position: absolute;
    top: 75px;
    left: 18px;
    width: 115px;
    height: 144px;
    background: url(../images/userl.png?v=20230609) no-repeat;
    background-size: contain;
}
.bg-heizi {
    display: block;
    position: absolute;
    top: 20px;
    right: 0px;
    width: 153px;
    height: 235px;
    background: url(../images/userr.png?v=20230609) no-repeat;
    background-size: contain;
}

.rank-top {
    line-height: 18px;
    position: relative;
}
.rank-top .rank-title3 {
    width: 375px;
    margin: 0 auto;
    zoom: 1;
}
.rank-top .rank-title3 .ico {
    display: block;
    float: right;
    position: absolute;
    width: 182px;
    height: 185px;
    top: -95px;
    right: 376px;
    background: url(../images/usert.png?v=20230609) no-repeat;
    background-size: contain;
}
.rank-top .rank-title .font-wr {
    line-height: 55px;
    float: left;
    color: #333;
    font-size: 30px;
    height: 70px;
}
.rank-top .rank-title .font-wr span {
    display: block;
    font-size: 12px;
    line-height: 100%;
    color: #999;
}
.rank-top .clearfix:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    line-height: 0;
    font-size: 0;
    visibility: hidden;
}

/* 左右两侧广告位样式 */
.side-ads {
    position: fixed;
    top: 180px;
    z-index: 999;
    width: 100%;
    pointer-events: none;
}

.side-ad {
    position: absolute;
    width: 150px;
    pointer-events: auto;
}

.side-ad-left {
    left: calc(50% - 850px);
}

.side-ad-right {
    right: calc(50% - 850px);
}

.ad-item {
    margin-bottom: 10px;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    transition: opacity 0.3s ease;
}

.ad-close {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    z-index: 10;
    transition: background 0.3s ease;
}

.ad-close:hover {
    background: rgba(255,67,67,0.9);
}

.ad-item img {
    width: 100%;
    display: block;
}

/* 响应式处理，小屏幕隐藏广告 */
@media screen and (max-width: 1480px) {
    .side-ads {
        display: none;
    }
}