.chat-main-container {
	position: relative;
	margin: 0;
	padding-bottom: 6rem;
	min-height: 100%;
	font-family: "Helvetica Neue", Arial, sans-serif;
}
.chat-header {
	padding:10px;
}
.chat-body {
	padding:10px;
}
.chat-footer {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: white;
	display: block;
	margin-bottom: 0px;
}
.chat-item {
	padding:0px;
	margin-top: 10px;
}

#CeoChatPage .chat-page-container{
	display: block;
	min-height:100%;
	position:relative;
	padding-top: 3rem;
}
.chat-text-container {
	overflow:auto;
}
.go-to-rooms{
	text-align: center;
	color: cornflowerblue;
	cursor: pointer;
}
.chat-room-item{
	margin-bottom: 5px;
}
.room-item{
	width: 100%;
	vertical-align: middle;
	display: table-row;
	white-space:normal !important;
	padding-left: 0px;
	padding-right: 0px;
	text-align: left;
}
.room-name {
	float:left;
	padding-top: 8px;
	display: inline-block;
}
.text-chat{
	overflow: auto;
	height: auto;
	font-size: 16px;
	word-wrap: break-word;
}
.chat-cat-highlight {
	color: #579cd8;
	font-weight: bold;
}
.chat-input{
	max-height:25rem;
}
.chat-input-container {
	border-top: 1px solid transparent;
	padding-top: 15px;
	padding-bottom: 20px;
	position: relative;
}
.chat-input-container button{
	font-size: 20px;
}
.chat-input-container button .glyphicon{
	left: -2px;
	top: 3px;
}
.chat-input-container textarea{
	top: 6px;
	box-shadow: none;
	width: 65% !important;
	border-radius: 6px !important;
	float:right !important;
	vertical-align: middle;
	margin-top: -7px;
	word-break: break-word;
}

.chat-user-is-typing {
	position: fixed;
	left: 0px;
	bottom: 100px;
	margin-bottom: 10px;
	font-size: 14px;
	background: #fff;
	padding: 5px;
	border-radius: 6px;
	left: 50%;
	transform: translateX(-50%);
}
.app__right .chat-user-is-typing{
	left: 76%;
}
.chat-link {
	color: #4C9ED9;
}
.user-image{
	position: relative;
	width: 5rem;
	height: 5rem;
	line-height: 5rem;
	top:1rem;
	float: left;
	position: relative;
	background-size: cover;
	background-color: #F3F4F6;
	box-shadow: 0 0 6px #eee;
	color: #000;
	font-weight: bold;
	text-align: center;
	cursor: pointer;
}
.me .user-image{
	background-color: #f5f6fa;
}
.user-name{
	color: cornflowerblue;
	font-weight:bold;
	padding-left:2rem;
	padding-right:2rem;
	cursor: pointer;
}
.user-time{
	color: grey;
	padding-left:2rem;
	padding-right:2rem;
}
.send-button{
	padding-left:0.5rem;
	padding-right:0.5rem;
	animation-duration: 2s;
	animation-iteration-count: 3;
	transform-origin: bottom;
	float:right;
	vertical-align: middle;
}
.send-button button{
	width: 50px;
	height: 50px;
	border-radius: 50%;
	vertical-align: middle;
}
.bounce-attention {
	animation-name: bounce-attention;
	animation-timing-function: ease;
}
@keyframes bounce-attention {
	0%   { transform: scale(1,1)      translateY(0); }
	10%  { transform: scale(1.1,.9)   translateY(0); }
	30%  { transform: scale(.9,1.1)   translateY(-20px); }
	50%  { transform: scale(1.05,.95) translateY(0); }
	57%  { transform: scale(1,1)      translateY(-7px); }
	64%  { transform: scale(1,1)      translateY(0); }
	100% { transform: scale(1,1)      translateY(0); }
}
.autoflow{
	overflow:auto;
	min-width: 200px;
	max-width: calc(100% - 80px);
	word-break: break-word;
}
.autoflow__vq{
	min-width: 300px;
}
.bubble{
	max-width: 95%;
	border-radius: .1rem;
	box-shadow: 0px 0px 23px -8px rgba(0,0,0,.18);
	display: inline-block;
	padding: 0.7rem 1rem;
	position: relative;
	vertical-align: top;
}
.btn-index-chat {
	color: #1298FF;
	background-color: transparent;
	border-color: transparent;
	position: absolute;
	padding-bottom: 9px;
	font-size: 140%;
	left: -10px;
	margin-left: 1em;
	margin-top: 0.2em;
}
.me-like{
	position: relative;
	float: right;
}
.you-like{
	float: right;
}
.me{
	float: right;
	max-width: 85%;
}
.me.bubble{
	background-color: #CCF0FE;
	margin: 0 2rem 0 5rem;
	margin-left: 0px;
	border-top-left-radius: 8px;
	border-bottom-right-radius: 8px;
	border-radius: 8px;
	box-shadow: 0px 8px 10px rgba(0, 0, 0, 0.1);
	color: #fff;
	border-radius: 8px;
	border-top-right-radius: 0px;
}

