﻿div#comments {
	border-bottom: 5px solid #A9A9A9;
	padding: 10px 2px;
	position: relative;
}

.list-all-comments {
	max-width: 612px;
    min-width: 500px;
}

.comment-data {
	line-height: 14px;
}

.modal_social {
	position: absolute;
	right: 0;
	top: 10px;
}

.modal_social_text {
	position: absolute;
	right: 100px;
	text-transform: none;
	top: 14px;
	font-size: 14px;
}

.comments {
	position: relative;
}

.comments_first_child {
	padding: 20px 0 22px;
}

.message-page-list .comments_first_child {
	padding: 20px 0 4px;
}

.comments_answer {
	padding: 0 0 0 82px;
}

.comments_answer_margin {
	margin: 0 0 22px 82px;
}

.deletecomment {
	opacity: 0.6;
}

.notpubliccomment {
	background: #FCE5E5;
}

.spancomment {
	background: #eee;
}

.notpubliccommenttext {
	color: #6B6B6B;
}

.notpubliccommenttext strong {
	color: #CB0000;
}

.comments .user {
	position: relative;
	top: 5px;
	overflow: hidden;
	display: block;
	float: left;
	width: 58px;
	height: 58px;
}

.comments .user img { /*margin: 4px 20px 20px 0px;*/
}

.comments .comment-content {
	margin-left: 82px;
}

.comments .comment-content p {
	font: 13px/18px Verdana;
	padding: 3px 0px;
}

.comments .comment-content .commentInfo {
	padding: 0 0 5px;
}

.comments .commentAction {
	float: right;
	height: 22px;
}

.comments .commentInfoName {
	padding: 0 0 5px;
	height: 22px;
}

.comments .commentAction .link:hover {
	color: #CA2027;
}

.comments .answer_comment_padding {
	padding: 0 0 0 82px;
}

.comments .comments_answer_user {
	float: right;
	height: 32px;
	margin: 5px 0 0;
	display: inline-block;
	width: 150px;
}

.comments .comments_answer_user > .comments_answer_user_fio {
	height: 22px;
	max-width: 140px;
	overflow: hidden;
	display: inline-block;
}

.comments .comments_answer_user > .comments_answer_user_fio > a {
	display: inline-block;
	white-space: nowrap;
}

div.comments span.comments_answer_user_close {
	cursor: pointer;
}

div.comments .topButton {
	display: block;
	height: 26px;
	position: absolute;
	right: 0;
	top: 24px;
	width: 100px;
    text-align: right;
}

