.chat-wrapper{
	position: relative;
	width: 1200px;
	max-width: 100%;
	max-height: 100%;
	margin: 0 auto;
	border: 1px rgba(0,0,0,0.1) solid;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	/* box-shadow: 0px 2px 10px -5px #333; */
	/* -moz-box-shadow: 0px 2px 10px -5px #333; */
	/* -webkit-box-shadow: 0px 2px 10px -5px #333; */
	overflow: hidden;
}
.chat-wrapper.support{
	height: 450px;
	width: 400px;
	max-width: 100%;
	max-height: 100%;
	position: fixed;
	bottom: 0;
	right: 0;
	border: none;
	z-index: 100001;
	display: none;
	border-radius: 0px;
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
}
.chat-wrapper.support.open{
	display: block !important;
}
.chat-container{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	direction: rtl;
	display: flex;
	flex-direction: row;
}
.chat-container::after{
	content: " ";
	clear: both;
}
.chat-container ul{
	list-style: none;
	padding: 0;
	margin: 0;
}
.chat-container .message-content, .chat-container .reply-content, .chat-container p{
	word-break: break-word;
	margin: 0;
}
.chat-container img{
	max-width: 100%;
}
.chat-container a{
	text-decoration: none;
}
.chat-container .connection_alert{
	display: none;
	background: #87d0ca;
	color: #05312f;
	text-align: center;
	padding: 5px;
	font-size: 14px;
	border-bottom: 1px #05948c solid;
}
.chat-container .chat-sidebar{
	position: relative;
	background: #FFF;
	/* background: -moz-linear-gradient(0deg, #d4d4d4 0%, #fff 100%); */
	/* background: -webkit-linear-gradient(0deg, #d4d4d4 0%, #fff 100%); */
	/* background: linear-gradient(0deg, #d4d4d4 0%, #fff 100%); */
	color: #02524e;
	min-width: 290px;
	width: 340px;
	max-width: 100%;
	height: 100%;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: start;
	flex-shrink: 0;
}
.chat-container .chat-sidebar #profile {
	background: #87d0ca;
	padding: 15px;
	margin: 0;
	display: flex;
	flex-shrink: 0;
	flex-direction: row;
	justify-content: start;
	align-items: center;
}
.chat-container .chat-sidebar #profile p {
	flex-grow: 1;
	margin-right: 15px;
	font-size: 16px;
}
.chat-container .chat-sidebar #profile img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	float: right;
	margin-left: 10px;
	/* border: 2px solid #2ecc71; */
	padding: 3px;
	cursor: pointer;
	-moz-transition: 0.3s border ease;
	-o-transition: 0.3s border ease;
	-webkit-transition: 0.3s border ease;
	transition: 0.3s border ease;
	object-fit: cover;
}
.chat-container .chat-sidebar .contacts-group-toggle-icon {
	color: #05312f;
	fill: #05312f;
	width: 36px;
	height: 36px;
	margin: 5px;
	cursor: pointer;
	height: 30px;
	width: 30px;
	line-height: 20px;
	text-align: center;
	border-radius: 20px;
	margin-left: 5px;
}
.chat-container .chat-sidebar .search-toggle-icon {
	color: #05312f;
	fill: #05312f;
	width: 24px;
	height: 24px;
	margin: 5px;
	cursor: pointer;
}