.me.bubble.edit {
	background-color: #fcd6c7;
}
.me.bubble.edit::before {
	background-color: #fcd6c7;
}
.chat-input.edit {
	background-color: #fcd6c7;
	color: rgb(51, 51, 51);
}

.chat-item .start-edit {
	position:absolute;
	bottom:-31px;
	left:9px;
}
.chat-item .cancel-edit {
	position:absolute;
	bottom:-31px;
	left:2px;
}

.you {
	float: left;
	max-width: 94%;
}
.bubble.isAdmin::before {
	background-color: rgb(192 255 161);
}
.you.bubble{
	background-color: #F3F4F6;
	margin: 0 5rem 0 2rem;
	margin-right: 0px;
	border-radius: 8px;
	border-top-left-radius: 0px;
}

.bubble.isAdmin {
	background-color: rgb(192 255 161);
}

.chat-item .img-circle.me {
	position: relative;
	left: -2px;
}
.chat-item .img-circle.you {
	position: relative;
	left: 2px;
}
.chat-item .autoflow {
	margin-bottom: 8px;
}
.chat-item .name {
	margin-bottom: 3px;
}

.chat-reply-container {
	background-color: rgba( 255,255,224, .8 );
	padding: 5px;
	margin-right: 3px;
	margin-bottom: 10px;
	border-radius: 8px;
	box-shadow: 1px 1px 3px #c0c0c08f;
	color: #000;
	font-size: 13px;
}

.list-group{
	padding: 10px;
}
.list-group-item{
	box-shadow: 0px 3px 6px 1px rgb(38 107 193 / 8%);
}
button.list-group-item:hover {
	color: #555;
	text-decoration: none;
	background-color: #f5f5f5;
}
.new-messages {
	display: inline-block;
	position: relative;
	left: 16px;
	border-radius: 45%;
	width: auto;
	height: 20px;
	float: left;
	padding-top: 0px;
	padding-right: 6px;
	padding-left: 6px;
	background-color: orange;
	color:white
}
.number-of-messages {
	display: inline-block;
	border-radius: 45%;
	left: -16px;
	position: relative;
	width: auto;
	height: 20px;
	padding-top: 0px;
	background-color: grey;
	padding-right: 6px;
	padding-left: 6px;
	float:right;
	color:white
}

.you.bubbleInfo{
	background-color: #4C9ED9;
	margin: 0 5rem 0 2rem;
}
.me-info{
	float: right;
	position: relative;
	left: 50px;
}
.me-info.bubbleInfo{
	background-color: #4C9ED9;
	margin: 0 5rem 0 2rem;
}

.bubbleInfo{
	max-width: 80%;
	border-radius: .1rem;
	box-shadow: 0 0 .7rem #B2B2B2;
	display: inline-block;
	padding: 1rem 1rem;
	position: relative;
	vertical-align: top;
}
.me-info.bubbleInfo::before {
	background-color: #4C9ED9;
	content: "";
	display: block;
	height: 1rem;
	top: 34px;
	position: absolute;
	transform: rotate( 29deg ) skew( -35deg );
	-moz-transform: rotate( 115deg ) skew( -35deg );
	transform: rotate(115deg) skew(-35deg);
	-ms-transform: rotate( 115deg ) skew( -35deg );
	-o-transform: rotate( 115deg ) skew( -35deg );
	-webkit-transform: rotate( 115deg ) skew( -35deg );
	width: 1.6rem;
	box-shadow: -.2rem .2rem .2rem 0 rgba( 178, 178, 178, .4 );
	left: 8.9rem;
	z-index: -1;
}

