.message_preview_image {
	display:inline-block;
	width:35%;
}

.message_preview_text {
	display:inline-block;
	width:60%;
	margin-left:30px;
	vertical-align:top;
	text-align: justify;
}


.channel_header {
	margin:20px 0 20px 0;
}

.channel_header img {
	border-radius:50%;
	margin:5px 20px 0 0;
}

.channel_header .td {
	vertical-align:middle;
}

.channel_header h1 {
	margin:0px !important;
}

.msg_control {
	text-decoration:underline;
	cursor:pointer;
	color:#333;
}

.msg_control.wbutton-disabled {
	text-decoration:none;
	cursor:default;
	color:#777;
}

.message.no_bg {
	border:none;
	background-color:transparent;
	box-shadow:none;
}

.message_comments {
	margin:-2px 0 0 0;
	padding:10px 30px 30px 30px;
	
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Для Firefox */		

	vertical-align:top; 

	border:1px solid #e7e7e7;
	border-radius:3px;
	/*box-shadow:0px 1px 0px rgba(0,0,0,0.1);*/
	
	border-top:0px;
	border-top-left-radius:0;
	border-top-right-radius:0;
	
	background-color:#fff;
}

.message_comments.hidden {
	display:none;
}

.files_table_about {
	color:#333 !important;
	text-decoration:none !important;
}

.user_typing_image {
	width:32px; margin: 0px 15px 0px 54px;
	border-radius:50%;
}

.users_reading_wrap {
	margin:20px 0 0 64px;
}

.user_reading_image {
	width:32px; margin: 0px 15px 0px 0px;
	border-radius:50%;	
}

.repost {
	width:100%;
	background-color:#F0F0F0;
	margin:4px 0 4px 0;
	border:1px solid #ddd;
	border-radius:3px;
}

.repost_icon, .repost_icon_view {
	width:26px;
	display:table-cell;
	border-left:2px solid #ddd;
}

.repost_icon .simg {
	background-image:Url('/images/comments/spoiler.png');
	margin:2px 0 0 4px;
	width:26px;
	height:26px;
	cursor:pointer;		
}

.repost_header, .repost_header_view {
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Для Firefox */
	padding:6px;
	color:#666;
	cursor:pointer;
	font-size:14px;
	line-height:18px;
	display:table-cell;
}

.repost_data {
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Для Firefox */
	background-color:#fff;
	padding:0;
	border-left:2px solid #ddd;
	display:none;
}

.message_higlight {
	border-color:#afed72 !important;
	box-shadow:0px 1px 5px 3px #e3f9cd !important;
}

.message_deleted {
	background-color:#fff2ea !important;
	border-color:#ffb07b !important;
}

/*
.message_higlight_wiki {
	border-color:#f5caf3 !important;
	box-shadow:0px 1px 2px 1px #f2eaf2 !important; 
}
*/
.message_higlight_wiki {
	border-color:#c1e1dd !important;
	box-shadow:0px 1px 2px 1px #dff8f5 !important; 
}

.message_wiki_lastedit {
	color:#5ebfb2;
	margin:5px 0 0 2px;
	line-height:22px;
}

.message_wiki_lastedit a {
	color:#5ebfb2 !important;
	
	
}

.message_higlight_moderator .messagetext {
	color:#ff4d00;
}


.message_user_transport {
	position:absolute;
	display:block;
	border:1px solid #eee;
	background-color:#fff;
	border-radius:50%;
	overflow:hidden;
	
	width:40px;
	height:40px;
	
	margin-left:80px;
	margin-top:-30px;
	
	box-shadow:0 1px 4px 0 rgba(117,117,117,.5);
	
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;	
}

.message_user_transport img {
	width:80%;
	height:80%;
	margin-top:3px;
}

.message_inline_user_transport img {
	display:inline-block;
	width:30px;
	height:30px;
	margin:0 0 0 10px;
}

.message_inline_user_nickname {
	color:#333;
}

