@import "tools/mixin";
@import "common/popCmt";

/* S m-comment */
.m-comment{
    background-color: #f5f5f5;
}
.m-comment__hd{

}
.m-comment__bd{
}
.m-comment__ft{
    background-color: #e5e5e5;
    .control-qReply{
        height: 50px;
        line-height: 50px;
        text-align: center;
        color: #999;
        font-size: 18px;
    }
    .iconfont-custom{
        font-size: 20px;
        color: #666;
        padding-right: 4px;
    }
}
.m-comment__item{
    padding: 15px;
    overflow: hidden;
    border-bottom: 1px solid #d1d1d1;
}
.comment-header{
    height: 40px;
    overflow: hidden;
    margin-bottom: 10px;
}
.comment-authorInfo{
    height: 40px;
    overflow: hidden;
    float: left;
}
.comment-authorInfo__pic{
    float: left;
    width: 40px;
    height: 40px;
    img{
        border-radius: 5px;
        width: 100%;
        height: 100%;
        display: block;
        overflow: hidden;
    }
}
.comment-authorInfo__detail{
    float: left;
    overflow: hidden;
    margin-left: 7px;
    h6{
        color: #666666;
        font-size: 16px;
        margin-bottom: 3px;
        a{
            color: #666666;
            font-size: 16px;
        }
    }
    p{
        color: #999999;
        font-size: 14px;
    }
}
.comment-detail{
    color: #333;
    font-size: 16px;
    line-height: 24px;
    overflow: hidden;
    overflow-x: scroll;
    p{
        color: #333333;
        font-size: 16px;
        line-height: 24px;
    }
    font[size="7"]{
        font-size: 25px;
    }
    font[size="6"]{
        font-size: 24px;
    }
    font[size="5"]{
        font-size: 22px;
    }
    font[size="4"]{
        font-size: 20px;
    }
    font[size="3"]{
        font-size: 18px;
    }
    font[size="2"]{
        font-size: 16px;
    }
    font[size="1"]{
        font-size: 14px;
    }
    i{
        color: #666;
        line-height: 50px;
    }
    .quote{
        border: 1px solid #d1d1d1;
        padding: 10px;
        margin: 0;
        background-color: #fff;
        position: relative;
        &:after{
            content: "";
            position: absolute;
            bottom: -5px;
            right: 14%;
            width: 0;
            height: 0;     
            border-left: 12px solid transparent;
            border-right: 12px solid transparent;
            border-top: 6px solid #fff; 
        }
        &:before{
            content: "";
            position: absolute;
            bottom: -6px;
            right: 14%;
            width: 0;
            height: 0;     
            border-left: 12px solid transparent;
            border-right: 12px solid transparent;
            border-top: 6px solid #d1d1d1; 
        }
    }
    blockquote{
        padding: 0 20px;
        font-size: 12px;
        line-height: 22px;
        color: #333;
        background: url(../img/ico-ref-left.png) top left no-repeat,url(../img/ico-ref-right.png) bottom right no-repeat;
        background-size: 15px;
        word-break:break-all; 
    }
}
.comment-control{
    overflow: hidden;
    color: #e50050;
    font-size: 14px;
    line-height: 16px;
    span{
        padding: 10px 0;
        float: right;
    }
    .control-Reply{
        margin-right: 10px;
    }
    .iconfont-custom{
        float: left;
        font-size: 20px;
    }
    .icon-ref{
        float: left;
        width: 20px;
        height: 16px;
        background: url(../img/ico-ref.png) no-repeat;
        background-size: contain;
    }
    .icon-comment{
        float: left;
        width: 20px;
        height: 16px;
        background: url(../img/ico-comment.png) no-repeat;
        background-size: contain;
    }
}
.comment-ref{
    .quote{
        border: 1px solid #d1d1d1;
        padding: 10px;
        margin: 0 0 13px;
        background-color: #fff;
        position: relative;
        &:after{
            content: "";
            position: absolute;
            bottom: -5px;
            right: 14%;
            width: 0;
            height: 0;     
            border-left: 12px solid transparent;
            border-right: 12px solid transparent;
            border-top: 6px solid #fff; 
        }
        &:before{
            content: "";
            position: absolute;
            bottom: -6px;
            right: 14%;
            width: 0;
            height: 0;     
            border-left: 12px solid transparent;
            border-right: 12px solid transparent;
            border-top: 6px solid #d1d1d1; 
        }
    }
    blockquote{
        padding: 0 20px;
        font-size: 12px;
        line-height: 22px;
        color: #333;
        background: url(../img/ico-ref-left.png) top left no-repeat,url(../img/ico-ref-right.png) bottom right no-repeat;
        background-size: 15px;
        word-break:break-all; 
    }
    h6{
        padding: 0 24px;
        font-size: 14px;
        height: 22px;
        line-height: 30px;
        color: #999999;
        margin-bottom: 12px;
        background: url(../img/ico-ref-left.png) top left no-repeat;
        background-size: 19px;
        word-break:break-all;
    }
    p{
        padding: 0 24px;
        font-size: 16px;
        color: #333333;
        line-height: 22px;
        word-break:break-all;
        background: url(../img/ico-ref-right.png) bottom right no-repeat;
        background-size: 19px;
    }
    
}
.comment-reply{
    border: 1px solid #d1d1d1;
    border-bottom: none;
}
.comment-reply__item{
    border-bottom: 1px solid #d1d1d1;
    padding: 10px;
    background-color: #fff;
    h5{
        color: #999999;
        line-height: 22px;
        margin-bottom: 8px;
        i{
            color: #333;
        }
    }
    a{
        color: #333333;
    }
    p{
        color: #333333;
        line-height: 24px;
    }
}
.comment-moreReply{
    height: 44px;
    line-height: 44px;
    border: 1px solid #d1d1d1;
    border-top: none;
    text-align: center;
    font-size: 16px;
    color: #666666;
    background-color: #fff;
    margin-bottom: 15px;
    .iconfont-custom{
        color: #999999;
        font-size: 18px;
        padding-right: 5px;
    }
    &:hover{
        background-color: #f2f2f2;
    }
    a{
        color: #333333;
    }
}
.comment-floors{
    float: right;
    border-radius: 4px;
    height: 20px;
    line-height: 20px;
    font-size: 14px;
    padding: 0 4px;
    border: none;
    color: #999;
    margin-top: 7px;
    &.topFloor{
        background-color: #e50050;
        color: #fff;
    }
}
.comment-warning{
    background-color: #fff9e8;
    border: 1px solid #e4d3a3;
    color: #916e44;
    font-size: 14px;
    line-height: 20px;
    padding: 8px;
    margin: 15px 0;
    text-align: center;
}
.comment-hiding{
    color: #999999;
    font-size: 16px;
    line-height: 24px;
    padding-top: 10px;
    p{
        margin-bottom: 20px;
    }
    h5{
        border-top: 1px dashed #999999;
        position: relative;
        height: 20px;
        span{
            content: "";
            position: absolute;
            top: -12px;
            left: 0;
            width: 100%;
            display: block;
            text-align: center;
        }
        em{
            background-color: #f5f5f5;
            padding: 0 10px;
        }
    }
}
.comment-vote{
    p{
        background-color: #f1f1f1;
        border: 1px solid #d5d5d5;
        color: #666666;
        font-size: 14px;
        line-height: 20px;
        padding: 8px;
        margin: 15px 0;
        em{
            color: #e6225e;
        }
    }
}
.comment-vote__action{
    color: #333333;
    font-size: 16px;
    padding: 0 10px;
    height: 40px;
    line-height: 40px;
    @include ellipsis;
    span{
        margin-left: 3px;
    }
}
.comment-vote__result{
    padding: 10px;
    overflow: hidden;
    .hd{
        color: #333333;
        font-size: 16px;
        height: 24px;
        line-height: 24px;
        margin-bottom: 5px;
        input{
            margin-right: 5px;
        }
        @include ellipsis;
    }
    .bd{
        width: 75%;
        overflow: hidden;
        margin: 2px 0;
        margin-left: 20px;
        float: left;
        border: 1px solid #e4e4e4;
        background-color: #fff;
        span{
            float: left;
            height: 12px;
            background-color: #e50050;
        }
    }
    em{
        float: left;
        color: #e50050;
        font-size: 14px;
        margin-left: 5px;
    }
}
/* E m-comment */