.chat-reaction-palette {
	position: absolute;
	width: 320px;
	padding:10px;
	border-radius: 25px;
	background-color: white;
	border: 1px solid #eee;
	/* border: 1px solid #ccc;  */
	outline: none;
	left: 0px;
	top: 5px;
	text-align: center;
	padding-left: 10px;
	display: none;
	z-index: 999;
}
.chat-reaction-palette .thumbs {
	font-size: 1.4em;
	vertical-align: middle;
	display: inline-block;
	width: 20px;
	margin: 0px 10px;
	color: dodgerblue;
}
.chat-reaction-palette img {
	display: inline-block;
	width: 20px;
	margin: 0px 10px;
}
.chat-reaction-palette span {
	display: inline-block;
	margin: 0px 5px;
}
.chat-reactions {
	background: #fff;
	padding: 2px 12px;
	border-radius: 15px;
	margin-top: -25px;
	margin-left: 50px;
	position: absolute;
}
.float__left{
	float: left;
}
.float__right{
	float: right;
}
.chat-reactions .thumbs {
	font-size: 1.2em;
	vertical-align: middle;
	display: inline-block;
	width: 20px;
	margin: 0px -1px;
	color: dodgerblue;
}
.chat-reactions img {
	width: 20px;
	margin: 0px -1px;
}
.chat-reactions-number {
	display: inline-block;
	margin-left: 8px;
}
.chat-reacted-by img {
	display: inline-block;
	width: 32px;
	padding: 3px;
}
.chat-reacted-by .filter-active {
	border-bottom: 2px solid dodgerblue;
}

#CeoChatPage .chat-dropdown { padding:10px 7px; text-align:center; }
#CeoChatPage .chat-dropdown li.participant { padding:5px 0; text-align:left; border-bottom:1px solid #e6e6e6 }

.chat-templates{
	background-color: white;
	border-color: #c8c8c8;
	border-style: solid;
	border-width: 1px 1px 0px 1px;
	bottom: 0px;
	padding: 5px;
	position: absolute;
	text-align: center;
	width: 100%;
}
#CeoChatPage .emoji {
	height: 2em;
}
.verify-request {
	text-align: center;
	border-top: 1px solid lightgray;
	vertical-align: middle;
	line-height: 55px;
	font-size: 1.2em;
}

#viewPageModal .modal-dialog {
	height: 95%;
}

#viewPageModal .modal-content {
	height: 95%;
}

#viewPageModal .modal-body {
	height: 90%;
	padding: 15px 4px;
}

#viewPageModal .modal-inputs {
	height: 99%;
}

#externalPage {
	width: 100%;
	height: 100%;
}
.chat__sort{
	padding-left:15px;text-align: right;
}
.search__hide-onSmall{
	display:block;
}
.search__show-onSmall{
	display:none;
}
.chat__sort select{
	width:60%;
}
@media (max-width:399px) {
	.me.bubble{
		max-width: 78%;
		margin-right: 10px;
	}
}

