﻿
/* ------------------------------------------------------------- */
/* ----------------- Форма ввода комментариев ------------------ */
/* ------------------------------------------------------------- */

#commentForm {
    margin-bottom: 30px;
}

#commentForm #cmtrToLoginPrompt {
    color: green;
}

#commentForm #ratingField {
    margin-bottom: 15px;
}

#commentForm #ratingField #ratingPrompt {
    color: green;
}

#commentForm #cmtrDenyMsg {
    color: red;
}

#commentForm #btnSubmit {
    display: block;
    margin-top: 10px;
}


/* ------------------------------------------------------------ */
/* ----------------- Комментарии в списках -------------------- */
/* ------------------------------------------------------------ */

.commentUnit {
    display: block;
    margin-top: 15px;
    margin-bottom: 50px;
}

.commentUnit .commentBody {
    display: block;
    position: relative;
    padding: 10px;
	border: 3px solid green;
	background-color: #b7e0ff;
    border-radius: 10px;
    -moz-border-radius: 8px;
    -khtml-border-radius: 15px;
    z-index: 10;
}

.commentUnit .commentBody p {
    margin-top: 0px;
}

.commentUnit .commentBody .disabledCmt {
    color: red;
}

.commentUnit .cmtBtnBar {
    display: table;
}

.commentUnit .brainTd {
    display: table-cell;
    vertical-align: top;
}

.commentUnit .brain {
    width: 40px;
    height: 40px;
    margin-top: -12px;
    margin-left: 5px;
    background-image: url(/plugins/ckeditor/ui-common/img/rnd_3.png);
    background-repeat: no-repeat;
    background-size: 40px 40px;
}

.commentUnit .signature {
    width: 100%;
    display: table-cell;
    margin-top: 5px;
}

.commentUnit .signature .cmtDateTimeTd {
    text-align: left;
    padding-right: 5px;
}

.commentUnit .signature table {
    width: 100%;
}

.commentUnit .signature table td {
    width: 100%;
    vertical-align: middle;
}

.commentUnit .signature table,
.commentUnit .signature table tr,
.commentUnit .signature table td {
    margin: 0;
    padding: 0;
}

.commentUnit .signature table .userBarTd {
    max-width: 350px;
}

.commentUnit .signature table .usrStump {
    display: table;
}

.commentUnit .signature table .usrStump .usrAvatar a img {
    overflow: hidden;
    margin: 5px 3px 0 -3px;
    border-radius: 23px;
    -moz-border-radius: 19px;
    -khtml-border-radius: 30px;
}

.commentUnit .signature table .usrStump .usrName {
    display: table-cell;
    text-align: left;
    vertical-align: middle;
}

.commentUnit .signature table .targetRatingTd {
    width: 100%;
    vertical-align: middle;
}

.commentUnit .signature table .targetRatingTd .wardRating {
    padding-left: 5px;
    display: table;
    vertical-align: middle;
}

.commentUnit .signature table .targetRatingTd .wardRating span,
.commentUnit .signature table .targetRatingTd .wardRating img {
    display: table-cell;
}

.commentUnit .signature table .targetRatingTd .wardRating img {
    margin-top: -12px;
    margin-left: 2px;
}

.commentUnit a.targetLink {
    display: block;
    width: 26px;
    height: 20px;
    background: url('/plugins/ckeditor/ui-common/img/target.png') center no-repeat;
    background-size: 20px 20px;
}

.commentUnit .signature table .cmtAdminFuncTd {
    padding: 0 3px;
}

.commentUnit a.comment-banned {
    display: block;
    width: 26px;
    height: 20px;
    background: url('/plugins/ckeditor/ui-common/img/comment-banned.png') center no-repeat;
}

.commentUnit a.user-banned {
    display: block;
    width: 20px;
    height: 20px;
    background: url('/plugins/ckeditor/ui-common/img/user-banned.png') center no-repeat;
}

.commentUnit .banned {
    display: block;
    width: 42px;
    height: 20px;
    background: url('/plugins/ckeditor/ui-common/img/banned.png') center no-repeat;
}

/* ------------------------------------------------------------- */
/* ------------------------------------------------------------- */
/* ------------------------------------------------------------- */
