/*
 * Comment list styles
 */

/* Wrapper div */
div.meCommentList
{
	width: 400px;
	overflow: hidden;
}

/* Div for single comment */
div.meCommentList div.meCommentEntry
{
	border-bottom: 1px dotted #aaaaaa;
	margin-bottom: 10px;
}

/* Header table, containing name, date and rating box */
div.meCommentList div.meCommentEntry table.header
{
	width: 100%;
	border-collapse: collapse;
}

div.meCommentList div.meCommentEntry table.header td.rating
{
	vertical-align: top;
}

/* Rating box */
div.meCommentList div.meCommentEntry table.header td.rating div.ratingbox
{
	margin: 2px 2px 0px 0px;
	width: 150px;
	float: right;
}

div.meCommentList div.meCommentEntry table.header td.rating div.ratingbox table
{
	width: 100%;
	border-collapse: collapse;
}

div.meCommentList div.meCommentEntry table.header td.rating div.ratingbox table td
{
	padding: 0px;
	border-style: none;
}

/* Cell containing rating value */
div.meCommentList div.meCommentEntry table.header td.rating div.ratingbox table td.ratingvalue
{
	border: 1px dotted black;
	text-align: center;
	vertical-align: center;
	font-size: 26px;
	width: 40px;
	height: 40px;
}

/* Style for rating value < 2 */
div.meCommentList div.meCommentEntry table.header td.rating div.ratingbox table td.ratingvalue span.bad
{
	color: red;
}

/* Style for rating values between 2 and 4 */
div.meCommentList div.meCommentEntry table.header td.rating div.ratingbox table td.ratingvalue span.avg
{
	color: orange;
}

/* Style for rating values > 4 */
div.meCommentList div.meCommentEntry table.header td.rating div.ratingbox table td.ratingvalue span.good
{
	color: green;
}

/* Cell for "Rate" text */
div.meCommentList div.meCommentEntry table.header td.rating div.ratingbox table td.topcell
{
	border-bottom: 1px dotted black;
	font-size: 12px;
}

div.meCommentList div.meCommentEntry table.header td.rating div.ratingbox table td.bottomcell
{
	font-size: 12px;
}

/* Table for rating control */
div.meCommentList div.meCommentEntry table.header td.rating div.ratingbox table td.bottomcell table.ratingcontrol
{
	border-collapse: collapse;
	width: auto;
}

div.meCommentList div.meCommentEntry table.header td.rating div.ratingbox table td.bottomcell table.ratingcontrol td
{
	padding: 0px;
	width: 16px;
	height: 16px;
	background-repeat: no-repeat;
	cursor: pointer;
}

div.meCommentList div.meCommentEntry table.header td.rating div.ratingbox table td.bottomcell table.ratingcontrol td.unsel
{
	background-image: url('/images/layout/starBW.gif');
}

div.meCommentList div.meCommentEntry table.header td.rating div.ratingbox table td.bottomcell table.ratingcontrol td.sel
{
	background-image: url('/images/layout/star4c.gif');
}

div.meCommentList div.meCommentEntry table.header td.rating div.ratingbox table td.bottomcell table.ratingcontrol td.rated
{
	cursor: default;
}

div.meCommentList div.meCommentEntry table.header td.rating div.ratingbox table td.totalvotes
{
	font-size: 10px;
	text-align: right;
	padding: 1px 1px 0px 0px;
}

/* Cell for comment's author name */
div.meCommentList div.meCommentEntry table.header td.author
{
	font-weight: bold;
	font-size: 20px;
}

/* Cell for date */
div.meCommentList div.meCommentEntry table.header td.date
{
	font-size: 12px;
	font-style: italic;
	color: #585858;
}

/* Comment container div */
div.meCommentList div.meCommentEntry div.comment
{
	padding: 2px;
	color: #0D3155;
}

div.meCommentList div.meCommentEntry div.comment blockquote
{
	margin: 0px 0px 0px 5px;
	padding: 2px 2px 2px 10px;
	border: 1px solid #e0e0e0;
	background-image: url('/images/layout/quote.gif');
	background-repeat: no-repeat;
	background-position: top left;
}

/* Table for action links (report, remove, reject etc...) */
div.meCommentList div.meCommentEntry table.actions
{
	width: 100%;
	font-size: 12px;
	border-collapse: collapse;
}
div.meCommentList div.meCommentEntry table.actions td.right{
	padding-bottom:5px;
}
div.meCommentList div.meCommentEntry table.actions a
{
	text-decoration: underline;
	cursor: pointer;
}

div.meCommentList div.meCommentEntry table.actions a.inactive
{
	text-decoration: none;
	cursor: auto;
	font-style: italic;
	color: #888888;
}

div.meCommentList div.meCommentEntry table.actions a:hover
{
	color: #3b6f8f;
}

div.meCommentList div.meCommentEntry table.actions a.inactive:hover
{
	color: #888888;
}

div.meCommentList div.meCommentEntry table.actions td.left
{
	
}

div.meCommentList div.meCommentEntry table.actions td.right
{
	text-align: right;
}

/* Table for optional fields (email, address, phone etc...) */
div.meCommentList div.meCommentEntry table.optional
{
	border-collapse: collapse;
	font-size: 12px;
}

div.meCommentList div.meCommentEntry table.optional td.title
{
	font-weight: bold;
	padding-right: 10px;
	text-align: right;
}

div.meCommentList div.meCommentEntry div.adminwarning
{
	color: red;
	font-weight: bold;
}

/*
 * Comment editor styles
 */

/* Editor table */
table.meCommentEditor
{
	font-size: 12px;
}

/* Title cell */
table.meCommentEditor td.title
{
	text-align: right;
	vertical-align: top;
	padding-top: 2px;
	padding-right: 10px;
}

/* Text for required field */
table.meCommentEditor span.required
{
	color: red;
}

/* Cell for error messages */
table.meCommentEditor td.error
{
	font-weight: bold;
	color: red;
}

/* Cell for success messages */
table.meCommentEditor td.success
{
	font-weight: bold;
	color: green;
}

table.meCommentEditor input.text
{
	border: 1px solid #aaaaaa;
}

table.meCommentEditor textarea
{
	border: 1px solid #aaaaaa;
}

table.meCommentEditor input.button
{
	border: 1px solid #aaaaaa;
	background-color:#EEEEEE;
}
