
.chat-wrapper {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: end;
	justify-content: start;
	position: fixed;
	right: 1em;
	bottom: 1em;
}

/* btw, FAB stands for Floating Action Button */

.chat-fab {
	box-sizing: border-box;
	width: 2em;
	height: 2em;
	margin-top: 0.5em;
	border-radius: 50%;
	background: #EEF;
	color: #336;
	border: 1px solid #336;
	
	box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.25);
	
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	
	user-select: none;
	font-size: 18pt;
	font-weight: bold;
	padding: 2px;
	
	cursor: pointer;
}

.chat-fab:hover {
	background: #668;
	color: #FFF;
}

.chat-with-us {
	display: none;
	flex-direction: column;
	align-items: stretch;
	justify-content: normal;
	
	width: 20em;
	height: 80vh;
	border: 1px solid #440;
	border-radius: 8px;
	background: #FFB;
	
	box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.25);
	
	padding: 0;
}

.chat-avatar {
	box-sizing:border-box;
	display: block;
	width: 3em;
	height: 3em;
}

.chat-online {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: normal;
	margin: 0;
	padding: 0.5em;
	height: 3.5em;
	
	flex-grow: 0;
}

.chat-online p {
	box-sizing:border-box;
	display: block;
	font-size: 14pt;
	font-weight: bold;
	width: 100%;
	text-align: center;
}

.chat-log {
	flex-grow: 1;
	flex-basis: 10em;
	box-sizing:border-box;
	overflow-y: scroll;
	min-height: 10px;
	padding: 0.5em;
}

.bubble {
	border-radius: 1em;
	padding: 0.5em;
	margin-bottom: 1em;
}

.user.bubble {
	background: #8D8;
	margin-left: 3em;
	font-family: "Arial", sans-serif;
	font-size: 12pt;
}

.eliza.bubble {
	background: #DD8;
	margin-right: 3em;
	font-family: "Comic Sans MS", "Comic Sans", sans-serif;
	font-size: 12pt;
}


.chat-input {
}

.chat-input form {
	width: 100%;
	margin: 0.5em 0 0 0;
	padding: 0;
	border: 0;
	
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: normal;
}

.inputline {
	flex-grow: 1;
}
