 :root{
/* background chat viewport var(--background_color) light */
	--background_color: #ffffff;

/* chat input text var(--input-text_color) dark */	
	--input-text_color: #4B4B4B;
	
/* primary_color1 var(--primary_color1) pale agentchat bubble color */
	--primary_color1: #F6E477;

/* primary_color2 var(--primary_color2) light */
	--primary_color2: #E3C029;
	
/* primary_color3 var(--primary_color3) normal customerchat bubble color */
	--primary_color3: #1D6B34;
	
/* primary_color4 var(--primary_color4) dark agentchat text color */
	--primary_color4: #155429;	

/* accent_color1 var(--accent_color1) */
	--accent_color1: #D2AD15;	
}

body {
	background: var(--background_color);
	font-family: 'Lato', sans-serif;
	font-size: 14px;
}

#welcome>h1 {
	font-size: 1.5em;
}

#queueing>h3 {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: normal;
    letter-spacing: 0;
    text-align: left;
    padding: 0;
    margin: 0;
    color: var(--primary_color4);
    line-height: 20px;
    text-align: center
}

.overlay {
	position: fixed;
	height: 100%;
	width: 100%;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	display: none;
}

/* welcome page login button hover action*/
#welcome_connect:hover{
	background: var(--primary_color3);
	}

#loading {
/* background-image: url(../images/loading.gif); */
	background-position: center center;
	background-repeat: no-repeat;
	height: 100%;
	display: block;
}

#chat_history {
	position: absolute;
	top: 2.6em;
	bottom: 70px;
	left: 0;
	right: 0;
	overflow-y: auto;
	overflow-x: hidden;
	background: var(--background_color);
}

#chat_messages {
	padding: 10px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	max-height: 300px;
}

#chat_footer {
	position: absolute;
	height: 70px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	padding: 0px;
	margin: 0px;
	overflow: hidden;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	background: var(--background_color);
	box-shadow: none;
}

.message_wrap_dummy,
.message_wrap {
	position: relative;
	padding: 0;
	margin-bottom: 20px;
	animation: show-message 200ms ease-in 1;
}

.message_wrap_dummy.wrap_you {
	animation: show-message-you 200ms ease-in 1;
}

.message_dummy,
.message {
	padding: 0;
	margin-right: 20%;
	margin-left: 0;
	margin-top: 8px;
	border:0px;
	box-shadow: 0 0 0   0px rgba(0, 0, 0, 0);
	padding: 0;
	font-size: inherit;
	word-wrap: break-word;
	overflow-wrap: break-word;
	width: fit-content;
	background-image: none;
}

/* .message::before {
	background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAgCAIAAACKIl8oAAAACXBIWXMAAAsSAAALEgHS3X78AAADy0lEQVRIiaVWTWwSTRie3R3o8rPQPWCChzXh0C/aFA9c1EDjTQ/l7MGexVjPfok9f030rI2cxXgvJDbBpIlw0EQTA5aDiY2QiAkclrJ1F/b3i/vCMGWBGvucmGXmmXee933eGcZxHDQfxa5R6hgV2WwNbHrSmsBlRLwZ9ycFbt7iudSFtr5zNJhi9CIt4u0EnxHxH1E3NTvXUKuySQLMxnz04p7pVGSz1DHIxg+kpe0EH8XMIuqaYt3+dNI3ncUReU+2JnD7qTDNfoqa5n2yEtiSlmB9qWu8k034HsHMuog3Yr7Ni35Y9eirttsaetlPUV//oNQVK4KZ/VQ4KXA1xco11LpizQx5TeDyV4KQxkJbv99QEUJ34/78anCaeudosHM0QAi9uBLcvOifUiYb8wFLTbGKXQMyQYKgY3+TCo80dFz0DDt+0AuV5TufTxzH+a5aMIwf9PY6uuPBXkcnE76rFvx97X0/VJYvV45hyJKEEIkRQv9+1fqmA0FlYz6vGtmYbz8VjmCmbzo5VwqE0FN3bWtg11wNR9TFroEQ2oj5LgXYpmaX3OF2gl/giKTAbSd4hFBVNpva7yLJiPhu3C/xLKwaUYN2G26AwBvBDFTIAmxJSxG3HmAJQii/GmykI/CbBY+QQBBCFXeb9fnlTAOmVcb+osGCOjR1zxV9gRRTspAlU8A0S/htLy1iSMKz1hBqEcRJClxS4Lz9CCYvn7b4RJAoZh6MZa2OXdenAumbTlU2d1vDGx+U4lhWhNCx6YDKZ7SnpmbXTqy6YjU1+9VPHQqR2KQ5sKEfSTxLEkVc9uNmNOoN3GsHYp9r7/v09/++aaGyHCrLMCS2uvfll5dkYhkaUcw8dPWpK1buUD12lSl2jWfjHgRzcw0VbPX0n8DMDM+usC1pqdg16or16qcO4hA8dm3yvDUEKywopBlRQ+D7qfCTlYDETyZIPPv6agh8T5Styublap/UEo0z7kbIIWgyVQYV2Sy0J2eieyzgbOrFaGr2ztEANohgJr8anLQzyOZeRw+V5VsflZm5PhOkx4bKMmnCLBw5d6ieJ3bSY39XzqE6aaqTMlqZXUZ/gqR7MdIdnC20dbj98qunkvB37HAx1hWr0NZZaAJw+52HF5CN+dJuIZW6xoj6nPHSWB9TM/GDHnlgwCspI+JLgdlWWoCKbMIDEbp/BDPMyx9D79uONOhlzMx7PTU1uzWwSb+k/5J49nGCH1mmpliwLXnq/QUkns2IeOOCD9I2w40V2YQGXVOslhvavG3SIl52z7cmcMkwR8uIEPofQtHrmYA6C5sAAAAASUVORK5CYII=') 0 0 no-repeat;
	content: "";
	display: inline-block;
	width: 30px;
	height: 30px;
	background-size: 100% 100%;
	left: 0;
	position: absolute;
	border: solid;
	border-width: 2px;
	border-color: #fff;
	overflow: hidden;
	border-radius: 50%;
	background-color: #fff;
	top: 2px;
} */

