/*comment*/
#commentWrap{
    float: right;
    padding-bottom: 15px;
}
/*열려있는 맨위 첫 댓글 적는 부분*/
.commentTotalNumber{
    font-weight:500;
    font-size: 16px;
}
.commentWritingSection{
    overflow: hidden;
    border-bottom:1px solid #ebebeb;
    margin-top:15px;
}

.commentWritingTextarea{
    float: left;
    width: 515px;
    box-sizing: border-box;
    overflow: hidden;
    padding-top: 3px;
}
.commentRegArea textarea.commentTextInput{
    width:100%;
    height:105px;
    padding:10px;
    border: 1px solid #ebebeb;
    box-sizing: border-box;
    font-family:'Noto Sans KR', sans-serif;
}
.commentWritingImg{
    float: left;
    width:55px;
}
.commentWritingImg img{
    width: 40px;
    height: 40px;
    -webkit-border-radius:50px;
    -moz-border-radius:50px;
    border-radius:50px;
}
.commentRegisterWrap{
    overflow: hidden;
    margin: 8px 0;
}
.commentFileUpload{
    position: relative;
    float: left;
    width:30px;
    height:30px;
    overflow: hidden;
    cursor: pointer;
}
.commentFileHidden{
    position: absolute;
    top: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.commentUploadImagePreviewArea{
    float: left;
    width: 120px;
    max-height: 120px;
}

.commentRegister{
    float: right;
    width:93px;
    padding:5px 0;
}
.commentRegister > button{
    padding:5px 0;
    font-weight: bold;
}
.uploadImagePreviewArea{
    position: relative;
}
.uploadImagePreviewAreaImageBox{
    position: relative;
    padding-top: 8px;
}
.uploadImagePreviewAreaImage{
    position: absolute;
    right: -7px;
    top: 1px;
    cursor: pointer;
}
.uploadImagePreviewArea > div{
    float: left;
}
.uploadImagePreviewAreaImageBox img{
    max-width:  120px;
    max-height: 110px;
}



/*댓글들 리스트 부분(일반댓글)*/
#commentListWrap{

}
.commentItem{
    width: 570px;
    overflow: hidden;
}
.commentBox{
    overflow: hidden;
    padding:15px 0;
    border-bottom: 1px solid #ebebeb;
}
.commentBox > div{
    float: left;
}
.commentBoxLeft{
    width:55px;
    overflow: hidden;
}
.commentBoxRight{
    width: 515px;
}


.commentBoxRight .commentListInfo{
    height:30px;
}
.commentBoxRight .commentListInfo .commentListInfoLeft{
    float: left;
    overflow: hidden;
    margin-top: 4px;
}
.commentBoxRight .commentListInfo .commentListInfoLeft img{
    margin: 0 5px 0 12px;
    vertical-align: middle;
}
.commentBoxRight .commentListInfo .commentListInfoLeft li{
    float: left;
}
.commentBoxRight .commentListInfo .commentListInfoLeft li.commentListWriter{
    font-size: 14px;
    font-weight:bold;
    padding-right: 5px;
}
.commentBoxRight .commentListInfo .commentListInfoLeft li.commentListDate{
    font-size:13px;
    color: #777777;
    line-height: 1.25em;
}
.commentBoxRight .commentListInfo .commentListInfoLeft li.recommentNumber{
    font-size:13px;
    font-weight: 500;
}
.commentBoxRight .commentListInfo .commentListInfoRight{
    position: relative;
    float: right;
}


/* commentReplyBox -> 답글 */
.commentReplyBox .commentListInfoRight{
    margin-right:-5px;
}

.commentListInfo .commentListInfoRight:hover .commentOptionMoreList{
    display: block;
}
.commentListInfo .commentListInfoRight .commentOptionMore{
    cursor: pointer;
}
.commentListInfo .commentListInfoRight .commentOptionMore2{
    position:absolute;
    top:30px;
    right: 0;
}
.commentOptionMore img{
    float: right;
}
.commentOptionMoreList{
    background-color: #fff;
    display: none;
    width:60px;
    -webkit-box-shadow:  0px 1px 1px 1px #ddd;
    -moz-box-shadow: 0px 1px 1px 1px #ddd;
    box-shadow:  0px 1px 1px 1px #ddd;
}
.commentOptionMoreList > li{
    height:30px;
    line-height:30px;
    text-align: center;
}
.commentOptionMoreList > li:hover{
    background-color:#f5f5f5;
    cursor: pointer;
}
.commentContent{
    line-height: 1.5em;
    margin-bottom: 10px;
    word-wrap: break-word;
    word-break: keep-all;
}
.commentContent img{
    margin: 5px 0;
    display: block;
}
.commentReplyBox .commentVoteWrap{
    margin-right:0;
}


