@CHARSET "UTF-8";

* {
	font-family: sans-serif;
	font-size: inherit;
	line-height: inherit;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Theme Overrides */
.ui-tabs .ui-tabs-panel { padding: 0.5em 0.5em; }
.ui-tabs .ui-tabs-nav li a { padding: 0.3em 0.4em; }
.ui-dialog-titlebar-close { display: none; }

body {
	font-size: 78%;
	min-height: 100%;
	margin: 0;
	background-color: white;
	color: #22313F;
	padding: 0;
}

input[type=text], input[type=email], div#login > p > button {
	font-size: 110%;
	padding: 0.3em;
}

div#banner {
	position: relative;
	height: 34px;
	background-color: #446CB3;
	color: white;
	margin-bottom: 4px;
	vertical-align: middle;
	padding-top: 4px;
}
div#banner > img {
	width: 32px;
	height: 32px;
	vertical-align: top;
	margin-left: 1em;
}
div#banner > h1 {
	margin: 0;
	padding: 0.1em 0 0 0.5em;
	display: inline-block;
	font-size: 180%;
}

div#banner > div {
	position: absolute;
	top: 6px;
	right: 6px;
}

div#banner > div > img {
	width: 24px;
	height: 24px;
	margin: 15%;
	border: 1px solid transparent;
}
div#banner > div > img:hover {
	border: 1px solid silver;
	border-right-style: inset;
	border-bottom-style: inset;

	background-color: transparent;
	background-color: rgba(100%, 100%, 100%, 0.5);
	cursor: pointer;
}

div#footer {
	font-size: smaller;
	position: absolute;
	bottom: 0.4em;
	text-align: center;
	width: 100%;
	z-index: -1;
}

span#credits:hover {
	cursor: pointer;
}

div#login {
	margin: 3em;
}

div#login > p, div#login > div {
	margin: 0 0 1em 0;
}
div#login > label {
	display: block;
}

#chat {
	width: 100%;
	min-height: 8em;
	display: none;
	z-index: 0;
}

div.messageWindow {
	border-top: 1px solid #6C7A89;
	border-bottom: 1px solid #6C7A89;
	overflow: auto;
	position: relative;
	padding: 0.2em 0.2em;
}

div.messageWindow > div {
	position: relative;
	max-width: 90%;
	min-height: 50px;
	border-radius: 2px;
	border: 1px solid #95A5A6;
	margin-bottom: 0.5em;
}

div.messageWindow > div > p {
	margin: 0 0 0.75em 0;
	padding: 0.25em;
}

div.messageWindow > div > div.who {
	width: 50px;
	height: 50px;
	text-align: center;
	margin-top: 0;
	margin-right: 0.5em;
	margin-left: 0;
	margin-bottom: 0;
	background-color: #6C7A89;
	background-image: url(../image/silhouette78.svg);
	background-position: center;
	border-radius: 2px;
}

#whiteLabelName {
	padding: 0.25em;
}

div.agent > div.messageWindow > div.myText > div.who {
	background-image: url(../image/customer1.svg);
}

div.user > div.messageWindow > div.otherText > div.who {
	background-image: url(../image/customer1.svg);
}

div.messageWindow > div > div.time {
	font-size: xx-small;
	color: #6C7A89;
	margin: 0;
	position: absolute;
	bottom: 2px;
	padding-right: 2px;
	vertical-align: bottom;
	padding-top: 0.2em;
}

div.messageWindow > div.myText {
	margin-left: 10%;
	color: #6C7A89;
	text-align: right;
}

div.messageWindow > div.otherText  {
	color: black;
}

div.messageWindow > div.myText > div.who {
	float: right;
	margin-top: 0;
	margin-right: 0;
	margin-left: 0.5em;
	margin-bottom: 0;
}
div.messageWindow > div.myText > div.time {
	right: 56px;
}
div.messageWindow > div.otherText > div.who {
	float: left;
}
div.messageWindow > div.otherText > div.time {
	position: absolute;
	bottom: 0;
	left: 56px;
}

p.hint, div.hint {
	font-size: smaller;
	font-weight: normal;
	color: #6C7A89;
}

div#typingStatus {
	float: left;
	display: none;
	border: 1px solid silver;
	border-top: 0;
	padding: 2px;
	padding-right: 0;
	margin: 0;
	font-size: smaller;
}

div#characters {
	float: right;
	border: 1px solid silver;
	border-top: 0;
	padding: 2px;
	padding-right: 0;
	margin: 0;
	font-size: smaller;
}

div.normalCharacters {
	background-color: white;
	color: gray;
}

div.errorCharacters {
	background-color: red;
	color: white;
}

div.messageWindow div.sending {
    position: absolute;
    top: 1em;
    left: 15%;
    padding-right: 45px;
    min-height: 32px;
	background-image: url(../image/loading-gears.svg);
	background-repeat: no-repeat;
	background-position: top right;
}
div.message br, div.toolsWindow br {
	clear: both;
}


div.failed {
	background-color: #CF000F;
}
div.messageWindow div.failed {
    color: white;
}


div.toolsWindow {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 8em;
}

div.toolsWindow div.textarea {
	width: 80%;

}

div.toolsWindow div.textarea textarea {
	width: 100%;
	height: 5em;
}

div.toolsWindow div.send {
	position: absolute;
	right: 0;
	top: 0;
	padding-right: 4px;
}
div.toolsWindow div.send button {
	margin: 1px;
	padding: 0;
	height: 52px;
}

div.toolsWindow div.end {
	margin: 0;
	padding: 0;
	vertical-align: middle;
	text-align: center;
}

div.details {
	margin-left: 1em;
	display: table;
}

div.details > div {
	display: table-row;
}

div.details > div > div {
	display: table-cell;
}

div.details > div > div:first-of-type {
	text-align: right;
	padding-right: 0.5em;
}

div#authorized {
	float: right;
	width: 48px;
	height: 48px;
	margin-right: 10px;
}

div.authorized {
	background-color: #6C7A89;
	background-image: url(../image/shield114.svg);
	background-size: 24px 32px;
	background-position: center;
	background-repeat: no-repeat;
}

ul {
	margin: 0;
	padding: 0;
}
ul > li {
	padding: 0.2em;
	list-style: none;
}

span.href {
	text-decoration: underline;
}
span.href:hover {
	cursor: pointer;
}

ul {
	margin: 0;
	padding: 0;
}
ul > li {
	padding: 0.2em;
	list-style: none;
}

span.href {
	text-decoration: underline;
}
span.href:hover {
	cursor: pointer;
}