html,body{padding: 0;margin: 0;height: 100%}
body{display:flex;flex-direction: column;}
header{
    display: flex;flex-direction: row;align-items: center;justify-content: center;background: #4b8af8;height: 40px;position: fixed;left:0;right:0;top:0;z-index: 10;color: #fff;
}
header .logo{
    display: flex;height: 100%;align-items: center;justify-content: center;position: relative;
}
header .back{
    position: absolute;left:15px;top:10px;height: 20px
}
header .back img{
    height: 100%;
}
header .head_right{position: absolute;right:15px;top:10px;height: 20px;color:#fff}
.headera{
    padding: 5px 10px;color:#fff;text-decoration: none;border:1px solid #6dad61
}
.main{flex:1;overflow-y: auto;overflow-x: hidden;-webkit-overflow-scrolling: touch;-ms-overflow-style: none;  /* IE 和 Edge */
  scrollbar-width: none;  /* Firefox */}
.tabbar{
    width: 100%;height: 50px;display: flex;flex-direction: row;align-items: center;margin: 0 auto;
    border-top:1px solid #eee;border-left:1px solid #eee;border-right:1px solid #eee;
}
@media screen and (min-width: 750px) {
    .main{width:375px;margin:0 auto;border-left:1px solid #eee;border-right:1px solid #eee;}
    .tabbar{width:375px;}
}
.tabitem{
    flex:1;display: flex;flex-direction: column;justify-content: center;align-items: center;margin-top: 3px
}
.tabitem img{
    width:24px;height: 24px;
}
.tabitem p{
    margin:2px 0px;font-size: 10px;
}
.tabbar .active{
    color:#ff4735;
}


.top{
    height:164px;
    background-repeat: no-repeat;background-size: contain
}

.notice{
    margin: 5px 10px;display: flex;flex-direction: row;align-items: center;
}
.notice .icon{
    width:18px;height:18px;
}
.notice .marquee{
    flex:1;margin-left: 10px;
}
.notice .marquee a{
    color:#333;text-decoration: none;padding-right: 20px;
}

/*列表*/
  .post{
	/*width: 95%;*/
    /* height: 3.65rem; */
    overflow: hidden;
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(221, 221, 221, 1);
    margin: 10px;
    border-radius: 0.3rem;
    -webkit-border-radius: 0.3rem;
}
.post a{
    text-decoration: none
}
.post-c {
    overflow: hidden;
    padding-bottom: 0.5rem;
}
.post-t{
    height:62px;
}
.post-t,.post-m {
    overflow: hidden;
}
.post-t .pic {
    float: left;
    width: 3rem;
    height: 3rem;
    overflow: hidden;
    margin: .5rem;
}
.post-t .pic img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}
.post-t .data {
    display: block;
    width: 15rem;
    font-size: 0.9rem;
    color:#6A9BE9;
    font-family: PingFang-SC-Medium;
    font-weight: 500;
	margin-top: 3px;
}
.periods {
    float: left;
    width: 32px;
    margin-left: .6rem;
    text-align: center;
    line-height: .9rem;
    border-radius: .15rem;
    font-size: .5rem;
    color: #fff;
	background: #6A9BE9;
	line-height: 20px;
}
.post-m .title {
    font-size: 17px;
    font-family: PingFang-SC-Bold;
    font-weight: bold;
    max-width: 95%;
    line-height: .9rem;
    text-align: left;
    height: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 5px 0px
}
.post-m .content{
    padding:0 10px;
}
.post-m .desc{
    display: flex;
    flex-direction: row;
    padding-left: 10px;
    font-size: 14px;
    color:#333;
}
.post-m .desc .split{
    margin: 0px 6px;
    color:#cfcfcf;
    font-size: 12px;
}
/* 加精及置頂兩者其一 */
.title span.hasJingDing {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    float: left;
    max-width: 95%;
}
/* 加精及置頂兩者皆有 */
.title span.allJingDing {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    float: left;
    max-width: 85%;
}
/* 加精及置頂兩者皆無 */
.title span.noJingDing {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    float: left;
    max-width: 105%;
    height:20px;
    line-height: 20px;
    margin-left: 10px;
}
.post-m .article {
overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    margin: 0 0.5rem;
    /* width: 15rem; */
    /* max-height: 3rem; */
    font-size: 15px;
    font-family: inherit;
    color: rgba(51, 51, 51, 1);
    word-wrap: break-word;
}
.post-t .nickname {
    /* float: left; */
    /* width: 0.97rem; */
    position: relative;
    height: 0.7rem;
    font-family: PingFang-SC-Bold;
    font-weight: bold;
    color: rgba(51, 51, 51, 1);
    padding-top: 0.6rem;
	text-align:left;
}
.post-t .desc{
    display: flex;
}
.post-t .desc .split{
    margin: 0px 6px;
    color:#cfcfcf;
    font-size: 12px;
}
.post-t .desc .item{
    font-size: 0.9rem;
    color: #6A9BE9;
    font-family: PingFang-SC-Medium;
    font-weight: normal;
}
.post-b {
    display: flex;
    flex-direction: row;
    width: 100%;
    /* height: 1rem; */
    /* margin-top: 0.4rem; */
    overflow: hidden;
    /* padding-top: 0.2rem; */
}
.post-b .zan,.post-b .watch,.post-b .replay {
    flex:1;
    height: 28px;
    text-align: center;
    line-height: 28px;
    border-top: 1px solid rgba(221, 221, 221, 1);
    border-right: 1px solid rgba(221, 221, 221, 1);
    font-size: 12px;
    overflow: hidden;
}
.post-d{
    width:70px;height: 70px;border-radius: 35px;border:2px solid #ddd;margin: 0 auto;background: #ffb100;color:#fff
}
.post-d .zan{
    display: flex;flex-direction: column;
    justify-content: center;align-items: center;
    height: 100%;
    width:100%;
    font-size: 18px;
    overflow: hidden;
}

.viewtitle{
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /* float: left; */
    /* max-width: 105%; */
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    padding: 10px 0px;
}

/*公式详情*/
.comment{padding:0 10px;}
.comment .title{
    font-weight: 600;
    padding:10px 0px;
}
.comment .nologin{
    background: #f8f8f8;
    margin:10px 20px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 5px;
}
.comment .input{
    background: #f8f8f8;
    border-radius: 5px;
    padding:10px;
    position: relative;
    height: 120px;
}
.comment .input textarea{
    display: block;
    -webkit-appearance: none;
    border:0px;
    resize:none;
    background: #f8f8f8;
    font-size: 16px;
    height:80px;
}
.comment .input textarea:focus { outline:none; }
.comment .input .btn_comment{
    position: absolute;
    right:10px;
    bottom: 10px;
    background: #c5c5c5;
    color:#f4f4f4;
    width:84px;
    text-align: center;
    border-radius: 5px;
    line-height: 30px;
}
.comment .input .btn_comment.active{
    background: #3b933e;
}
.comment_list .user{
    color:#777;
    padding:10px 0px;
}
.comment_list .content{
    line-height: 24px;font-size: 14px;
}
.comment_list .time{
    font-size: 14px;
    color:#999;
    padding: 10px 0px;
}
.comment .more{
    background: #c5c5c5;
    color:#555;
    width:80px;
    margin:10px auto;
    border-radius: 3px;
    text-align: center;
    padding: 5px 0px;
    font-size: 12px;
    display: none;
}
.subscribe{
    position: absolute;
    right:10px;
    top:10px;
    font-weight: normal;
    background: #1595f7;
    font-size: 12px;
    padding: 5px 15px;
    border-radius: 5px;
    color:#fff;
}
.unsubscribe{
    position: absolute;
    right:10px;
    top:10px;
    font-weight: normal;
    background: #b4c4d0;
    font-size: 12px;
    padding: 5px 15px;
    border-radius: 5px;
    color:#fff;
}
/*分页*/
ul,li{list-style: none;margin:0;padding: 0}
.pagination{display: flex;justify-content: center}
.pagination li{border:1px solid #ccc;border-radius: 4px;padding: 2px 10px;font-size: 12px;margin: 0 10px}
.pagination li.disabled{background: #ddd}
.more{text-align: center;padding: 3px 10px;margin: 10px 0px}


/*历史记录*/

.his_nav{
    background: #3b933e;height: 60px;display: flex;flex-direction: row;align-items: flex-end;padding:0 15px;
}
.his_navitem{
    background: #3b633c;border-radius:8px 8px 0px 0px; padding:8px 15px;color:#fff;margin-right: 8px;
}
.his_navitem.active{
    background: #fff;color:#3b633c;
}
.his_row{
    display: flex;flex-direction: column;margin-bottom: 10px;background: #fff;padding: 10px 15px;
}
.his_row1{
    display: flex;flex-direction: row;align-items: center;justify-content: space-between;height: 40px;border-bottom: 1px solid #f6f6f6;margin-bottom: 10px;
}
.his_issue{
    font-weight: 600;font-size: 18px;
}
.his_time{
    font-size: 14px;
}
.his_row2{
    display: flex;flex-direction: row;justify-content: space-around;align-items: center;
}
.his_item{
    flex:1;border-radius: 8px;margin: 0px 3px;display: flex;flex-direction: column;padding: 5px 0px
}
.his_num{
    color:#fff;font-size: 24px;;font-weight: 600;text-align: center;
}
.his_other{
    background: #fff;color:#666;font-size: 12px;text-align: center;margin:0px 5px 0px;border-radius: 2px
}
.his_red{
    background: #e71607
}
.his_blue{
    background: #2289e7
}
.his_green{
    background: #24b61d
}
.his_plus{
    width:20px;height: 100%;display: flex;justify-content: center;align-items: center;
}