.message_user_transport:hover {
	cursor:pointer;
	border:1px solid rgb(243, 203, 173);
	box-shadow:0px 1px 5px 3px #f4e7de;
}

.editor_insert_nickname {
	cursor:pointer;
}

.msg_left_nickname {
	margin-top:-4px;
}

#forum_sortable {
	padding:0px;	
}

#forum_sortable li {
	margin:0 0 10px 0;	
}

.forum_group {
	display:block;
	margin-bottom:15px;
	border:1px solid #ccc;
}

.forum_group_header {
	background-color:#eee;
	color:#222;
	padding:10px 15px 10px 15px;
	display:table;
	width:100%;
	cursor: move;
}

.forum_group_title {
	display:table-cell;
	vertical-align:top;
	font-size:18px;
	font-weight:bolder;
	color:#444;
}

.forum_group_open {
	display:table-cell;
	vertical-align:top;
	width:20px;
	line-height:0px;
}

.forum_group_open img {
	margin-top:3px;
	height:20px;
	cursor:pointer;
}

.postTime {
	margin:0 0 8px 3px;
	color:#aaa;
	font-size:13px;
}

.wbdeleted {
	color:#EB7E6C;
}

.message_menu {
	float:right;
	cursor:pointer;
}

.message_menu_popup {
	width:300px;
	margin-left:-275px;
	
	
	margin-top:-25px;
	
	z-index:3000;
	background-color:#fff;
	
	
	
	position:absolute;
	
	border-radius:3px;
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
	
	padding:10px;
}
.message_menu_icon {
	opacity:0.5;
}

.message_menu_icon:hover {
	opacity:1;
}


.message_menu_item {
	display:block;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Для Firefox */
	
	text-decoration:none !important;
	color:#aaa;
	width:100%;
	
	padding:5px 10px 5px 10px;
}

.message_menu_item:hover {
	background-color:#eee;
	color:#777;
}

.message_menu_item span {
	line-height:0px;
	display:table-cell;
	vertical-align:middle;
	padding-right:10px;
	color:#aaa;
}

.msg_wiki {
	width:100%;
}

.msg_wiki span {
	width:100% !important;
}

.msg_wiki div {
	float:right;
	height:10px;
}

.msg_wiki img {
	cursor:pointer;
	float:right;
	position:absolute;
	margin:-25px 0 0 -55px;
}

.msg_solution {
	display:block;
	width:100% !important;
	
}

.msg_solution_hint {
	font-size:12px;
	line-height:14px;
	color:#999;
	margin:10px 0 5px 0;
}

.msg_solution_rating {
	width:30px;
	height:30px;
	text-align:center;
	font-size:22px;
	padding-top:6px;
}

.msg_solution img {
	cursor:pointer;
}

.moderator_comment {
	border: 1px solid #ff4d00;
	margin-top:10px;
	padding:10px 15px 15px 15px;
	color:#ff4d00;
	word-break: normal;
    word-wrap: break-word;
	word-break: break-all;
}

.moderator_comment fieldset {
	padding:0 10px 0 10px;
	color:#ff4d00;
}

.moderator_comment a {
	color:#ff4d00 !important;
}

.ghost_warning {
	background-color:#ffc397;
	color:#893d06;
	border:1px solid #893d06;
	padding:20px;
	font-size:14px;
}

.login_warning {
	background-color:#ffebcb;
	color:#be7630;
	border:1px solid #be7630;
	padding:20px;
	font-size:14px;
}

.message_item {
	text-decoration:underline;
	cursor:help;
	color:#4286f4;
}

.subscriber_card {
	text-align:center;
	width:64px;
	font-size:12px;
	line-height:16px;
}

.subscriber_card img {
	width:48px;
	border-radius:32px;
}

.channel_hint {
	font-size:14px;
	padding:2px;
}

.comments_panel {
	width:100%;
	
	margin:4px 0 4px 0;
}

