.embeddedServiceHelpButton {
  display: none !important;
}

.embedded-chat-button {
  padding: 0 16px;
  display: flex;
  align-items: flex-start;
  border: none;
  cursor: pointer;
}

.embedded-chat-button.hidden {
  display: none;
}

.embedded-chat-button .embedded-chat-button__icon {
  margin-right: 16px;
  margin-top: 13.75px;
  margin-bottom: 11.25px;
  display: block;
  height: 20px;
  width: 20px;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAAoCAYAAABjPNNTAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADTSURBVHgB7dnBCcJAEIXhl2AhlhIrsQU7iFuBpCJLsASnk3VGRRbRuIcJ+wzzwRAPe/hBJoEEKOScR51r5nDR2VtXVwSe9HIAl6xzvEdq4KCXMzjl/vljALEefyAivawqMnULweM2mDwim4pIL5vKc6M+lUY0Etsd280mtttLbHft9npFNhWRXmK7vUSkl4j0wh5pL6xS7S1oqYA5ojPpk3WqibTDOz0saOTX3y1oHGjmIgUEgeZbpIAk0HyKFBAFmvdIAVmgKSMFhIEv9ilCZwtSN3TLxgJy4/BxAAAAAElFTkSuQmCC);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.embedded-chat-button .embedded-chat-button__label {
  color: #fff;
  display: block;
}

.embedded-chat-button.icon-only .embedded-chat-button__label {
  display: none;
}

.embedded-chat-button.icon-only .embedded-chat-button__icon {
  margin-right: 0;
}

/*
  Automated invitation styles.
*/
#snapins_invite {
  background-color: #FFFFFF;
  font-family: "Arial", sans-serif;
  overflow: visible;
  border-radius: 8px;
  visibility: hidden;
}

.embeddedServiceInvitation {
  position: fixed !important;
  background-color: transparent;
  max-width: 290px;
  max-height: 210px;
  -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);
}

@media only screen and (min-width: 48em) {
  /*mobile*/
  .embeddedServiceInvitation {
    max-width: 332px;
    max-height: 210px;
  }
}

.embeddedServiceInvitation > .embeddedServiceInvitationHeader {
  width: inherit;
  line-height: 32px;
  padding: 10px;
  color: #FFFFFF;
  background-color: #222222;
  overflow: initial;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.embeddedServiceInvitationHeader #embeddedServiceAvatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.embeddedServiceInvitationHeader .embeddedServiceTitleText {
  font-size: 18px;
  color: #FFFFFF;
  overflow: hidden;
  word-wrap: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
  align-self: stretch;
  flex-grow: 1;
  max-width: 100%;
  margin: 0 12px;
}

.embeddedServiceInvitationHeader .embeddedServiceCloseIcon {
  border: none;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  bottom: 3%;
  background-color: transparent;
  width: 32px;
  height: 32px;
  font-size: 23px;
  color: #FFFFFF;
}

.embeddedServiceInvitationHeader .embeddedServiceCloseIcon:focus {
  outline: none;
}

.embeddedServiceInvitationHeader .embeddedServiceCloseIcon:focus::before {
  content: " ";
  position: absolute;
  top: 11%;
  left: 7%;
  width: 85%;
  height: 85%;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  pointer-events: none;
}

.embeddedServiceInvitationHeader .embeddedServiceCloseIcon:active,
.embeddedServiceCloseIcon:hover {
  background-color: #FFFFFF;
  color: rgba(0, 0, 0, 0.7);
  opacity: 0.7;
}

.embeddedServiceInvitation > .embeddedServiceInvitationBody {
  background-color: #FFFFFF;
  max-height: 110px;
  min-width: 260px;
  margin: 0 8px;
  font-size: 14px;
  line-height: 20px;
  overflow: auto;
}

.embeddedServiceInvitationBody p {
  color: #333333;
  padding: 8px;
  margin: 12px 0;
}

.embeddedServiceInvitation > .embeddedServiceInvitationFooter {
  width: inherit;
  color: #FFFFFF;
  text-align: right;
  background-color: #FFFFFF;
  padding: 10px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.embeddedServiceInvitationFooter > .embeddedServiceActionButton {
  font-size: 14px;
  max-height: 40px;
  border: none;
  border-radius: 4px;
  padding: 10px;
  margin: 4px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.embeddedServiceInvitationFooter > #acceptInvite {
  background-color: #005290;
  color: #FFFFFF;
}

.embeddedServiceInvitationFooter > #rejectInvite {
  background-color: #FFFFFF;
  color: #005290;
}

.salesforce-chat-stick-to-action-bar .dockableContainer,
.salesforce-chat-stick-to-action-bar .embeddedServiceSidebarMinimizedDefaultUI {
  bottom: 67px !important;
}

.embeddedServiceSidebar.modalContainer {
  z-index: 30000 !important;
}

.salesforce-chat-desktop-pushed-back .embeddedServiceSidebar.modalContainer {
  z-index: 0 !important;
}

.salesforce-chat-desktop .dockableContainer {
  left: 20px !important;
  right: unset !important;
}

.salesforce-chat-desktop .embeddedServiceSidebarMinimizedDefaultUI {
  left: 12px !important;
  right: unset !important;
}

.embeddedServiceSidebarHeader .headerText {
  text-transform: none !important;
}

/**
 * Even when minimized modalContainer still appears on
 * top of other elements and has width on mobile.
 * Because it is position at the top right corner it
 * overlaps header section so that clicking on header
 * items make no effect.
 */
.modalContainer.sidebarMinimized {
  width: 0;
}

.embedded-chat-button {
  position: fixed;
  right: 0;
  bottom: 67px;
  background-color: #0D9BE4;
  border-radius: 3px 0px 0px 3px;
  font-family: 'HelveticaNeueLT-Bold', 'Helvetica Neue', 'Arial', sans-serif;
  font-weight: bold;
}

.embedded-chat-button .embedded-chat-button__label {
  padding-top: 12.5px;
  padding-bottom: 14px;
  font-size: 15px;
  line-height: 18px;
}

@media only screen and (max-width: 767px) {
  .embedded-chat-button .embedded-chat-button__label {
    display: none;
  }

  .embedded-chat-button .embedded-chat-button__icon {
    margin-right: 0px;
    margin-top: 13.5px;
    margin-bottom: 11.5px;
  }
}