.chat-container .chat-sidebar .contact-search {
	position: relative;
	flex-shrink: 0;
	display: none;
}
.chat-container .chat-sidebar .contact-search #search-contact-input {
	display: block;
	width: 100%;
	border: none;
	border-radius: 0px;
	background: #FFF;
	color: #05312f;
	outline: none;
	padding: 3px 40px 3px 10px !important;
	border-top: 1px #FFF solid;
	border-bottom: 1px #FFF solid;
	-webkit-appearance: none;
}
.chat-container .chat-sidebar .contact-search svg.search-icon {
	position: absolute;
	top: 0px;
	right: 0px;
	fill: #05312f;
	width: 24px;
	height: 24px;
	margin: 5px;
	cursor: pointer;
}
.chat-container .chat-sidebar .contact-search svg.clear-search {
	position: absolute;
	top: 0px;
	right: 0px;
	fill: #ff5d5d;
	width: 24px;
	height: 24px;
	margin: 5px;
	cursor: pointer;
	display: none;
}
.chat-container .chat-sidebar #tabs ul{
	background: #00948d;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding: 0;
	border-bottom: 1px #02312f solid;
	height: 100%;
	overflow-x: auto;
}
.chat-container .chat-sidebar #tabs ul li{
	color: #FFF;
	text-align: center;
	flex-grow: 1;
	line-height: 20px;
	display: flex;
	justify-content: center;
}
.chat-container .chat-sidebar #tabs ul li:hover{
	background: #066d68;
	color: #000;
}
.chat-container .chat-sidebar #tabs ul li.active{
	background: #04312f;
	color: #87d0ca;
}
.chat-container .chat-sidebar #tabs ul li.spacer{
	background: #04312f;
	width: 1px;
	padding: 0;
	margin: 0;
	display: flex;
	justify-content: center;
	flex-grow: 0;
	flex-shrink: 0;
}
.chat-container .chat-sidebar #tabs ul li a{
	color: inherit !important;
	font-size: 12px;
	padding: 4px 6px;
	line-height: 24px;
	display: block;
	align-self: center;
	white-space: nowrap;
	overflow: hidden;
}

.chat-container .chat-sidebar #tabs2 ul{
	background: #F0F0F0;
	padding: 0;
	display: none;
}
.chat-container .chat-sidebar #tabs2 ul li{
	color: #075551;
	text-align: center;
	line-height: 20px;
	display: block;
}
.chat-container .chat-sidebar #tabs2 ul li:hover{
	background: #d4fffb;
	color: #02524e;
}
.chat-container .chat-sidebar #tabs2 ul li.active{
	background: #a4e0db;
	color: #02524e;
}
.chat-container .chat-sidebar #tabs2 ul li.spacer{
	background: #d4d4d4;
	height: 1px;
	padding: 0;
	margin: 0;
	display: block;
}
.chat-container .chat-sidebar #tabs2 ul li a, .chat-container .chat-sidebar #tabs2 ul li button{
	width: 100%;
	color: inherit !important;
	font-size: 14px;
	padding: 6px;
	line-height: 24px;
	display: block;
}

