body {
    background-color: #f6f6f6;
}

/* 注册登录页面头部、尾部 */
/* 版心 */
.wrapper {
    width: 1200px;
    margin: 0 auto;
}

/* 注册、登录、找回密码 头部 */
.header {
    height: 80px;
    background-color: #fff;
}

.header .wrapper {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.header .logo {
    float: left;
    width: 214px;
    height: 60px;
    margin-right: 15px;
}

.header h1 a {
    display: block;
    width: 214px;
    height: 60px;
    background-image: url(../images/logo2.png);
    background-size: contain;
    /* 目的：让h1里的文字隐藏 */
    font-size: 0;
    image-rendering: crisp-edges;
}

.header .slides {
    position: relative;
    float: left;
}

.header .slides li {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all .3s;
}

.header .slides li.active {
    opacity: 1;
}

.header .right {
    position: relative;
    color: #666;
}

.header .sacn p {
    height: 34px;
    line-height: 34px;
    text-align: right;
}

.header .sacn i {
    float: right;
    height: 20px;
    margin-left: 5px;
    line-height: 20px;
    color: #999;
    font-size: 12px;
}

.header .sacn .luntan-erweima {
    font-size: 18px;
}

.header .qrcode {
    display: none;
    position: relative;
    width: 150px;
    height: 180px;
    margin-top: 8px;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    font-size: 14px;
    text-align: center;
    z-index: 1;
    box-shadow: 0px 0px 25px 0px rgba(3, 3, 3, 0.14);
}

.header .qrcode img {
    width: 100%;
    margin-bottom: 10px;
}

/* 提示页面-矮导航 */
.nav-short .logo {
    display: flex;
    width: 340px;
}

.nav-short p {
    height: 40px;
    margin: 10px 15px;
    padding: 0 15px;
    border-left: 1px solid #ddd;
    font-size: 16px;
    font-weight: 600;
    line-height: 40px;
}

/* 其他页面头部【右】-游客未登录状态 */
.hd-normal,
.hd-login {
    margin: 0 15px;
}

.hd-normal div {
    float: left;
    margin-left: 20px;
    color: #333;
}

.hd-normal div label {
    font-weight: 400;
}

.hd-normal .form-data,
.btn-login,
.btn-else {
    display: flex;
    flex-direction: column;
}

.hd-normal .form-data label:first-child {
    margin-bottom: 4px;
}

.hd-normal .form-data input {
    width: 200px;
    height: 28px;
    margin-left: 5px;
    padding: 5px 10px;
    border: 1px solid #ddd;
}

.hd-normal .btn-login {
    padding-right: 20px;
    border-right: 1px solid #ddd;
}

.hd-normal .btn-login .lab-record {
    margin: 4px 0 7px;
}

.hd-normal .btn-login .btn-ok {
    height: 28px;
    background-color: #3F79EC;
    border: 1px solid #3F79EC;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}

.hd-normal .btn-else a {
    height: 20px;
    margin: 5px 0;
    line-height: 20px;
}

.hd-normal .btn-else a:last-child {
    margin-top: 6px;
    color: #3F79EC;
    font-weight: 600;
}

/* 其他页面头部【右】-用户已登录状态 */
.hd-login .avatar img {
    width: 56px;
    height: 56px;
    margin: 2px 0;
    border-radius: 50%;
}

.hd-login>div {
    float: left;
    color: #333;
}

.userInfo {
    position: relative;
    width: 250px;
    height: 60px;
    margin-left: 15px;
}

.uname span {
    display: inline-block;
    max-width: 145px;
    height: 26px;
    line-height: 26px;
    text-align: right;
}

.uname i {
    display: inline-block;
    margin-left: 3px;
    vertical-align: top;
    color: #999;
    line-height: 26px;
}

.uname .vip {
    margin: 0;
    font-size: 22px;
    vertical-align: super;
}

.userInfo ul {
    display: none;
    position: absolute;
    top: 26px;
    right: 140px;
    background-color: #fff;
    border: 1px solid #ddd;
    z-index: 2;
}

.userInfo ul li {
    padding: 10px 18px;
    border-bottom: 1px solid #ddd;
}

.userInfo ul li:last-child {
    border-bottom: none;
}

.userInfo .uname:hover .luntan-xiajiantou {
    display: inline-block;
    transform: rotate(180deg);
    /* Internet Explorer */
    -ms-transform: rotate(180deg);
    /* Firefox */
    -moz-transform: rotate(180deg);
    /* Safari 和 Chrome */
    -webkit-transform: rotate(180deg);
    /* Opera */
    -o-transform: rotate(180deg);
    transition: all .1s;
}

.userInfo .uname:hover .menu {
    display: block;
}

.userInfo .rank img {
    height: 20px;
    margin-right: 2px;
}

.reminder {
    position: relative;
    width: 54px;
    height: 54px;
    margin: 3px 18px 3px 0;
    border: 1px solid #ddd;
    border-radius: 50%;
    text-align: center;
}

.reminder i {
    font-size: 24px;
    line-height: 54px;
    color: #666;
}

.reminder .layui-badge {
    position: absolute;
    right: -10px;
    top: -2px;
    max-width: 34px;
    height: 20px;
    font-size: 13px;
    line-height: 20px;
    border-radius: 10px;
}

/* 网站导航-蓝条菜单栏 */
.nav {
    height: 46px;
    background-color: #3F79EC;
}

.nav ul {
    display: flex;
}

.nav ul li a {
    display: block;
    height: 46px;
    padding: 0 25px;
    font-size: 16px;
    color: #fff;
    line-height: 46px;
}

.nav ul li a:hover,
.nav ul li.active a {
    background-color: #2864db;
}

.sub-category{
    position: fixed;
    visibility: hidden;
    width: 100%;
    padding-bottom: 50px;
    z-index: 2;
    background-color: #fff;
    box-shadow: 0 1px 2px 1px rgba(3, 3, 3, .14);
}

.sub-category a{
    display: inline-block;
    height: 50px;
    padding: 0 15px;
    font-size: 15px;
    line-height: 50px;
}

.sub-category a:hover,
.sub-category a.active{
    font-weight: 600;
    color: #3F79EC;
}

/* 整站搜索栏 */
.search {
    display: flex;
    height: 54px;
    margin-bottom: 10px;
    padding: 9px 10px;
    background-color: #fff;
    border-radius: 0 0 4px 4px;
}

.search .se-box {
    border: 1px solid #ddd;
    border-radius: 4px;
}

.search .se-box .se-input {
    width: 320px;
    height: 34px;
    padding: 0 10px;
    border-radius: 4px 0 0 4px;
}

.search .se-type {
    height: 32px;
    margin-right: 5px;
    padding: 0 5px;
    background-color: #fff;
    border: 0;
    border-left: 1px solid #ddd;
    text-align: left;
}

.search .iconfont {
    margin-left: 10px;
    padding: 0 10px;
    color: #fff;
    background-color: #3F79EC;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
}

/* 页面导航-面包屑菜单 */
.boardnav {
    margin-bottom: 8px;
    padding-left: 8px;
}

.boardnav .luntan-shouye {
    color: #3F79EC;
}

/* 页面广告位 */
.advertisement img {
    width: 1200px;
    height: 75px;
    margin-bottom: 5px;
}

.advertisement a:last-child img {
    margin-bottom: 0;
}

/* 操作按钮：发帖和翻页 */
.OP-btn {
    margin: 8px 0;
    padding: 5px 0;
}

.OP-btn:last-child {
    padding: 5px 0 50px;
}

.OP-btn .post {
    float: left;
}

.OP-btn .turnPage {
    float: right;
}

.OP-btn a {
    display: inline-block;
    line-height: 30px;
}

.OP-btn .post a {
    margin-right: 5px;
    padding: 0 20px;
    border: 1px solid #3F79EC;
    border-radius: 4px;
    color: #3F79EC;
}

.OP-btn .post a:first-child {
    background-color: #3F79EC;
    color: #fff;
}

.OP-btn .turnPage a {
    margin-left: 3px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
}

.OP-btn .turnPage a:hover {
    border: 1px solid #3F79EC;
    color: #3F79EC;
}

.OP-btn .turnPage a i {
    display: inline-block;
    font-size: 12px;
    color: #999;
    vertical-align: top;
    transform: rotate(90deg);
}

.OP-btn .turnPage a:hover i {
    color: #3F79EC;
}

.OP-btn .turnPage a:nth-child(1) .luntan-first {
    transform: rotate(0);
}

.OP-btn .turnPage a:nth-child(3) i {
    transform: rotate(-90deg);
}

.OP-btn .turnPage a:nth-child(4) i {
    transform: rotate(-180deg);
}

/* 底部版权区域 */
.footer {
    margin-top: 15px;
    font-size: 14px;
}

.footer .link {
    background-color: #666;
}

.footer ul {
    display: flex;
    justify-content: center;
    background-color: #666;
}

.footer ul li {
    margin: 10px 0;
    padding: 0 15px;
    color: #fff;
    border-right: 1px solid #ddd;
}

.footer ul li:last-child {
    border-right: none;
}

.footer ul li a {
    color: #fff;
}

.footer .copyright {
    height: 20px;
    margin: 15px 0 20px;
    line-height: 20px;
    text-align: center;
}

.footer .copyright a {
    height: 20px;
    margin: 15px 8px 20px;
    line-height: 20px;
    text-align: center;
}

.footer .copyright img {
    margin-right: 5px;
}

/* 文章图标颜色 */
.txt-TI i,
.txt-TI .icon {
    font-size: 18px;
    color: #d2d2d2;
}


i.luntan-zhiding {
    color: #ff5722 !important;
}

i.luntan-huo {
    color: #ffa600 !important;
}

i.luntan-jing {
    color: #2196f3 !important;
}

i.luntan-zuitop {
    color: #f00 !important;
}

/* 加载中动画弹框 */
.flex-loading {
    display: flex;
    align-items: center;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.flex-loading .center-box {
    width: 100px;
    margin: 0 auto;
    padding: 16px 10px 14px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    line-height: 35px;
    text-align: center;
}

.flex-loading .center-box .layui-icon {
    display: block;
    width: 35px;
    margin: 0 auto;
    font-size: 35px;
    color: #fff;
    animation: rotate 1.5s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotateZ(0deg);
    }

    100% {
        transform: rotateZ(360deg);
    }
}

.flex-loading .center-box p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 20px;
    color: #fff;
}

/* summernote编辑器插入附件 */
.enclosure {
    margin: 10px;
    padding: 12px 15px;
    border: 1px dashed salmon;
    line-height: 25px;
    cursor: pointer;
}

.enclosure .icon {
    float: left;
    margin-right: 5px;
    font-size: 25px;
}

.enclosure div.ellipsis {
    float: left;
    max-width: 580px;
}

.enclosure .info {
    float: left;
    color: #666;
}

.enclosure p {
    float: left;
    height: 25px;
    margin: 0 5px 0 15px;
    padding: 0 8px;
    border: 1px solid #3F79EC;
    border-radius: 4px;
    color: #3F79EC;
}

/* vip图标样式 */
#vip {
    margin-right: 3px;
    border: 1px solid #f44336;
    border-radius: 3px;
    line-height: 16px;
    font-size: 14px;
}

#vip u {
    font-size: 10px;
    color: #f44336;
    vertical-align: text-bottom;
}

#vip.gaoji {
    border-color: #388e3c;
}

#vip.gaoji u {
    color: #388e3c;
}

#vip.zhuanye {
    border-color: #1976d2;
}

#vip.zhuanye u {
    color: #1976d2;
}