#messenger-button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
}
#messenger-button-wrapper {
  position: relative;
}
#messenger-button img.messenger-profile-image {
  width: 50px;
  height: 50px;
  z-index: 1000000000000;
}
.messenger-badge {
  position: absolute;
  width: 25px;
  height: 25px;
  bottom: -5px;
  right: -5px;
}
#messenger-button section {
  position: absolute;
  max-width: 450px;
  margin: 50px auto;
  left: -182px;
  top: -44px;
}
#messenger-button section div {
  max-width: 255px;
  word-wrap: break-word;
  margin-bottom: 20px;
  line-height: 4px;
}
#messenger-button section img {
  position: absolute;
  right: 12px;
  top: 0px;
  width: 14px;
  height: 14px;
  z-index: 1000;
}
.clear {
  clear: both;
}
.from-me {
  position: relative;
  padding: 10px 20px;
  color: white;
  background: #0B93F6;
  border-radius: 25px;
  float: right;
}
.from-me p {
  margin: 4px 0 7px 0;
}
.from-me:before {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -2px;
  right: -7px;
  height: 20px;
  border-right: 20px solid #0B93F6;
  border-bottom-left-radius: 16px 14px;
  -webkit-transform: translate(0, -2px);
}
.from-me:after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: -2px;
  right: -56px;
  width: 26px;
  height: 20px;
  background: #eee;
  border-bottom-left-radius: 10px;
  -webkit-transform: translate(-30px, -2px);
}
.bubble {
  display: inline-block;
  margin: 0.5em;
  min-height: 2em;
  padding: 1em 1.5em;
  position: relative;
  border-radius: 1em;
  line-height: 1.5;
  color: white;
  background: #0B93F6;
}
.bubble::before {
  content: '';
  display: block;
  width: 1.5em;
  height: 1em;
  position: absolute;
  right: -0.5em;
  bottom: 0;
  border-left: 1em solid #0B93F6;
  border-bottom-left-radius: 100%;
  z-index: -1;
}
@-webkit-keyframes spaceboots {
  0% {
    -webkit-transform: translate(2px, 1px) rotate(0deg);
  }
  10% {
    -webkit-transform: translate(-1px, -2px) rotate(-1deg);
  }
  20% {
    -webkit-transform: translate(-3px, 0px) rotate(1deg);
  }
  30% {
    -webkit-transform: translate(0px, 2px) rotate(0deg);
  }
  40% {
    -webkit-transform: translate(1px, -1px) rotate(1deg);
  }
  50% {
    -webkit-transform: translate(-1px, 2px) rotate(-1deg);
  }
  60% {
    -webkit-transform: translate(-3px, 1px) rotate(0deg);
  }
  70% {
    -webkit-transform: translate(2px, 1px) rotate(-1deg);
  }
  80% {
    -webkit-transform: translate(-1px, -1px) rotate(1deg);
  }
  90% {
    -webkit-transform: translate(2px, 2px) rotate(0deg);
  }
  100% {
    -webkit-transform: translate(1px, -2px) rotate(-1deg);
  }
}
#messenger-button.shake section {
  -webkit-animation-name: spaceboots;
  -webkit-animation-duration: 1s;
  -webkit-transform-origin: 50% 50%;
}