.chat-container .chat-sidebar #contacts {
	flex-grow: 1;
	height: 100%;
	overflow-y: auto;
	overflow-x: hidden;
}
.chat-container .chat-sidebar #contacts ul{
	padding: 0;
	margin: 0;
	display: none;
}
.chat-container .chat-sidebar #contacts .contacts-title{
	background: #dbbb04;
	color: #FFF;
	text-align: center;
	font-size: 14px;
	padding: 5px;
}
.chat-container .chat-sidebar #contacts ul.active{
	display: block;
}
.chat-container .chat-sidebar .contact {
	position: relative;
	padding: 10px;
	border-bottom: 1px rgba(0, 0, 0, 0.2) solid;
	font-size: 13px;
	line-height: 17px;
	cursor: pointer;
}
.chat-container .chat-sidebar .contact:hover {
	background: #d4d4d4;
}
.chat-container .chat-sidebar .contact.active {
	background: #d4fffb;
}
.chat-container .chat-sidebar .contact img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	float: right;
	margin-left: 10px;
	object-fit: cover;
}
.chat-container .chat-sidebar .contact .contact-image-placeholder {
	float: right !important;
	margin-left: 5px !important;
	padding: 0px;
	color: #05312f;
	font-size: 17px;
}
.chat-container .chat-sidebar .contact .nameDiv {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
.chat-container .chat-sidebar .contact .name {
	font-weight: 600;
	color: #02524e;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.chat-container .chat-sidebar .contact .date {
	float: left;
	color: #05948c;
	line-height: 20px;
	white-space: nowrap;
}
.chat-container .chat-sidebar .contact .preview {
	color: #777;
	margin: 5px 0 0 0;
	padding: 0 0 1px 25px;
	font-weight: 400;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	-moz-transition: 1s all ease;
	-o-transition: 1s all ease;
	-webkit-transition: 1s all ease;
	transition: 1s all ease;
}
.chat-container .chat-sidebar .unseen-count span {
	position: absolute;
	bottom: 10px;
	left: 26px;
	background: #00c333;
	color: #FFF;
	width: 20px;
	height: 20px;
	border-radius: 20px;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	text-align: center;
	padding: 3px 0;
	font-size: 13px;
	display: inline-block;
}
.chat-container .split-bar {
	background: #02312f;
	height: 100%;
	width: 3px;
	cursor: col-resize;
	z-index: 1;
}
.chat-container .chat-dialog{
	position: relative;
	background: url('../images/chat-dialog-bg.png') repeat #e6f5f5;
	height: 100%;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}
.chat-container .messages-loading {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 36px;
	color: #87d0ca;
	text-shadow: 0 0 1px #02312f, 0 0 1px #02312f, 0 0 1px #02312f, 0 0 1px #02312f, 0 0 1px #02312f, 0 0 1px #02312f, 0 0 1px #02312f, 0 0 1px #02312f, 0 0 1px #02312f, 0 0 1px #02312f, 0 0 1px #02312f;
	display: none;
	z-index: 1;
}
.chat-container .messages-loading .cv-spinner {
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;  
}
.chat-container .messages-loading .spinner {
	width: 40px;
	height: 40px;
	border: 4px #ddd solid;
	border-top: 4px #2e93e6 solid;
	border-radius: 50%;
	animation: sp-anime 0.8s infinite linear;
}
@keyframes sp-anime {
	100% { 
		transform: rotate(360deg); 
	}
}
.chat-container .chat-dialog .contact-profile {
	border-bottom: 1px #CCC solid;
	background: #FFF;
	padding: 10px 15px;
	margin: 0;
	display: flex;
	flex-shrink: 0;
	flex-direction: row;
	justify-content: start;
	align-items: center;
}
.chat-container .chat-dialog .contact-profile .contact-name {
	display: flex;
	flex-direction: column;
	align-items: start;
}
.chat-container .chat-dialog .contact-profile .contact-name .typing-indicator {
	color: #999;
	font-size: 12px;
}
.chat-container .chat-dialog .contact-profile img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	float: right;
	margin-left: 15px;
	object-fit: cover;
}
.chat-container .show-contacts, .chat-container .close-chat{
	position: absolute;
	left: 5px;
	top: 12px;
	font-size: 24px;
	color: #1e8888;
	width: 30px;
	text-align: center;
	border-radius: 30px;
	width: 36px;
	height: 36px;
	line-height: 36px;
	display: inline-block;
	transition: none !important;
}
.chat-container .show-contacts:hover, .chat-container .close-chat:hover{
	background: #CCC;
}
.chat-container .show-contacts svg, .chat-container .show-contacts:hover svg, .chat-container .close-chat:hover svg{
	fill: #1e8888;
	width: 20px;
	height: 20px;
}
.chat-container .chat-dialog .scroll-wrapper {
	position: relative;
	flex-grow: 1;
	overflow-x: hidden;
	overflow-y: auto;
}
.chat-container .chat-dialog .messages {
	height: 100%;
	/* display: flex;
	flex-direction: column-reverse;
	overflow: auto; */
}
.chat-container .chat-dialog .messages > ul {
	width: 100%;
}
.chat-container .chat-dialog .messages ul li {
	position: relative;
	clear: both;
	padding: 15px 10px 5px 10px;
	width: 100%;
	font-size: 12px;
	display: flex;
	align-items: start;
}
.chat-container .chat-dialog .messages ul li.slogan {
	justify-content: center !important;
	position: absolute !important;
	top: 50% !important;
	right: 0 !important;
	padding: 10px !important;
	margin: 0 !important;
	font-size: 30px !important;
	color: #FFF !important;
	background: #87d0ca !important;
	transform: translateY(-60%) !important;
	-moz-transform: translateY(-60%) !important;
	-webkit-transform: translateY(-60%) !important;
}
.chat-container .chat-dialog .messages ul li.form-wrapper {
	position: absolute !important;
	top: 35% !important;
	right: 0 !important;
	padding: 10px !important;
	margin: 0 !important;
	font-size: 15px !important;
	color: #FFF !important;
	background: #87d0ca !important;
}
.chat-container .chat-dialog .messages ul li.form-wrapper form {
	display: flex;
	flex-direction: column;
	justify-content: center !important;
	align-items: center;
	flex-basis: 100%;
}
.chat-container .chat-dialog .messages ul li.form-wrapper input {
	background: rgba(255, 255, 255, 0.6);
	color: #005850;
	border: 1px #67a7a1 solid;
	margin-top: 10px;
	text-align: center;
	width: 60%;
	outline: none;
}
.chat-container .chat-dialog .messages ul li.bottom-logo {
	justify-content: center !important;
	position: absolute !important;
	padding: 0 !important;
	margin: 0 !important;
	bottom: 0 !important;
	right: 0 !important;
}
.chat-container .chat-dialog .messages ul li.bottom-logo img {
	width: 200px !important;
	max-width: 100% !important;
	border-radius: 0 !important;
	-moz-border-radius: 0 !important;
	-webkit-border-radius: 0 !important;
	margin: 10px 0 !important;
}
.chat-container .chat-dialog .messages ul li.sent {
	flex-direction: row;
}
.chat-container .chat-dialog .messages ul li.replies {
	flex-direction: row-reverse;
}
.chat-container .chat-dialog .messages ul li:nth-last-child(1) {
	margin-bottom: 20px;
}
.chat-container .chat-dialog .messages ul li .image-attachment {
	width: 100%;
	max-height: 400px;
	border-radius: 5px;
	margin: 0 auto 5px auto;
	display: block;
	float: none;
	object-fit: cover;
}
.chat-container .chat-dialog .messages ul li.sent > img {
	margin: 0 0 0 5px;
}
.chat-container .chat-dialog .messages ul li.sent > div {
	background: #435f7a;
	color: #FFF;
}
.chat-container .chat-dialog .messages ul li.replies > img {
	float: left;
	margin: 0 5px 0 0;
}
.chat-container .chat-dialog .messages ul li.replies > div {
	background: #F0F0F0;
	color: #000;
	float: left;
}
.chat-container .chat-dialog .messages ul li > img {
	width: 30px;
	border-radius: 50%;
	float: right
}
.chat-container .chat-dialog .messages ul li > div {
	display: inline-block;
	padding: 5px 10px;
	border-radius: 10px;
	max-width: 70%;
	line-height: 24px;
	min-width: 180px;
	text-align: right;
	box-shadow: 0px 2px 6px -3px #000;
	border: 1px rgba(0, 0, 0, 0.2) solid;
}
.chat-container .chat-dialog .messages ul li > div.image-message {
	max-width: 350px !important;
}
.chat-container .chat-dialog .messages ul li .sender-name {
	display: inline-block;
	margin-bottom: 8px;
}
.chat-container .chat-dialog .messages ul li.sent .sender-name {
	color: #87d0ca;
}
.chat-container .chat-dialog .messages ul li.replies .sender-name {
	color: #05948c;
}
.chat-container .chat-dialog .messages ul li .date {
	display: inline-block;
	margin-bottom: 8px;
	float: left;
}
.chat-container .chat-dialog .messages ul li.sent .date {
	color: #87d0ca;
}
.chat-container .chat-dialog .messages ul li.replies .date {
	color: #05948c;
}
.chat-container .chat-dialog .messages ul li .read-status {
	width:12px;
	height:12px;
	float: left;
	color: #dcdcdc;
	fill: #dcdcdc;
}
.chat-container .chat-dialog .messages ul li .read-status use[href="#far-check-double"] {
	color: #71d2ff;
	fill: #71d2ff;
}
.chat-container .chat-dialog .messages ul li .context-menu-btn {
	color: rgba(5, 49, 47, 0.6);
	width: 28px;
	height: 28px;
	text-align: center;
	font-size: 17px;
	padding: 5px 0;
	cursor: pointer;
}
.chat-container .chat-dialog .messages ul li .context-menu-btn:hover {
	color: #05312f;
}
.chat-container .chat-dialog .messages ul li .context-menu {
	min-width: 70px;
	color: #05312f;
	background: #FFF;
	text-align: right;
	font-size: 13px;
	border-radius: 5px;
	display: none;
}
.chat-container .chat-dialog .messages ul li .context-menu li {
	padding: 0;
	margin: 0;
	border-bottom: 1px #CCC solid;
}
.chat-container .chat-dialog .messages ul li .context-menu li:last-child {
	border-bottom: none;
}
.chat-container .chat-dialog .messages ul li .context-menu li:hover {
	background: #F0F0F0;
	color: #05312f;
}
.chat-container .chat-dialog .messages ul li .context-menu li a, .chat-container .chat-dialog .messages ul li .context-menu li button {
	padding: 5px;
}
.chat-container .chat-dialog .messages ul li .context-menu li a:hover, .chat-container .chat-dialog .messages ul li .context-menu li button:hover {
	color: #05948c;
}
.chat-container .chat-dialog .messages ul li .context-menu li i {
	width: 20px;
	text-align: center;
	height: 100%;
	display: inline-block;
	font-size: 15px;
	color: #05948c;
}