.message_dummy.you,
.message.you {
	color: #000000;
	margin-left: 20%;
	margin-right: 0;
	position: relative;
	float: right;
}

.message_dummy.you::before,
.message.you::before {
	background: none;
	content: "";
	display: inline-block;
	display: none;
}

.message_dummy.you>.message_text a:link,
.message.you>.message_text a:link {
	color: var(--background_color);
}

.message_dummy.you>.message_text a:visited,
.message.you>.message_text a:visited {
	color: var(--background_color);
}

.message_dummy.you>.message_text a:hover,
.message.you>.message_text a:hover {
	color: var(--background_color);
}

.message_dummy.you>.message_text a:active,
.message.you>.message_text a:active {
	color: var(--background_color);
}

/*color of the text above the bubble of the agent*/
.message_user {
	display: none;
	color: var(--primary_color4);

}

/*color of the text above the bubble of the customer*/
.you .message_user {
	display: none;
	color: var(--primary_color3);
	float: right;
	margin-bottom: 5px;
}

/*color and display of the customer chat bubble*/
.you .message_text {
	color: var(--background_color);
	background-color: var(--primary_color3);
	border-radius: 20px 0px 20px 20px;
	border: 2px solid var(--primary_color3);
}

.you .message_date {
	position: absolute;
	top: 100%;
	right: 0;
}

/*color and display of the date under the chat bubble*/
.message_date {
	font-family: 'Lato', sans-serif;
	font-size: 10px;
	color: var(--primary_color1);
	letter-spacing: 0;
	line-height: 10px;
	margin: 0;
	position: absolute;
	top: 100%;
	margin-top: 5px;
	display: none;
}

/*color and display of the agent chat bubble*/
.message_text {
	clear: both;
	font-family: 'Lato', sans-serif;
	font-size: 14px;
	color: var(--primary_color4);
	background-color: var(--primary_color1);
	white-space: normal;
	word-wrap: break-word;
	line-height: 20px;
	letter-spacing: 0;
	padding: 10px;
	border-radius: 0px 20px 20px 20px;
	border: 2px solid var(--primary_color1);
	word-break: break-word;
	margin-top: 5px;
}

.message_text a {
	color: var(--primary_color4);
}

.message_text a:visited {
	color: var(--accent_color1);
}

.message_tick {
	display: none;
	background: none;
	position: static;
	height: 0;
	width: 0;
	left: auto;
	top: auto;
	bottom: auto;
	right: auto;
}

.message_tick.you {
	content: "";
	clear: both;
	display: table;
	background: none;
	position: static;
	height: 0;
	width: 0;
	left: auto;
	top: auto;
	bottom: auto;
	right: auto;
}

.message_combine {
	padding-top: 16px;
}

.first_message {
	margin-top: 12px !important;
}

