.embeddedServiceHelpButton .helpButton .uiButton {
  background-color: #c00;
}

.embeddedServiceHelpButton,
.helpButton,
.embeddedServiceSidebar,
.embeddedServiceSidebarMinimizedDefaultUI {
  /*outline: 1px solid #c00;*/
  height: 50px !important;
  min-width: 50px;
  position: fixed;
  bottom: 0px;
  right: 20px !important;
  display: block;
  border-radius: 0 !important;
  left: none;
  border-style: none !important;
}
.embeddedServiceHelpButton {
  max-width: 300px;
  left: auto;
  top: auto;
}
.embeddedServiceSidebarMinimizedDefaultUI .minimizedImage .uiImage{
  display: none;
}

.embeddedServiceIcon {
  display: block !important;
  margin-left: 4px;
}

.uiButton {
  border-radius: 0 !important;
}

.helpButtonLabel {
  display: none !important;
}

.helpButtonEnabled.uiButton {
  min-width: 50px;
  width: 50px;
}

.dockableContainer {
  border-top: 5px #303030 solid !important;
  border-radius: 0 !important;
}

.headerAnnouncement {
  display: none !important;
}

input.slds-style-inputtext {
  border-radius: 0 !important;
  border-style: hidden !important;
  border-bottom: 1px solid #a0a0a0 !important;
  padding: 0 !important;
  font-size: 1.1rem !important;
  font-family: neue-haas-grotesk-display, sans-serif;
}

.slds-style-inputtext:focus {
  box-shadow: none !important;
  border-style: hidden !important;
  border-bottom: 1px solid #a0a0a0 !important;
}

.uiLabel {
  font-size: 1rem !important;
  color: #808080 !important;
  margin-left: 0 !important;
  font-family: neue-haas-grotesk-display, sans-serif;
}
.embeddedServiceHelpButton .helpButton{
  bottom: 0px;
  height: 48px !important;
}
.helpButtonEnabled:focus .helpButtonLabel {
  text-decoration: none !important;
}
.embeddedServiceHelpButton .helpButton .uiButton {
  box-shadow: none;
}

.embeddedServiceSidebarFormField .uiInput .required {
  position: relative;
  color: #c00 !important;
  left: 5px !important;
  top: 0 !important;
}

#snapins_invite {
  background-color: #ffffff;
  font-family: neue-haas-grotesk-display, sans-serif;
  overflow: visible;
  border-radius: 8px;
  display: none;
  position: fixed;
  right: 20px;
  bottom: 0px;
  z-index: 1200;
  width: 300px;
}

.embeddedServiceInvitation {
  background-color: transparent;
  -webkit-box-shadow: 0 7px 12px rgba(0, 0, 0, 0.28);
  -moz-box-shadow: 0 7px 12px rgba(0, 0, 0, 0.28);
  box-shadow: 0 7px 12px rgba(0, 0, 0, 0.28);
}
.embeddedServiceSidebar.modalContainer{
  z-index: 99999 !important;
}

@media only screen and (min-width: 48em) {

  /*mobile*/
  .embeddedServiceInvitation {
    max-width: 332px;
    max-height: 210px;
  }
}

.embeddedServiceInvitation>.embeddedServiceInvitationHeader {
  width: auto;
  height: 48px;
  line-height: 32px;
  padding: 8px;
  color: #ffffff;
  background-color: #cc0000;
  overflow: initial;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  margin: auto;
  text-align: center;
}

.embeddedServiceInvitationHeader #embeddedServiceAvatar1 {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: relative;
  top: -5px;
}

.embeddedServiceInvitationHeader .embeddedServiceTitleText {
  font-size: 24px;
  color: #ffffff;
  overflow: hidden;
  word-wrap: normal;
  white-space: nowrap;
  align-self: stretch;
  flex-grow: 1;
  max-width: 100%;
  margin: auto;
  text-align: center;
  width: auto;
}

.embeddedServiceInvitation>.embeddedServiceInvitationBody {
  background-color: #ffffff;
  max-height: 110px;
  width: auto;
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  overflow: auto;
  text-align: center;
  padding: 0 20px 0 20px;
}

.embeddedServiceInvitationBody p {
  color: #333333;
  padding: 10px 14px 0 14px;
  margin: 6px 0 6px 0;
}