.comments_panel_icon {
	margin:2px 0 0 -2px;
	background-image:Url('/images/comments/spoiler.png');
	width:26px;
	height:26px;
	cursor:pointer;
}

.comments_panel_header {
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Для Firefox */
	padding:6px;
	color:#666;
	cursor:pointer;
	font-size:14px;
	line-height:18px;
}

.comments_panel_data {
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Для Firefox */		
	width:100%;
	background-color:#fff;
	border:1px solid #ccc;
	border-top:none;
	padding:20px;
	display:none;
}

.comments_panel_button {
	cursor:pointer;
	margin-right:10px;
}

.comments_panel_button img {
	width:48px;	
}


/* ############### Общая часть для мобильной и десктопной версии НАЧАЛО ################ */
[contenteditable]:focus {
    
	outline: 0px solid transparent;
}


.magnific-popup-container a:focus {
	outline:none;
	
}

.current_edit {
	
	border: 1px solid #f3cbad;
	box-shadow: 0px 1px 5px 3px #f4e7de;
	/*
	border: 1px solid #ddd;
	box-shadow: 0px 1px 5px 3px #eee;
	*/
	
}

.author_small_avatar {
	height:30px;
	border-radius:15px;
}

.inine_author_admin {
	color:#F83C0C !important;
}

.inine_author_moder {
	color:#50A800 !important;
}

.inine_author_member {
	color:#50A800 !important;
}

.inine_author_partner {
	color:#14A2EA !important;
}

.qaa_author {
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Для Firefox */
	padding:2px;
	border-top:1px dotted #777;
	padding-top:8px;
	margin:10px 0 0 0;
}

.message_nano {
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Для Firefox */
	width:100%;
	margin:5px 0 0 0;
	background-color:#fff;
	padding:10px;

	font-size:12px;
	line-height:16px;
}

.message_nano p {
	margin:0px;
}

.msg_anchor {
	position:absolute;
	margin-top:-80px;
}

.best_answer {
	/*
	background-color:#ebf4e9 !important;
	color:#374725 !important;
	*/
}

.best_answer .quote {
	color:#5E7941;
	background-color:#BCDAB5 !important;
	border-color:#374924;
}

.best_answer .quote hr {
	background-color:#5E7941;
}

.full_message {
	display:none;
}

.showFullMessage {
	cursor:pointer;
	text-decoration:underline;
}

/* ############### Общая часть для мобильной и десктопной версии КОНЕЦ ################ */
/*
.message_small {
    margin-left:-96px !important;
    margin-top:-25px !important;
    
    -transform-origin: top left;
    box-shadow: 1px 1px 1px 1px #ddd;
    width:700px !important;
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -webkit-transform: scale(0.72);
    -o-transform: scale(0.8);
    transform: scale(0.8);
}
*/

e.submit {
	height:60px;
	width:200px;
}

.messages {
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Для Firefox */		
	margin:0 0 40px 0;
}

.message {
	display:table;
	table-layout: fixed;
	width:100%;
	max-width:100%;
	max-width:inherit;
}

.message .top {
	display:table-row;
}

.message .bottom {
	display:table-row;
}

.message .left {
	max-width:inherit;
	display:table-cell;
}

.message .right {
	display:table-cell;
}

.messagetitle {
	color:#fff;
	background-color:#444;
	padding:6px 0 6px 10px;
}

.messagetext {
	word-break:normal;
	word-wrap:break-word;
	text-align:left;	
}

.messagetext h1 {
	font-size:36px;
	margin:5px 0 5px 0;
	line-height:44px;
}

.messagetext img {
	max-width:100% !important;
}

.messagetext::after {
    content: "";
    clear: both;
    display: table;
}

.messagetext .openattach{
	float:left;
	line-height:0px;
	margin-bottom:5px;
}

.messagetext table {
	/*
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	border-spacing:0px;
	width:100% !important;
	table-layout: fixed;
	*/
	
	table-layout:auto !important;
    display: block;
	
	min-width:100%;
    overflow-x: auto;
    /*white-space: nowrap;*/
}