/* chat text input box */
#chat_message_dummy,
#chat_message {
	width: 100%;
	height: 100%;
	resize: none;
	display: block;
	margin: 0;
	overflow: auto;
	-webkit-appearance: none;
	resize: none;
	box-sizing: border-box;
	width: 100%;
	height: 45px;
	padding: 5px 5px 5px;
	font-size: inherit;
	color: var(--input-text_color);
	background-color: var(--background_color);
	outline: none;
	border: solid 1px var(--primary_color4);
	border-radius: 5px 0px 0px 5px;

/*line-height: 43px;*/
	font-family: 'Lato', sans-serif;
}

#chat_message_wrap_dummy,
#chat_message_wrap {
	position: absolute;
	height: 45px;
	top: 14px;
	bottom: 10px;
	left: 20px;
	right: 85px;
	padding: 0;
	margin: 0;
	color: var(--primary_color4);
	border: none;
	background: var(--primary_color1);
	overflow: hidden;
	box-shadow: none;
	margin-right: 8px;
}

#chat_message_wrap_dummy {
	left: 8px;
}

#chat_send_dummy,
#chat_send {
	position: absolute;
	right: 23px;
	top: 14px;
	bottom: 8px;
	width: 70px;
	height: 45px;
	text-align: center;
	background-image: none;
	box-shadow: none;

	-webkit-appearance: none;
	box-sizing: border-box;
	cursor: pointer;
	width: 70px;
	height: 45px;
	line-height: 1;
	font-size: 16px;
	font-family: inherit;
	color: var(--background_color);
	background: var(--primary_color4);
	outline: none;
	border: none;
	border-radius: 0px 5px 5px 0px;

	align-items: flex-start;
	text-rendering: auto;
	letter-spacing: normal;
	word-spacing: normal;
	text-transform: none;
	text-indent: 0px;
	text-shadow: none;
	margin: 0em;
	font: 400 13.3333px Arial;
	-webkit-writing-mode: horizontal-tb !important;
	font-size: 15px;
	line-height: 45px;
}

#chat_send_dummy:hover,
#chat_send:hover {
	background: var(--primary_color3);
}

#chat_send_dummy:active,
#chat_send:active {
	line-height: 46px;
}

#chat_info {
	display: inline-block;
	background: var(--background_color);
	background-image: none;
	height: 38px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 1000;
	box-shadow:0 0 0px rgba(0,0,0,.91);
	font-weight: normal;
}

#chat_connectedto {
	color: var(--primary_color4);
	font-size: 11.5pt;
	font-weight: bold;
	line-height: 39px;
	margin: 0 7px;
	padding: 0;
	background: none; 
	background-size: 20px;
	display: inline-block;
	text-shadow: none;
}

#chat_end:active {
	top: 1px;
}

.bg_minor_highlight {
    color: var(--background_color);
    background: var(--primary_color4);
    border: 0px;
    box-shadow: 0px;
    text-shadow: 0px;
}

.bg_action_highlight:hover{
	background: var(--background_color);
	}

.bg_minor_highlight:hover {
	background: var(--primary_color3);
  }

#chat_end:hover {
	background: var(--primary_color3);
  }

#text_size:hover {
	background: var(--primary_color3);
  }

#chat_end, #text_size, #chat_select_all, #chat_copy, #chat_minimise, .chat_button {
    border-radius: 5px;
    padding: .25em 1em;
    position: relative;
    top: .25em;
    height: 2.1em;
    cursor: pointer;
    text-shadow: none;
    box-shadow: none;
    border: 0px;
    display: inline-block;
    font-weight: normal;
	margin-right: 20px;
}

#chat_minimise {
	right: .25em;
}

#chat_minimise_div {
	float: right;
}

.panel {
	display: none;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 250px;
	margin-top: -170px;
	margin-left: -140px;
	color: var(--primary_color4);
	text-align: center;
	background-image: none;
	background-color: var(--background_color);
	box-shadow: none;
}

.form_panel {
	padding: 16px 25px 17px 20px;
	width: 230px;
	text-align: left;
}

#welcome {
	height: 260px;
	/*	height: 167px;	*/
	display: block;
}

/* welcome page, name and subject box color */
#welcome_name,#welcome_subject {
    outline-color: var(--primary_color3);
}

#chat {
	display: none;
}

h1,
h2 {
	margin-top: 5px;
	margin-bottom: 20px;
}

h3 {
	font-size: 13pt;
	margin-bottom: 13px;
	margin-top: 5px;
}

h4 {
	margin: 15px 0 3px 0;
	color: var(--primary_color4);
	font-weight: normal;
}

input[type=text] {
    width: 228px;
    padding: 7px 10px;
    margin: 8px 0;
    border-radius: 5px;
    box-shadow: none;
    border: 1px solid var(--primary_color4);
}  

input[type=text]:focus {  
    border: 1px solid var(--primary_color2);
}