.contact .context-menu-btn {
	position: absolute;
	top: 32px;
	left: 0px;
	width: 28px;
	height: 28px;
	text-align: center;
	font-size: 15px;
	padding: 5px 0;
	cursor: pointer;
}
.contact .context-menu-btn:hover {
	color: #05312f;
}
.contact .context-menu {
	position: absolute;
	top: 30px;
	left: 25px;
	min-width: 70px;
	color: #05312f;
	background: #FFF;
	text-align: right;
	font-size: 13px;
	border: 1px #ccc solid;
	border-radius: 5px;
	display: none;
	z-index: 1;
}
.contact .context-menu li {
	padding: 5px;
	margin: 0;
	border-bottom: 1px #CCC solid;
}
.contact .context-menu li:last-child {
	border-bottom: none;
}
.contact .context-menu li:hover {
	background: #F0F0F0;
	color: #05312f;
}
.contact .context-menu li a {
	padding: 5px;
}
.contact .context-menu li a:hover {
	color: #05948c;
}
.contact .context-menu li i {
	width: 20px;
	text-align: center;
	height: 100%;
	display: inline-block;
	font-size: 15px;
	color: #05948c;
}

.chat-container .chat-dialog .messages ul li > div .replied-message{
	max-height: 65px;
	line-height: 15px;
	background: rgba(0, 0, 0, 0.2);
	font-size: 10px;
	margin: 0 -5px 5px -5px;
	padding: 3px;
	border-right: 3px #00948d solid;
	border-radius: 5px;
	overflow: hidden;
	cursor: pointer;
}
.chat-container .chat-dialog .messages ul li > div .replied-message .sender-name{
	margin: 0 0 2px 0;
}
.chat-container .chat-dialog .messages ul li > div .replied-message img{
	display: block;
	width: auto;
	max-height: 40px;
	border-radius: 5px;
	border: 1px #04312f solid;
	margin: 0 0 0 5px;
	float: right;
}

