﻿
/* 问答标题 */
.ask-title{
    width: 100%;
    box-sizing: border-box;
    padding: 0.5333rem 0.4rem;
    border-radius: 0.2667rem;
    background-color: #fff;
}
.title{
    display: flex;
}
.title img{
    display: block;
    float: left;
    height: 0.48rem;
    padding-right: 0.1333rem;
}
.title h1{
    font-size: 0.48rem;
    line-height: 1;
    color: #333;
}
.ask-title>button{
    margin-top: 0.4rem;
    display: block;
    width: 2rem;
    height: 0.6667rem;
    border-radius: 0.1333rem;
    background-color: #29be6a;
    font-size: 0.34667rem;
    color: #fff;
}


/* 回答 */
.answer{
    margin-top: 0.2667rem;
    width: 100%;
    box-sizing: border-box;
    padding: 0 0.4rem 0.8rem;
    border-radius: 0.2667rem;
    background-color: #fff;
}
.answer-tit{
    padding: 0.2667rem 0;
    border-bottom: 0.01333rem solid #ddd;
    font-size: 0.32rem;
    line-height: 1;
    color: #999;
}
.answer-tit span{
    color: #29be6a;
}
.tx{
    width: 100%;
    display: flex;
    align-items: center;
    margin-top: 0.4rem;
}
.tx>img{
    display: block;
    border-radius: 0.1333rem;
    width: 1.0667rem;
    overflow: hidden;
}
.name{
    margin-left: 0.2667rem;
}
.name p{
    font-size: 0.4rem;
    line-height: 1;
    color: #333;
}
.name div{
    margin-top: 0.2667rem;
    overflow: hidden;
}
.name div span{
    display: block;
    float: left;
    font-size: 0.32rem;
    color: #999;
    line-height: 1;
    padding: 0 0.4rem;
}
.name div span:first-child{
    padding-left: 0;
    border-right: 0.01333rem 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: 1.6rem;
    height: 0.6667rem;
    border-radius: 0.1333rem;
    box-sizing: border-box;
    border: 0.01333rem solid #999;
    background-color: #fff;
    cursor: pointer;
    overflow: hidden;
}
.praise img{
    display: block;
    padding-right: 0.106667rem;
    width: 0.32rem;
}
.praise p{
    font-size: 0.32rem;
    line-height: 1;
    color: #999999;
}

.praise.active{
    border: 1px solid #2abf69;
}
.praise.active p{
    color: #2abf69;
}
.praise.active img{
    transform:translateX(-30rem);
    filter:drop-shadow(30rem 0px 0px #2abf69);
}

.answer-txt{
    font-size: 0.4rem;
    margin-top: 0.4rem; 
    line-height: 0.8rem;
}
.answer-txt p{
    font-size: 0.4rem;
    line-height: 0.8rem;
    color: #666;
    margin: 0.4467rem 0 -0.22rem;
}
.answer-txt p:first-child{
    margin-top: -0.22rem;
}

.answer-txt p img {
        display: block;
        margin: 0 auto;
    }

/*相关专题*/
.ask-tag-box {
    padding: 0.4rem 0.266rem;
}
.ask-tag-box a {
    padding: 0 0.133rem;
    box-sizing: border-box;
    display: block;
    margin-right: 0.2rem;
    border: 1px solid #e8e8e8;
    height: 0.666rem;
    border-radius: 0.666rem;
    line-height: 0.666rem;
    color: #666;
}

/* 上下篇 */
.upDown{
    margin-top: 0.2667rem;
    width: 100%;
    box-sizing: border-box;
    padding: 0 0.4rem;
    border-radius: 0.2667rem;
    background-color: #fff;
}
.upDown a{
    display: block;
    height: 1.0667rem;
    font-size: 0.4rem;
    line-height: 1.0667rem;
    color: #333;
}
.upDown a:first-child{
    border-bottom: 0.01333rem solid #ddd;
}
.upDown a span{
    color: #666;
}


/* 相关推荐 */
.list{
    margin-top: 0.2667rem;
    margin-bottom: 0.5333rem;
    width: 100%;
    box-sizing: border-box;
    padding: 0 0.4rem 0.2667rem;
    border-radius: 0.2667rem;
    background-color: #fff;
}
.answer-tit{
    display: flex;
    align-items: center;
}
.answer-tit img{
    display: block;
    width: 0.32rem;
    padding-right: 0.1333rem;
}
.answer-tit span{
    display: block;
    color: #999;
}