@keyframes fly-in {
	0% {
		transform: scale(.85) translateY(10%);
		opacity: 0
	}
	to {
		transform: scale(1) translateY(0);
		opacity: 1
	}
}

.chat-container {
	flex-grow: 1;
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	max-height: calc( 100vh - 200px); /* Viewport height - space above chat window */
}

.chat-container .user-offline {
	margin-top: 10px;
	margin-bottom: 0px;
}

.chat-log {
	box-sizing: border-box;
	overflow-y: auto;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.chat-wrapper .nav-tabs .nav-link{
	border-radius:25px;
	margin-right:10px;
	border:none;
	background:#cfdfda;
	color:#FFF;
}

.chat-wrapper .nav{
	flex-direction: row-reverse;
}
.chat-wrapper .nav-tabs{
	border:none;
}
.chat-wrapper .nav-tabs .nav-link.active{
	background:#7cad3e;
}

.chat-message {
	align-items: center;
	width: 100%;
	transition: all .5s;
	background: #fff;
	border-radius: 10px;
	padding: 10px;
	margin-bottom: 10px;
	box-shadow: rgba(99, 99, 99, 0.05) 0px 0px 8px 0px;
}

.chat-heading{
	display:flex;
	margin-bottom:10px;
	border-bottom: 1px solid #EC653F;
}
.chat-heading h1{
	flex-grow: 1;
	position: relative;
	z-index: 1;
}
.chat-heading i{
	font-weight: lighter;
	font-size: 22px;
	position: absolute;
	left: 90px;
	z-index: 0;
}

.chat-message:first-child {
	margin-top: auto;
}

.chat-message__datetime {
	display: block;
	font-size: 10px;
	color: #666;
}

.chat-message__admin {
	display: block;
	font-size: 10px;
	color: #666;
}

.chat-message__admin a {
	color: #333;
	text-decoration: none;
	padding-right: 5px;
}

.chat-message__user {
	display: inline-block;
	font-size: 14px;
	font-weight: bold;
}

.chat-message__A {
	color: #b00;
}

.chat-message__text {
	box-sizing: border-box;
	font-size: 14px;
	font-weight: 300;
	animation-duration: .3s;
	animation-name: fly-in
}

.chat-message__text.incoming i {
	transform: rotate(-45deg);
}

.chat-message__text.outgoing i {
	transform: rotate(135deg);
}

.chat-input-area {
	position: relative;
	padding-top: 10px;
}

.chat-input-area__input {
	width: 100%;
	border: 1px solid #eee;
	padding: 16px 50px 16px 16px
}

.chat-input-area__input:focus {
	outline: none
}

.chat-input-area__submit-button {
	position: absolute;
	top: 10px;
	right: 16px;
	bottom: 0;
	width: 30px;
	height: 30px;
	background-color: #ddd;
	background-position: 50%;
	background-size: contain;
	background-repeat: no-repeat;
	border: none;
	margin: auto;
	border-radius:25px;
}
.chat-input-area__submit-button:after {
	font-family: "Font Awesome 5 Free";
	content: "\f1d8";
	display: inline-block;
	padding-right: 3px;
	vertical-align: middle;
	font-weight:900;
}

.chat-input-area__submit-button:focus {
	outline: none
}

.chat-input-area__submit-button:hover {
	cursor: pointer
}

.aula-userlist-user {
	margin-bottom: 10px;
	background: none;
	border: none;
	width: 100%;
	text-align: left;
	padding:10px;
}

.aula-userlist-user .avatar{
	vertical-align: middle;
	max-height: 20px;
	border-radius: 100%;
	margin-right: 10px;
}

.aula-userlist-user:nth-child(2n) {
	background: #f4f4f4;
}

.aula-userlist-user .user-company {
	font-size: 0.8rem;
	color: #666;
}