.chat-container .chat-dialog .audio-player {
	display: flex;
	flex-direction: row;
	background: #FFF;
	padding: 10px 5px;
	border-radius: 5px;
	margin-bottom: 5px;
	width: 200px;
	max-width: 100%;
}
.chat-container .chat-dialog .audio-player .voice-control {
	flex-shrink: 0;
	flex-grow: 0;
	margin-left: 10px;
}
.chat-container .chat-dialog .audio-player .voice-control .voice-play {
	color: #2396f3;
	fill: #2396f3;
	width: 30px;
	height: 30px;
	cursor: pointer;
}
.chat-container .chat-dialog .audio-player .voice-control .voice-play:hover {
	color: #2396f3;
	fill: #2396f3;
}
.chat-container .chat-dialog .audio-player .voice-body {
	flex-shrink: 0;
	flex-grow: 1;
}
.chat-container .chat-dialog .audio-player .voice-body .timers {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
.chat-container .chat-dialog .audio-player .voice-body .timers time {
	color: #05312f;
}
.chat-container .chat-dialog .audio-player .voice-body .progress-bar {
	position: relative;
	width: 100%;
	height: 4px;
	background: #dbdbdb;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	margin-top: 2px;
	cursor: pointer;
}
.chat-container .chat-dialog .audio-player .voice-body .progress-bar .played {
	position: absolute;
	top: 0;
	right: 0;
	height: 4px;
	background: #2396f3;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	cursor: pointer;
}
.chat-container .chat-dialog .audio-player .voice-body .progress-bar .played::after {
	content: " ";
	position: absolute;
	top: -3px;
	left: -3px;
	width: 10px;
	height: 10px;
	background: #2396f3;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	cursor: pointer;
}

.chat-container .chat-dialog .messages .date-divider {
	width: 100%;
	text-align: center;
	margin: 10px 0;
	padding: 0;
	display: block;
}
.chat-container .chat-dialog .messages .date-divider span {
	color: #05312f;
	background: rgb(5, 148, 140, 0.4);
	padding: 5px 10px;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	display: inline-block;
}

.chat-container .message-input-wrapper{
	position: relative;
	background: #EFEFEF;
	border-top: 1px #CCC solid;
	display: none;
}
.chat-container .message-input-wrapper .scrollDown {
	background: #FFF;
	color: #05948c;
	position: absolute;
	top: -55px;
	right: 5px;
	width: 45px;
	height: 45px;
	line-height: 40px;
	padding: 5px 10px;
	border-radius: 50px;
	text-align: center;
	font-size: 20px;
	box-shadow: 0px 2px 6px -3px #000;
	border: 1px rgba(0, 0, 0, 0.2) solid;
	display: none;
}
.chat-container .message-input-wrapper .scrollDown span {
	position: absolute;
	top: -8px;
	right: -8px;
	background: #00c333;
	color: #FFF;
	min-width: 20px;
	height: 20px;
	line-height: 24px;
	border-radius: 20px;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	text-align: center;
	padding: 3px 3px;
	font-size: 13px;
	display: inline-block;
}
.chat-container .message-input-wrapper .message-input-div{
	background: #FFF;
	padding: 0;
	margin: 5px;
	border-radius: 20px;
	border: 1px #cccccc solid;
	flex-grow: 1;
	overflow: hidden;
}
.chat-container .message-input-wrapper .message-input-div .reply-message-div{
	background: #ebfffd;
	border: 1px #87d0ca solid;
	padding: 5px;
	font-size: 12px;
	border-radius: 19px 19px 0 0;
	overflow: hidden;
	display: none;
}
.chat-container .message-input-wrapper .message-input-div .reply-message-div .reply-message{
	max-height: 80px;
	overflow:  hidden;
	flex-grow: 1;
}
.chat-container .message-input-wrapper .message-input-div .reply-message-div .reply-message .sender-name{
	color: #00948d;
	font-size: 12px;
	margin: 3px;
	display: block;
}
.chat-container .message-input-wrapper .message-input-div .reply-message-div .reply-message img{
	display: block;
	max-height: 50px;
	border-radius: 10px;
	border: 1px #CCC solid;
	margin-left: 10px;
	float: right;
}
.chat-container .message-input-wrapper .message-input-div .reply-message-div .close-reply-message-div{
	color: #2396f3;
	font-size: 26px;
	cursor: pointer;
}
.chat-container .message-input-wrapper .message-input-div textarea{
	width: 100%;
	height: 34px;
	max-height: 80px !important;
	line-height: 16px;
	border: none;
	padding: 8px !important;
	line-height: 20px;
	font-size: 16px;
	resize: none;
	outline: none;
	-webkit-appearance: none;
	display: block;
	border-radius: 19px !important;
}
.chat-container .message-submit-div{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	padding: 0 5px;
}
.chat-container .message-submit-div button{
	background: #2196f3;
	color: #fff;
	padding: 5px 25px;
	font-weight: bold;
}
.chat-container .message-submit-div button svg{
	fill: #FFF;
	width: 14px;
	height: 14px;
}
.chat-container .message-submit-div .attachments-div{
	text-align: left;
}
.chat-container .message-submit-div .attachments-div svg{
	width: 20px;
	height: 20px;
	fill: #555;
	margin: 3px 5px;
	cursor: pointer;
}
.chat-container .message-submit-div .attachments-div svg:hover{
	fill: #000;
}
.chat-container .message-submit-div .attachments-div .record-voice.recording svg{
	fill: #bb0d0d !important;
}
.chat-container .message-submit-div .attachments-div .record-voice span{
	position: absolute;
	top: -23px;
	left: 8px;
	background: #444;
	color: #FFF;
	padding: 5px;
	border-radius: 3px 3px 0 0;
	font-size: 15px;
	line-height: 15px;
	height: 23px;
	border-bottom: 2px red solid;
	display: none;
}
.chat-container .message-submit-div .attachments-div .record-voice span::before{
	content: " ";
	width: 10px;
	height: 10px;
	background: red;
	animation: blinker 1s cubic-bezier(.5, 0, 1, 1) infinite alternate;  
}
.chat-container .message-submit-div .attachments-div .record-voice span::after{
	content: " ";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5px 5px 0 5px;
	border-color: #444 transparent transparent transparent;
	position: absolute;
	bottom: -5px;
	left: 0px;
}
.chat-container .message-submit-div .attachments-div .record-voice.recording span{
	display: inline-block;
}

@keyframes blinker {  
  from { opacity: 1; }
  to { opacity: 0; }
}

.very_small_thumb{
	width: 100%;
	height: auto;
}

#uploadModal textarea{
	width: 100%;
	resize: none;
	border: 1px #CCC solid;
	background: #FAFAFA;
}
#uploadModal #uploadModalErrorPlaceholder{
	color: red;
	text-align: center;
	font-size: 12px;
}

