.hcc .hc__footer__logo svg {
	display: none !important;
}

.pagination b {
	padding: 10px;
}

#cke_contentarea {
	width: 100% !important;
}

.cmm_wrap {
	height: auto;
	width: 100%;
	overflow: hidden;
	border: 1px solid #DDD;
	border-radius: 10px 10px 0 0;
}

.cmm_content {
	height: 320px;
	width: 100%;
	overflow-y: auto;
	padding: 10px 0 0 0;
	position: relative;
}

.post_comment_dyn_link {
	cursor: pointer;
	position: fixed;
	margin-left: -4.5em;
	top: 15.5em;
	background: #FFF;
	padding: 0.5em 1em;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	border: solid 1px rgba(160, 160, 160, 0.3);
}

.post_moder_dyn_link {
	top: calc(15.5em + 80px);
}

.post_comment_dyn_link .glyphicon {
	margin: 0;
	line-height: inherit;
	position: relative;
}

.custom_room_comment_wrapper {
	position: relative;
	width: 100%;
	display: flex;
	align-items: center;
	padding: 10px 0 10px 10px;
	background: #f5f6fA;
	border: 1px solid #DDD;
	border-top: 0;
	border-radius: 0 0 10px 10px;
}

.custom_room_opened_comment_wrapper {
	position: relative;
}

.custom_room_comment_field {
	padding: 0;
}

.cmm_content a,
.custom_room_comment_send a {
	color: #337ab7;
	border: 0;
}

.custom_room_comment_send {
	padding: 0;
	text-align: center;
	font-size: 1.2em;
	line-height: 1;
}

#mes_val {
	width: 100%;
	height: 55px;
	overflow-y: auto;
	white-space: pre-line;
}

#mes_val p {
	margin: 0;	
}

#mes_val img {
	display: block;
	margin: 0 auto;
}

#mes_val:empty:before {
	content: attr(placeholder);
	display: block;
	cursor: text;
	/* For Firefox */
	color: #8e8e8e;
	position: absolute;
	top: 6px;
}

.prev_msg_preloader {
	padding: 5px 0;
	text-align: center;
}

.first_msg_preloader {
	position: absolute;
	top: 45%;
	left: 0;
	width: 100%;
	text-align: center;
}

#cmm > div:last-child {
	margin-bottom: 10px;
}

.s_mess {
	padding: 2px 10px;
	margin: 5px 10px 5px 60px;
	border: 1px solid #DDD;
	max-width: calc(100% - 70px);
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	position: relative;
	font-size: 15px !important;
}

.mess_scale_in {
	-webkit-animation: scale-in-center 200ms cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	animation: scale-in-center 200ms cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes scale-in-center {
	0% {
		-webkit-transform: scale(0);
		transform: scale(0);
		opacity: 1;
	}
	100% {
		-webkit-transform: scale(1);
		transform: scale(1);
		opacity: 1;
	}
}

@keyframes scale-in-center {
	0% {
		-webkit-transform: scale(0);
		transform: scale(0);
		opacity: 1;
	}
	100% {
		-webkit-transform: scale(1);
		transform: scale(1);
		opacity: 1;
	}
}

.s_mess p {
	margin: 0;
}

.s_mess blockquote {
	padding: 0 0 0 10px;
	margin: 5px 0;
	border-left: 3px solid #ddd;
}

.author_msg {
	background: #f5f6fA;
}

.msg_data {
	overflow: hidden;
	word-wrap: break-word;
}

.msg_data>img,
.msg_data div>img {
	margin: 5px auto;
	display: block;
}

.msg_data iframe {
	position: relative;
	bottom: -6px;
	margin: 0 0 2px 0;
}

.msg_data .msg_text_content {
	white-space: pre-line;
	line-height: 1.3;
}

.msg_attach_img {
	margin: 8px 0 5px 0;
	width: 100%;
	cursor: pointer;
}

.msg_attach_info_img {
	width: 100%;
	height: 100%;
	background-image: url('/files/upload/pages/image/30.gif');
	background-repeat: no-repeat;
	background-position: center;
	overflow: hidden;
	border-radius: 5px;
}

.um-img-bg-loaded {
	background-image: none !important;
}

.um-attached-img {
	width: inherit;
	min-width: 250px;
	height: 250px;
	overflow: hidden;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.user_avatar_wrap {
	background-size: cover !important;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	overflow: hidden;
	width: 40px;
	height: 40px;
	text-align: center;
	position: absolute;
	top: 0;
	left: -50px;
}

#CmmGoToBottom {
	width: 40px;
	position: absolute;
	top: -50px;
	right: 10px;
	cursor: pointer;
}

.msgAttachContentWraper {
	position: absolute;
	width: 100%;
	top: -61px;
	left: 1px;
	line-height: 1em;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	max-height: 120px;
	overflow: hidden;
}

.um_attached_screen {
	background: #fff;
	border: 3px solid #f5f6fA;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	height: 60px;
	width: 60px;
	background-size: cover;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	float: left;
}

.um_attached_screen span {
	position: absolute;
	top: -3px;
	right: -3px;
	margin: 0;
	padding: 5px;
	border-radius: 50%;
	cursor: pointer;
	border: 1px solid #ccc;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px !important;
}

.in_msgs_action_list {
	background: #f5f6fA;
}

.in_msgs_action_list > span.glyphicon.glyphicon-ok {
	display: none !important;
}

#msgsActions:not(:empty) {
	margin: 0 auto;
	line-height: 1.4em;
	display: flex;
	align-items: center;
	position: absolute;
	top: 0;
	width: 100%;
	justify-content: space-around;
	left: 0;
	padding: 7px 15px;
	background: #fff;
	border-bottom: 1px solid #ddd;
	z-index: 1;
}