.messagetext table tbody {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	
	display: table;
	width: 100%;
}

.messagetext td {
	border:1px solid #ccc;
	padding:8px;
}

.messagetext br, .messagetext p, .messagetext ul, .messagetext ol, .messagetext blockquote, .messagetext table, .messagetext tr, .messagetext td {
	clear:both;
}

.passive_link {
	text-decoration:none !important;
}

.message td {
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Для Firefox */		
}

.message {
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Для Firefox */		

	vertical-align:top; 

	margin:20px 0 0 0;
	background-color:#fff;
	color:#555;
	padding:10px;

	font-size:14px;
	line-height:18px;

	border:1px solid #e7e7e7;
	border-radius:3px;
	box-shadow:0px 1px 0px rgba(0,0,0,0.1);
	
	text-align:left;
}

.message .mobile_header {
	display:none;
}


.message .left {
box-sizing: border-box;
-moz-box-sizing: border-box; /* Для Firefox */	
vertical-align:top;

width:140px;
max-width:120px;
overflow:hidden;
border:0px;
height: auto;
background-color:transparent;
margin:0px;
text-align:center;
color:#333;
font-size:16px;
line-height:22px;

padding:10px 5px 0 10px;
}


.message .right input {
	margin:0 0 10px 0;
	font-size:14px;
} 

.message .msg_ans_rating  {
	vertical-align:top;
	display:table-cell;
	vertical-align:top;
width:72px;
border:0px;
height: auto;
background-color:transparent;
margin:0px;
text-align:center;
color:#333;

padding:inherit;
}



.message .left span  {
	display:-moz-inline-stack;
	display:inline-block;
	_overflow:hidden;
	zoom:1;
	*display:inline;
	vertical-align:top;
width:100px;
border:0px;
height: auto;
background-color:transparent;
margin:0px;
text-align:center;
font-size:12px;
line-height:14px;
margin-top:5px;
color:#555;
}

.message .author_image {
	display:-moz-inline-stack;
	display:inline-block;
	_overflow:hidden;
	zoom:1;
	*display:inline;
	vertical-align:top; 
width:68px;
margin:10px 10px 3px 10px;
border-radius:32px;
}


.message .right {
box-sizing: border-box;
-moz-box-sizing: border-box; /* Для Firefox */	

vertical-align:top;

padding:10px 10px 0px 20px;
border:0px;
height: auto;
background-color:transparent;
color:inherit;

position:relative;
overflow:visible;
}

.message_right_box {
	overflow:hidden;
}

.message .right a {
	color:#683000;
}

.message .right a:hover {
	color:#C02600;
}

.message_big_button {
	margin:0 10px 10px 0;
}


.message .ma {
	display:none;
}

.message:hover .ma {
	position:absolute;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Для Firefox */  
	padding:11px 15px;
	width:40px;
	height:40px;
	margin:0px;
	
	margin-left:600px;

	background-color:#ec3d14;
	background-image:Url('/images/edit.png');
	color:#fff;
	display:block;

	cursor:pointer;
}

.message .ma:hover {
	background-position:0 -40px;
}

.message .answers_count {
	color:#48a750;
	cursor:pointer;
	margin:12px 0 0 2px;
	display:block;
}

.msg_bottom_panel_spacing {
	height:60px;
}

.msg_bottom_panel {
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Для Firefox */
	
	margin:10px 0 4px 0;
	position:absolute;
	width:100%;
    bottom: 0;	
}

.msg_buttons {
	display:inline-block;
	margin-top:8px;
}

.msgvote {
	display:inline-block;
	float:right;
	margin:0 20px 0 0;
	
	padding:0;
	text-align:right !important;
}

.answer_vote {
	margin:inherit;
	padding:0 0 0 2px;
	margin-top:20px !important;
}

.author_city {
	display:block;
	margin:6px 0 0 0 !important;
	padding:0px !important;
	font-size:12px;
	line-height:12px !important;
	color:#777;
	text-align:center !important;
	text-decoration:none;	
}