.embeddedServiceInvitation>.embeddedServiceInvitationFooter {
  width: auto;
  color: #ffffff;
  text-align: center;
  background-color: #fff;
  padding: 10px;
  max-height: 50px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  margin-bottom: 15px;
}

.embeddedServiceInvitationFooter>.embeddedServiceActionButton {
  font-size: 14px;
  font-weight: 700;
  max-height: 40px;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  margin: auto;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.embeddedServiceInvitationFooter>#acceptInvite {
  background-color: #cc0000;
  color: #ffffff;
}

.embeddedServiceInvitationFooter>#rejectInvite {
  background-color: #ffffff;
  color: #cc0000;
}


/* Updated CSS */
.embeddedServiceInvitation>.embeddedServiceInvitationFooter button {
  display: block;
  width: 100%;
}

div#snapins_invite {
  max-height: 330px;
  font-family: neue-haas-grotesk-display, sans-serif;
}
#snapins_invite.embeddedServiceInvitation > .embeddedServiceInvitationHeader .chat-icon{
  margin-bottom: 0;
}

#snapins_invite.embeddedServiceInvitation > .embeddedServiceInvitationHeader #snapins_titletext .chat-close svg {
  background: #fff;
  border-radius: 50%;
  padding: 8px;
}
.chat-close {
  cursor: pointer;
}

#snapins_invite.embeddedServiceInvitation > .embeddedServiceInvitationHeader #snapins_titletext .chat-close svg.close-chat-svg, 
#snapins_invite.embeddedServiceInvitation.active > .embeddedServiceInvitationHeader #snapins_titletext .chat-close svg.start-chat-svg{
  display: none;
}

#snapins_invite.embeddedServiceInvitation.active > .embeddedServiceInvitationHeader #snapins_titletext .chat-close svg.close-chat-svg,
#snapins_invite.embeddedServiceInvitation > .embeddedServiceInvitationHeader #snapins_titletext .chat-close svg.start-chat-svg{
  display: block;
}
.embeddedServiceHelpButton .uiButton .helpButtonLabel{
  display: flex !important;
  font-size: 16px;
  font-weight: 700;
}
div#snapins_invite .embeddedServiceInvitationFooter {
  max-height: unset !important;
  margin: 0;
  padding: 20px;
  display: none;
}

div#snapins_invite.active .embeddedServiceInvitationFooter{
  display: block;
  padding: 20px 8px;
}

div#snapins_invite .embeddedServiceInvitationFooter>#acceptInvite {
  max-height: 54px;
  border-radius: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  background-color: #cc0000;
  color: #ffffff;
  font-family: neue-haas-grotesk-display, sans-serif;
}

div#snapins_invite.embeddedServiceInvitation>.embeddedServiceInvitationBody {
  text-align: left;
  font-size: 16px;
  font-weight: 450;
  line-height: 24px;
  letter-spacing: -0.011em;
  color: #000;
  margin-top: 20px;
  max-height: 180px;
  display: none;
}

div#snapins_invite.embeddedServiceInvitation.active>.embeddedServiceInvitationBody{
  display: block;
  padding: 0 8px;
}

div#snapins_invite.embeddedServiceInvitation>.embeddedServiceInvitationBody p {
  padding: 10px;
  margin: 0;
  background: #FFFFFF;
  border: 1.5px solid #F2F2F2;
  border-radius: 4px;
}
div#snapins_invite.embeddedServiceInvitation>.embeddedServiceInvitationBody p span{
  color: #cc0000;
  font-weight: 700;
  display: inline-block;
}

div#snapins_invite.embeddedServiceInvitation>.embeddedServiceInvitationBody p:not(:last-child) {
  margin-bottom: 10px;
}

#snapins_invite.embeddedServiceInvitation>.embeddedServiceInvitationHeader {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
#snapins_invite.embeddedServiceInvitation.active>.embeddedServiceInvitationHeader{
  cursor: unset;
}

#snapins_invite.embeddedServiceInvitation>.embeddedServiceInvitationHeader svg {
  width: 32px;
  height: 32px;
}

#snapins_invite.embeddedServiceInvitation>.embeddedServiceInvitationHeader #snapins_titletext {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: 13px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  font-family: neue-haas-grotesk-display, sans-serif;
}
/* .embeddedServiceHelpButton {
  display: none;
} */
div#snapins_invite.active .embeddedServiceInvitationFooter #rejectInvite {
  display: none;
}








