/* Discussion CSS */
.message {
	display: block;
	position: relative;
	overflow:hidden;
	border: solid 1px #e2e4e7;
	margin: 5px 0 25px 0;
	padding-top: 3px;
}
	.message.commy {
		border: 2px solid #e0e2e5;
		background-color: #f1f1f2;
		border-top: 3px solid #77b53a;
	}
		.message.not_com,
		{
			color: #949494;
		}
	#previewHTML .message {
		width: 700px;
		background-image:none;
	}
	#previewHTML .message .text {
		float: none;
		width:600px;
		padding-left: 120px;
	}
.message .text {
	min-height:85px;
	width: 855px;
	overflow: hidden;
	float: none; 
	padding: 5px 0; 
	vertical-align: top;
	margin: 3px 0 3px 120px;
}
	.commy .text { color: black;  line-height:18px;}
		.message .text .works{ 
			width: 20%; 
			text-align: center;  padding: 0 10px 0 10px; 
		 	white-space:nowrap;}
		.message .text td { vertical-align: top; height: 100px; }
		.message .text .works h3 {
			text-align: center;
			font-size: 11px;
			font-weight: normal;
			color: #666666;
			text-transform: uppercase;
			margin: 0px;
			padding: 2px;
			border-top: 1px solid #CCCCCC;
		}
			.message .text .works a img { padding: 2px; width: 120px; height: 120px; }
				.text .works ul { display: none; }
.message .info {
	/*background: url(/img/msg_top_bg.png) center top;*/
}
.message .last_act {
    left: 25px;
    position: absolute;
    top: 105px;
	width: 60px;
	text-align:center;
}
	.message.commy .last_act { top: 120px; } 
.message .info div {
	position: absolute;
	top: 5px;
	right: 10px;
}
.message .mprop {
	position: relative;
	text-align: right;
	padding-top:2px;
	padding-bottom:3px;
}
.short_mprop
{
	margin: auto;
	max-width: 200px;
}
.message .mprop a, 
.short_mprop a {
	padding-right: 5px;
	padding-left: 5px;
	margin-right: 2px;
	margin-left: 4px;
	/*border: 1px solid #CCCCCC;*/
	text-decoration: none;
}
.message  a.abuse_button {
	width: 18px;
	height: 16px;
	background: transparent url(/img/asterisk.png) no-repeat center center;
	overflow: hidden;
	display:inline-block;
	/*position: absolute;
	bottom:6px;
	right:2px;*/
	padding-right:0px;
	margin-right:0px;
	padding-bottom:2px;
}

