﻿@charset "utf-8";
* {
    margin: 0;
    padding: 0;
    border: 0;
    list-style-type: none;
}

body, div, ul, li, h1, h2, h3, h4, h5, h6, table, tr, td {
    margin: 0;
    padding: 0;
}

body {
    font-family: "微软雅黑";
    font-size: 16px;
    color: #333;
}

ul {
    list-style: none;
}

i, em {
    font-style: normal
}

li {
    list-style: none outside none;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 100
}

table {
    border-collapse: collapse;
}

img {
    vertical-align: middle;
    border: 0;
}

.img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
    margin-top: 0; /* 上边距为 0 */
}

.hedear {
    display: flex;
    justify-content: space-between;
    background: #fff;
    align-items: center;
    padding: 0 15%
}

.hedear .logo {
    padding: 5px 20px;
    flex: 1
}

.hedear .logo .logoimg{
    display: block; /* 确保图片作为块级元素显示 */
    margin-left: 56%; /* 设置左外边距为50% */
    margin-top: 3.5%;
    transform: translateX(-50%); /* 使用transform属性将图片向左移动自身宽度的50%，实现水平居中 */
}

.hedear .user {
    padding: 0 30px;
}

.hedear .user img {
    padding: 0 5px;
}

.hedear .user a {
    padding: 0 5px;
}

.bigpig {
    position: absolute;
    bottom: 0px;
    left: 50%;
    margin-left: -310px;
}

.banner {
    position: relative;
}

.navbar {
    position: relative;
    display: flex; /* 使用 flexbox 布局 */
    justify-content: center; /* 水平居中 */
}

.navbar .bg-image {
    background: url(../images/banner-logo.png);
    background-size: cover; /* 控制背景图片的尺寸，使其填充整个单元格 */
    background-repeat: no-repeat; /* 防止背景图片重复 */
    background-position: center; /* 将背景图片居中显示 */
    width: 150px;
    height: 150px;
    display: flex; /* 使用 flexbox 布局 */
    flex-direction: column; /* 垂直布局 */
    justify-content: center; /* 水平居中 */
    text-align: center; /* 水平居中文本 */
    margin-right: 15px;  /* 右边距 */
    margin-left: 15px;   /* 左边距 */
}