#email_send_wrap,
#welcome_connect_wrap {
	margin-top: 45px;
	text-align: center;
}

#welcome_connect,
#email_send {
    background-color: var(--primary_color4);
    background-image: none;
    background-repeat: no-repeat;
    background-size: auto;
    background-position: center center;
    color:  var(--background_color);
    border-radius: 5px;
    display: inline-block;
    text-decoration: none;
    font-size: 10pt;
    font-weight: normal;
    font-family: Lato, sans-serif;
    font-style: normal;
    border-style: solid;
    border-color: transparent;
    padding: 9px 20px;
    cursor: pointer;
}

#welcome_connect:hover {
	    background: var(--primary_color3);
}

#welcome_connecting {
	/*background: url("./images/loading.gif") no-repeat center center transparent;*/
	height: 50px;
}

#queueing {
	display: none;
	height: 100%;
	position: static;
	margin-top: 46px;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	width: 74%;
}

#queueing_status {
	background: url("https://www.contentguru.com/wp-content/uploads/2020/05/sprite_60fps.svg") no-repeat center center transparent;
	margin: 50px auto 0px auto;
  	animation: infinite;
 	animation-duration: 1700ms;
 	animation-timing-function: steps(102);
 	width: 125px;
  	height: 125px;
  	background-repeat: no-repeat;
  	animation-name: play102;
}

/*#reconnecting,
#chat_ended {
	display: none;
	color: #fff;
	font-size: 14px;
	letter-spacing: 0;
	font-weight: lighter;
	padding: 20px;
	text-align: center;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 1000;
	padding-top: 50%;
	top: 44px;
	bottom: 8px;
	left: 8px;
	right: 8px;
	position: absolute;
	margin: auto;
	border-radius: 5px;
}*/

/*#reconnecting,
#chat_ended {
	display: none;
	position: absolute;
	top: 8px;
	bottom: 8px;
	left: 8px;
	right: 8px;
	font-family: 'Lato', sans-serif;
	font-size: 14px;
	font-weight: normal;
	letter-spacing: 0;
	color: var(--primary_color4);
	text-align: center;
	background-color: var(--background_color);
	opacity: 0.8;
	z-index: 1000;
	padding: 50% 13% 0 13%;
	margin: auto;
	border-radius: 5px;
}/*

#reconnecting {
	background: var(--background_color);
	filter: alpha(opacity=80);
	opacity: 0.8;
	color: var(--primary_color4);
	text-shadow: none;
}

#chat.reconnecting #reconnecting {
	display: block;
}

#chat.reconnecting #chat_end {
	display: none;
}

.chat-typing-message {
	font-weight: normal;
	color: var(--primary_color4);
	padding: 0 10px 10px;
	font-size: 11px;
	margin-top: 15px;
}

#connect {
	display: block;
	height: 100%;
	position: static;
	margin-top: 46px;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	width: 74%;
}

#connect>h3 {
	font-family: 'Lato', sans-serif;
	font-size: 14px;
	font-weight: normal;
	letter-spacing: 0;
	text-align: left;
	padding: 0;
	margin: 0;
	color: var(--primary_color4);
	line-height: 20px;
}

.browser_ie_9 .message_tick,
.browser_ie_8 .message_tick,
.browser_ie_7 .message_tick {
	background-position: -50px 0;
}

.browser_ie_9 .message_tick.you,
.browser_ie_8 .message_tick.you,
.browser_ie_7 .message_tick.you {
	background-position: -69px 0;
}

.browser_ie_8 .message_tick.you,
.browser_ie_7 .message_tick.you {
	bottom: -10px;
}

.browser_ie_8 #welcome,
.browser_ie_7 #welcome {
	background: none;
	border: none;
	width: 300px;
	margin-left: -160px;
	height: auto;
	padding: 0;
	border: 1px solid #ddd;
	border-bottom-width: 2px;
	zoom: 1;
}

.browser_ie_8 #welcome_name,
.browser_ie_8 #welcome_subject,
#welcome_subject {
  display: inline-block;
  min-width: 262px;
  max-width: 600px;
  transition: width 0.2s ease;
  box-sizing: content-box;
}

#welcome_ie_inner {
	border-top: 1px solid #fff;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 2px solid #ccc;
	background: #f4f4f5;
	position: relative;
	padding: 16px;
	height: 160px;
}

html.browser_ie_7 {
	overflow: hidden;
}

.browser_ie_8 .message_dummy,
.browser_ie_7 .message_dummy,
.browser_ie_8 .message,
.browser_ie_7 .message {
	border-bottom: 2px solid #ddd;
}

.browser_ie_8 #chat_message_wrap_dummy,
.browser_ie_7 #chat_message_wrap_dummy,
.browser_ie_8 #chat_message_wrap,
.browser_ie_7 #chat_message_wrap {
	padding-left: 0;
}

.browser_ie_8 #chat_message_dummy,
.browser_ie_7 #chat_message_dummy,
.browser_ie_8 #chat_message,
.browser_ie_7 #chat_message {
	height: 51px;
}

#page-debug {
	display: none;
}

#no_endpoint {
	height: auto;
}

#email {
	display: none;
	width: 300px;
	margin-left: -173px;
	margin-top: -200px;
	height: 318px;
}

#email_address,
#email_subject,
#email_text {
	font: 10pt "MS Shell Dlg", sans-serif;
	width: 298px;
	margin: 0 auto;
	outline-color: var(--primary_color2);
}

#chat_transcript {
	display: none;
	text-align: left;
	z-index: 1101;
}

#chat_transcript_overlay {
	opacity: 0.8;
	background: #fff;
	z-index: 1100;
}

#chat_transcript_send,
#chat_transcript_cancel {
	display: block;
	float: right;
	margin: 5px 0 0 10px;
}

#chat_transcript_email {
	font-weight: bold;
	color: #777;
}

#text_size {
/* Hide text size button in top menu */
    display: none;
	border: 0px;
}