div.comments .topButton > ._topButton {
	display: block;
	opacity: 0.3;
	height: 26px;
	width: 100px;
	white-space: nowrap;
	overflow: hidden;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

div.comments .topButton:hover > ._topButton {
	opacity: 1;
}

div.comments ._topButton > div {
	float: right;
	margin: 0 0 0 3px;
}

div.comments .topButton .icon {
    display: inline-block;
	cursor: pointer;
	opacity: 0.5;
	color: #000;
    width: 18px;
    height: 23px;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

div.comments .topButton .icon:hover {
	opacity: 1;
}

.commentInfo .data-time {
	font-size: 11px;
	line-height: 13px;
	color: #B1B2B4;
}

.comment-div {
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	border: 1px solid #B0B0B2;
	padding: 5px;
	position: relative;
	margin: 5px 0 10px;
	line-height: 0;
	font-size: 0;
}

.comment-div-edit {
	margin-left: 0;
}

.comments_message {
	max-height: 300px;
	min-height: 46px;
	height: 46px;
	width: 100%;
	resize: vertical;
	font-size: 18px;
    line-height: 22px;
	border: 0;
	outline: none;
	padding: 0;
}

.comment-action {
	text-align: right;
}

.com-act {
	display: inline-block;
	padding: 0 4px 0 0;
	height: 24px;
	width: 24px;
}

.com-act > div,.com-act > .div {
	cursor: pointer;
	font-size: 24px;
	color: #3c3c3c;
}

.com-act .comment-uploader {
	position: relative;
}

.com-act .comment-uploader > div {
	position: absolute !important;
	overflow: hidden;
	left: 0;
	top: 0;
}

.com-act .comment-uploader input {
	cursor: pointer;
}

.comments_add_button {

}

div.Review {
	margin: 7px 0px;
}

/* редактирование комментария */
.commentsEditButtoms {
	text-align: right;
}

div.commentsEditButtom {
	background: url('/Images/buttom_bg.png') repeat-x;
	position: relative;
	display: inline-block;
	padding: 0 20px;
	height: 23px;
	margin-bottom: 30px;
}

div.commentsEditButtom:hover {
	background: url('/Images/buttom_bg.png') repeat-x 0px -23px;
}

div.commentsEditButtom:active {
	background: url('/Images/buttom_bg.png') repeat-x 0px -46px;
}

div.commentsEditButtom .left {
	position: absolute;
	left: 0;
	top: 0;
	width: 6px;
	height: 23px;
	background: url('/Images/buttom_left.png') no-repeat;
}

div.commentsEditButtom:hover .left {
	background: url('/Images/buttom_left.png') no-repeat 0px -23px;
}

div.commentsEditButtom:active .left {
	background: url('/Images/buttom_left.png') no-repeat 0px -46px;
}

div.commentsEditButtom .right {
	position: absolute;
	right: 0;
	top: 0;
	width: 6px;
	height: 23px;
	background: url('/Images/buttom_right.png') no-repeat;
}

div.commentsEditButtom:hover .right {
	background: url('/Images/buttom_right.png') no-repeat 0px -23px;
}

div.commentsEditButtom:active .right {
	background: url('/Images/buttom_right.png') no-repeat 0px -46px;
}

div.commentsEditButtom a {
	color: #3C3B39;
	font-weight: bold;
	line-height: 16px;
	text-decoration: none;
	font: 16px 'pf_agora_slab_pro_blackRg',arial;
}

div.commentsEditButtom {
	background: url('/Images/buttom_bg.png') repeat-x 0px -69px !important;
}
/* div.commentsEditButtom > a { cursor: pointer; color: #C2C2C2; font: 16px "pf_agora_slab_pro_blackRg", "arial"; text-decoration: none; }*/
div.commentsEditButtom .left {
	background: url('/Images/buttom_left.png') no-repeat 0px -69px !important;
}

div.commentsEditButtom .right {
	background: url('/Images/buttom_right.png') no-repeat 0px -69px !important;
}

div.commentsEditButtomDisable a {
	color: #3C3B39;
}
/* редактирование комментария end */

.comment_window {
	overflow: hidden;
	padding: 5px;
}

.c-block {
	padding: 2px;
	float: left;
}

.c-block > div {
    background-image: url("/Images/comments/smile-new.png");
    background-size: 220px 594px;
    background-repeat: no-repeat;
	width: 22px;
	height: 22px;
	cursor: pointer;
}

.c-b {
	display: inline-block;
	width: 16px;
	background-image: url("/Images/comments/icon-smile-new.png");
	background-repeat: no-repeat;
	margin: 2px 3px 0 0;
	height: 16px;
	position: relative;
	top: 2px;
}

.c-p {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 17px;
    margin: 0;
    padding: 0;
}

.c-n {
    display: block;
    width: 22px;
    height: 22px;
    background-image: url("/Images/comments/smile-new.png");
    background-size: 220px 594px;
    background-repeat: no-repeat;
    position: absolute;
    top: -1px;
}

.commentItem {
	word-wrap: break-word;
	font-size: 18px;
	line-height: 22px;
	padding: 0 0 17px 0;
}

.commentItem .comment_dop_content {
	margin-left: 0;
}

.comment_video_window_div {
	height: 100px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	border: 1px solid #B0B0B2;
	box-shadow: 1px 1px 3px #B0B0B2 inset;
	padding: 5px;
	margin: 5px;
	outline: none;
}

.comment_video_window_textarea {
	resize: none;
	height: 100px;
	border: 0;
	width: 100%;
	padding: 0;
}

.comment_video_window_text {
	margin: 5px;
	font-size: 16px;
    text-align: left;
    line-height: 22px;
}

.comment_video_window_input > div {
	margin-bottom: 5px;
}

.comment_dop_content {
	padding: 10px 0 4px 0;
	position: relative;
	/*width: 530px;*/
}

.answer_comment_form form > .comment_dop_content,
.comments_answer .comment-content > .commentItem > .comment_dop_content,
.comments_answer .comment-content > .commentItem > .comment_dop_content_jpg {
	position: relative;
	left: -82px;
}

.comment_dop_content_remove {
	width: 37px;
	height: 32px;
	background-image: url(/Images/comments/icon-action.png);
	cursor: pointer;
	background-position: -37px -96px;
	position: absolute;
	right: 0;
	top: 20px;
	z-index: 1;
}

.comment_dop_content_remove:hover {
	background-position: 0px -96px;
}

.video-pleer {
	height: 360px;
	cursor: pointer;
	position: relative;
	text-align: center;
	width: 530px;
}

.video-pleer img {
    background-position: center center !important;
    background-size: cover !important;
}

.video-pleer-coub {
	height: auto !important;
}

.video-pleer-gif {
	height: auto !important;
}

.gif-bg {
	background: url('/Images/icon/icon-gif.png') no-repeat center center;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 66px;
    height: 66px !important;
    margin: -33px 0 0 -33px;
}

.gif-bg:hover {
	background: url('/Images/icon/icon-gif-hover.png') no-repeat center center;
}

.coub-bg {
	background: url('/Images/icon/icon-coub-video.png') no-repeat center center;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 80px;
    height: 80px !important;
    margin: -40px 0 0 -40px;
}

.coub-bg:hover {
	background: url('/Images/icon/icon-coub-video-hover.png') no-repeat center center;
}

.comment_dop_content_jpg {
	padding: 10px 0 4px;
}

.userStatusOnline {
	display: inline-block;
	background: url(/Images/user/userStatusOnline.png) no-repeat;
	padding: 0 10px;
}

/*.user-favorit-small {
	display: inline-block;
	padding: 0 4px 0 3px;
	background: url(/Images/user/stars-small.png) no-repeat 0 4px;
}*/

.user-favorit-icon-small {
	color: #E78125;
	position: relative;
	top: 2px;
	display: inline-block;
	height: 18px;
    width: 18px;
}

.user-favorit-big {
	background: url(/Images/user/stars-big.png) no-repeat 0 1px;
	height: 30px;
	padding: 0 0 10px 0;
}

.commentsRaitingAction {
	position: relative;
	left: -1px;
	width: 150px;
	height: 22px;
}

.comment_hide_button {
	position: absolute;
	width: 58px;
	background: #ECECEC;
	left: 0;
	top: 0;
	bottom: 0;
	cursor: pointer;
}

.comments .comment_hide_button_bottom {
	bottom: 24px;
}

.comment_hide_button_first {
	position: absolute;
	left: 21px;
	top: 21px;
}

.comment_show_button {
	background: #ECECEC;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
	padding: 3px 0;
	margin-bottom: 22px;
	font-weight: bold;
	font-size: 14px;
	letter-spacing: 2px;
	font-family: 'Roboto Slab', 'arial narrow', sans-serif;
}

.comments_main_title .view {
	display: block;
    right: 0;
	position: absolute;
	top: 18px;
}
.comments_main_title .view input {
	position: relative;
	display: inline-block;
	top: 2px;
}

.comments_template {
	margin: 0 auto;
	max-width: 612px;
}

.user-item {
    border: solid 1px #B0B0B2;
    position: relative;
    bottom: 10px;
    border-top: 0px;
    cursor: pointer;
    background-color: #fff;
    z-index: 1000;
    height: 53px;
}

.user-block:hover .user-item-selected {
    background-color: #fff;
}

.user-item:hover, 
.user-item-selected,
.user-block .user-item-selected:hover,
.user-block:hover .user-item-selected:hover {
    background-color: #ECECEC;
}

.user-item-ava {
    padding: 10px;
    float: left;
}

.user-item-ava img {
    width: 32px;
    height: 32px;
}

.user-item-name {
    padding: 10px 0 10px 0;
    float: left;
    font-size: 15px;
    line-height: 1;
}

.user-fio {
    color: #565656;
}

.user-nickname {
    color: #9C9C9C;
}

.user-block {
    position: absolute;
    left: 0;
    right: 0;
    display: none;
}

.user-block-open .user-block {
    display: block;
}

.comment-block {
    position: relative;
}
