.noOperatorAvailable {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;

	height: 100vh;
	width: 100vw;
	overflow: hidden;

	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;

	font-weight: normal;
	background-color: rgb(40, 40, 40);
	color: #eee;
}
.chatWindow {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;

	height: 100%;
	max-height: 100%;

	display: flex;
	flex-flow: column nowrap;
	justify-content: space-between;
	align-items: stretch;
	align-content: stretch;

	background-color: rgb(40, 40, 40);
}
.chatWindow.hide-initially > * {
	display: none;
	visibility: hidden;
	opacity: 0;
}
.sessionHistory {
	flex: 1 1 auto;
	flex: 0 1 calc(100% - 50px);
	padding-bottom: 10px;
	background-color: rgb(40, 40, 40);
	/*background-image: url('/img/bg1.png');*/
	background-repeat: repeat;
	position: relative;
	overflow-y: scroll;
	overflow-x: hidden;
}
.sessionHistory > .chatRow {
	margin-top: 10px;
	padding: 5px 10px;
}
.sessionHistory > .chatRow.by-customer {
	width: 90%;
	border-radius: 0 10px 10px 0;
	background-color: rgb(58, 58, 58);
	color: #eee;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
	/*border: 1px solid rgba(0, 0, 0, 0.1);
	border-left-width: 0;*/
}
.sessionHistory > .chatRow.by-operator {
	width: 90%;
	margin-left: 10%;
	border-radius: 10px 0 0 10px;
	background-color: rgb(30, 30, 30);
	color: rgb(148, 193, 30);
	box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.2);
	/*border: 1px solid rgba(0, 0, 0, 0.2);
	border-right-width: 0;*/
}
.chatInputRow {
	flex: 0 0 50px;
	background-color: rgb(120, 120, 120);
	border-top: 1px solid rgb(34, 34, 34);

	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: stretch;
	align-content: stretch;
}
.chatInput {
	transition: background-color 0.3s ease-out;
	flex: 1 1 auto;
	background-color: #fff;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
	outline: none;
	margin: 5px;
	padding: 0 10px;
}
.chatInput:hover:not(:focus) {
	background-color: #ddd;
}
.chatInput:active,
.chatInput:focus {
	background-color: #fff;
}
.sendChatRow {
	transition: background-color 0.3s ease-out;
	flex: 0 0 auto;
	background-color: rgb(148, 193, 30);
	color: #fff;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);

	cursor: pointer;
	padding: 0 20px;
	margin: 5px 5px 5px 0;

	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
}
.sendChatRow:hover {
	background-color: rgb(202, 234, 119);
}
.sendChatRow:active {
	transition: background-color 0.05s ease-out;
	background-color: rgb(148, 193, 30);
}

.chatRow {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: baseline;
	align-content: flex-start;
	border: 1px solid transparent;
}
.chatRow.by-customer {
	border-left-width: 0;
}
.chatRow.by-operator {
	border-right-width: 0;
}
.chatRow.filtered {
	border-color: #f00;
}
.chatRow > .operatorImage {
	order: 10;
	flex: 0 0 40px;
	height: 40px;
	background-image: url('/img/operators/operator.jpg');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	border: 1px solid rgba(148, 193, 30, 0.08);
	box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.5);
}
.chatRow > .messageText {
	order: 5;
	align-self: flex-start;
	flex: 1 1 80%;
	flex: 0 1 calc(100% - 50px);
	font-weight: 100;
	padding-top: 5px;
	padding-bottom: 4px;
}
.chatRow.by-customer > .messageText {
	flex: 1 1 100%;
}
.chatRow.by-operator > .messageText {
	font-weight: 500;
}
.chatRow > .authorName {
	order: 15;
	flex: 0 1 auto;
	color: rgba(255, 255, 255, 0.35);
}
.chatRow > .messageDate {
	order: 20;
	flex: 0 1 auto;
	margin-left: auto;
	font-size: 0.8em;
	color: rgba(255, 255, 255, 0.35);
}
.chatRow > .messageTime {
	order: 25;
	flex: 0 1 auto;
	margin-left: 0.25em;
	font-size: 0.8em;
	color: rgba(255, 255, 255, 0.35);
}
.chatRow > .messageTime:before {
	content: "@ ";
}

