/*
28.06.18
- CSS for CE WebAPI widget
*/

body {
	margin: 0 auto;
	padding: 0;
	height: 100%;
}

label {
	color:#330066;
}

.content {
    max-width: 500px;
    margin: auto;
}
.ChatUI *{box-sizing:border-box}

.ChatUI{
	margin: auto;
	padding:10px;
	height: 580px;
	max-width: 500px;
	font-family:Arial;
	position:relative;
}

.ChatUI .close {
	float: right;
	display: none;
	margin-top: 7px;
	padding:2px;
	width:70px;
	height:20px;
	font-size: 12px;
	border:none;
	color:#808080;
	background-color:white;
	text-align:right;
	cursor:pointer;
}

.ChatUI .title {
	margin:0px 10px 5px;
	color:#330066;
	font-family:Arial;
	font-size:16px;
	font-weight:bold
}

.ChatUI .transcript {
	padding:5px;
	height:580px;
	font-family:Arial;
	display:none;
	-ms-overflow-y:auto;
	background-color:white;
	overflow-y:scroll;
}
.ChatUI .transcript p {
	margin:3px 0px;
	padding:5px 10px;
	font-size:16px;
	display:none;
	-ms-word-wrap:break-word
}

.ChatUI .transcript p.system {
	background-color:#000000;
	text-align:center;
	color:#ffffff;
	font-family:Arial;
	font-size:12px;
	float:none;
	margin-top: 0px;
	padding: 10px;
}

.ChatUI .transcript p.system .name{display:none}

.ChatUI .transcript .name {
	font-family:Arial;
	font-size:12px;
	display:block;
	color:#666666;
}

.ChatUI .transcript .them {
	text-align:left;
	clear:both;
	font-family:
	Arial;font-size:12px;
	float:left;
	background-color:#f2f2f2;
	color:#8c8c8c;
}

.ChatUI .transcript .them .name {
	padding-bottom:5px;
	padding-right:14px;
	font-style:italic;
	color:#666666;
}

.ChatUI .transcript .you {
	text-align:right;
	clear:both;
	font-family:Arial;
	font-size:12px;
	float:right;
	background-color:#ffffff;
	color:#8c8c8c;
}

.ChatUI .transcript .you .name {
	padding-bottom:5px;
	font-style:italic;
	color:#666666;
}

.ChatUI .isTyping {
	height:1em;
	bottom:3px;
	color:rgb(153,153,153);
	font-size:10px;
	font-style:italic;
	display:none;
	position:static
}

.ChatUI .input {
	padding:5px;
	border:1px solid rgb(204,204,204);
	width:100%;
	height:100%;
	overflow:auto;
	font-family:Arial;
	font-size:13px;
	resize:none
}

.ChatUI .disabled.input {
	opacity:0.5
}

.ChatUI .input-container {
	height:50px;
	margin-top:8px;
	display:none
}

.ShowSend.ChatUI .send {
	display:block
}

.ShowSend.ChatUI .input {
	width:250px;
}

.ChatUI .send {
	float:right;
	border:none;
	display:inline-block;
	padding:8px 16px;
	vertical-align:middle;
	overflow:hidden;
	text-decoration:none;
	color:white;
	background-color:#330066;
	text-align:center;
	cursor:pointer;
	white-space:nowrap
}

.ChatUI .pdf {
	float:left;
	border:none;
	display:inline-block;
	padding:8px 16px;
	vertical-align:middle;
	cursor:pointer;
	white-space:nowrap
}

.ChatUI .form {
	padding:5px;
	/*border:1px solid rgb(204,204,204);*/
	min-height:580px;
	-ms-overflow-x:hidden;
	-ms-overflow-y:auto;
	background-color:white;
	margin: 0;
}

.ChatUI .form label {
	font-family:Arial;
	font-size:13px;
	margin-top:8px;
	display:block
}

.ChatUI .form label span {
	padding-right:5px;
	display:inline-block
}

.ChatUI .form label input, select, textarea {
	border:1px solid rgb(187,187,187);
	padding-left:8px;
	margin-right:6px;
	display:inline-block;
	font-family:Arial;
}

.ChatUI .form label input[type='text'], select {
	width:100%;
	height:27px;
}

.ChatUI .form label textarea {
	height:54px;
	width:100%;
}

.ChatUI .form label input[type='radio'] {

}

.ChatUI .form label input.error {
	border-color:red
}

.ChatUI .form .submit {
	border:1px solid rgb(204,204,204);
	width:100%;
	height:32px;
	margin-top:11px;
	background-color:#330066;
	color: #ffffff;
}

.ChatUI .end{
	width:20px;
	height:20px;
	position:absolute;
	cursor:pointer;
	opacity:0.3;
}

.ChatUI .end:hover {
	opacity:1
}

.settings-group {
	display:none
}


.ChatUI .transcript .you > span,.ChatUI .transcript .them > span {

}

.ChatUI .error {
	border: 1px solid red;
}

.ChatUI label.error {
	display: inline;
	margin-top: 0px;
	border: 0;
	margin: 0;
	font-size: 10px;
	font-weight: normal;
	text-align: left;
	vertical-align: bottom;
	color: red;
	float: right;
}

.ChatUI .form label select.error {
    border: 1px solid red;
}


.ChatUI .instructions {
	font-family: Arial;
	font-size: 13px;
	padding: 4px 0px 4px 0px;
}

.ChatUI .logo_bar {
	position: fixed;
    top: 0px;
    left: 14px;
		right: 30px;
	margin: auto;
	padding-top: 12px;
    padding-right: 3px;
    padding-bottom: 0px;
	z-index:100000;
	border: 0px solid red;
	background-color: #ffffff;
	text-align: left;
	vertical-align: top;
	width: 480px;
}

#livechat {
	position: fixed;
    top: 13px;
	left: 122px;
	font-family: Roboto;
	color: #434A52;
	font-size: 24px;
	padding-bottom: 5px;
	display: inline-block;
    padding-left: 5px;
    font-weight: lighter;
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
}
/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 260px;
    background-color: #555;
    color: #fff;
    padding: 7px;
	font-size: 12px;

    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
}