#msgsActions .msgActBtn {
	display: flex;
	align-items: center;
	padding: 5px 10px;
	border: 1px solid #ddd;
	border-radius: 15px;
	cursor: pointer;
	font-size: 16px;
	margin: 0 7px;
	overflow: hidden;
	height: 2.2em;
}

.dark-mode #msgsActions,
.dark-mode #msgsActions .msgActBtn {
	border-color: #4c4c4c !important;
	background-color: #272727 !important;	
}

.reply-msg-action-btn,
.forward-msg-action-btn,
.remove-msg-action-btn,
.cancel-msg-action-btn {
	font-size: 1.4em;
	cursor: pointer;
	color: #337ab7;
	top: 0;
	margin: 0 7px 0 0;
}

.forward-msg-action-btn {
	top: -2px;
}

.remove-msg-action-btn {
	font-size: 1.2em;
	color: #e33939 !important;
}

.cancel-msg-action-btn {
	color: #919191 !important;
	top: -1px;
}

#msgsActions .msgActBtn .msgActTxt {
	display: block;
	line-height: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	position: relative;
	top: -2px;
}

.cke_dialog_contents_body .cke_dialog_ui_text,
.cke_dialog_contents_body .cke_dialog_ui_select,
.cke_dialog_contents_body .cke_dialog_ui_hbox_last>a.cke_dialog_ui_button {
	margin-top: 14px;
}

.cke_dialog_contents_body {
	min-width: 500px !important;
}

.cke_dialog_ui_hbox td {
	width: auto !important;
}

.cke_dialog_contents_body input {
	float: none;
}

.cke_dialog_body label+.cke_dialog_ui_labeled_content {
	margin-top: 10px;
}

.cke_dialog_ui_hbox .cke_dialog_ui_hbox_last .cke_dialog_ui_labeled_content input {
	margin: 0;
}

.s_mess_actions {
	position: relative;
}

.s_msg_date {
	color: grey;
	font-size: 12px;
	width: 100%;
	text-align: right;
	/*padding-top:10px;*/
	position: relative;
}

.s_msg_date .glyphicon {
	top: 11px;
	left: -30px;
	color: inherit;
	font-size: inherit;
	position: absolute;
}

.s_msg_date .glyphicon.um_send_msg_error {
	top: 8px;
	left: -33px;
	color: red;
	font-size: 16px;
}

/*popover*/

.popover.fixed {
	position: fixed;
}

.popover {
	border-color: rgb(160, 160, 160, 0.3);
	box-shadow: 0px 5px 10px rgb(160, 160, 160, 0.4);
	-moz-box-shadow: 0px 5px 10px rgb(160, 160, 160, 0.4);
	-webkit-box-shadow: 0px 5px 10px rgb(160, 160, 160, 0.4);
}

.s_mess_actions .popover.top {
	right: 10px !important;
	left: auto !important;
	top: auto !important;
	bottom: 35px !important;
}

.s_mess_actions .popover-content a {
	display: flex;
	align-items: center;
	white-space: nowrap;
	border: 0;
}