/* S Tab Effect */
.m-link{
    &:hover,&:focus,&:active{
        color: #e50050;
    }
}
/* E Tab Effect */

/* S dropmenu */
.m-nav-list{
    z-index: 2000;
    position: absolute;
    top: 49px;
    right: 0;
    border-top: 2px solid #d9d9d9;
    .m-droplist--right{
        position: relative;
        .arrow-top:after{
            content: "";
            position: absolute;
            top: -5px;
            right: 17px;
            width: 0;
            height: 0;     
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-bottom: 6px solid #fff; 
        }
        .arrow-top:before{
            content: "";
            position: absolute;
            top: -7px;
            right: 17px;
            width: 0;
            height: 0;     
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-bottom: 6px solid #d9d9d9; 
        }
    }
    .m-nav-droplist{
        span{
            padding: 0 16px;
            height: 50px;
            line-height: 50px;
            display: block;
            background-color: #ffffff;
            border-bottom: 1px #c8c8c8 solid;
            border-left: 1px #c8c8c8 solid;
            border-right: 1px #c8c8c8 solid;
            &.collected em{
                color: #ec4781;
            }
        }
        em{
            color: #333333;
            font-size: 17px;
            &.iconfont-custom{
                color: #878787;
                font-size: 20px;
                margin-right: 3px;
            }
        }
    }
}
/* E dropmenu */