.slds-modal__container {
  padding: 2rem 0 0rem 0;
  align-items: flex-end;
  justify-content: flex-end;
}
.slds-modal__container {
  padding: 2rem 0 0rem 0;
  justify-content: flex-end;
  margin: 0;
  min-width: 100%;
}
.slds-box {
  box-shadow: none;
  background: transparent;
  border: none;
  text-align: left;
  width: 100%;
}
.slds-button_destructive {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 14px 10px;
  border-radius: 0;
  font-size: 16px;
  font-weight: 700;
  background: #c00;
  color: #fff;
  border: none;
  cursor: pointer;
}
.slds-button_destructive:hover{
  background: #8f0000;
}
.slds-button_destructive:focus{
  outline: none;
  box-shadow: none;
}
.slds-button_destructive label {
  margin: 0;
  cursor: pointer;
}
.slds-var-p-around_xx-small {
  font-size: 16px !important;
  color: #000;
}
.slds-var-p-around_xx-small a{
color: #CC0000 !important;
}
.slds-modal__container input[type=checkbox], .slds-modal__container input[type=radio] {
  accent-color: #ba0517;
  position: relative;
  top: 2px;
  margin-right: 5px;
  vertical-align: top;
}
.slds-modal {
  background: #fff;
  height: 100%;
  display: flex;
  align-items: end;
  padding: 20px;
}
.embeddedServiceSidebarMinimizedDefaultUI .minimizedImage span.chat-icon svg {
  width: 30px;
  height: 30px;
}