#deleteBothLabel{
	font-size: 16px;
}

.emojiPicker{
	bottom: 45px !important;
	top: unset !important;
	left: 0 !important;
	height: 237px !important;
	direction: ltr;
}
.emojiPicker .sections{
	height: 200px !important;
}
.emojiPicker .search, .emojiPicker .shortcode{
	display: none;
}

.message-content .emoji{
	vertical-align: middle;
	font-size: 24px;
	padding: 0 2px;
}
.message-content .emoji-single{
	font-size: 60px;
	line-height: 60px;
	text-align: center;
	padding: 10px;
	display: inline-block;
}
.sent .message-content a{
	color: #87d0ca;
	direction: ltr;
	text-align: left;
	display: block;
}
.replies .message-content a{
	color: #05948c;
	direction: ltr;
	text-align: left;
	display: block;
}




@media (max-width: 768px) {
	.chat-wrapper.support{
		height: calc(100vh - 50px);
		width: 100%;
		max-width: 100%;
		max-height: 100%;
	}
	.chat-container .chat-sidebar{
		width: 100%;
		display: flex;
	}
	.chat-container .chat-dialog{
		width: 100%;
		display: none;
	}
	.chat-container.chat-dialog-open .chat-sidebar{
		display: none !important;
	}
	.chat-container .chat-sidebar #profile {
		padding: 5px;
	}
	.chat-container.chat-dialog-open .chat-dialog{
		display: flex !important;
	}
	.chat-container .show-contacts, .chat-container .close-chat{
		display: inline-block !important;
	}
	.chat-container .message-submit-div button{
		background: transparent;
		color: #2196f3;
		padding: 0px 3px;
		font-weight: bold;
		font-size: 24px;
	}
	.chat-container .message-submit-div button svg{
		fill: #2196f3;
		width: 24px;
		height: 24px;
	}
	.chat-container .message-submit-div button span{
		display: none;
	}
	.chat-container .chat-dialog .messages ul li.slogan {
		font-size: 24px !important;
	}
}