.rating_good {
	display:block;
	margin:0px !important;
	padding:0px !important;
	font-size:12px;
	color:#48a750;
	text-align:center !important;
	text-decoration:none;
}

.rating_bad {
	display:block;
	margin:0px !important;
	padding:0px !important;
	font-size:12px;
	color:#9E150C;
	text-decoration:none;
}

.rating_good:hover, .rating_bad:hover {
	color:#6bcf74;
}

.msg_link {
	color:#683000;
}

.msg_link:hover {
	color:#C02600;
}

.forum_user_status {
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Для Firefox */
	font-size:10px !important;
	margin:0px !important;
	padding:0px !important;
	cursor:help;
}

.forum_user_status a {
	color:inherit !important;
	text-decoration:none;
	line-height:18px;
}

.forum_user_status a:hover {
	text-decoration:underline;
}








.message_masonry {
	max-width:320px;
	display:inline-block;
	margin:10px 10px 20px 10px;
	padding:0px;
	
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;	
	
	box-shadow:0 7px 15px 0 rgba(117,117,117,.3);
	border-radius:0px;
	border:none;
	border-top:1px solid #eee;
}

.message_masonry:hover {
	/*border-color:#ccc;*/
	box-shadow:0 1px 2px 0 rgba(117,117,117,.5);
}

.message_masonry .top {
	display:block;
	width:100%;
}

.message_header {
	background-color:#f7f7f7;
	width:100%;	
	height:28px;
	border-bottom:1px solid #ddd;
	padding:4px 10px 0 10px;
}

.message_masonry:hover .message_header {
	background-color:#eee;
}

.message_header a {
	color:#777;
	text-decoration:none;
}

.message_masonry:hover .message_header a {
	color:#444;
}

.message_header a:hover {
	color:#555;
	text-decoration:underline;
}

.message_masonry .right {
	display:block;
	width:100%;
	padding:10px 10px 5px 10px !important;
}


.message_masonry  .messagetext {
	word-wrap:break-word;
}

.message_masonry  .msgvote {
	margin-right:-8px;
}

.message_masonry  .messagetext h2 {
	font:20px 'Ubuntu Condensed';
	line-height:24px;
}

.message_masonry .msg_bottom_panel_spacing {
	height:10px;
}

.message_masonry .msg_bottom_panel {
	margin-top:0px;
	position:static;
}

.message_premoder {
	/*background-color:#fff6e8 !important;*/
	border-color:#EB7E6C !important;
}


/*
.forum_user_moder {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	background-color:#f5860e !important;
	border:1px solid #834808 !important;
	font-size:10px !important;
	color:#fff !important;
	margin:4px 0 0 0 !important;
	padding:0px !important;
}

.forum_user_member {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	background-color:#50A800 !important;
	border:1px solid #076800 !important;
	font-size:10px !important;
	color:#fff !important;
	margin:4px 0 0 0 !important;
	padding:0px !important;

}


.forum_user_ghost {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	background-color:#CACACA !important;
	border:1px solid #696969 !important;
	font-size:10px !important;
	color:#696969 !important;
	margin:4px 0 0 0 !important;
	padding:0px !important;

}

.forum_user_partner {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	background-color:#14A2EA !important;
	border:1px solid #1B5E80 !important;
	font-size:10px !important;
	color:#fff !important;
	margin:4px 0 6px 0 !important;
	padding:2px 0 2px 0 !important;
	line-height:14px !important;

}
*/

.smallmessage {
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Для Firefox */	
	display:-moz-inline-stack;
	display:inline-block;
	_overflow:hidden;
	zoom:1;
	*display:inline;
	vertical-align:top; 
width:100%;
margin:0 0 20px 0 !important;
text-align:left !important;
padding:20px !important;

color:#777 !important;
background-color:#f7f7f7 !important;

word-break: break-all;
}


