.msgr .bg1 {
	background-color: #edf9fd;
}
.msgr .bg3 {
	background: #c2e9fb;
}
.msgr .panel:not(.msgr_warning) {
	background-color: #f8fdff;
}
.msgr_chats li.row {
	border-top-color: #FFFFFF;
	border-bottom-color: #bdbdbd;
}

.msgr .smiley-box strong,
.msgr .smiley-box strong + br,
.msgr .bbcode-status {
	display: none;
}

.msgr div.rules a {
	color: inherit;
	text-decoration: underline;
}

.msgr_msgs .post {
	margin-bottom: 4px;
}

.msgr_profile .profile-username,
.msgr_self_chat .msgr_profile .profile-username {
	margin-bottom: 2px;
}



/* Message bubbles */
/* .pm = incoming; .bg1 = outgoing */
/* ... */
/* Right-bottom tail for outgoing */
.msgr_msgs .post.bg1.last_of_bunch::before {
	content: "";
	position: absolute;
	width: 0px;
	height: 0px;
	right: 0px;
	bottom: -10px;
	border-left: 12px solid transparent;
	border-top: 12px solid #edf9fd;
	z-index: 1;
}
	/* 1px border */
	.msgr_msgs .post.bg1.last_of_bunch::after {
		content: '';
		position: absolute;
		width: 0;
		height: 0;
		right: -1px;
		bottom: -12px;
		border-left: 12px solid transparent;
		border-top: 12px solid #bdbdbd;
	}
/* Left-top tail for incoming */
.msgr_msgs .post.pm.first_of_bunch::before,
.msgr_msgs .msgr_unreads_anchor + .post.pm::before {
	content: "";
	position: absolute;
	width: 0px;
	height: 0px;
	left: 0px;
	top: -10px;
	border-right: 12px solid transparent;
	border-bottom: 12px solid #fff;
	z-index: 1;
}
	/* 1px border */
	.msgr_msgs .post.pm.first_of_bunch::after,
	.msgr_msgs .msgr_unreads_anchor + .post.pm::after {
		content: '';
		position: absolute;
		width: 0;
		height: 0;
		left: -1px;
		top: -12px;
		border-right: 12px solid transparent;
		border-bottom: 12px solid #bdbdbd;
	}



.msgr .postbody::after {
	content: '';
	display: block;
	clear: both;
}

.msgr #attach-panel {
	border-top: none;
}
.msgr_posting #attach-panel {
	margin-top: -20px;
}

.msgr .search-box input[type="search"] {
	height: auto;
	line-height: 18px;
	font-size: 13px;
}
.msgr .button-search {
	border-radius: 12px;
}

.msgr_msgs p.author {
	margin: 0.2em 0 0.6em;
}

.msgr_roster .dropdown-contents li {
	font-size: 12px !important;
}

.msgr h2 i {
	opacity: 1;
}

.msgr .post-buttons .button, .msgr .post-buttons .button:hover {
	padding-right: 1px;
}
.msgr_msgs .msgr_footnote {
	padding-right: 1px;
}

.msgr_search .msgr_goto_btn {
	opacity: 1;
}

.msgr_chats blockquote {
	background: #e8f1f7;
}

@media (max-width: 700px) {
	.msgr_profile a.avatar_wrapper {
		width: 40px;
		height: 40px;
	}
	.msgr_profile i.msgr_vice_avatar {
		font-size: 30px;
	}
	.msgr .abbc3_buttons_row {
		width: auto;
	}
}
.msgr_self_chat .msgr_profile a.avatar_wrapper {
	width: 40px;
	height: 40px;
}
.msgr_self_chat .msgr_profile i.msgr_vice_avatar {
	font-size: 30px;
}
i.msgr_vice_avatar,
i.msgr_vice_avatar.fa-bookmark {
	color: #3fafe1;
	background: #d3ecf7;
}
.msgr_chats i.msgr_vice_avatar,
.msgr_profile i.msgr_vice_avatar,
.msgr_chats img.avatar,
.msgr_profile img.avatar {
	border-radius: 10px;
}
.msgr_msgs img.avatar,
.msgr_msgs i.msgr_vice_avatar {
	border-radius: 5px;
}
