html, body {
    width:100%;
    height:100%;
    margin:0;
    border:none;
    padding:0;
    background:none;
    overflow:hidden;
    font-size:90%;
    font-family:Arial, Helvetica, sans-serif;
}

table {
    line-height: 21px;
    font-size: 75%;
}

#header_text {
    font-family: Arial, Helvetica, sans-serif;
    color: #FFFFFF;
    padding-left: 10px;
}

#liveAgentClientChatSettings,#liveAgentClientChat {
    height: 100%;
}

#window_outer, #window_inner {
    position:absolute;
    width:100%;
    z-index: 0;
    top: 0px;
    right: 0px;
    left: 0px;
    bottom: 0px;
}

#window_inner {
    top: 34px;
}

.liveAgentStateEnded #window_inner {
	opacity: 0.5;
	background-color: #333;
}

.liveAgentStateEnded #transcript {
	opacity: 0.5;
}

#toolbar {
    height:34px;  
    background-color:#333;
}

.liveAgentSaveButton,.liveAgentEndButton,.liveAgentCancelButton {
    font-family: Arial;
    line-height: normal;
    text-align:center;
    border-style: solid;
    border-width: 0px;
    cursor: pointer;
}

.liveAgentSaveButton {
    background-color: #6D7391;
    color: #fff;
    display: inline-block;
    float: left;
    margin: 5px 10px 5px 10px;
    border-radius: 3px;
    font-size: 1em;
    padding: 2px 8px;
}

.liveAgentEndButton {
    float: right;
    border-radius: 3px;
    background-color: #C14251;
    display: inline-block;
    color: #fff;
    margin: 5px 10px 5px 10px;
    font-size: 1em;
    padding: 2px 8px;
}

.liveAgentCancelButton {
    top: 54%;
    display: none;
    background-color: #6D7391;
    color: #fff;
    border-radius: 3px;
    padding: 4px 8px;
    font-size: 1.3em;
}

.liveAgentSaveButton:hover, .liveAgentCancelButton:hover {
    background-color: #8B8FA7;
}

.liveAgentEndButton:hover {
    background-color: #D54858;
}

.liveAgentSendButton:hover {
    background-color: #28C33E;
}

#brand {
    position:absolute;
    height: 50px;
    top: 0px;
    right: 0px;
    bottom:10px;
    left: 0px;
    overflow: hidden;
    white-space: nowrap;
}
#brand img {
    position:absolute;
    top:0;
    left:0;
}

.spinner {
	margin: 90px auto 0;
	width: 70px;
	text-align: center;
}

.spinner > div {
	width: 18px;
	height: 18px;
	background-color: #D3DAE1;
	border-radius: 100%;
	display: inline-block;
	-webkit-animation: bouncedelay 1.4s infinite ease-in-out;
	animation: bouncedelay 1.4s infinite ease-in-out;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

.spinner .bounce1 {
	-webkit-animation-delay: -0.32s;
	animation-delay: -0.32s;
}

.spinner .bounce2 {
	-webkit-animation-delay: -0.16s;
	animation-delay: -0.16s;
}

@-webkit-keyframes bouncedelay {
	0%, 80%, 100% { -webkit-transform: scale(0.0) }
	40% { -webkit-transform: scale(1.0) }
}

@keyframes bouncedelay {
	0%, 80%, 100% { 
		transform: scale(0.0);
		-webkit-transform: scale(0.0); 
	} 40% { 
		transform: scale(1.0);
		-webkit-transform: scale(1.0);
	}
}

.liveAgentStateWaiting #wait_marketing {
    display: table;
}

/* START Wait Marketing */
#wait_marketing {
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    vertical-align:middle;
    text-align:center;
}

#wait_marketing strong {
    display:block !important;
    width:100%;
    max-width:330px;
    margin: -70px auto;
    font-size:1.5em;
    font-weight:normal;
}
/* END Wait Marketing */

/* Hide elements when chat is started */
#wait_marketing {
    display: none;
}

/* START Chat Log */
.liveAgentState #transcript,
.liveAgentStateEnded #transcript,
.liveAgentStateStatusMessage #transcript {
    bottom: 38px;
    overflow:hidden;
    word-wrap: break-word;
    position: absolute;
    right: 0px;
    left: 0px;
    background-color: #F7F8F8 !important;
    border-bottom: solid #D1D8E0 2px;
}