.smallmessage .left  {
	display:-moz-inline-stack;
	display:inline-block;
	_overflow:hidden;
	zoom:1;
	*display:inline;
	vertical-align:top;
width:90px !important;
border:0px !important;
height: auto !important;
background-color:transparent !important;
margin:0px !important;
padding:0px !important;
text-align:center !important;
color:#333 !important;
font-size:12px !important;
}

.smallmessage .left span  {
	display:-moz-inline-stack;
	display:inline-block;
	_overflow:hidden;
	zoom:1;
	*display:inline;
	vertical-align:top;
width:90px !important;
border:0px !important;
height: auto !important;
background-color:transparent !important;
margin:0px !important;
text-align:center !important;
font-size:10px !important;
line-height:14px !important;
margin-top:5px !important;
color:#555 !important;
}

.smallmessage .left img {
	display:-moz-inline-stack;
	display:inline-block;
	_overflow:hidden;
	zoom:1;
	*display:inline;
	vertical-align:top; 
width:48px !important;
margin:10px 10px 3px 10px !important;
}

.smallmessage .right {
	display:-moz-inline-stack;
	display:inline-block;
	_overflow:hidden;
	zoom:1;
	*display:inline;
	vertical-align:top;
margin:10px 10px 10px 10px !important;
border:0px !important;
height: auto !important;
background-color:transparent !important;
width:400px !important;
color:#555 !important;
overflow:hidden !important;
font-size:10px !important;
line-height:14px !important;
}


.msgitem {
	width:16px !important;
	margin:2px !important;
}

.online_block {
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Для Firefox */	
	
	overflow:hidden;
	
	display:block;
	text-decoration:none;
	
	/*padding:4px 4px 4px 8px;*/
	width:100%;
	background-color:#f5f5f5;
	font-size:12px;
	line-height:16px;
	color:#777;
	min-height:70px;
	text-align:left;
	border-top:2px solid #fff;
	clear:both;
	white-space: nowrap;
}

.online_block span {
	white-space: normal;
}

.online_block:hover {
	text-decoration:none;
	/*background-color:#FFF06F;*/
	background-color:#fff;
	color:#656031;
}

/*
.online_block hr {
    border: none; 
    color: #ddd;
    background-color: #ddd;
    height: 1px;
    margin-top:1px;
}
*/

.online_block_title {
	border-bottom:1px dotted #ccc;
	padding:0;
	margin-bottom:6px;
	height:19px;
	overflow:hidden;
	line-height:18px;
	vertical-align:top;
	white-space: nowrap;
}

.online_block_title span {
	color:#000;
	vertical-align:top;
	background-color:#ddd;
	padding:0 6px 0 4px;
	height:19px;
	display:inline-block;
}

.online_block_title div {
	display: inline-block;
    width: 0px;
    height: 0px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 5px solid #ddd;
}

.online_block_title font {
	display:inline-block;
	vertical-align:top;
	margin-left:4px;
}

.online_block_avatar {
	margin:0px 8px 8px 8px;
	float:left;
	width:32px;
}

.online_block_avatar img {
	width:32px;
	border-radius:16px;	
}

.comments_continue {
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Для Firefox */	
		
	display:block;
	
	width:100%;
	height:140px;
	
	padding:100px 0 0 0 !important;

	margin-top:-80px;
	
	position:relative;

	background-color:transparent !important;
	background-image: linear-gradient(to bottom, transparent, white);
}

.comments_continue div {
	width:100%;
	display:block;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Для Firefox */	
	border:1px solid #EB7E6C;
	padding:10px;
}

.comments_continue_of {
	margin-bottom:20px !important;
	width:100%;
	display:block;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Для Firefox */	
	border:1px solid #EB7E6C;
	padding:10px;
}


