#chat_messages {
	overflow: auto;
	height: calc(100vh - 102px);
	margin-top: 48px;
	padding-top: 15px;
	padding-bottom: 55px;
	position: fixed;
	width: 100%;
	background-color: #47484B;
	transition: all 1s;
	-webkit-overflow-scrolling: touch;
}

@supports (-webkit-overflow-scrolling: touch) {
	#chat_messages {
		padding-bottom: 105px;
	}
}

@media screen and (min-width: 1000px) {
	#chat_messages {
		padding-left: 25%;
		padding-right: 25%;
		transition: all 1s;
	}
}

#chat_messages div {
	background-color: rgb(252, 218, 174);
	font-family: 'Roboto', sans-serif;
	padding: 10px;
	margin-bottom: 15px;
	font-size: 14px;
	transition: all 1s;
	margin-left: 10px;
	margin-right: 10px;
	border-radius: 6px;
	word-break: break-all;
	word-break: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
	background-image: url(../img/chat_gradient.png);
	background-size: 100% 100%;
}

#chat_messages .response {
	width: 70%;
	float: right;
}

#chat_messages .customercare {
	width: 70%;
	float: left;
	background-color: #d6764f;
	color: white;
	margin-left: 25px;
}

#chat_messages .response::before {
	content: " ";
	width: 0;
	height: 0;
	border-top: 20px solid rgb(252, 218, 174);
	border-left: 20px solid transparent;
	margin-left: -25px;
	margin-top: -10px;
	position: absolute;
}

#chat_messages .customercare::before {
	content: " ";
	width: 0;
	height: 0;
	border-top: 20px solid #d6764f;
	border-left: 20px solid transparent;
	margin-left: -25px;
	margin-top: -10px;
	position: absolute;
}

#chat_messages time {
	width: 100%;
	display: block;
	font-size: 12px;
	color: black;
	clear: both;
	text-align: right;
	padding-right: 25px;
	min-width: 24px;
	background-image: url(../img/check.svg);
	background-position: center right;
	background-repeat: no-repeat;
	background-size: contain;
}

#chat_messages .wait {
	background-image: url(../img/timer.svg) !important;
}


#chat_send_area {
	position: absolute;
	bottom: 0;
	left: 0;
	height: 54px;
	width: 100%;
	background-color: #3C3F41;
}

#chat_settings_btn {
	position: fixed;
	top: 0;
	right: 48px;
	width: 48px;
	height: 48px;
	background-image: url(../img/ic_brush_white_24px.svg);
	background-repeat: no-repeat;
	background-position: center center;
	z-index: 1000;
}

#chat_location_btn {
	position: fixed;
	top: 0;
	right: 96px;
	width: 48px;
	height: 48px;
	background-image: url(../img/ic_location_on_white_24px.svg);
	background-repeat: no-repeat;
	background-position: center center;
	z-index: 1000;
}

#chat_send_btn {
	position: fixed;
	right: 5px;
	bottom: 5px;
	width: 44px;
	height: 44px;
	box-sizing: border-box;
	display: block;
	color: #fff;
	position: fixed;
	z-index: 1;
	padding: 0;
	background-color: #779B2F;
	border-radius: 50%;
	cursor: pointer;
	text-align: center;
	transition: all 0.3s;
	background-image: url(../img/send.svg);
	background-position: center center;
	background-repeat: no-repeat;
}

#chat_cam_btn {
	position: absolute;
	bottom: 5px;
	right: 50px;
	z-index: 10000;
	height: 44px;
	width: 44px;
	color: darkslategray;
}

#chat_cam_btn i {
	line-height: 44px;
	margin-left: 10px;
	cursor: pointer;
}

.chat_send_btn_has_mic {
	background-image: url(../img/microphone.svg) !important;
}

#chat_send_btn .material-icons {
	margin-top: 10px;
}

#chat_text_box {
	width: calc(100% - 58px);
	color: black;
	-webkit-user-select: auto !important;
	-moz-user-select: auto !important;
	-khtml-user-select: auto !important;
	-ms-user-select: auto !important;
	user-select: auto !important;
	font-family: "Roboto", sans-serif;
	resize: none;
	border: none;
	padding: 10px;
	box-sizing: border-box;
	font-size: 14px;
	position: fixed;
	min-height: 44px;
	bottom: 5px;
	left: 5px;
	background-color: white;
	border-radius: 8px;
}

#btn_back_to_order {
	right: 0px;
}

.chat_map {
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	max-width: 220px;
	width: 100%;
	border-radius: 8px;
	display: block;
}

#nav_notification_count {
	position: fixed;
	top: 0;
}

.nav_badge_circle_count,
.nav_chat_circle_count {
	font-family: 'roboto', sans-serif;
	margin-left: 14px;
	margin-top: 8px;
	background-color: #26A69A;
	color: white;
	width: 18px;
	height: 18px;
	border-radius: 12px;
	text-align: center;
	font-size: 10px;
	line-height: 16px;
	z-index: 1;
	display: block;
	overflow: hidden;
}

.notification {
	min-height: 80px;
	font-size: 14px;
	width: 100%;
	padding: 10px;
	box-sizing: border-box;
	border-bottom: solid 1px #E0E0E0;
	background-color: white;
}

.notification_title {
	font-weight: bold;
	line-height: 45px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	margin-bottom: 5px;
	color: rgb(174, 35, 38);
}

.notification time {
	float: right;
	color: #959292;
	font-size: 90%;
	margin-left: 20px;
	margin-bottom: 20px;
	display: none;
}

.notification_circle {
	height: 40px;
	width: 40px;
	border-radius: 50%;
	box-sizing: border-box;
	background-image: url(../icon.png);
	background-size: cover;
	background-position: center center;
	vertical-align: middle;
	margin-right: 10px;
	float: left;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
}

}

#chat_location_map {
	background-color: #EBEEF0;
	display: block;
	width: 100%;
}

#chat_location_map .centerMarker {
	position: absolute;
	background: url(../img/home.svg);
	background-repeat: no-repeat;
	background-size: 36px 36px;
	top: 50%;
	left: 50%;
	z-index: 1;
	margin-left: -18px;
	margin-top: -18px;
	height: 36px;
	width: 36px;
	cursor: pointer;
}

#chat_photo_canvas {
	display: none;
}