.embeddedServiceSidebarMinimizedDefaultUI .messageContent .chat-close svg {
  width: 15px;
  height: 15px;
}
.embeddedServiceSidebarMinimizedDefaultUI .messageContent .chat-close {
  font-size: 13px;
  background: #fff;
  border-radius: 50%;
  padding: 8px;
  height: 30px;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.embeddedServiceSidebarMinimizedDefaultUI .messageContent .chat-close svg.close-chat-svg {
  display: none;
}
.embeddedServiceSidebarMinimizedDefaultUI .minimizedText>.message {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  font-family: neue-haas-grotesk-display, sans-serif;
}

.embeddedServiceSidebarMinimizedDefaultUI .minimizedText>.message:before{
  background: url(https://www.hitachivantara.com/content/dam/public/en_us/images/common/sf-chat/chat-icon.png);
    font-size: 0px;
    width: 32px !important;
    height: 32px !important;
    display: flex;
    background-size: contain;
    background-repeat: no-repeat;
    content: "";
    align-items: center;
    line-height: 1;
    background-position: center;
}

.embeddedServiceSidebarMinimizedDefaultUI {
  max-width: 300px;
  width: 300px;
  height: 48px !important;
  border-radius: 10px 10px 0px 0px !important;
  padding: 8px;
}
.embeddedServiceSidebarMinimizedDefaultUI .content{
  padding: 0px;
}
.embeddedServiceSidebarMinimizedDefaultUI .messageContent{
  justify-content: space-between;
}
.embeddedServiceSidebarMinimizedDefaultUI .minimizedText{
  flex-grow: 1;
  justify-content: flex-start;
  padding-right: 40px;
  position: relative;
  min-height: 32px;
  align-items: center;
}
.embeddedServiceSidebarMinimizedDefaultUI .embeddedServiceIcon{
  display: none !important;
}

h2[embeddedService-chatHeader_chatHeader] {
  font-size: 16px;
  font-weight: 700;
  font-family: neue-haas-grotesk-display, sans-serif;
}

button[embeddedService-chatHeader_chatHeader] {
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 5px;
}
button[embeddedService-chatHeader_chatHeader]:before{
  display: none;
}
button[embeddedService-chatHeader_chatHeader]:hover{
background: none;
} 
embeddedservice-chat-header lightning-icon, embeddedservice-chat-header svg.slds-icon-text-default {
  fill: #000 !important;
  height: 20px;
  width: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
button.minimizeButton lightning-icon {
  margin-top: -10px;
}
.embeddedServiceSidebarMinimizedDefaultUI.minimizedContainer:focus {
  text-decoration: none;
}
button:focus{
  outline: none;
  border: none;
  box-shadow: none;
}
button[embeddedService-chatHeader_chatHeader]:hover {
  background: #fff;
}
button.minimizeButton:hover[embeddedService-chatHeader_chatHeader]:before{
  display: none;
}
button.waitingCancelChat.uiButton--inverse.uiButton.embeddedServiceSidebarButton{
  background: transparent;
  display: inline-block;
  width: auto;
}
.embeddedServiceSidebarButton.uiButton--inverse .label{
  color: #CC0000;
}
button.waitingCancelChat.uiButton--inverse.uiButton.embeddedServiceSidebarButton:focus{
  box-shadow:none;
  outline:none;
}
.embeddedServiceSidebarButton:not(:disabled):focus, .embeddedServiceSidebarButton:not(:disabled):hover{
  text-decoration: none;
}
.embeddedServiceSidebarDialogState .dialogButton {
  font-weight: 700;
}
button.dialogButton.dialog-button-1.uiButton--inverse.uiButton.embeddedServiceSidebarButton:hover {
  background: transparent;
}
button.dialogButton.dialog-button-1.uiButton--inverse.uiButton.embeddedServiceSidebarButton {
  display: inline-block;
  width: auto;
}
.dockableContainer{
  border-top: none !important;
}
.embeddedServiceSidebarButton.uiButton--inverse:not(:disabled):focus, .embeddedServiceSidebarButton.uiButton--inverse:not(:disabled):hover {
  box-shadow: none;
  background: transparent;
}

.embeddedServiceIcon.x-small svg.icon {
  display: none;
}

.embeddedServiceIcon.x-small svg {
  width: 2em;
  height: 2em;
}
.embeddedServiceHelpButton .embeddedServiceIcon::before {
  background: url(https://www.hitachivantara.com/content/dam/public/en_us/images/common/sf-chat/chat-icon.png);
  font-size: 0px;
  width: 36px !important;
  height: 23px !important;
  display: flex;
  background-size: contain;
  background-repeat: no-repeat;
}

.embeddedServiceHelpButton .uiButton .helpButtonLabel {
  justify-content: start;
  padding-right: 40px;
}
.embeddedServiceHelpButton .uiButton .helpButtonLabel .message{
  display: flex;
  font-size: 16px;
    align-items: center;
    font-family: neue-haas-grotesk-display, sans-serif;
}
.embeddedServiceHelpButton .embeddedServiceIcon {
  display: none !important;
}
.embeddedServiceHelpButton .helpButton .uiButton {
  background-color: #c00;
  width: 300px !important;
  height: 48px !important;
  max-width: 300px;
  box-sizing: border-box;
  margin: 0;
  border-radius: 10px 10px 0px 0px !important;
  padding: 8px;
}

.embeddedServiceHelpButton .uiButton .helpButtonLabel:before, .embeddedServiceSidebarMinimizedDefaultUI .minimizedText:before {
  width: 32px;
  height: 32px;
  background: #fff;
  content: "";
  border-radius: 50%;
  right: 0px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.embeddedServiceHelpButton .uiButton .helpButtonLabel:after, .embeddedServiceSidebarMinimizedDefaultUI .minimizedText:after {
  content: "";
  border: solid black;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 4px;
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
  position: absolute;
  right: 11px; 
  top: 14px;
}
span.message:before {
  background: url(https://www.hitachivantara.com/content/dam/public/en_us/images/common/sf-chat/chat-icon.png);
    font-size: 0px;
    width: 32px !important;
    height: 32px !important;
    display: flex;
    background-size: contain;
    background-repeat: no-repeat;
    content: "";
    background-position: center center;
    margin-right: 12px;
}
[embeddedservice-chatheader_chatheader-host]{
  height: 48px;
  min-height: 48px;
}
.embeddedServiceSidebar.layout-docked .dockableContainer{
  border-radius: 8px 8px 0 0 !important;
  max-height: 360px !important;
}
.embeddedServiceSidebar.layout-docked .dockableContainer, .embeddedServiceSidebar.layout-float .dockableContainer{
  max-height: 360px !important;
  max-width: 300px;
  margin: 0;
  height: 100%;
}
img[embeddedService-chatHeader_chatHeader] {
  margin-right: 8px;
  max-height: 32px;
  max-width: 32px;
}
.embeddedServiceLiveAgentStateChat .messageArea:focus{
  border: none;
}
div#snapins_invite.embeddedServiceInvitation>.embeddedServiceInvitationBody p a[href^="tel"] {
  color: #cc0000;
  text-decoration: none;
}
label.slds-checkbox__label{
  max-width: calc(100% - 30px);
}
.sidebarHeader[embeddedService-chatHeader_chatHeader] {
  padding: 8px;
}
.chat-content[c-mktg_ChatBotMessage_mktg_ChatBotMessage] {
  max-width: calc(90% - 40px);
  margin-left: 40px;
}
.embeddedServiceLiveAgentStateChatItem.agent .agentName {
  text-align: left;
  margin-left: 40px;
}
.embeddedServiceLiveAgentStateChat .endChatContainer .endChatButton {
  font-size: 16px;
  font-weight: bold;
  font-family: neue-haas-grotesk-display, sans-serif;
}
.embeddedServiceLiveAgentStateChatItem .isLightningOutContext .avatar {
  position: absolute;
  bottom: 0;
  width: 32px;
  height: 32px;
  border-radius: 50px;
  background-size: 32px 32px !important;
  border: none;
  float: left;
  margin: 0 14px 14px 0;
  background: #c00;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url(https://www.hitachivantara.com/content/dam/public/en_us/images/common/sf-chat/hv-logo-chat-icon.png) !important;
}
footer .footer-section3 .hv-copyright-legal .legal-links{
  margin-bottom: 40px;
}
span.loadingBallContainer.tiny.animated.embeddedServiceLoadingBalls {
  display: none;
}
.messageWrapper .embeddedServiceLiveAgentStateChatItem.chatMessage {
  padding: 0 8px;
}
@media(max-width: 1199px){
  .embeddedServiceSidebar.sidebarMaximized {
    top: auto;
    left: auto;
    width: 100%;
    height: 100% !important;
    bottom: 0;
    max-height: 360px;
    max-width: 300px;
    right: 0;
  }
  .embeddedServiceSidebarMinimizedDefaultUI.helpButton{
    width: 300px;
  }
  .embeddedServiceHelpButton .helpButton{
    width: 300px;
  }
  .embeddedServiceSidebarMinimizedDefaultUI .minimizedText {
    align-items: flex-start !important;
    justify-content: center !important;
  }
  .embeddedServiceSidebarMinimizedDefaultUI {
    bottom: 0 !important;
    padding: 10px !important;
  }
}
@media(max-width: 991px){
#snapins_bodytext br {
  display: block;
}
}

@media(max-width: 767px){
#snapins_invite{
  z-index: 1200;
  width: 300px;
  left: 50%;
  transform: translateX(-50%);
  right: unset;
}
.embeddedServiceHelpButton .helpButton .uiButton {
  width: 300px !important;
  height: 48px !important;
  max-width: 300px;
  right: auto !important;
  left: 50%;
  transform: translateX(-50%);
}
.embeddedServiceSidebar.sidebarMaximized {
  background: var(--lwc-esColorBackgroundModal,rgba(51, 51, 51, 0.48));
  top: auto;
  left: 0;
  width: 100%;
  height: 100% !important;
  bottom: 0;
  max-height: 360px;
}
label.slds-checkbox__label {
  max-width: calc(100% - 30px);
}
.slds-modal__container input[type=checkbox], .slds-modal__container input[type=radio]{
  vertical-align: top;
}
.embeddedServiceHelpButton .helpButton{
  width: 300px;
  left: 50%;
  transform: translateX(-50%);
  right: auto;
}
.embeddedServiceSidebarMinimizedDefaultUI.helpButton{
  width: 300px;
  max-width: 300px;
  right: auto !important;
  left: 50%;
  transform: translateX(-50%);
}
.embeddedServiceSidebarMinimizedDefaultUI .minimizedText {
  align-items: flex-start !important;
  justify-content: center !important;
}
.embeddedServiceSidebar.modalContainer {
  z-index: 99999 !important;
  left: 50% !important;
  transform: translateX(-50%);
  top: auto;
  background: transparent;
  width: 300px;
  right: auto !important;
}
.embeddedServiceSidebarMinimizedDefaultUI{
  right: auto !important;
}
.embeddedServiceHelpButton .helpButton .uiButton.helpButtonDisabled {
  position: relative !important;
}
body.embeddedServicePreventScrolling {
  overflow: unset;
  position: unset;
  width: unset;
  height: unset;
}
}