/*
.usereditmessage {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	
	padding:4px 8px 4px 8px;
	text-decoration:none;
	background-color:#f5f5f5 !important; 
	color:#999 !important;
	margin-right:10px;
	cursor:pointer;
}
*/
.plain_catalog {
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Для Firefox */	
	
	display:table;
	background-color:#f7f7f7 !important;
	border-left:6px solid #999;
	
	width:100% !important;
	
	color:#777;
	margin:10px 0 10px 0;

	max-height:40px !important;
	
	/*padding:10px 10px 10px 10px !important;*/
	
	
	/*box-shadow: 1px 1px 1px 1px #ddd;*/
}

.plain_catalog_td {
	display:table-cell;
	vertical-align:middle;
	padding:5px 10px 5px 10px;
}

.plain_catalog_descr {
	display:block;
	text-decoration:none;
	cursor:pointer;
	color:#777 !important;
	
	max-height:66px !important;
	overflow:hidden;	
}

.plain_catalog_descr:hover {
	text-decoration:none;
	color:#333 !important;
}

.plain_catalog_td h5 {
	font-size:16px;
	line-height:20px;
	font-weight:bolder;
	margin:0 0 6px 0;
}

.plain_catalog_price {
	font-size:18px;
}


.quote {
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Для Firefox */	
	
	display:block;
	
	width:100% !important;
	margin:10px 0 10px 0 !important;
	color:#777;

	width:100% !important;
	text-align:left !important;
	padding:10px 10px 10px 10px !important;

	background-color:#f7f7f7 !important;
	
	border-left:3px solid #999;
	
	font-weight:normal;
	/*box-shadow: 1px 1px 1px 1px #ddd;*/
}

.quote .qthumb {
	width:20px;
	border-radius:50%;
	float:left;
	margin-right:6px;
}

.quote-author {
	border-bottom:1px solid #ccc;
	display:block;
	padding-bottom:8px;
	margin-bottom:6px;
	font-weight:bolder;
}

.quote-author.qmsg {
	font-weight:normal;
}

.quote-author.qmsg .sourcemsg {
	float:right;
	width:20px;
	margin-left:10px;
}


.quotemessage {
	display:none;
}

.inv {
	display:none;
}

.messagetext {
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Для Firefox */
	padding:2px;
	line-height:20px !important;
	color:#494949;
	
	border:1px solid transparent;
}

.messagetext li {
	margin:3px;
}

.messagetext h2 {
	margin:6px 0 6px 0;
	font-size:28px;
}

.messagetext p {
	margin:0px;
}

.messagetext img.thumbnail {
	display:-moz-inline-stack;
	display:inline-block;
	_overflow:hidden;
	zoom:1;
	*display:inline;
	vertical-align:top; 
		
	margin:6px 8px 4px 0px;
}

/*
.editmessage {
	width:26px !important;
	text-align:center;
}
*/

.savemessage {
	display:none;
}


.emptyicon {
	width:0px !important;
	height:26px !important;
	
}

.sendmessage {
	text-align:center;
	width:150px !important;
}

.savedraft {
	text-align:center;
	width:150px !important;
}

.animate_new_message {
	margin-top:-300px;
	opacity:0;
}

.new_edit_text:empty:before{
  color:#aaa;
  content: attr(placeholder);
  display: block; /* For Firefox */
}

[contenteditable=true] {
  /*white-space: pre;*/
}

pre{
    white-space: pre-wrap;
}

.message .youtube {
	max-width:640px;
	margin:0 auto;
	margin-top:10px;
	margin-bottom:10px;
}

.message_button {
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Для Firefox */

	width:24px;
	height:24px;

	margin-right:15px;
	cursor:pointer;
    
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;	
}

.message_button img {
	width:100%;
}

.message_button:hover {
	margin-top:-5px;
}

.message_button.comments_count {
	width:auto;
	line-height:21px;
	color:#a0c453;
}

.message_button.comments_count img {
	width:24px;
	margin-right:6px;
	float:left;
}

.message_button.comments_count a {
	color:#a0c453;
	text-decoration:none;
}

.message_button.comments_count a:hover {
	color:#a0c453;
}