.message a.avatar { text-decoration:none; }
.message .avatar {
	float:none;
	position: absolute;
	width:105px;
	text-align:center;
	height:90px;
	overflow:hidden;
	top: 40px;
	left: 0px;
} 
.message ul.bid { 
	overflow:hidden; 
	height: 28px; 
}
.message.commy ul.bid { color: #000; }
	.message .bid li {  
		padding: 5px; 
		display: block;  
		float:left; 
		min-width: 130px;  
		max-width:160px; 
		text-align: center; 
		overflow:hidden;
	}
		.message.commy  .bid li {
			border-left: 1px solid white; 
			border-right: 1px solid #d3d5d9;
		}
		.message.commy  .bid li:first-child { border-left: none;  }
		.message.commy  .bid li:last-child { border-right: none; }
	.commy .bid .cost { color: #be3608; font-weight: bold; }
	.commy .bid .cost b  { color: black; }
	/*.commy .bid .cost {background: #dff2c1;}
	.commy .bid .ppay {background: #e9f5d5;}
		.message .bid .ppay a{color:#333;}
	.message .bid .term {background: #EDF7DD;}
	.message .bid .city {background: #f4fced;}
	*/
		.message .m_reviews { padding-left: 10px; }
		.message .m_reviews b {
			padding-right: 6px;
			display: table-cell;
		}
		.message.not_com .m_reviews b { color: #949494; }
		.message .m_reviews .positive, 
		.message  .m_reviews .negative {
			background: url("/img/plus_minus.png") no-repeat scroll 0 0 transparent;
			font-size: 11px;
			height: 18px;
			padding: 0px 4px 0px 18px;
			width: auto;
			display: table-cell;
			vertical-align: middle;
		}
		.message .m_reviews .positive {
			background-position: left top;
		}
		.message .m_reviews .negative {
			background-position: left bottom;
		}
		.message .m_reviews a:hover { text-decoration: none; color: #333; }
		.message .m_reviews  .positive.empty, 
		.message .m_reviews  .negative.empty { background-image: url(/img/plus_minus_gray.png); color: #999999;  }
	
.message .mm
{
	width:100%;
	margin-bottom: -2px;
	border-top: 1px solid #e2e4e7;
}
.message .mm td { white-space: nowrap; vertical-align:middle; padding: 5px 2px; }
	.commy  table.mm {
		border-collapse: separate;
		border-top: 2px solid #e2e4e7;
	}
	.commy  table.mm td {
		border-top: solid 1px white;
		background: #e3e4e6 url(/img/grad-12.png) repeat-x left top;
	}
.message .finish
{
	display: none;
	/*background: url(/img/msg_bot_bg.png) no-repeat center bottom;
	height: 11px; */
}
.message .dates { 
	position:absolute; 
	top: 11px;
	right: 10px;
	background: url(/img/chasiki2.png) left center no-repeat;
	padding-left: 14px;
	font-size: 11px;
}
.message .info a { text-decoration:none; }
.message .edited { clear:both; font-size: 10px; margin-left: 120px; color: #999;}	

.commy {
	min-height:110px; 
}

.not_com .info  {
	font-size:16px;
	padding: 16px 20px 5px 20px;
}

.discussion h1 {
	text-align: left;
}

/* .discussion form { 	width: 600px;  } */

.discussion form h3 {
	text-align: left;
	font-size: 18px;
}

.discussion .msg_note {
	font-size: 12px;
	font-style: normal;
	text-align: justify;
	margin-top: 10px;
}

.discussion #msg_body {
	width:600px;
	height:190px;
}

.discussion .project_url {
	text-align: left;
}

.discussion #msg_body {
	width:600px;
	height:190px;
}

.discussion .new_msg_button { 
	text-align: center;
	padding: 5px;
}
.discussion .new_msg_button a {
	margin: 5px auto;
	font-size: 12px;
	padding: 5px 15px;
	background: #E5E6E8 url(http://freelance.ru/pub/img/contest_buttons_bg.png) no-repeat center center;
	width: 220px;
	height: 16px;
	color: black;
	border: 2px solid #e1e1e1;
	display:block;
}	
	.discussion .new_msg_button a:hover { text-decoration: none;  background-position: center -8px; }
		.discussion .new_msg_button a:active { top: 1px;  position:relative; }
	.discussion .new_msg_button a.exist { color:#333; font-size:11px; background-color:#C9ED8B;}
	

.discussion .project_url {
	text-align: left;
	margin: 10px 0;
	font-weight: bold;
}
#msg_form, .project_url, .discussion h2 { padding: 0 15px; }
#msg_form .ext #cost,
#msg_form .ext #term
{
	text-align: right;
	padding: 2px;
}
#msg_form #proj_table { 
	margin-bottom:20px; clear:both;
	border: 1px solid #E0E2E5;
	border-top: 1px solid #E0E2E5;
	border-bottom: none;
}
	#proj_table  h2 { padding: 10px 0; font-size: 18px; }
	#msg_form #proj_table td {
		border-bottom: 1px solid #E0E2E5;
	}
		#msg_form #proj_table tr:hover td { background: #e1e1e1; }
.att_list_short { margin: 5px 15px 5px 86px; clear: both}

.answer_text { padding: 5px 25px; background: #F9F9F9;  margin-bottom:5px; font-style:italic; }
.answer_edit,
a.answer_close, 
a.answer_save,
a.answer_button,
.answer_data { display: none; }


.answer { 
	border-top: 1px dotted #eee;
	clear: both; 
	margin: 5px; 
	padding: 5px;
	position: relative;
}
/*
.answer_data { position: absolute; top:10px; right:10px; font-size: 11px; color: #666;}
.answer_text { padding: 5px 80px 5px 28px; background: #eee url(/img/answer_bg.gif) no-repeat 5px center;  margin-bottom:5px;}
.answer_edit textarea{ margin-bottom:6px; width: 95%; height: 80px;}

a.answer_close, 
a.answer_save,
a.answer_button { border: 1px solid #ccc; padding: 2px 5px; margin-right: 5px; text-decoration: none; }
*/
.text .signature {
		display: block;
		margin-top: 7px;
		padding-top:6px;
		color:#666666;
		color:#666666;
		background: url('/img/grad1.png') left top no-repeat;
}

.th_message {
	display: block;
	padding: 4px 40px 4px 90px;
	margin: 5px 15px;
	background:#EFEFEF;
	position: relative;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	min-height: 30px;
}
	.th_message.employer { background: #F4FCED; }
.th_message .author{ float: left; font-weight: bold; margin-left: -80px; width: 80px; text-align: center;}
.th_message .short_date{ float: left;  margin-left: -78px;  font-size: 10px; padding-top: 18px; }

.th_message .short_mprop  { position: absolute; right:5px; bottom: 5px; margin:0; width: 50px; }
.th_message .short_mprop a { display: block; }

.discussion .rating { display: none; }
.discussion .usr_head
 {
	clear:both;
	font-size:20px;
	margin: 3px 200px 0 20px;
	display: table;
	color: #949494;
}
	.usr_head a { color: #949494; }
	.usr_head a:hover { text-decoration: none;  }
	.discussion .commy .usr_head  a { color: black; }
	.discussion .commy .usr_head  a:hover { color: #328202; }
	.discussion .usr_head h4 {
			font-size:20px;
			padding-top:12px;
			font-weight:normal;
			display: table-cell;
			vertical-align: bottom;
	}
	.discussion h4 span { color: #CCC; }
	.discussion .commy h4 span { color: #328202; }
	.discussion .usr_label {
		display: table-cell;
		vertical-align: top;
		text-align: left;
	}
	.discussion .status_bar.empty {
		display:none;
	}
	.discussion .status_bar span {
		display:block;
		width:45px;
		height:18px;
		text-indent: -99999px;
		background-image:  url(/img/labels_bg.png);
		background-repeat: no-repeat;
	} 
		.discussion .status_bar span.master,
		.discussion .status_bar span.ulabel1 { background-position: left top;  }
		.discussion .status_bar span.creator,
		.discussion .status_bar span.ulabel2 { background-position: left -18px; }
		.discussion .status_bar span.studio,
		.discussion .status_bar span.ulabel3 { background-position: left -36px;  }
		.discussion .status_bar span.expert,
		.discussion .status_bar span.ulabel4 { background-position: left -54px;  }
		
table.ext, p.note2 { margin-bottom: 10px; }