.s_mess_actions .popover-content a:not(:last-of-type) {
	margin-bottom: 15px;
}

.s_mess_actions .popover-content .glyphicon {
	font-size: 18px;
	top: 0;
}

.s_mess_actions .popover-content .glyphicon.glyphicon-trash {
	color: #e33939;
}

.s_mess_actions .popover-content .glyphicon.glyphicon-repeat {
	color: #22a12c;
}

.s_mess_actions .popover.top>.arrow {
	right: 10px;
	left: auto !important;
}

.s_mess_actions .popover.top .arrow {
	border-top-color: rgb(160, 160, 160, 0.6);
}

.dark-mode .s_mess_actions .popover.top .arrow {
	border-top-color: #4c4c4c;
}

.dark-mode .s_mess_actions .popover.top .arrow:after {
	border-top-color: #272727;
}

.popover.bottom  .arrow {
	border-bottom-color: rgb(160, 160, 160, 0.6);
}

.dark-mode .popover {
	box-shadow: 0px 2px 5px 3px rgb(0, 0, 0, 0.35);
	-moz-box-shadow: 0px 2px 5px 3px rgb(0, 0, 0, 0.35);
	-webkit-box-shadow: 0px 2px 5px 3px rgb(0, 0, 0, 0.35);
}

.dark-mode .popover.bottom  .arrow:after {
	border-bottom-color: #272727;
}

/*end popover*/

/* my publications list */

.my_pub_cats_list {
	font-size: 14px;
	padding: 10px 0;
}

.my_pub_cats_list>span {
	font-size: 16px;
}

.my_pubs_acts {
	color: grey;
	font-size: 14px;
	padding: 0 0 10px 0;
}

.my_pubs_acts .col-md-6 {
	padding: 0 0 10px 0;
}

.my_pubs_acts .col-md-6>span {
	font-size: 20px;
}

.my_pubs_acts .col-md-6 .col-md-4 span.glyphicon {
	font-size: 22px;
	margin-left: 4px;
	cursor: pointer;
}

.my_pubs_acts .col-md-6 .col-md-4:nth-child(1) span.glyphicon {
	color: red;
}

.my_pubs_acts_counter {
	padding: 0 0 0 3px;
	float: left;
	font-size: 14px;
}

.my_pubs_my_acts {
	padding: 0;
}


/* my publications actions */

#postForm {
	margin: 0;	
}

#postForm .post_title {
	font-size: 14px;
	margin: 20px 0 15px 0;
	height: 40px;
	display: inline-block;
}

#postForm input[type="submit"],
#postForm button {
	margin-top: 15px;
}


/* single post acts */

.single_post_actions_wrp {
	padding: 15px 0;
	margin-top: 25px;
	border-top: 1px solid #DDD;
}

.single_post_actions_wrp .glyphicon {
	font-size: 22px;
	padding-left: 4px;
	color: red;
	cursor: pointer;
}

.single_post_actions_wrp .post_like_counter {
	float: left;
	padding: 1px 0 0 4px;
}

.post_perm_exception {
	margin: 0;
}

.popover-content hr {
	margin: 9px -15px;
}


/* media queries */

@media screen and (max-width: 980px) {
	.cke_dialog,
	.cke_dialog_contents {
		width: 100%;
	}
	.cke_dialog_contents_body {
		min-width: 100% !important;
		max-width: 100% !important;
	}
	.cke_dialog_ui_radio {
		max-width: 300px;
		min-width: 100%;
	}
}

@media screen and (max-width: 980px) {
	.post_comment_dyn_link {
		margin-left: 0;
		left: 0;
		top: 3.5em;
	}
	
	.post_moder_dyn_link {
		left: auto;
		right: 0;
	}
}

@media (min-width: 992px) {
	.col-md-4 {
		width: 33.33333333%;
	}
}

@media screen and (max-width:823px) {
	#mes_val:empty:before {
		content: 'Ваш комментарий...';
	}
	.s_mess .user_avatar_wrap {
		/*
		display: none;
		*/
	}
	.mess-in-group-action .user_avatar_wrap {
		display: block;
	}
	.s_mess_actions {
		padding: 0;
	}
	.s_mess_actions.mess-in-group-action {
		padding-left: 50px;
	}
	.s_mess_actions>.glyphicon-ok {
		display: none !important;
	}
	.s_mess.fl_right {
		margin-left: 0;
		max-width: calc(100% - 30px);
	}
	.um-user-name-in-message {
		display: none;
	}
}