.chat-input-attachment{
	display: inline-block;
}
.chat-input-attachment_v-centered{
	position: relative;
	margin: -23px 15px 0 15px;
}
.chat-input-attachment-content{
	display: inline-block;
	height: 34px;
	width: 34px;
	overflow: hidden;
}
.chat__footer-absolute-element{
	position: sticky;
	bottom: 80px;
	width: 100%;
	max-width: 768px;
	margin: 0 auto;
}
.chat-input-attachment-content_large{
	height: 150px !important;
	width: 150px !important;
	border: 1px solid #eee;
	background: #fff;
	display: inline-block;
	margin-left:5px;
	vertical-align: middle;
}
.chat-input-attachment-content_large:hover{
	background: rgba(255,255,255,0.9);
}
.chat-input-attachment-content__fit{
	height: 100%;
	width: 100%;
	padding: 4px;
}
.chat-input-attachment__cancel{
	border: none;
	padding: 3px 6px;
	position: absolute;
	top: -9px;
	right: -7px;
}
.chat-full-loader{
	height: 100%;
	width: 100%;
	display: flex;
	justify-content: center;
	flex-direction: column;
	text-align: center;
}
@media (max-width:640px) {
	.ceo-modal-person{
		width: 100%;
	}
	.chat__sort{
		width:49%;
		display:inline-block;
	}
	.chat__sort select{
		width:100%;
	}
	.chat__categories{
		width:49%;
		display:inline-block;
	}
	.chat__sort .label__link{
		display:none;
	}
	.search__hide-onSmall{
		display:none;
	}
	.search__show-onSmall{
		display:block;
	}
	.autoflow__vq{
		min-width: 240px;
	}
}
@media (min-width:768px) {
	.chat-item .message__actions{
		display:none !important;
	}
	.chat-item:hover .message__actions{
		display: inline-block !important;
	}
}
@media (max-width:768px) {
	.autoflow{
		max-width: 78%;
	}
	.chat-item .message__actions{
		display:inline-block;
	}
}
.truncate__filename{
	width: 50px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ticontainer{
	display: inline-flex;
	background: #eee;
	border-radius: 7px;
	padding:2px;
}
.tiblock {
	align-items: center;
	display: flex;
	height: 17px;
}

.ticontainer .tidot {
	background-color: #90949c;
}

.tidot {
	-webkit-animation: mercuryTypingAnimation 1.5s infinite ease-in-out;
	border-radius: 2px;
	display: inline-block;
	height: 4px;
	margin-right: 2px;
	width: 4px;
}

@-webkit-keyframes mercuryTypingAnimation{
	0%{
		-webkit-transform:translateY(0px)
	}
	28%{
		-webkit-transform:translateY(-5px)
	}
	44%{
		-webkit-transform:translateY(0px)
	}
}

.tidot:nth-child(1){
	-webkit-animation-delay:200ms;
}
.tidot:nth-child(2){
	-webkit-animation-delay:300ms;
}
.tidot:nth-child(3){
	-webkit-animation-delay:400ms;
}
.chat-user__actions{
	background: #eee;
	padding:5px;
	border-radius: 30px;
	position: relative;
	width:200px;
	margin:auto;
	margin-top: -29px;
	text-align: center;
	box-shadow: 0 1px 2px 0 rgba(60,64,67,0.302), 0 1px 3px 1px rgba(60,64,67,0.149);
	z-index: 10;
}
.chat__message-actions{
	visibility: hidden;
	margin-top: -10px;
	padding:0px;
}
.chat-item:hover .chat__message-actions{
	visibility: visible;
}
@media (max-width:768px) {
	.chat__message-actions{
		visibility: visible;
	}
}
@media (max-width:700px) {
	.chat-input-container textarea{
		width: 50% !important;
	}
}
@media (max-width:510px) {
	.chat-input-container textarea{
		width: 42% !important;
	}
	.chat__message-actions{
		font-size: 12px !important;
	}
}
@media (max-width:426px) {
	.ceo__chat-actions .nbtn{
		margin: 1px !important;
		padding: 5px;
		vertical-align: middle;
		margin-top: 7px !important;
	}
	.autoflow{
		max-width: 71%;
	}
}
.app__right .chat-input-container textarea{
	width: 170px !important;
}
.app__right .send-button button{
	width: 40px;
	height: 40px;
	font-size: 25px !important;
}
.send-button button .material-icons{
	font-size: 30px;
}
.app__right .send-button button .material-icons{
	font-size: 22px !important;
	margin-top: -15px;
}
.dropdown__item-md{
	font-weight: 650;
	height: auto;
	width: 100%;
	padding: 12px;
	text-align: left;
	line-height:normal;
	word-break: break-word;
}
.autoflow__you{
	float: left;
}
.autoflow__me{
	float: right;
}
.ceo-chat-page__messages-container{
	overflow-x: hidden !important;
}
.bookmark__counter{
	background:orange;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	position: absolute;
	top:-10px;
	right: -10px;
	color:#fff
}
.chat-input-container textarea.isWriting{
	box-shadow: 0px 3px 6px 1px rgb(38 107 193 / 8%) !important;
	width: calc(100% - 115px) !important;
	border: none !important;
}
.ceo-chat-page {
	/* height: 100%;
	width: 100%;
	display: block; */
}
.ceo-chat-page__messages-container {
	height: calc(100% - 80px);
	overflow: auto;
}
.ceo-chat-page__footer {
	z-index: 1080;
	/* box-shadow: 0 2px 5px 1px rgb(64 60 67 / 16%); */
}
.ceo-chat-page__footer:hover{
	/* box-shadow: 0 2px 5px 1px rgb(64 60 67 / 16%); */
}
.ceo-chat-page__sticky-message {
	position: absolute;
	left: 0px;
	top: -23px;
	font-size: 15px;
	color: orange;
	width: 100%;
	text-align: center;
}
.ceo-chat-page__pinned-messages{
	width: 100%;
	margin: auto;
	padding: 4px;
	z-index: 1010;
	border-radius: 8px;
	position: relative;
}
.ceo-chat-page__pinned-message-container{
	max-height: 100px;
	overflow-y: auto;
}
.ceo__chat-actions .form-control{
	background: inherit !important;
}

pre.formatted-message {
	display: block;
	font-family: "Open Sans", sans-serif;
	word-break: break-word;
	word-wrap: break-word;
	white-space: pre-wrap;
	color: unset;
	background-color: unset;
	border: unset;
	border-radius: unset;
	font-size: 15px;
}