.navbar .bg-image span {
    font-weight: lighter; /* 设置字体为细体 */
    font-size: smaller;
}
.navbar .bg-image .yearcolor {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
.searchbtn {
    width: 75px;
    height: 42px;
    line-height: 42px;
    background: linear-gradient(180deg, #B35A1E 0%, #84461D 100%);
    opacity: 1;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
}


.banner .search {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    width: 630px;
    height: 42px;
    border-radius: 5px;
    margin-bottom: 5px
}

.banner .search input {
    flex: 1;
    border-radius: 5px 0 0 5px;
    line-height: 50px;
    font-size: 20px;
    text-indent: 1em;
    outline: none
}

.banner .search button {
    background: #fff;
    padding: 0 15px;
    border-radius: 0 5px 5px 0;
}

.banner .jiansuo {
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    left: 0
}

.banner .jiansuo .div1 {
    position: absolute;
    bottom: 0;
}

/* 标签页容器 */
.banner .jiansuo .div1 .tab {
    overflow: hidden;
    margin-left: -18.5px;
    /*border: 1px solid #ccc;*/
    /*background-color: #f1f1f1;*/
}

/* 标签按钮 */
.banner .jiansuo .div1 .tab button {
    /*background-color: inherit;*/
    border: none;
    outline: none;
    cursor: pointer;
    padding: 8px 12px;
    font-size: 17px;
    transition: 0.3s;
    position: relative; /* 添加相对定位 */
    left: -37.7%; /* 向左移动50% */
    border-top-left-radius: 10px; /* 左上角圆角 */
    border-top-right-radius: 10px; /* 右上角圆角 */
}

/*!* 激活的标签按钮 *!*/
.banner .jiansuo .div1 .tab button.active {
    background-color: rgb(0 0 0 / 22%);
}

.banner .jiansuo .div1 .tab button:hover {
    background-color: #ddd; /* 鼠标悬停时的背景颜色 */
}


.banner .search-fs {
    display: flex;
    width: 60%;
    margin: 0 auto;
}

.banner .search-fs span {
    padding: 0 10px;
    color: #fff;
}

.banner .search1 {
    word-break: break-all;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    color: #80441D;
    opacity: 1;
}

.banner .search1 input {
    flex: 1;
    border-radius: 5px 0 0 5px;
    line-height: 20px;
    font-size: 20px;
    text-indent: 1em;
    outline: none;
    margin: 5px 10px;
}

/* -----分类列表-----*/
.content {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    width: 1200px;
    margin: 0 auto;
    min-width: 1200px
}

.content .fenlei h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.content .fenlei h3 img {
    margin-right: 10px;
}

.content .fenlei .fenlei-ul {
    padding-left: 15px;
}

.content .liebiao {
    width: 880px
}

.content .liebiao .lb-ul .lb-ul-li {
    border-bottom: 1px solid #dcdcdc;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 20px 15px;
}

.content .liebiao .lb-ul .num {
    padding: 0 15px;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: #333333;
    opacity: 1;
}

.content .liebiao .lb-ul .sm {
    font-style: italic;
    color: #999;
    letter-spacing: 1px;
}

.content .liebiao .lb-ul .sm img {
    margin-right: 10px;
}

.content .liebiao .lb-ul .shu-xx {
    flex: 1
}

.content .liebiao .lb-ul .shu-tu {
    width: 167px;
    height: 212px;
    text-align: center;
    margin: 0 20px 0 10px;
}

.content .liebiao .lb-ul .shu-ul h3 {
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
    color: #333333;
    opacity: 1;
}

.content .liebiao .lb-ul .shu-ul li {
    font-size: 18px;
    font-weight: 500;
    line-height: 25px;
    color: #666666;
    opacity: 1;
}

.content .liebiao .lb-ul .shu-ul li label {
    font-size: 18px;
    font-weight: 500;
    line-height: 25px;
    color: #999999;
    opacity: 1;
}

.content .liebiao .lb-ul .shu-jy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: right;
    margin-right: 10px;
}

.content .liebiao .lb-ul .shu-jy button {
    background: none;
    margin-left: 15px;
}

.content .liebiao .lb-ul .shu-jy .shu-lj {
    flex: 1
}

.content .liebiao .lb-ul .shu-jy .shu-an button {
    width: 67px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #E51422;
}

.content .liebiao .lb-ul .shu-jy .shu-an .but1 {
    background: url(../images/anniu1.png) no-repeat;
}

.content .liebiao .lb-ul .shu-jy .shu-an .but2 {
    background: url(../images/anniu2.png) no-repeat;
}

/* -----个人页-----*/
.my {
    width: 90%;
    margin: 26px auto
}

.my .my-top {
    padding: 25px 0px;
    display: flex
}

.my .my-top .touxiang {
    border-radius: 90px;
    border: 1px solid #e5e5e5;
    padding: 4px;
    background: #f8f8f8;
    margin-right: 20px;
}

.my .my-top .touxiang img {
    border-radius: 90px;
    width: 90px;
    height: 90px;
}

.my .my-top .ming {
    padding-top: 10px;
    flex: 1
}

.my .my-top .ming h3 {
    font-size: 26px;
    color: #2b2b2b;
    line-height: 48px;
    font-weight: 400;
}

.my .my-top .ming p {
    font-size: 18px;
    color: #666
}

.my .my-con {
    font-size: 18px;
}

.my .my-con .dh {
    border-bottom: 1px solid #e8e8e8;
    padding: 0 40px;
    display: flex;
}

.my .my-con .dh li {
    float: left;
    margin: 0 25px;
    line-height: 60px;
}

.my .my-con .dh li a {
    color: #777
}

.my .my-con .dh li.active {
    border-bottom: 3px solid #985938
}

.my .my-con .dh li.active a {
    color: #985938
}

.my .my-con .box {
    padding: 60px;
}

.my .my-con .box h3 {
    font-weight: 600;
    margin-bottom: 30px;
}

.my .my-con .box h3 .grxx {
    float: right;
    font-weight: 200;
}

.my .my-con .box h3 .grxx a {
    padding: 3px 20px;
    border-radius: 4px;
    background: #ba7458;
    color: #fff;
}

.my .my-con .box .nr-ul li {
    display: flex;
    justify-content: space-between;
}

.my .my-con .box .nr-ul li label {
    width: 15%
}

.my .my-con .box .nr-ul li span {
    flex: 1;
}

.my .my-con .box .nr-ul li em {
    color: #aaa;
    margin-left: 10px;
}

.my .my-con .box .nr-ul li a {
    width: 30%
}

.my .my-con .box > div {
    display: none;
}

.my .my-con .box > div.active {
    display: block;
}

.my .my-con .box table {
    width: 100%
}

.my .my-con .box table th {
    border: 1px solid #f3f3f3;
    background: #f3f3f3;
    font-weight: 400;
    line-height: 40px;
}

.my .my-con .box table td {
    border: 1px solid #e8e8e8;
    text-align: center;
    padding-top: 5px;
    line-height: 40px;
}

.my .my-con .box table td span {
    width: 50px;
    height: 50px;
    background: url(../images/shu-bj.jpg);
    padding: 3px;
    display: inline-block
}

#jieyuejilu td a {
    padding: 2px 10px;
    border-radius: 4px;
    background: #ba7458;
    color: #fff;
}

#jiaofeijilu td {
    cursor: pointer
}

#jiaofeijilu td em {
    padding: 2px 10px;
    border-radius: 4px;
    background: #ba7458;
    color: #fff;
}

/* -----书详细-----*/
.book .book-pic {
    width: 124px;
    height: 165px;
    text-align: center;
    padding: 3px;
    margin-right: 38px;
}

.book .book-name h3 {
    font-size: 30px;
    margin-bottom: 16px;
    font-weight: 500;
    line-height: 42px;
    color: #333333;
    opacity: 1;
}

.book .book-name {
    font-size: 18px;
}

.book .book-name ul li {
    width: 100%;
    float: left;
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 6px;
    line-height: 37px;
    color: #333333;
    opacity: 1;
}

.book .book-xx {
    display: flex;
    justify-content: space-between;
    padding: 40px 60px;
}

.book .book-xx ul li {
    font-size: 26px;
    font-weight: 500;
    line-height: 37px;
    color: #333333;
    opacity: 1;
    margin-bottom: 18px;
}

.book .book-xx ul li label {
    font-size: 26px;
    font-weight: 500;
    line-height: 37px;
    color: #999999;
    opacity: 1;
}