#dummy_chat_error {
	font-weight: bold;
	font-style: italic;
	text-align: center;
	padding: 10px;
}

/* Colors */
.bg_action_highlight,
.bg_highlight {
	background: none;
	background-image: none;
}

.bg_action_highlight:hover {
	background: rgba(29,107,52,0.8);
}

.bg_action_highlight.disabled:hover {
	background: rgba(182,210,218,0.7);
}

@-webkit-keyframes spin {
	0% {
		-webkit-transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
	}
}

@-moz-keyframes spin {
	0% {
		-moz-transform: rotate(0deg);
	}
	100% {
		-moz-transform: rotate(360deg);
	}
}

@-ms-keyframes spin {
	0% {
		-ms-transform: rotate(0deg);
	}
	100% {
		-ms-transform: rotate(360deg);
	}
}

@-o-keyframes spin {
	0% {
		-o-transform: rotate(0deg);
	}
	100% {
		-o-transform: rotate(360deg);
	}
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

@keyframes play102 {
  0% {
    background-position: 0px 0px;
  }
  100% {
    background-position: -12750px 0px;
  }
}
.shapeshifter {
  animation: infinite;
  animation-duration: 1700ms;
  animation-timing-function: steps(102);
  width: 125px;
  height: 125px;
  background-repeat: no-repeat;
  animation-name: play102;
}

/* color and display of the quick replies of the Machine Agents (chips)*/
.quick_reply {

    background: var(--primary_color3);
	border: 1px solid;
	border-color: var(--primary_color3);
	border-radius: 20px 20px 0px 20px;
	font-size: 13px;
	color: var(--background_color);
    text-align: center;
    margin-right: 1.0rem;
    margin-bottom: 1.0rem;
	padding: 15px;
    cursor: pointer;
	width: 20%;
}

/* color of the quick replies when hovering */
.quick_reply:hover {
	background: var(--primary_color4);
	border: 1px solid;
	border-color: var(--primary_color4);
}

/* color of the opacity for the end chat panel */
#chat_transcript_overlay, #alert_overlay, #confirm_end_overlay {
    opacity: .8;
    background: var(--background_color);
    z-index: 1100;
}

/* color of the end chat panel */

#alert, #inactivity_timeout, #chat_restart, #chat_transcript, #confirm_end {
	display: none;
    text-align: center;
    z-index: 1101;
	background-color: var(--primary_color1);
	border: 10px solid var(--primary_color1);
	border-radius: 0px 20px 20px 20px;
	color: var(--primary_color4);
	padding: 20px;
}

#confirm_end.panel {
	margin-left: -11.6em;
}

/* color of the end chat buttons */
#confirm_end_confirm, #confirm_end_cancel {
    display: block;
    margin: 30px 45px 0px 0px;
    font-size: .9em;
	background-color: var(--primary_color4);
	border: 1px solid;
	border-radius: 5px;
	border-color: var(--primary_color4);
	color: var(--background_color);
	padding: 20px;
	cursor: pointer;
}

#confirm_end_confirm {
	margin: 30px 10px 0px 0px;
}

#confirm_end_confirm:hover {
	background: var(--primary_color3);
	border-color: var(--primary_color3);
}

#confirm_end_cancel:hover {
	background: var(--primary_color3);
	border-color: var(--primary_color3);
}