﻿
/* 问答标题 */
.askTitle,
.answer,
.relevant{
    width: 100%;
    box-sizing: border-box;
    padding: 30px;
    border-radius: 10px;
    background-color: #fff;
}
.tit{
    overflow: hidden;
}
.tit img{
    display: block;
    float: left;
}
.tit h1{
    float: left;
    font-size: 24px;
    line-height: 28px;
    color: #333;
    padding-left: 10px;
}
.button{
    margin-top: 20px;
    display: flex;
    align-items: center;
}
.button button{
    display: block;
    width: 120px;
    height: 40px;
    background-color: #3478f5;
    border-radius: 5px;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
}
.list-sj{
    margin-left: 30px;
    overflow: hidden;
}
.list-sj span{
    display: block;
    float: left;
    font-size: 14px;
    color: #999;
    line-height: 1;
    padding: 0 20px;
    border-right: 1px solid #ddd;
}
.list-sj span:first-child{
    padding-left: 0;
}
.list-sj span:last-child{
    display: flex;
    align-items: center;
    padding-left: 20px;
    padding-right: 0;
    border-right: none;
}
.list-sj span:last-child img{
    display: block;
    padding-right: 6px;
}


.reply{
    margin: 30px 0 16px;
    font-size: 14px;
    line-height: 1;
    color: #999;
}
.reply span{
    color: #3478f5;
}


/* 回答 */
.tx{
    width: 100%;
    display: flex;
    align-items: center;
}
.tx>img{
    display: block;
    border-radius: 5px;
    overflow: hidden;
    width: 40px;
    height: 40px;
}
.name{
    margin-left: 10px;
}
.name p{
    font-size: 16px;
    line-height: 1;
    color: #333;
}
.name div{
    margin-top: 10px;
    overflow: hidden;
}
.name div span{
    display: block;
    float: left;
    font-size: 14px;
    color: #999;
    line-height: 1;
    padding: 0 20px;
}
.name div span:first-child{
    padding-left: 0;
    border-right: 1px solid #ddd;
}
.name div span:last-child{
    padding-right: 0;
}
.praise{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
    margin-left: auto;
    width: 80px;
    height: 30px;
    border-radius: 5px;
    box-sizing: border-box;
    border: 1px solid #999;
    cursor: pointer;
    overflow: hidden;
}
.praise img{
    display: block;
    padding-right: 6px;
}
.praise p{
    font-size: 16px;
    line-height: 1;
    color: #999999;
}
.praise.active{
    border: 1px solid #2abf69;
}
.praise.active p{
    color: #2abf69;
}
.praise.active img{
    transform:translateX(-30px);
    filter:drop-shadow(30px 0px 0px #2abf69);
}

.answer-txt{
    margin-top: 12px; font-size: 16px;
}
.answer-txt p{
    font-size: 16px;
    line-height: 30px;
    color: #333;
    margin-top: 22px;
}
.answer-txt p:first-child{
    margin-top: 0;
}
.answer-txt p:last-child{
    padding-bottom: 2px;
}


/*相关专题*/
.ask-tag-box {
    position: relative;
    height: 66px;
    padding: 20px;
    box-sizing: border-box;
    line-height: 66px;
    background: #f8f8f8;
}
.ask-tag-box a {
    display: block;
    box-sizing: border-box;
    height: 26px;
    line-height: 16px;
    font-size: 12px;
    letter-spacing: 0;
    padding: 4px 6px;
    color: #666;
    text-align: center;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    margin-right: 12px;
}

/* 上下篇 */
.upDown{
    overflow: hidden;
    margin-top: 20px;
}
.upDown a{
    display: block;
    box-sizing: border-box;
    padding: 0 20px;
    width: 380px;
    height: 50px;
    border-radius: 10px;
    background-color: #fff;
    font-size: 16px;
    line-height: 50px;
    color: #333;
}
.upDown a span{
    color: #666;
}


/* 相关推荐 */
.relevant{
    margin-top: 20px;
    padding-bottom: 20px;
}
.relevant ul{
    margin-top: 10px;
    overflow: hidden;
}
.relevant ul li{
    float: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 320px;
    height: 50px;
    border-bottom: 1px dashed #ddd;
    cursor: pointer;
}
.relevant ul li:nth-child(2n){
    float: right;
}
.relevant ul li:nth-child(n+5){
    border-bottom: none;
}
.relevant ul li p{
    font-size: 16px;
    width: 280px;
    color: #333;
    line-height: 1;
}
.relevant ul li span{
    display: block;
    font-size: 14px;
    text-align: right;
    color: #999;
    line-height: 1;
}