.liveAgentState #chatTranscript,
.liveAgentStateStatusMessage #chatTranscript,
.liveAgentStateEnded #chatTranscript {
	position: absolute;
	overflow-y: auto;
	overflow-x: hidden;
	top: 0;
	bottom: 0;
	width: 100%;
}

#liveAgentClientChat #liveAgentChatLog {
    padding-${right}: 15px;
    padding-${left}: 15px;
    width: auto;
    height: auto;
    border: none;
}

#liveAgentChatLogText p {
    line-height: 1.3 !important;
    font-weight:200 !important; /*makes font thin */
    font-size: 1em !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    word-wrap: break-word;
    word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens:auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

#liveAgentChatLogText .bubble {
    position:relative;
    display: -moz-inline-stack;
    display: inline-block;
    margin: 0.2em 0em 0.4em 0em;
    padding:8px 10px 8px 10px;
    border: 1px solid #E2E8ED;
    -moz-border-radius: 3px;
    border-radius: 3px;
    max-width: 90%;
}

#liveAgentChatLogText .operator,#liveAgentChatLogText .client,#liveAgentChatLogText .system {
    margin-bottom: 10px;
    clear:both;
    position: relative;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#liveAgentChatLogText .system {
    padding:2px 10px;
    clear:both;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: none;
    font-style:italic;
    color: #6b7173;
    line-height:1.5 !important;
    display: block;
    text-align: center;
}

#liveAgentChatLogText .operator {
    float: left;
    padding: 8px 10px 0px 10px;
}

#liveAgentChatLogText .client {
    float: right;
    text-align: right;
    padding: 8px 10px 0px 10px;
}

#liveAgentChatLogText .operator .bubble {
    background-color: #DEEFF9;
}

#liveAgentChatLogText .client .bubble {
    background-color: #FFFFFF;
}

#liveAgentChatLogText .name {
    font-weight: 700;
    font-size: 1em;
    line-height:1.2;
    display: block;
}

#liveAgentChatLogText span { 
	text-align: left;
}

#liveAgentChatLogText .messageText {
    white-space: pre-wrap;
}

#liveAgentChatLogText .timestamp {
    display: inline-block;
    font-size: 0.85em;
    font-weight: 200;
    color: #929A9D;
    text-transform: uppercase;
    padding: 8px 0px 8px 0px;
    position: absolute;
    bottom: -20px;
}

#liveAgentChatLogText .operator .timestamp {
	left: 10px;
}

#liveAgentChatLogText .client .timestamp {
	right: 10px;
}
/* END Chat Log */

#chatInput {
    right: 0;
    bottom: 0;
    left: 0;
    margin-right: 67px;
    position: absolute;
}

.liveAgentChatInput {
    width: auto;
    height: auto;
    padding: 10px;
    border: none;
}

#liveAgentClientChat #chatInput form {
    display: block;
    margin-bottom: 0px;
}

#liveAgentChatTextArea {
    resize: none;
    font-size: 1em;
    width: 100%;
    border: none;
    font-family: Arial, Helvetica,sans-serif;
    padding: 0px 10px;
    outline: none;
    display: block;
    -webkit-line-break: after-white-space;
}

.liveAgentSendButton {
    background-color: #26AF3A !important;
    display: inline-block;
    padding: 0.3rem !important;
    width: 50px;
    font-size: 1em;
    font-family: Arial;
    border-radius: 3px;
    border-width: 0px;
    color: #fff;
    margin: 5px 10px 5px 0px;
    right: -67px;
    top: 0px;
    position: absolute;
}

#liveAgentChatLogTyping {
    color: #929A9D;
    font-weight: 200;
    float: left;
    font-size: 0.9em;
    margin: 0px 0px 10px 10px;
}

#liveAgentChatLogAlertMessage {
    bottom: 0;
    position: absolute;
    width: 100%;
    box-sizing: border-box;
}

/* START Alert Styles */
.modal {
    display:none;
    height:100%;
    width:100%;
    position:relative;
    z-index:1000;
    font-size: 1.20em;
}

.modal td {
    vertical-align:middle;
    background: url(../images/alert_xy.png);
}

.liveAgentAlert,.liveAgentMessage {
    position:relative;
    width:245px;
    margin:0 auto;
    padding:1px 14px;
    background:#f6f1bf;
    line-height:15px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -moz-box-shadow:0 1px 3px #323232;
    -webkit-box-shadow:0 1px 3px #323232;
    box-shadow:0px 1px 3px #323232;
    display: none;
}