.comment {
	border:none;
	border-radius:0;
	border-top:1px solid #ddd;
	padding:10px 0 0 0;
	margin-top:10px;
	box-shadow:none;
}

.comment .right {
	padding:10px 10px 10px 15px;
}
/*
.comment .messagetext {
	font-size:13px;
	line-height:18px !important;
}
*/

.comment .msg_bottom_panel_spacing {
	height:40px;
}

.comment .postTime {
	margin-bottom:2px;
}

@media only screen and (max-width: 640px) {
	.message_masonry {
		margin:5px 0 5px 0 !important;
		display:block !important;
		max-width:100% !important;
	}
}

@media only screen and (max-width: 450px) {
	.message_big_button {
		display:block;
		width:100% !important;
		margin:0 0 10px 0;
	}
		
}

.inline_nickname {
	margin:-4px 0 0 10px;
}

.smallmessage .inline_nickname {
	margin:0px !important;
}

@media only screen and (max-width: 900px) {
			.channel_header {
				margin:5px 0 10px 0;
			}
			
			.channel_header img {
				margin-right:10px;
			}
			
			.channel_header h1 {
				font-weight:bolder;
			}
			
			.message_comments {
				padding:10px;
			}
			
			.msgvote {
				margin:0;
			}
			
			.user_typing_image {
				margin-left:0px;
			}
			.users_reading_wrap {
				margin:10px 0 0 0;
			}			
			
			.messages {
				width:100%;
				max-width:100%;
				margin:0px;
			}
			
			.message {
				box-sizing: border-box;
				-moz-box-sizing: border-box; /* Для Firefox */	
				
				vertical-align:top; 
				
				max-width:100%;
				
				background-color:#fff;
				padding:0px;
				font-size:14px;
				line-height:18px;
				
				
				padding:10px;
				
				overflow:show;
			}
						
			.message .left {
				display:none;
			}

			.message .mobile_header  {
				box-sizing: border-box;
				-moz-box-sizing: border-box; /* Для Firefox */	
				display:inline-block;
				margin-top:-8px;
				padding:5 0 5px 0;
				white-space:nowrap;
			}
			
			.message .mobile_header  a {
				font-size:14px;
				text-decoration:none;
			}
			
			.message .mobile_header  .nickname {
				margin:0px 0 0 10px;
				line-height:14px;
			}
			
			.message .mobile_header span {
				font-size:12px;
			}
			
			.message .right  {
				box-sizing: border-box;
				-moz-box-sizing: border-box; /* Для Firefox */	
				
				display:block;
				width:100%;

				vertical-align:top;
				
				border:0px;
				height: auto;
				background-color:transparent;
				color:#333;	

				text-align:left;
				padding:10px 0 0 0;
			}			
/*
			.message .right {
				box-sizing: border-box;
				-moz-box-sizing: border-box; 
				
				width:100%;
				max-width:100%;
				
				vertical-align:top;
				margin:0 0 10px 0;
				border:0px;
				height: auto;
				background-color:transparent;
				color:#333;
				
				word-break:normal;
				word-wrap:break-word;
				
				text-align:left;
				padding:10px 0 10px 0;
				overflow:hidden;
			}
*/
/*
			.message_button {

				width:18px;
				height:18px;

				margin-right:10px;
				cursor:pointer;
				
				-webkit-transition: all 0.2s ease;
				-moz-transition: all 0.2s ease;
				-o-transition: all 0.2s ease;
				transition: all 0.2s ease;	
			}
*/			
			.message .msg_ans_rating {
				display:none;
			}
			
			.messagetext {
				color:#111;
				max-width:100%;
				width:100%;
				line-height:18px;
			}
			
			.mobile-message {
				position:absolute;
				background-image:Url('/images/mobile-message.png');
				margin:-6px 0 0 -23px;
				width:10px;
				height:39px;
			}
			
			.msg_wiki img {
				cursor:pointer;
				float:right;
				position:absolute;
				margin:-51px 0 0 -70px;
			}

			.message_masonry {
				padding:0px;
			}
}


