/**
 * @copyright Copyright (C) 2006 Andrew Schmadeke. All rights reserved.
 * @package Focus/Finance
 * This package can be modified by the licencee, but the license is non-transferrable.
 */

.commentSection {
	display: none;
	border-bottom-width: 32px !important;
}

.commentSection.initialized {
	display: block;
}

.commentSection.readonly .newComment {
	display : none;
}

.commentSection .newComment {
	position: absolute;
	z-index: 2;
	display: block;
	top: 100%;
	right: 80px;
	left: 5px;
	margin-top: 1px;
	padding-top: 4px;
	height: 30px;
	line-height: 30px;
	white-space: nowrap;
}

.commentSection .comment,
.commentSection .submitComment {
	display: inline-block;
	vertical-align: top;
}

.commentSection .comment {
	width: 100%;
	line-height: 23px;
}

.commentSection .submitComment {
	margin-left: 5px;
	width: 70px;
	height: 23px;
	line-height: 20px;
}

.commentSection .submitComment:before {
	content: 'Post';
}

.commentSection .delete {
	width: 34px;
	background: url('../img/delete.png') no-repeat;
	background-position: top center;
	cursor: pointer;
}

.commentSection.loading .list {
	display: none;
}

.commentSection .wrapper {
	width: 100%;
}

.commentSection .list {
	position: relative;
	z-index: 1;
	width: 100%;
	max-height: 100%;
	border-collapse: collapse;
	display: flex;
	flex-direction: column;
	gap: 5px 3px;
	padding: 5px 3px;
}

.commentSection tr+tr td {
	border-top: 1px dotted #AAA;
}

.commentSection .list > .comment {
	display: flex;
	gap: 3px;
}

.commentSection .list > .comment > div {
	vertical-align: top;
	font-size: 11px;
	line-height: 11px;
	white-space: normal;
}

.commentSection .list > .comment > div.date {
	font-size: 10px;
	flex: 0;
	text-align: right;
	white-space: nowrap;
}

.commentSection .list > .comment > div.user {
	text-align: right;
	flex: 0;
}

.commentSection .list > .comment > div.user:after {
	content: ':';
}