.commentVoteWrap{
    overflow: hidden;
}
.btnCommentReply{
    float: left;
    width: 88px;
    cursor: pointer;
}
.commentVoteWrap > .commentVote{
    float: right;
    margin-top: 11px;
}
.commentVote{
    overflow: hidden;
}
.commentVote li{
    float: left;
    color: #a7a7a7;
    font-size:13px;
    font-weight:500;
}
.commentVoteUp{
    cursor: pointer;
}
.commentVoteDown{
    cursor: pointer;
}
.commentVote .middleDot{
    margin:0 5px 0 7px;
    font-size:22px;
    line-height: 0.5em;
}
.commentVoteDown{
    margin-top: 2px;
}
.commentVote img{
    margin-right:5px;
}
.voteUpVoted{
    color: #5e8dd7 !important;
}
.voteDownVoted{
    color: #f52057 !important;
}


/*댓글,답글 수정하는 부분*/
.commentContentModify{
    overflow: hidden;
    margin-top: 8px;
    min-height:70px;
}
.commentContentModify > textarea{
    width: 100%;
    height: 105px;
    padding: 10px;
    border: 1px solid #ebebeb;
    box-sizing: border-box;
    font-family:'Noto Sans KR', sans-serif;
}
.commentModifyOptionWrap{
    overflow: hidden;
    margin: 8px 0;
}
.commentModifyOptionWrap .commentModifyFile{
    float: left;
    overflow:hidden;
    width: 160px;
    max-height: 120px;
}
.commentModifyOptionWrap .commentModifyFile > div{
    float: left;
}
.commentModifyOptionWrap .commentModifyFile > div.uploadImagePreviewArea{
    width: 120px;
}
.commentModifyOption{
    float: right;
    width: 170px;
    overflow: hidden;
    margin: 5px 0 3px 0;
}
.commentModifyOption span{
    float: left;
}
.commentModifyOption span.btnCommentModifyCancel{
    width:65px;
    margin-right:12px;
}
.commentModifyOption span.btnCommentModifySubmit{
    width: 93px;
}
/*댓글,답글 수정하는 부분 끝*/
/*댓글들 리스트 부분(일반댓글) 끝*/


/*대댓글*/
.commentReplyBox{
    padding: 15px;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #fafafa;
}
.replyArrow{
    width:25px;
    padding-top: 6px;
}
.recommentBoxLeft{
    float: left;
    width:50px;
}
.recommentBoxLeft .commentWritingImg{
    width:40px;
    height:40px;
}
.recommentBoxLeft .commentWritingImg img{
    width:40px;
    height:40px;
}
.recommentBoxRight{
    float: left;
    width:465px;
    padding-top:2px;
}

/*답글 쓰는 부분*/
.commentContentReply{
    overflow: hidden;
    min-height: 70px;
    float: right !important;
}
.commentReplyLeft{
    float: left;
    width:50px;
}
.commentReplyLeft .commentWritingImg {
    width: 40px;
    height: 40px;
}
.commentReplyLeft .commentWritingImg img{
    width: 40px;
    height: 40px;
}
.commentReplyRight{
    float: right;
    width:calc(100% - 55px);
}
.commentContentReply textarea{
    width: 100%;
    height: 105px;
    line-height: 1.5em;
    padding: 10px;
    border: 1px solid #ebebeb;
    box-sizing: border-box;
    font-family:'Noto Sans KR', sans-serif;
    resize: none;
}
.recommentBtnWrap{
    float: right;
    overflow: hidden;
    margin-top: 14px;
    width: 485px;
}
.commentReplyBottomRight  span{
    float: left;
    padding:7px 0;
}
.commentReplyBottomRight .commentFileUpload{
    float: left;
}

.recommentBtnWrap .commentReplyBottomRight{
    float: right;
}
.recommentBtnWrap .commentReplyBottomRight span{
    float: left;
    font-weight: 500;
}
.btnCommentReplyCancel{
    width:65px;
    margin-right:12px;
}
.btnCommentReplySubmit{
    width:93px;
}

/*대댓글 끝*/
/*comment end*/