.liveAgentAlert button {
    background: none !important;
    border: none;
    padding: 0 !important;
    padding-bottom: 1px !important;
    color: #0561C8;
    font-size: 1em;
    margin: 0px;
    margin-bottom: 10px;
    cursor: pointer;
}

.liveAgentAlert button:hover {
    border-bottom: 1px solid #0561C8;
    padding-bottom: 0px !important;
}

.liveAgentAlert div {
    text-align: right;
}

.liveAgentAlert div p {
    text-align: left;
}

/* This is for ie7 */
*:first-child+html .liveAgentAlert div {
    border:1px solid #d4cb63;
}

/* ie8 does not get this, this is for all others */
.liveAgentAlert div, #nonie8#fix {
    border:none;
}

.liveAgentAlert strong {
    font-weight:normal;
    color:#1d1d1d;
}

.liveAgentAlert strong strong {
    font-size:1.167em;
    color:#C00;
    vertical-align:middle;
}

.liveAgentAlert a {
    color:#0561c8;
}

.liveAgentAlert a:hover {
    text-decoration:underline;
}

.liveAgentAlert #alert_close {
    display:block;
    margin:2px 0 0;
    text-align:right;
}
/* END Alert Styles */

/* File Transfer UI */
.file_transfer_requested #liveAgentChatFileTransfer {
    display: block;
    background-color: #DDF1C9;
    height: 45px;
    margin-right: -67px;
    margin-top: 0px;
}
																																																																														
.file_transfer_standard #liveAgentChatFileTransfer {
	background-color: #D0D0D0;
}

.liveAgentFileDragArea {
    position: absolute;
    left: 0;
    right: -6px;
    text-align: center;
    line-height: 40px;
    font-size: 14px;
}

.file_transfer_selected .liveAgentFileDragArea {
    text-align: left;
    background-color: #D0D0D0;
    height: 45px;
    margin-right: -67px;
}

.file_transfer_standard .liveAgentFileDragArea {
    text-align: left;
    background-color: #D0D0D0;
    height: 45px;
}

.liveAgentFileNameLabel {
    margin-left: 10px;
    border: 1px solid #E2E8ED;
    box-sizing: border-box;
    border-radius: 3px;
    background-color: #E8E8E8;
    padding: 3px 10px 3px 30px;
}

.liveAgentFileSendButton {
    background-color: #6D7391 !important;
    display: inline-block;
    padding: 0.3rem !important;
    border-radius: 3px;
    border-width: 0px;
    color: #fff;
    right: -58px;
    bottom: 13px;
    position: absolute;
    font-family: Arial;
    font-size: 1em;
}

.file_transfer_standard .liveAgentFileCancelButton {
	position: absolute;
    left: 2px;
	margin-left: 8px;
	margin-top: 12px;
	z-index: 3;
    background-image: url("../images/icon_close.png");
    background-position: 0 0;
    width: 17px;
    height: 17px;
    border: none;
    color: transparent;
    cursor: pointer;
    padding-right: 12px;
}

.file_transfer_selected .liveAgentFileCancelButton {
    position: absolute;
    left: 0px;
    margin-top: 11.4px;
    margin-left: 16px;
    z-index: 3;
    background-image: url("../images/icon_close.png");
    background-color: #E8E8E8;
    background-position: 0 0;
    width: 17px;
    height: 17px;
    border: none;
    color: transparent;
    cursor: pointer;
    padding-right: 12px;
}

.liveAgentFileCancelButton {
    position: absolute;
    right: -60px;
    margin-top: 10px;
    z-index: 3;
    background-image: url("../images/icon_close.png");
    background-color: transparent;
    background-position: 0 0;
    width: 17px;
    height: 17px;
    border: none;
    color: transparent;
    cursor: pointer;
}

.liveAgentFileNameLabel .liveAgentFileCancelButton {
    left: 40px;
}

.liveAgentFileCancelButton:hover {
    background-position: -30px 0;
}

#fileTransferProgress {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    pointer-events: none;
    border: 1px solid #00A018;
}

#fileSelectInput {
    margin-left: 28px;
    margin-top: 8px;
    padding: 0px 25px;
}

#fileDragLabel a {
    color: #1D5CA4;
    text-decoration: none;
}

#fileDropLabel {
    pointer-events: none;
    border: 1px solid #E2E8ED;
}

.file_transfer_requested #transcript {
    bottom: 84px;
}

/* Hide queue position for standard chat window */
.no_chat .hide_queuePos {
    display: none;
}


.rich-menu-wrapper {
	width: 100%;
}

.rich-menu-entry {
    border: 1px solid #c7cdda;
    border-radius: 3px;
    background-color: white;
    margin-left: 45px;
    display: inline-block;
}

.rich-menu-header {
    background-color: #eef2f6;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: left;
    color: #334d66;
    font-size: 15px;
	padding-left: 15px;
	padding-right: 15px;
}

.rich-menu-item {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    color: #0070d2;
    border-top: thin solid #c7cdda;
    font-size: 15px;
    cursor: pointer;
    padding-left: 15px;
    padding-right: 15px;
}

.rich-button {
    border: 1px solid #CFD6DF;
    color: #0070d2;
    background-color: white;
    border-radius: 20px;
    height: 28px;
    padding-left: 12px;
    padding-right: 12px;
    margin-right: 12px;
}

.rich-button-set-wrapper {
    position: absolute;
    bottom: 10px;
    left: 0px;
    right: 0px;
}

.rich-button {
    border: 1px solid #CFD6DF;
    color: #0070d2;
    background-color: white;
    border-radius: 20px;
    height: 28px;
    padding-left: 12px;
    padding-right: 12px;
    margin-right: 16px;
}

.rich-button:hover {
    background-color: #CFD6DF;
}

.rich-button:focus {
    outline: none;
}

#richButtons {

    height: 30px;
    bottom: 0px;
    left: 50px;
}

.rich-buttons-center .rich-buttons {
    text-align: center;
}

.rich-buttons-scroll .rich-buttons {
    width: 2000px;
    position: absolute;
}

.rich-buttons-scroll .left-arrow {
    display: block;
}

.rich-buttons-scroll .right-arrow {
    display: block;
}

.rich-buttons-center .left-arrow {
    display: none;
}

.rich-buttons-center .right-arrow {
    display: none;
}

#leftArrow {
    position: absolute;
    left: 0px;
    bottom: 0px;
    background-color: #F7F8F8;
    width: 35px;
    padding-left: 7px;
}

#rightArrow {
    position: absolute;
    bottom: 0px;
    right: 0px;
    background-color: #F7F8F8;
    width: 35px;
    padding-left: 7px;
}

.transcript-pull-up {
    margin-bottom: 45px;
}

.footer-menu {
    position: absolute;
    left: 20px;
    bottom: 54px;
}

.footer-menu:before {
    content: '';
    bottom: -13px;
    left: -1px;
    border-width: 7px 7px 7px 7px;
    border-style: solid;
    border-color: #c7cdda;
    display: block;
    width: 0;
    border-color: #c7cdda transparent transparent #c7cdda;
    position: absolute;
}

.footer-menu:after {
    content: '';
    bottom: -11px;
    left: 0px;
    border-width: 5px 5px 7px 7px;
    border-style: solid;
    border-color: #c7cdda;
    display: block;
    width: 0;
    border-color: #ffffff transparent transparent #ffffff;
    position: absolute;
}

.footer-menu-item {
	list-style-type: none;
	padding: 5px 0px;
    color: #16325c;
    cursor: pointer;
}

.footer-menu-items {
    background: white;
    padding: 10px;
    margin-left: -11px;
    border-radius: 4px;
    border: 1px solid #c7cdda;
}

.footer-menu-container {
	bottom: 0;
	left: 0;
	position: absolute;
	width: 42px;
	height: 38px;
	border-right: solid #D1D8E0 2px;
    background: #F4F6F9;
}

.ellipses-wrapper {
    padding-top: 7px;
    padding-left: 11px;
}

.ellipses-image {
    width: 20px;
}

#footerMenuList {
    padding: 0px;
    margin: 0px;
}

.rich-map-wrapper {
	width: 250px;
    height: 200px;
    border: 3px solid white;
    margin-left: 10px;
}

.rich-avatar-image {
	float: left;
    margin-right: 10px;
}

.rich-avatar-image img {
	 width: 40px;
}

.rich-message-content-wrapper {
	float: left;
}

.rich-agent-name {
    float: left;
    margin-right: 20px;
    color: #929A9D;
    font-size: 0.85em;
    font-weight: 200;
}

.rich-message-timestamp {
	color: #929A9D;
	font-size: 0.85em;
    font-weight: 200;
}

.rich-message-text {
	max-width: none!important;
}

